[OpenSIPS-Users] BLA/SLA not working

duane.larson at gmail.com duane.larson at gmail.com
Wed Nov 10 22:39:52 CET 2010


I am following the Tutorial to configure BLA and can't get it to work. I  
believe my issue has to do with my domain parts in the NOTIFY and PUBLISH  
messages. When two Snom phones have the same line configured for a button I  
am able to call the BLA DID have have them both ring. When one phone picks  
up the line the other phone is told the call has been picked up and stops  
ringing. The only thing that isn't working is that the line light is not  
lighting up to show that someone is on the line. Same thing when the user  
puts the call on hold. From an NGREP perspective I see that NOTIFY's are  
sent to OpenSIPS, but OpenSIPS doesn't send any notifies to the other BLA  
users to tell them the line is in use. In my OpenSIPS syslogs I see a bunch  
of Presence:error's

When the phones register or send Notifies/Publishes does the domain part  
need to be the domain like xyz.com or should it be the IP that shows up in  
location table?

Can someone tell me what I am doing wrong.

Here is the OpenSIPS config

if(is_method("REGISTER"){
bla_set_flag();

save("location");
exit;
}
if( is_method("PUBLISH|SUBSCRIBE"))
route(Presence);
if(is_method("NOTIFY"))
if( $hdr(event)=="dialog;sla")
route(Presence);


route[Presence] {
if (! t_newtran()) {
sl_reply_error();
exit;
};

if(is_method("PUBLISH")){
if($hdr(Sender)!= NULL) {
xlog("L_INFO", "Route Presence: Is PUBLISH [$rm] du [$du] rd [$rd] td [$td]  
ds [$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od]  
fd[$fd]\n");
handle_publish("$hdr(Sender)");
}
else {
xlog("L_INFO", "Route Presence: Is PUBLISH [$rm] du [$du] rd [$rd] td [$td]  
ds [$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od]  
fd[$fd]\n");
handle_publish();
}
}
else if( is_method("SUBSCRIBE")){
xlog("L_INFO", "Route Presence: Is SBUSCRIBE before [$rm] du [$du] rd [$rd]  
td [$td] ds [$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od]  
fd[$fd]\n");
fix_nated_contact();
handle_subscribe();
xlog("L_INFO", "Route Presence: Is SBUSCRIBE after [$rm] du [$du] rd [$rd]  
td [$td] ds [$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od]  
fd[$fd]\n");
}
else if(is_method("NOTIFY")){
xlog("L_INFO", "Route NOTIFY: Call [$rm] du [$du] rd [$rd] td [$td] ds  
[$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od] fd[$fd]\n");
lookup("location");
xlog("L_INFO", "Route NOTIFY 2: Call [$rm] du [$du] rd [$rd] td [$td] ds  
[$ds] Ri [$Ri] rU[$rU] fU[$fU] ru[$ru] fu[$fu] tu[$tu] od[$od] fd[$fd]\n");
bla_handle_notify();
t_reply("200", "OK");

}

exit;

}






Here is the log file with all the Presence Errors
Proxy01:/var/log# more syslog
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012732004] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:90127320
04 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]: Route NOTIFY 2:  
Call [NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[<null>] fU[9012732004]  
ru[sip:173.XXX.XXX.134:5060] fu[sip:901273
2004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [coolbeans.com] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[9012732004] fU[9012732004]  
ru[sip:9012732004 at coolbeans.com
] fu[sip:9012732004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com]  
od[coolbeans.com] fd[coolbeans.com]
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:bla_aggregate_state: Dialog direction not specified
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: new:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="8" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="2"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: old:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="0" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="63"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:13:53 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:update_presentity: Failed to aggregate bla state
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15525]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012732004] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:90127320
04 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [coolbeans.com] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[9012732004] fU[9012732004]  
ru[sip:9012732004 at coolbeans.com
] fu[sip:9012732004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com]  
od[coolbeans.com] fd[coolbeans.com]
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:bla_aggregate_state: Dialog direction not specified
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: new:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="9" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="2" direction="initiator"  
call-id="ad72263ca21d-prsjctuz8ivx" local-tag="kifvj9kpcd"  
remote-tag=""><state>trying</state><local><identity display="Sam  
273-2004">sip:9012732004 at coolbeans.com</identity><target uri="sip:901
2732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri="sip:9012211610 at coolbeans.com;user=phone"/></remote></dialog>
</dialog-info>#012
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: old:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="0" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="63"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:13:56 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:update_presentity: Failed to aggregate bla state
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15519]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012732004] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:90127320
04 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [coolbeans.com] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[9012732004] fU[9012732004]  
ru[sip:9012732004 at coolbeans.com
] fu[sip:9012732004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com]  
od[coolbeans.com] fd[coolbeans.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:bla_aggregate_state: Dialog direction not specified
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: new:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="10" state="full" entity="sip:9012732004 at coolbea
ns.com"><dialog id="2" direction="initiator"  
call-id="ad72263ca21d-prsjctuz8ivx" local-tag="kifvj9kpcd"  
remote-tag=""><state>proceeding</state><local><identity display="Sam  
273-2004">sip:9012732004 at coolbeans.com</identity><target uri="si
p:9012732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri="sip:9012211610 at coolbeans.com;user=phone"/></remote></di
alog></dialog-info>#012
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: old:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="0" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="63"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:update_presentity: Failed to aggregate bla state
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: ----- MAIN ROUTE  
rU[<null>]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012211610] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:9012211610 at i
rock.com] tu[sip:9012211610 at irock.com] od[173.XXX.XXX.134] fd[irock.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15522]: ----- MAIN ROUTE  
rU[<null>]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15522]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012211610] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:9012211610 at i
rock.com] tu[sip:9012211610 at irock.com] od[173.XXX.XXX.134] fd[irock.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [irock.com] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[9012211610] fU[9012211610]  
ru[sip:9012211610 at irock.com] fu[sip:901
2211610 at irock.com] tu[sip:9012211610 at irock.com] od[irock.com] fd[irock.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15525]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [irock.com] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[9012211610] fU[9012211610]  
ru[sip:9012211610 at irock.com] fu[sip:901
2211610 at irock.com] tu[sip:9012211610 at irock.com] od[irock.com] fd[irock.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15525]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012732004] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:90127320
04 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [coolbeans.com] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[9012732004] fU[9012732004]  
ru[sip:9012732004 at coolbeans.com
] fu[sip:9012732004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com]  
od[coolbeans.com] fd[coolbeans.com]
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:bla_aggregate_state: Dialog direction not specified
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: new:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="11" state="full" entity="sip:9012732004 at coolbea
ns.com"><dialog id="2" direction="initiator"  
call-id="ad72263ca21d-prsjctuz8ivx" local-tag="kifvj9kpcd"  
remote-tag="gengg3onrm"><state>early</state><local><identity display="Sam  
273-2004">sip:9012732004 at coolbeans.com</identity><target ur
i="sip:9012732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri="sip:9012211610 at coolbeans.com;user=phone"/></remote
> </dialog></dialog-info>#012
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
INFO:presence:bla_aggregate_state: old:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="0" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="63"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:13:57 Proxy01 /usr/local/sbin/opensips[15517]:  
ERROR:presence:update_presentity: Failed to aggregate bla state
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012211610] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:9012211610 at i
rock.com] tu[sip:9012211610 at irock.com] od[173.XXX.XXX.134] fd[irock.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [irock.com] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[9012211610] fU[9012211610]  
ru[sip:9012211610 at irock.com] fu[sip:901
2211610 at irock.com] tu[sip:9012211610 at irock.com] od[irock.com] fd[irock.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [coolbeans.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012732004] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:90127320
04 at coolbeans.com] tu[sip:9012732004 at coolbeans.com] od[173.XXX.XXX.134]  
fd[coolbeans.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [coolbeans.com] td [coolbeans.com] ds  
[<null>] Ri [173.XXX.XXX.134] rU[9012732004] fU[9012732004]  
ru[sip:9012732004 at coolbeans.com
] fu[sip:9012732004 at coolbeans.com] tu[sip:9012732004 at coolbeans.com]  
od[coolbeans.com] fd[coolbeans.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]:  
ERROR:presence:bla_aggregate_state: Dialog direction not specified
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]:  
INFO:presence:bla_aggregate_state: new:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="12" state="partial" entity="sip:9012732004 at cool
beans.com"><dialog id="2" direction="initiator"  
call-id="ad72263ca21d-prsjctuz8ivx" local-tag="kifvj9kpcd"  
remote-tag="w5xe1sm1xk"><state>confirmed</state><local><identity  
display="Sam 273-2004">sip:9012732004 at coolbeans.com</identity><ta
rget  
uri="sip:9012732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri=
"sip:9012211610 at 75.65.8.158:2066;line=sntanxhe"/></remote></dialog></dialog-info>#012
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]:  
INFO:presence:bla_aggregate_state: old:#012<?xml  
version="1.0"?>#012<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"  
version="0" state="full" entity="sip:9012732004 at coolbean
s.com"><dialog id="63"><state>trying</state></dialog></dialog-info>#012
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15525]:  
ERROR:presence:update_presentity: Failed to aggregate bla state
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012211610] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:9012211610 at i
rock.com] tu[sip:9012211610 at irock.com] od[173.XXX.XXX.134] fd[irock.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [irock.com] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[9012211610] fU[9012211610]  
ru[sip:9012211610 at irock.com] fu[sip:901
2211610 at irock.com] tu[sip:9012211610 at irock.com] od[irock.com] fd[irock.com]
Nov 8 21:14:00 Proxy01 /usr/local/sbin/opensips[15522]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag
Nov 8 21:14:03 Proxy01 /usr/local/sbin/opensips[15522]: Route NOTIFY: Call  
[NOTIFY] du [<null>] rd [173.XXX.XXX.134] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[<null>] fU[9012211610] ru[sip:173.XXX.XXX.134:5060]  
fu[sip:9012211610 at i
rock.com] tu[sip:9012211610 at irock.com] od[173.XXX.XXX.134] fd[irock.com]
Nov 8 21:14:03 Proxy01 /usr/local/sbin/opensips[15519]: Route Presence: Is  
PUBLISH [PUBLISH] du [<null>] rd [irock.com] td [irock.com] ds [<null>] Ri  
[173.XXX.XXX.134] rU[9012211610] fU[9012211610]  
ru[sip:9012211610 at irock.com] fu[sip:901
2211610 at irock.com] tu[sip:9012211610 at irock.com] od[irock.com] fd[irock.com]
Nov 8 21:14:03 Proxy01 /usr/local/sbin/opensips[15519]:  
INFO:presence:bla_aggregate_state: Extracted callid, from_tag, to_tag





Here is the NGREP

U 2010/11/08 15:13:53.193747 75.XXX.XXX.158:1052 -> 173.XXX.XXX.134:5060
NOTIFY sip:173.XXX.XXX.134:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.33.25:3072;branch=z9hG4bK-wwgj5a4lrqrx;rport.
From: sip:9012732004 at coolbeans.com;tag=nhlxo9m692.
To:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-9037.
Call-ID: 202f366b421f321f-15522 at 173.XXX.XXX.134.
CSeq: 2 NOTIFY.
Max-Forwards: 70.
Contact: <sip:9012732004 at 192.168.33.25:3072;line=bt134aji>;reg-id=1.
Event: dialog;sla.
Subscription-State: active.
Content-Type: application/dialog-info+xml.
Content-Length: 201.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1"  
state="full" entity="sip:9012732004 at coolbeans.com"><dialog  
id="2"><state>trying</state></dialog></dialog-info>

#
U 2010/11/08 15:13:53.196263 173.XXX.XXX.134:5060 -> 173.XXX.XXX.134:5060
PUBLISH sip:9012732004 at coolbeans.com SIP/2.0.
Via: SIP/2.0/UDP 173.XXX.XXX.134;branch=z9hG4bK2b85.d56c4672.0.
To: sip:9012732004 at coolbeans.com.
From:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-a25e.
CSeq: 10 PUBLISH.
Call-ID: 202f366b421f3224-15517 at 173.XXX.XXX.134.
Content-Length: 201.
User-Agent: OpenSIPS (1.6.3-notls (x86_64/linux)).
Max-Forwards: 70.
Event: dialog;sla.
Expires: 3601.
SIP-If-Match: a.1289249378.15519.5.30.
Content-Type: application/dialog-info+xml.
Sender: sip:9012732004 at 192.168.33.25:3072;line=bt134aji.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="8"  
state="full" entity="sip:9012732004 at coolbeans.com"><dialog  
id="2"><state>trying</state></dialog></dialog-info>

#
U 2010/11/08 15:13:53.196295 173.XXX.XXX.134:5060 -> 75.XXX.XXX.158:1052
SIP/2.0 200 OK.
Via: SIP/2.0/UDP  
192.168.33.25:3072;branch=z9hG4bK-wwgj5a4lrqrx;rport=1052;received=75.XXX.XXX.158.
From: sip:9012732004 at coolbeans.com;tag=nhlxo9m692.
To:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-9037.
Call-ID: 202f366b421f321f-15522 at 173.XXX.XXX.134.
CSeq: 2 NOTIFY.
Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 2010/11/08 15:13:53.197675 173.XXX.XXX.134:5060 -> 173.XXX.XXX.134:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 173.XXX.XXX.134;branch=z9hG4bK2b85.d56c4672.0.
To: sip:9012732004 at coolbeans.com;tag=155c340f586c28d0300cf5a6ccf90d99-573d.
From:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-a25e.
CSeq: 10 PUBLISH.
Call-ID: 202f366b421f3224-15517 at 173.XXX.XXX.134.
Expires: 3600.
SIP-ETag: a.1289249378.15517.8.31.
Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 2010/11/08 15:13:56.633517 75.XXX.XXX.158:1052 -> 173.XXX.XXX.134:5060
INVITE sip:9012211610 at coolbeans.com;user=phone SIP/2.0.
Via: SIP/2.0/UDP 192.168.33.25:3072;branch=z9hG4bK-4qbt4muso76i;rport.
From: "Sam 273-2004" <sip:9012732004 at coolbeans.com>;tag=kifvj9kpcd.
To: <sip:9012211610 at coolbeans.com;user=phone>.
Call-ID: ad72263ca21d-prsjctuz8ivx.
CSeq: 1 INVITE.
Max-Forwards: 70.
Contact: <sip:9012732004 at 192.168.33.25:3072;line=bt134aji>;reg-id=1.
X-Serialnumber: 000413411A64.
P-Key-Flags: resolution="31x13", keys="4".
User-Agent: snom870/8.4.18.
Accept: application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,  
MESSAGE, INFO, UPDATE.
Allow-Events: talk, hold, refer, call-info.
Supported: timer, 100rel, replaces, from-change.
Session-Expires: 3600;refresher=uas.
Min-SE: 90.
Content-Type: application/sdp.
Content-Length: 451.
.
v=0.
o=root 948072137 948072137 IN IP4 192.168.33.25.
s=call.
c=IN IP4 192.168.33.25.
t=0 0.
m=audio 51266 RTP/AVP 9 8 99 3 18 4 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32  
inline:oHo6bY6hNmJNu0balZ63CNxWDXmmJvBqJ0tNB50U.
a=rtpmap:9 g722/8000.
a=rtpmap:8 pcma/8000.
a=rtpmap:99 g726-32/8000.
a=rtpmap:3 gsm/8000.
a=rtpmap:18 g729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:4 g723/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

#
U 2010/11/08 15:13:56.633824 173.XXX.XXX.134:5060 -> 75.XXX.XXX.158:1052
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP  
192.168.33.25:3072;branch=z9hG4bK-4qbt4muso76i;rport=1052;received=75.XXX.XXX.158.
From: "Sam 273-2004" <sip:9012732004 at coolbeans.com>;tag=kifvj9kpcd.
To:  
<sip:9012211610 at coolbeans.com;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57c1.
Call-ID: ad72263ca21d-prsjctuz8ivx.
CSeq: 1 INVITE.
Proxy-Authenticate: Digest realm="coolbeans.com",  
nonce="4cd868326d2364c9cf83e23fe138f97a7f930a9a", qop="auth".
Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 2010/11/08 15:13:56.645090 75.XXX.XXX.158:1052 -> 173.XXX.XXX.134:5060
NOTIFY sip:173.XXX.XXX.134:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.33.25:3072;branch=z9hG4bK-h68011cfq49t;rport.
From: sip:9012732004 at coolbeans.com;tag=nhlxo9m692.
To:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-9037.
Call-ID: 202f366b421f321f-15522 at 173.XXX.XXX.134.
CSeq: 3 NOTIFY.
Max-Forwards: 70.
Contact: <sip:9012732004 at 192.168.33.25:3072;line=bt134aji>;reg-id=1.
Event: dialog;sla.
Subscription-State: active.
Content-Type: application/dialog-info+xml.
Content-Length: 624.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="2"  
state="full" entity="sip:9012732004 at coolbeans.com"><dialog id="2"  
direction="initiator" call-id="ad72263ca21d-prsjctuz8ivx"  
local-tag="kifvj9kpcd" remote-tag=""><state>trying</state><local><identity  
display="Sam 273-2004">sip:9012732004 at coolbeans.com</identity><target  
uri="sip:9012732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri="sip:9012211610 at coolbeans.com;user=phone"/></remote></dialog></dialog-info>

#
U 2010/11/08 15:13:56.647554 173.XXX.XXX.134:5060 -> 173.XXX.XXX.134:5060
PUBLISH sip:9012732004 at coolbeans.com SIP/2.0.
Via: SIP/2.0/UDP 173.XXX.XXX.134;branch=z9hG4bKb003.af360635.0.
To: sip:9012732004 at coolbeans.com.
From:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-c547.
CSeq: 10 PUBLISH.
Call-ID: 202f366b421f3220-15525 at 173.XXX.XXX.134.
Content-Length: 623.
User-Agent: OpenSIPS (1.6.3-notls (x86_64/linux)).
Max-Forwards: 70.
Event: dialog;sla.
Expires: 3601.
SIP-If-Match: a.1289249378.15517.8.31.
Content-Type: application/dialog-info+xml.
Sender: sip:9012732004 at 192.168.33.25:3072;line=bt134aji.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="9"  
state="full" entity="sip:9012732004 at coolbeans.com"><dialog id="2"  
direction="initiator" call-id="ad72263ca21d-prsjctuz8ivx"  
local-tag="kifvj9kpcd" remote-tag=""><state>trying</state><local><identity  
display="Sam 273-2004">sip:9012732004 at coolbeans.com</identity><target  
uri="sip:9012732004 at 192.168.33.25:3072;line=bt134aji"></target></local><remote><identity>sip:9012211610 at coolbeans.com;user=phone</identity><target  
uri="sip:9012211610 at coolbeans.com;user=phone"/></remote></dialog></dialog-info>

#
U 2010/11/08 15:13:56.647609 173.XXX.XXX.134:5060 -> 75.XXX.XXX.158:1052
SIP/2.0 200 OK.
Via: SIP/2.0/UDP  
192.168.33.25:3072;branch=z9hG4bK-h68011cfq49t;rport=1052;received=75.XXX.XXX.158.
From: sip:9012732004 at coolbeans.com;tag=nhlxo9m692.
To:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-9037.
Call-ID: 202f366b421f321f-15522 at 173.XXX.XXX.134.
CSeq: 3 NOTIFY.
Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 2010/11/08 15:13:56.648746 173.XXX.XXX.134:5060 -> 173.XXX.XXX.134:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 173.XXX.XXX.134;branch=z9hG4bKb003.af360635.0.
To: sip:9012732004 at coolbeans.com;tag=155c340f586c28d0300cf5a6ccf90d99-9e00.
From:  
<sip:9012732004 at coolbeans.com>;tag=533cb9e91f4b999cf76861cbb9ed54ed-c547.
CSeq: 10 PUBLISH.
Call-ID: 202f366b421f3220-15525 at 173.XXX.XXX.134.
Expires: 3600.
SIP-ETag: a.1289249378.15517.9.32.
Server: OpenSIPS (1.6.3-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 2010/11/08 15:13:56.940934 75.XXX.XXX.158:1052 -> 173.XXX.XXX.134:5060
ACK sip:9012211610 at coolbeans.com;user=phone SIP/2.0.
Via: SIP/2.0/UDP 192.168.33.25:3072;branch=z9hG4bK-4qbt4muso76i;rport.
From: "Sam 273-2004" <sip:9012732004 at coolbeans.com>;tag=kifvj9kpcd.
To:  
<sip:9012211610 at coolbeans.com;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57c1.
Call-ID: ad72263ca21d-prsjctuz8ivx.
CSeq: 1 ACK.
Max-Forwards: 70.
Contact: <sip:9012732004 at 192.168.33.25:3072;line=bt134aji>;reg-id=1.
Content-Length: 0.
.

#
U 2010/11/08 15:13:56.949354 75.XXX.XXX.158:1052 -> 173.XXX.XXX.134:5060
INVITE sip:9012211610 at coolbeans.com;user=phone SIP/2.0.
Via: SIP/2.0/UDP 192.168.33.25:3072;branch=z9hG4bK-4mndmsiw3v0p;rport.
From: "Sam 273-2004" <sip:9012732004 at coolbeans.com>;tag=kifvj9kpcd.
To: <sip:9012211610 at coolbeans.com;user=phone>.
Call-ID: ad72263ca21d-prsjctuz8ivx.
CSeq: 2 INVITE.
Max-Forwards: 70.
Contact: <sip:9012732004 at 192.168.33.25:3072;line=bt134aji>;reg-id=1.
X-Serialnumber: 000413411A64.
P-Key-Flags: resolution="31x13", keys="4".
User-Agent: snom870/8.4.18.
Accept: application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,  
MESSAGE, INFO, UPDATE.
Allow-Events: talk, hold, refer, call-info.
Supported: timer, 100rel, replaces, from-change.
Session-Expires: 3600;refresher=uas.
Min-SE: 90.
Proxy-Authorization: Digest  
username="9012732004",realm="coolbeans.com",nonce="4cd868326d2364c9cf83e23fe138f97a7f930a9a",uri="sip:9012211610 at coolbeans.com;user=phone",qop=auth,nc=00000001,cnonce=&q
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101110/9f6f66ec/attachment-0001.htm>


More information about the Users mailing list