Manuel Wenger
2004-May-18 04:46 UTC
R: [Asterisk-Users] Configure asterisk for outgoing.. need authuser parameter?
Hi Tony, Try adding "fromuser=xxxxx", maybe "username=xxxx" isn't enough... Just a guess, it already solved a few problems for me. -Manuel -----Messaggio originale----- Da: Tony Hoyle [mailto:tmh@nodomain.org] Inviato: martedì, 18. maggio 2004 13:03 A: asterisk-users@lists.digium.com Oggetto: [Asterisk-Users] Configure asterisk for outgoing.. need authuser parameter? [...] [pipecall] type=peer secret=xxxxx username=xxxxx host=sipproxy.pipecall.com The first one works OK - I can dial out with no problems. The second one needs an extra field for the authuser - when I try to dial out I just get: May 17 01:03:45 NOTICE[1110916016]: chan_sip.c:5059 handle_response: Failed to authenticate on INVITE to '"Tony Hoyle" <sip:asterisk@213.208.99.114>;tag=as4afae981' I think this means it's using the wrong username somewhere... I can dial in just fine, so it's connected.. just only one way. Tony ___________________________________________________ Ticinocom SA - Via Stazione 5 - 6600 Muralto Tel 0844 007070 - Fax 0844 007071 http://www.ticinocom.com
Tony Hoyle
2004-May-18 05:12 UTC
R: [Asterisk-Users] Configure asterisk for outgoing.. need authuser parameter?
Manuel Wenger wrote:> Hi Tony, > Try adding "fromuser=xxxxx", maybe "username=xxxx" isn't enough... Just a guess, it already solved a few problems for me. >I've tried fromuser=, username= and some fromdomain= combinations - unfortunately I'm not 100% sure what they change, and the error message stays the same. I think at least part of the problem is the following: Proxy-Authorization: Digest username="8378", realm="213.208.99.114", algorithm="MD5", uri="sip:8378@sipproxy.pipecall.com", nonce="000000fc9509e3569yx1EXM7fFX+lgZ6Byvq7g==", response="66ed3e637cb5597849619365543ee80c", opaque="MTAyNjBmOWE2MTY3MTk3MQ==" The username is wrong (presumably one of the fromuser or username parameters should set that) - but which username? There are two... the phone number and the authuser. I suspect the realm name is suspect too... but I'll have to go to the CVS version for realm support if that's the issue. I've now acquired a grandstream phone so I can try that directly to the provider (specifically, sniff the packets to see what it's doing 'right' and try to make asterisk duplicate it). Tony