[OpenSIPS-Users] Presence and Linksys phones - not working 1.6.1

James Lamanna jlamanna at gmail.com
Tue Apr 6 17:18:50 CEST 2010


>>
>> The phones should never receive the Publish message. Please catch a
>> trace containing this Publish and send it to me.
>> What do you mean by before? Before updating from svn with my patch?
>
> Before I updated from 1.6.2 to SVN I think - I'll try and double-check.
> I have a revised patch that covers my case that I'll submit this afternoon
> with the trace. Any luck with the stuck BLF trace I submitted as well?
>
> I also think that my configuration might need some help wrt when and where
> to call presence functions - I will post that once I get in the office. I
> noticed that with svn I'm not getting any entries in pua or presentity, only
> in active_watchers.

Ok here's what I saw, running the 1.6 branch SVN HEAD - it is attached
in bad_publish.txt.
Also, I've attached my opensips.cfg to see if I'm doing anything bad
in there as well.

Thanks.

-- James
-------------- next part --------------
U opensips.ip:5060 -> phone.nat.ip:8640
INVITE sip:0000000002 at phone.nat.ip:8640 SIP/2.0..Record-Route: <sip:opensips.ip;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Record-Route: <sip:opensips.ip:5061;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bK9b4b.3093b021.0..Via: SIP/2.0/UDP asterisk.server.ip:5060;received=asterisk.server.ip;branch=z9hG4bK58a5bbd7;rport=5060..From: "6266395478" <sip:16266395478 at asterisk.server.ip>;tag=as0175fba8..To: <sip:0000000002 at opensips.ip:5061>..Contact: <sip:16266395478 at asterisk.server.ip>..Call-ID: 6355d0e82d3d60622ced249859e9514a at asterisk.server.ip..CSeq: 102 INVITE..User-Agent: Asterisk PBX..Max-Forwards: 69..Date: Tue, 06 Apr 2010 15:12:11 GMT..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO..Supported: replaces..Content-Type: application/sdp..Content-Length: 280..P-hint: usrloc applied....v=0..o=root 6818 6818 IN IP4 asterisk.server.ip..s=session..c=IN IP4 opensips.ip..t=0 0..m=audio 35470 RTP/AVP 0 8 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-16..a=silenceSupp:off - - - -..a=ptime:20..a=sendrecv..a=nortpproxy:yes..
#
U phone.nat.ip:8640 -> opensips.ip:5060
SIP/2.0 100 Trying..To: <sip:0000000002 at opensips.ip:5061>..From: "6266395478" <sip:16266395478 at asterisk.server.ip>;tag=as0175fba8..Call-ID: 6355d0e82d3d60622ced249859e9514a at asterisk.server.ip..CSeq: 102 INVITE..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bK9b4b.3093b021.0..Via: SIP/2.0/UDP asterisk.server.ip:5060;received=asterisk.server.ip;branch=z9hG4bK58a5bbd7;rport=5060..Record-Route: <sip:opensips.ip;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Record-Route: <sip:opensips.ip:5061;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Server: Linksys/SPA942-6.1.3(a)..Content-Length: 0....
#
U phone.nat.ip:8640 -> opensips.ip:5060
SIP/2.0 180 Ringing..To: <sip:0000000002 at opensips.ip:5061>;tag=c3f142fab548cb0i0..From: "6266395478" <sip:16266395478 at asterisk.server.ip>;tag=as0175fba8..Call-ID: 6355d0e82d3d60622ced249859e9514a at asterisk.server.ip..CSeq: 102 INVITE..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bK9b4b.3093b021.0..Via: SIP/2.0/UDP asterisk.server.ip:5060;received=asterisk.server.ip;branch=z9hG4bK58a5bbd7;rport=5060..Record-Route: <sip:opensips.ip;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Record-Route: <sip:opensips.ip:5061;r2=on;lr=on;ftag=as0175fba8;did=9e5.a4630c74>..Contact: "000-000-0002" <sip:0000000002 at 192.168.1.151:8640>..Server: Linksys/SPA942-6.1.3(a)..Content-Length: 0....
#
U opensips.ip:5060 -> phone.nat.ip:8640
PUBLISH sip:0000000002 at phone.nat.ip:8640 SIP/2.0..Record-Route: <sip:opensips.ip;lr=on;ftag=501689153a5b5fe31491a47f27dc82f5-5f2e>..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKa371.56493fb4.0..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKa371.46493fb4.0..To: sip:0000000002 at phone.nat.ip:8640..From: <sip:0000000002 at phone.nat.ip:8640>;tag=501689153a5b5fe31491a47f27dc82f5-5f2e..CSeq: 10 PUBLISH..Call-ID: 77b9fe2016a10a4c-30855 at opensips.ip..Content-Length: 627..User-Agent: OpenSIPS (1.6.2-notls (x86_64/linux))..Max-Forwards: 69..Event: dialog..Expires: 43201..Content-Type: application/dialog-info+xml..P-hint: outbound....<?xml version="1.0"?>.<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:0000000002 at phone.nat.ip:8640"><dialog id="6355d0e82d3d60622ced249859e9514a at asterisk.server.ip" call-id="6355d0e82d3d60622ced249859e9514a at asterisk.server.ip" local-tag="c3f142fab548cb0i0" remote-tag="as0175fba8" direction="recipient"><state>early</state><remote><identity display="6266395478">sip:16266395478 at asterisk.server.ip</identity><target uri="sip:16266395478 at asterisk.server.ip"/></remote><local><identity>sip:0000000002 at phone.nat.ip:8640</identity><target uri="sip:0000000002 at phone.nat.ip:8640"/></local></dialog></dialog-info>.
#
U phone.nat.ip:8640 -> opensips.ip:5060
SIP/2.0 501 Not Implemented..To: sip:0000000002 at phone.nat.ip:8640;tag=1ded7a2d320fb7c4i0..From: <sip:0000000002 at phone.nat.ip:8640>;tag=501689153a5b5fe31491a47f27dc82f5-5f2e..Call-ID: 77b9fe2016a10a4c-30855 at opensips.ip..CSeq: 10 PUBLISH..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKa371.56493fb4.0..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKa371.46493fb4.0..Record-Route: <sip:opensips.ip;lr=on;ftag=501689153a5b5fe31491a47f27dc82f5-5f2e>..Server: Linksys/SPA942-6.1.3(a)..Content-Length: 0....
#
U phone.nat.ip:6095 -> opensips.ip:5060
SUBSCRIBE sip:sa at opensips.ip:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.1.165:6095;branch=z9hG4bK-92006674..From: "000-000-0001" <sip:0000000001 at opensips.ip>;tag=79e430b9966f9509..To: <sip:0000000002 at opensips.ip>;tag=89c56fdf6f5b6f30be24c8867d74b34a-fe1e..Call-ID: 4dde718-3acb952d at 192.168.1.165..CSeq: 1007 SUBSCRIBE..Max-Forwards: 70..Contact: "000-000-0001" <sip:0000000001 at 192.168.1.165:6095>..Accept: application/dialog-info+xml..Expires: 60..Event: dialog..User-Agent: Linksys/SPA942-6.1.3(a)..Content-Length: 0....
#
U opensips.ip:5060 -> phone.nat.ip:6095
SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.1.165:6095;branch=z9hG4bK-92006674;rport=6095;received=phone.nat.ip..From: "000-000-0001" <sip:0000000001 at opensips.ip>;tag=79e430b9966f9509..To: <sip:0000000002 at opensips.ip>;tag=89c56fdf6f5b6f30be24c8867d74b34a-fe1e..Call-ID: 4dde718-3acb952d at 192.168.1.165..CSeq: 1007 SUBSCRIBE..Expires: 50..Contact: <sip:sa at opensips.ip:5060>..Server: OpenSIPS (1.6.2-notls (x86_64/linux))..Content-Length: 0....
#
U opensips.ip:5060 -> phone.nat.ip:6095
NOTIFY sip:0000000001 at phone.nat.ip:6095 SIP/2.0..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKf405.75b6dcb.0..To: <sip:0000000001 at opensips.ip>;tag=79e430b9966f9509..From: <sip:0000000002 at opensips.ip>;tag=89c56fdf6f5b6f30be24c8867d74b34a-fe1e..CSeq: 10 NOTIFY..Call-ID: 4dde718-3acb952d at 192.168.1.165..Content-Length: 0..User-Agent: OpenSIPS (1.6.2-notls (x86_64/linux))..Max-Forwards: 70..Event: dialog..Contact: <sip:sa at opensips.ip:5060>..Subscription-State: active;expires=50....
#
U phone.nat.ip:6095 -> opensips.ip:5060
SIP/2.0 200 OK..To: <sip:0000000001 at opensips.ip>;tag=79e430b9966f9509..From: <sip:0000000002 at opensips.ip>;tag=89c56fdf6f5b6f30be24c8867d74b34a-fe1e..Call-ID: 4dde718-3acb952d at 192.168.1.165..CSeq: 10 NOTIFY..Via: SIP/2.0/UDP opensips.ip;branch=z9hG4bKf405.75b6dcb.0..Server: Linksys/SPA942-6.1.3(a)..Content-Length: 0....
#


-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensips.cfg
Type: application/octet-stream
Size: 10689 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20100406/83281cdc/attachment-0001.obj 


More information about the Users mailing list