Re: [ATLSIP] Proxy Authentication User is empty
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-10-09 08:25:13
|
Tom, Are you using ATLSIP SIP in a custom application? Make sure you set the following SetAuthenticationUser() - REGISTER (WWW-Authneticate) SetProxyAuthenticationUser() - INVITE (Proxy-Authenticate) Then you must call Initialize() after you have set the values and every time they change. Joegen tom schuring wrote: > hello, > > > i'm trying to connect to an asterisk server using the ATLSIPobject. > > > i can connect (login allright) but when i call MakeCall() > > > i see the following in the sip logfile: > > > 2007/10/09 16:37:30.636 Transaction DBG: [CID=0x0a6d] ICT(108422460) Timer D( 32000 ms ) STARTED > 2007/10/09 16:37:30.636 UserAgent DTL: [CID=0x0a6d] *** MESSAGE ARRIVAL *** for SIP Session 12a8ee4c-d7f9-1810-9e7f-fc3ea91abefc > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] SIP/2.0 407 Proxy Authentication Required > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] From: 1234 <sip:1234@172.31.26.68>;tag=12a8ee4cd7f918109cc1fc3ea91abefc > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] To: sip:4321@172.31.26.68;tag=as37056ca2 > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Via: SIP/2.0/UDP 172.31.26.109:5060;iid=1110;branch=z9hG4bK12a8ee4cd7f918109cc0fc3ea91abefc;uas-addr=172.31.26.68;received=172.31.26.109 > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] CSeq: 4711 INVITE > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Call-ID: 12a8ee4c-d7f9-1810-9e7f-fc3ea91abefc > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Contact: <sip:4321@172.31.26.68> > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] User-Agent: Asterisk PBX > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Proxy-Authenticate: Digest realm="asterisk", nonce="2a6aec31" > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] Content-Length: 0 > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] > 2007/10/09 16:37:30.636 UserAgent DBG: [CID=0x0a6d] > 2007/10/09 16:37:30.636 Call WRN: [CID=0x0a6d] *** Proxy Authentication User is EMPTY!!! *** > 2007/10/09 16:37:30.636 Call WRN: [CID=0x0a6d] *** Unable to authenticate Call!!! *** > > > > > > -at what stage can i find out what the proxyAuthenticationUser should be ? > > > is it right after i login ? > does it come back in the event arguments of OnLoginSuccessful() ? > or is there a member i can call so i can set the proxyAuthenticationUser before i call MakeCall ? > > > i looked in the eventarg of OnOutgoingCallRejected but it only shows the error message, not the expected proxyAuthenticationUser.. > > > or is there any documentation that explains this ? i have had a look at the OSSPhone but i can't find if it. > > > any help is much appreciated. > > > best regards, > > > tom > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Opensipstack-atlsipdevel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-atlsipdevel > > > |