oza.4h07 at gmail.com Guest
|
Posted: Mon Sep 01, 2014 10:28 am Post subject: [asterisk-users] Asterisk 11.Why two NOTIFY while ringing ? |
|
|
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 |
|