[Asterisk-Users] dialling peer problems

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Tue Dec 9 10:58:49 MST 2003


I'm trying to use Jeremy's suggestion of dialling using just the peer name 
instead of user:pass at peer but I'm running into some really funky issues.

It does the same thing with both VoicePulse and another * server I have.

[voicepulse]
type=peer
host=gw5.voicepulse.com
trunk=yes
user=USERNAME
pass=PASSWORD

and in my dialplan:
Dial(IAX2/voicepulse/${EXTEN:2}@VPWS,90,r)

The log shows this:
    -- Executing Dial("Zap/2-1", "IAX2/voicepulse/14121234567 at VPWS|90|r") in 
new stack
    -- Called voicepulse/14121234567 at VPWS
WARNING[81926]: File chan_iax2.c, Line 4528 (socket_read): I don't know how 
to authenticate wSS36eLJ68 to 66.234.228.132
    -- Hungup 'IAX2[voicepulse]/16384'

wSS36eLJ68 is *not* my voicepulse username.

Same thing when I try to call my other * server:

[benshaw]
type=peer
host=my.other.*.server
user=USERNAME
pass=PASSWORD

and the log shows
    -- Executing Dial("Zap/2-1", "IAX2/benshaw/1234567") in new stack
    -- Called benshaw/1234567
WARNING[81926]: File chan_iax2.c, Line 4528 (socket_read): I don't know how 
to authenticate iaxtel to my.other.*.server
    -- Hungup 'IAX2[benshaw]/3'

Now the text 'iaxtel' is nowhere in any of my configuration files!  Grepping 
for the text in /etc/asterisk shows no matches.

In both cases if I go back to using Dial(IAX2/user:pass at peer.ip.here/
${EXTEN}) it works just fine.

This is using CVS from November 23:
Asterisk CVS-11/23/03-16:27:08 built by andrew at asterisk on a i586 running 
Linux

Any takers??

Regards,
Andrew



More information about the asterisk-users mailing list