Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 11.Why two NOTIFY while ringing ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oza.4h07 at gmail.com
Guest





PostPosted: Mon Sep 01, 2014 10:28 am    Post subject: [asterisk-users] Asterisk 11.Why two NOTIFY while ringing ? Reply with quote

Hello,

On a Asterisk 11.12.0, I'm studying BLF behaviour with Yealink phones.
My ultimate goal is to present Operator the name and number of every
incoming call so that he/she can if it's worth to pickup a ringing
incoming call.

I've discovered notifycid option in sip.conf.

When a call comes in, I can see that Asterisk is sending two
successive NOTIFY messages while the target is still in Ringing state.

(Unfortunately, Yealink phones display both NOTIFY messages to
Operator but that's another story).

Here is the (anonymized) content of both NOTIFYs:

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="4"
state="full" entity="sip:96@172.16.2.1">
<dialog id="96" call-id="pickup-620171529@172.16.2.100"
local-tag="387088992" remote-tag="as4677fcde" direction="recipient">
<remote>
<identity display="96">sip:96@172.16.2.1</identity>
<target uri="sip:96@172.16.2.1"/>
</remote>
<local>
<identity display="96">sip:96@172.16.2.1</identity>
<target uri="sip:96@172.16.2.1"/>
</local>
<state>early</state>
</dialog>
</dialog-info>


<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="5"
state="full" entity="sip:96@172.16.2.1">
<dialog id="96" call-id="pickup-620171529@172.16.2.100"
local-tag="387088992" remote-tag="as4677fcde" direction="recipient">
<remote>
<identity display="Foo">sip:+33123456789@172.16.2.1</identity>
<target uri="sip:+33123456789@172.16.2.1"/>
</remote>
<local>
<identity display="Bar">sip:96@172.16.2.1</identity>
<target uri="sip:96@172.16.2.1"/>
</local>
<state>early</state>
</dialog>
</dialog-info>


What is the purpose of these 2 messages ?
Is there a way to get only one ?

Regards

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services