Hi,
When I create a NOTIFY message inside s sip-servlet , mobicents adds rport (and probably wrong rport) to the via header of the message ,
Do we have a method to set this rport , or prevent this rport?
Our mobicents server works with 5080 as port but it adds another port , as rport so we dont get correponding responses
Thanks,
Emre
Example:
NOTIFY sip:emre@192.168.40.202:49322;transport=TCP SIP/2.0
CSeq: 1 NOTIFY
From: <sip:emre@argela.com.tr>;tag=30704979_89a8a335_0a15cc3a-ce38-420c-8ddc-62d70e182592
To: <sip:emre@argela.com.tr>;tag=f63d9d2e6331428dbd5ee27af4d221b5
Call-ID: 0719956008114945a46b023097616461
Max-Forwards: 69
Contact: <sip:192.168.0.7:5080;transport=udp>
Event: presence.winfo
Subscription-State: active;expires=60
Content-Type: application/watcherinfo+xml
Via: SIP/2.0/TCP 192.168.0.7:5060;branch=z9hG4bK0a15cc3a-ce38-420c-8ddc-62d70e182592_89a8a335_238265150212334507199,SIP/2.0/TCP 192.168.0.7:5065;branch=z9hG4bK0a15cc3a-ce38-420c-8ddc-62d70e182592_89a8a335_238265150212334507199zsd,SIP/2.0/TCP 192.168.0.7:5080;branch=z9hG4bK0a15cc3a-ce38-420c-8ddc-62d70e182592_89a8a335_2382651502123345;rport=50991
Content-Length: 343
<?xml version="1.0" encoding="UTF-8"?><watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" state="full" version="0"><watcher-list package="presence" resource="sip:emre@argela.com.tr"><watcher event="subscribe" id="ac16ce5a-b81c-45b5-898c-5cbfd0cc7269" status="terminated">sip:alivelibise@argela.com.tr</watcher></watcher-list></watcherinfo>