cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1424
Views
0
Helpful
2
Replies

Getting started with SIP

stephan.steiner
Spotlight
Spotlight

The "getting started" guide isn't really that.. it's, "install this", read "that". But "that" are basically documents that explain how CUCM and devices communicate, what's in which SIP header. Plus there's one guide about manipulating SIP messages.

 

I'm wondering.. can SIP be used for anything else? Could you subscribe your application to get notifications from another phone? Be informed if the device gets a call, forward the device, that kind of things (you know, things you can do with (J)TAPI). I don't see any real overview what can be done with SIP in the first place.

2 Replies 2

PierMatteo
Level 1
Level 1

Hi Stephan,

 

did you already have a look at the SIP RFC's? They are a good resource.

Starting with RFC3261 (SIP Basics), and referring to your questions also RFC3515 (REFER Method) and RFC6665 (Event Notifications).

 

Cheers,
Pier

maybe I wasn't clear enough. I know SIP, I've even had to teach PBX vendor when they' don't properly follow the RFCs.

 

But this is something else.

 

Imagine this scenario: I have a device CSFMYJABBER with extension +41581112233 on CUCM. As a third party application, I want to be informed when extension +41581112233 gets a call. So, my application must do a SIP Subscribe. I would like to see a sample on how to authenticate, and how the Subscribe request needs to look so that my application gets the info from the CUCM. A fully working sample Subscribe (there's quite a few and addresses that may or may not be necessary).

 

Another scenario: extension +41581112233 gets a call - identify that scenario, and do a deflect on that call.

 

I know I can sniff the SIP traffic between phone and CUCM but that's something else.. the phone gets the INVITES for calls coming towards it. In my scenario, the calls don't go to my application.

 

Samples can be in any language, but working samples should be kind of a baseline for you to get started.