[SR-Users] pua_dialoginfo publish sent without recieved etag (intermittent)

Asgaroth 00asgaroth00 at gmail.com
Sat Oct 17 13:24:07 CEST 2015


Hi All,

I've come accross an intermittent issue where an initial publish is sent 
to our presence server, proxy recieves the subsequent 200 with etag, but 
the following publish sent does not contain the sip-if-match header of 
the recieved 200, which ends up causing trouble with BLF on our test 
devices, it also has the added side affect of not being cleared out of 
the presentity table, these entries need to be manually removed.

This does not occur all the time, I can use the same phone and make 
several calls before this issue occurs. It is not limited to a device 
type, we've tried with panasonic, polycom, cisco, zoiper, yealink and 
linksys devices, all exhibit the same sporadic behaviour.

I've attached an example sip trace of the publish messages where this 
happens, you can see the second publish doesnt have the sip-if-match 
header whose content should be that of the sip-etag in the previous 200 
to the initial publish.

I'm not sure if there is something I am misunderstanding here, a 
configuration issue, or if this is indeed a bug.

Both the proxy and the presence server are running kamailio v4.3.3.

Any pointers/suggestions/guidance would be appreciated.

If you need any additional info, please dont hesitate to ask.

Thanks
-------------- next part --------------
U 2015/10/17 11:11:26.465693 10.7.0.109:5060 -> 10.7.0.54:5060

PUBLISH sip:user01 at domain.com SIP/2.0.
Via: SIP/2.0/UDP 194.213.29.109;branch=z9hG4bKddac.4a5b74f5000000000000000000000000.0.
To: <sip:user01 at domain.com>.
From: <sip:user01 at domain.com>;tag=dc193272077e3034e2352f60374fbd88-5653.
CSeq: 10 PUBLISH.
Call-ID: 1daacf60037e9d70-671 at 194.213.29.109.
Content-Length: 619.
User-Agent: kamailio_proxy.
Max-Forwards: 70.
Event: dialog.
Expires: 301.
Content-Type: application/dialog-info+xml.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:user01 at domain.com:5061">
  <dialog id="1215045217 at 192.168.1.235" call-id="1215045217 at 192.168.1.235" direction="initiator">
    <state>Trying</state>
    <remote>
      <identity>sip:user02 at domain.com:5061</identity>
      <target uri="sip:user02 at domain.com:5061"/>
    </remote>
    <local>
      <identity>sip:user01 at domain.com:5061</identity>
      <target uri="sip:user01 at domain.com:5061"/>
    </local>
  </dialog>
</dialog-info>


U 2015/10/17 11:11:26.468460 10.7.0.54:5060 -> 10.7.0.109:5060

SIP/2.0 200 OK.
Via: SIP/2.0/UDP 194.213.29.109;branch=z9hG4bKddac.4a5b74f5000000000000000000000000.0;received=10.7.0.109.
To: <sip:user01 at domain.com>;tag=145ace6a3d5ec4c1cfd3798362d1102c-983d.
From: <sip:user01 at domain.com>;tag=dc193272077e3034e2352f60374fbd88-5653.
CSeq: 10 PUBLISH.
Call-ID: 1daacf60037e9d70-671 at 194.213.29.109.
Expires: 301.
SIP-ETag: a.1445011588.19814.527.0.
Server: kamailio_presence.
Content-Length: 0.
.

U 2015/10/17 11:11:26.470006 10.7.0.109:5060 -> 10.7.0.54:5060

PUBLISH sip:user01 at domain.com SIP/2.0.
Via: SIP/2.0/UDP 10.7.0.109;branch=z9hG4bK0897.4a5b74f5000000000000000000000000.0.
To: <sip:user01 at domain.com>.
From: <sip:user01 at domain.com>;tag=dc193272077e3034e2352f60374fbd88-e6c3.
CSeq: 10 PUBLISH.
Call-ID: 1daacf60037e9d5c-593 at 194.213.29.109.
Content-Length: 655.
User-Agent: kamailio_proxy.
Max-Forwards: 70.
Event: dialog.
Expires: 11.
Content-Type: application/dialog-info+xml.
.
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:user01 at domain.com:5061">
  <dialog id="1215045217 at 192.168.1.235" call-id="1215045217 at 192.168.1.235" direction="initiator">
    <state>terminated</state>
    <remote>
      <identity>sip:user02 at domain.com:5061</identity>
      <target uri="sip:user02 at domain.com:5061"/>
    </remote>
    <local>
      <identity>sip:user01 at domain.com:5061</identity>
      <target uri="sip:user01 at 192.168.1.235:1497;transport=TLS;alias=212.2.172.228~40440~3"/>
    </local>
  </dialog>
</dialog-info>


SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.7.0.109;branch=z9hG4bK0897.4a5b74f5000000000000000000000000.0.
To: <sip:user01 at domain.com>;tag=145ace6a3d5ec4c1cfd3798362d1102c-12fc.
From: <sip:user01 at domain.com>;tag=dc193272077e3034e2352f60374fbd88-e6c3.
CSeq: 10 PUBLISH.
Call-ID: 1daacf60037e9d5c-593 at 194.213.29.109.
Expires: 11.
SIP-ETag: a.1445011588.19795.507.0.
Server: kamailio_presence.
Content-Length: 0.
.


More information about the sr-users mailing list