[OpenSIPS-Devel] [opensips] Presence Contact header (#290)

Alexsandr notifications at github.com
Wed Aug 6 20:59:46 CEST 2014


Duplicate transport in Contact header when "server_address" not set for presence module.

Example:
```
T 172.25.37.161:5060 -> 172.25.16.1:60517 [AP]
NOTIFY sip:294ee820-3268-11e3-8c04-005056be2a54 at 172.25.16.1:5060;transport=tcp
SIP/2.0.
Via: SIP/2.0/TCP 172.25.37.161:5060;branch=z9hG4bKa382.218fc614.0.
To: <sip:294ee820-3268-11e3-8c04-005056be2a54 at domain>;tag=1807462242.
From: <sip:1400 at domain>;tag=3f1e5c171f2b7ab605dc3178f992bbc2-8d7f.
CSeq: 1 NOTIFY.
Call-ID: 1717825494-5060-2 at BHC.CF.BG.B.
Max-Forwards: 70.
Content-Length: 145.
User-Agent: OpenSIPS (1.10.1-tls (x86_64/linux)).
Event: dialog.
Contact: <sip:172.25.37.161:5060;transport=tcp;transport=tcp>.
Subscription-State: active;expires=300.
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:1400 at domain"/>

T 172.25.16.1:60517 -> 172.25.37.161:5060 [AP]
SIP/2.0 481 Subscription Does Not Exist.
Via: SIP/2.0/TCP 172.25.37.161:5060;branch=z9hG4bKa382.218fc614.0.
From: <sip:1400 at domain>;tag=3f1e5c171f2b7ab605dc3178f992bbc2-8d7f.
To: <sip:294ee820-3268-11e3-8c04-005056be2a54 at domain>;tag=1807462242.
Call-ID: 1717825494-5060-2 at BHC.CF.BG.B.
CSeq: 1 NOTIFY.
Supported: replaces, path, timer.
User-Agent: Grandstream GXP2124 1.0.6.7.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE, MESSAGE.
Content-Length: 0.
```

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140806/b1a17977/attachment.htm>


More information about the Devel mailing list