[asterisk-users] SipSak: Send SIP OPTION with password

Jonas Kellens jonas.kellens at telenet.be
Sat Oct 23 11:27:34 CDT 2010


Hello,

I'm trying to use SipSak to check if my Asterisk server is 
available/running with the following :

sipsak -vv -s sip:username at sip.domain.tld -c sip:username at sip.domain.tld 
--password guessthis --hostname XX.XX.XX.63

The SIP OPTION is received by Asterisk as follow :

OPTIONS sip:username at sip.domain.tld SIP/2.0
Via: SIP/2.0/UDP XX.XX.XX.63:36887;branch=z9hG4bK.304f1a46;rport;alias
*From: sip:sipsak at XX.XX.XX.63:36887;tag=5e8faf01*
To: sip:username at sip.domain.tld
Call-ID: 1586474753 at XX.XX.XX.63
CSeq: 1 OPTIONS
Contact: sip:sipsak at XX.XX.XX.63:36887
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.6
Accept: text/plain


and it send back :

SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 
XX.XX.XX.63:36887;branch=z9hG4bK.304f1a46;alias;received=XX.XX.XX.63;rport=36887
*From: sip:sipsak at XX.XX.XX.63:*36887*;tag=****5e8faf01*
To: sip:username at sip.domain.tld;tag=as29357d12
Call-ID: 1586474753 at XX.XX.XX.63
CSeq: 1 OPTIONS
Server: Asterisk PBX 1.6.2.10
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Accept: application/sdp
Content-Length: 0


I am not able to change the FROM-header so Asterisk authenticates the 
OPTION being sent.


Jonas.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101023/a1a06ae7/attachment.htm 


More information about the asterisk-users mailing list