Dial() calls of type SIP/user:password@server/ext fail to authenticate

akbts
Joined: Mon 06 of Jun, 2011

Dial() calls of type SIP/user:password@server/ext fail to authenticate

Posted:Mon 06 of Jun, 2011 (22:42 UTC)
Hello all,

Have been struggling for days with this: There seems to be an authentication issue when using a DUNDi lookup on two CentOS VMs running Asterisk 1.8.

Normal SIP calls between the two PBXs work correctly. DUNDi lookups at the CLI also work correctly.

After implementing a DUNDi setup directly from "Asterisk, The Definitive Guide" (O'Reilly), I attempt to make a call from softphone PhoneC1 on 10.0.1.110 (ServerC) to ext 1000 on 10.0.1.144 (ServerD) using the result of a successful DUNDi lookup of the form SIP/dundi:password@10.0.1.144/1000 (from the CLI).

This fails with the following CLI output on 10.0.1.110 (the caller):

== Using SIP RTP CoS mark 5
— Executing [1000@LocalSets:1] Verbose("SIP/phoneC1-0000002a", "2,Test ext to place call to remote server") in new stack
== Test ext to place call to remote server
— Executing [1000@LocalSets:2] Dial("SIP/phoneC1-0000002a", "SIP/dundi:password@10.0.1.144/1000") in new stack
[Jun 6 15:59:00] NOTICE[8846]: chan_sip.c:25281 sip_request_call: Conflicting extension values given. Using 'dundi' and not '1000'
== Using SIP RTP CoS mark 5
— Called dundi:password@10.0.1.144/1000
[Jun 6 15:59:00] NOTICE[6189]: chan_sip.c:19198 handle_response_invite: Failed to authenticate on INVITE to '"PhoneC1" <sip:phoneC1@10.0.1.110>;tag=as5b3b2458'
— SIP/10.0.1.144-0000002b is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
— Executing [1000@LocalSets:3] Progress("SIP/phoneC1-0000002a", "") in new stack
— Executing [1000@LocalSets:4] Hangup("SIP/phoneC1-0000002a", "") in new stack
== Spawn extension (LocalSets, 1000, 4) exited non-zero on 'SIP/phoneC1-0000002a'

Is there a code tag for config files and debug output? Don't want to make a mess when posting that stuff...

Thanks for your help!