[asterisk-dev] "OPTIONS" message support in Asterisk
Atif Rasheed
atif at iphonica.com
Tue Feb 28 06:11:38 MST 2006
Hi all,
I am trying to OPTIONS message to check entity status. But when my
SoftSwitch sends OPTION message to Asterisk, Asterisk reponds (sends
200-ok) on udp src port. where as Asterisk should reply on contact
information mentioned in "contact" or "via" header.
my SoftSwitch is using different port as a source port instead of 5060,
but listening on 5060 for SIP. how can I change this behaviour.
example trace attached below
Thank you
Atif
Internet Protocol, Src Addr: 10.0.2.14 (10.0.2.14), Dst Addr: 10.0.2.109
(10.0.2.109)
User Datagram Protocol, Src Port: 5062 (5062), Dst Port: 5060 (5060)
Session Initiation Protocol
Request-Line: OPTIONS sip:10.0.2.109 SIP/2.0
Message Header
Call-ID:AAMvHQAAA8AAABesCgACEA00000 at 10.0.2.14
CSeq:1 OPTIONS
From:<sip:10.0.2.14:5060>;tag=AAMvN_6KA8AAABesCgACEAxx
Max-Forwards:0
To:<sip:10.0.2.109:5060>
Via:SIP/2.0/UDP
10.0.2.14:5060;branch=z9hG4bKhsig0000000000AAMwDgAAA8AAABesCgACEAi0930
Internet Protocol, Src Addr: 10.0.2.109 (10.0.2.109), Dst Addr:
10.0.2.14 (10.0.2.14)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5062 (5062)
Session Initiation Protocol
Status-Line: SIP/2.0 404 Not Found
Message Header
Via: SIP/2.0/UDP
10.0.2.14:5060;branch=z9hG4bKhsig0000000000AAMwDgAAA8AAABesCgACEAi0930;received=10.0.2.14
From: <sip:10.0.2.14:5060>;tag=AAMvN_6KA8AAABesCgACEAxx
To: <sip:10.0.2.109:5060>;tag=as042f3adb
Call-ID: AAMvHQAAA8AAABesCgACEA00000 at 10.0.2.14
CSeq: 1 OPTIONS
User-Agent: Burraq PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:10.0.2.109>
Accept: application/sdp
Content-Length: 0
More information about the asterisk-dev
mailing list