[OpenSIPS-Users] Presence Contact header

Aleksandr Chusov chusov.alexsandr at gmail.com
Fri Aug 1 06:22:04 CEST 2014


Hello.
I using presence module on OpenSIPS.
If I correct understand  opensips set Contact header from module param
- server_address, in my case if set I server_address not all client
work ( udp, tcp, tls client ) . If not set opensips set it dynamic but
duplicate transport when send NOTIFY via TCP/TLS. Its normal?
I'm not sure yet fully but maybe with some devices because of this problem.
I will be grateful for any help.

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.









.



More information about the Users mailing list