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:[email protected]">
<dialog id="96" call-id="[email protected]"
local-tag="387088992" remote-tag="as4677fcde" direction="recipient">
<remote>
<identity display="96">sip:[email protected]</identity>
<target uri="sip:[email protected]"/>
</remote>
<local>
<identity display="96">sip:[email protected]</identity>
<target uri="sip:[email protected]"/>
</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:[email protected]">
<dialog id="96" call-id="[email protected]"
local-tag="387088992" remote-tag="as4677fcde" direction="recipient">
<remote>
<identity display="Foo">sip:[email protected]</identity>
<target uri="sip:[email protected]"/>
</remote>
<local>
<identity display="Bar">sip:[email protected]</identity>
<target uri="sip:[email protected]"/>
</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

Reply via email to