[Asterisk-Users] goiax configuration help please

Jim Duda jim at duda.tzo.com
Wed Oct 19 17:21:03 MST 2005


I saw the posting concerning goiax offering free DIDs.  I went ahead, 
created an account, and got myself a DID.

Who is goiax, and how can they be doing this for free?  It's nice, but 
how can they offer that?

I have outbound calling working from asterisk, to 800 numbers.

I cannot seem to get inbound calls working though.  I cannot figure out 
why.  I get a message from asterisk saying that asterisk rejected the 
call due to an authorization failure.  Asterisk reported a failure at a 
specific line of code in chan_iax2.c and it has to do with 
authentication.  I'm registered with goiax as I see the proper result in 
iax2 show registry.  So, I at least have the correct ID and SECRET.

Do these DIDs really work?

In my iax.conf, I have:

;
; GOIAX
;
register => 87820<myid>:<mysecret>@server1.goiax.com

[goiax]
context=home
type=friend
host=server1.goiax.com
auth=md5
username=87820<myid>
secret=<mysecret>
disallow=all
allow=ulaw
allow=gsm

In my extensions.conf, I have (2 entries since I wasn't sure which 
number would be used)

;
; Goiax
;
exten => <mydid>,1,AGI(MisterHouse.agi,"CallerID")
exten => <mydid>,2,Dial(${PHONES0}&${PHONES1}&${PHONES2},20,tr)
exten => <mydid>,3,Macro(voicemail,${PHONES0VM})
exten => <mydid>,4,Hangup
exten => <mydid>,103,Macro(voicemail,${PHONES0VM})
exten => <mydid>,104,Hangup

exten => 87820<myid>,1,AGI(MisterHouse.agi,"CallerID")
exten => 87820<myid>,2,Dial(${PHONES0}&${PHONES1}&${PHONES2},20,tr)
exten => 87820<myid>,3,Macro(voicemail,${PHONES0VM})
exten => 87820<myid>,4,Hangup
exten => 87820<myid>,103,Macro(voicemail,${PHONES0VM})
exten => 87820<myid>,104,Hangup

Can anyone see what I might be doing wrong?

Jim







More information about the asterisk-users mailing list