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

Alexsandr notifications at github.com
Mon Aug 25 08:48:51 CEST 2014


Witch patch Opensips not duplicate transport:
```
T 172.25.16.1:35074 -> 172.25.37.161:5060 [AP]
SUBSCRIBE sip:1400 at domain SIP/2.0.
Via: SIP/2.0/TCP 172.25.16.1:5060;branch=z9hG4bK818215314;rport;alias.
From: <sip:294ee820-3268-11e3-8c04-005056be2a54 at domain>;tag=1915679720.
To: <sip:1400 at domain>.
Call-ID: 227034201-5060-3 at BHC.CF.BG.B.
CSeq: 20010 SUBSCRIBE.
Contact: <sip:294ee820-3268-11e3-8c04-005056be2a54 at 172.25.16.1:5060;transport=tcp>.
X-Grandstream-PBX: true.
Max-Forwards: 70.
User-Agent: Grandstream GXP2124 1.0.5.32.
Expires: 300.
Supported: replaces, path, timer, eventlist.
Event: dialog.
Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE.
Content-Length: 0.
```
I cant set   "server_address"  because have UDP (port - 5060) and TLS(port - 5061) client, if I not set port in "server_address" Opensips send contact "Contact: <sip:172.25.37.161;transport=tcp>." If set to 5060 begin problem witch TLS client. 

Sorry for English. 

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


More information about the Devel mailing list