About SIP Alert Info header and Distinctive Ringing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

I am using PJSIP on Windows Mobile platform to built a Sip based
softphone application.

I want to implement Distinctive Ringing feature. I want to know that how
can I implement it using PJSIP (version 1.6). 

At the server end, I have Asterisk 1.6.1.20, I have a dial plan which
Adds SIP header Alert-Info to the 180 Ringing response and send it to
the client i.e. WM device.

 

According to my understanding:

The PJSIP at client should parse the Alert-Info header and download the
ringtone and play it.. 

But it's not happening this way the WM application still plays the
default tune. Please help me implement this feature.

I am using PJSIPDll_mobile and sipekSdk.

 

The response reaching the client is as:

 

Via: SIP/2.0/UDP 172.17.0.167:5060;branch=z9hG4bK4e8ea832;rport=5060

Max-Forwards: 70

Contact: <sip:208 at 172.17.0.167>

To: <sip:201 at 172.17.5.68:64446;rinstance=f673811991333321>

From: ""208"" <sip:208@172.17.0.167>;tag=as0b62d762

Call-ID: 7dc20ce93b68d2d9246e98d5580142eb at 172.17.0.167

CSeq: 102 INVITE

Alert-Info : http://<serverName>/Ringtones/welcome.wav

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Content-Type: application/sdp

Date: Mon, 19 Jul 2010 10:20:04 GMT

Supported: replaces, timer

User-Agent: Asterisk PBX 1.6.1.20

Content-Length: 309

v=0

o=root 848127559 848127559 IN IP4 172.17.0.167

s=Asterisk PBX 1.6.1.20

c=IN IP4 172.17.0.167

t=0 0

m=audio 18302 RTP/AVP 8 0 3 101

a=rtpmap:8 PCMA/8000

a=rtpmap:0 PCMU/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=silenceSupp:off - - - -

a=ptime:20

a=sendrecv

 

Thanks & regards,

Priyanka Gupta  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100728/a17daf04/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux