[Asterisk-Users] goiax configuration help please

Sergey Okhapkin sos at sokhapkin.dyndns.org
Wed Oct 19 17:32:10 MST 2005


Replace [goiax] with [87820<myid>]. Just replace the section name.

On Wed, 2005-10-19 at 20:21 -0400, Jim Duda wrote:

> 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
> 
> 
> 
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051019/fc32f151/attachment.htm


More information about the asterisk-users mailing list