<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Replace [goiax] with [<FONT COLOR="#000000">87820<myid></FONT>]. Just replace the section name.<BR>
<BR>
On Wed, 2005-10-19 at 20:21 -0400, Jim Duda wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I saw the posting concerning goiax offering free DIDs. I went ahead, </FONT>
<FONT COLOR="#000000">created an account, and got myself a DID.</FONT>
<FONT COLOR="#000000">Who is goiax, and how can they be doing this for free? It's nice, but </FONT>
<FONT COLOR="#000000">how can they offer that?</FONT>
<FONT COLOR="#000000">I have outbound calling working from asterisk, to 800 numbers.</FONT>
<FONT COLOR="#000000">I cannot seem to get inbound calls working though. I cannot figure out </FONT>
<FONT COLOR="#000000">why. I get a message from asterisk saying that asterisk rejected the </FONT>
<FONT COLOR="#000000">call due to an authorization failure. Asterisk reported a failure at a </FONT>
<FONT COLOR="#000000">specific line of code in chan_iax2.c and it has to do with </FONT>
<FONT COLOR="#000000">authentication. I'm registered with goiax as I see the proper result in </FONT>
<FONT COLOR="#000000">iax2 show registry. So, I at least have the correct ID and SECRET.</FONT>
<FONT COLOR="#000000">Do these DIDs really work?</FONT>
<FONT COLOR="#000000">In my iax.conf, I have:</FONT>
<FONT COLOR="#000000">;</FONT>
<FONT COLOR="#000000">; GOIAX</FONT>
<FONT COLOR="#000000">;</FONT>
<FONT COLOR="#000000">register => 87820<myid>:<mysecret>@server1.goiax.com</FONT>
<FONT COLOR="#000000">[goiax]</FONT>
<FONT COLOR="#000000">context=home</FONT>
<FONT COLOR="#000000">type=friend</FONT>
<FONT COLOR="#000000">host=server1.goiax.com</FONT>
<FONT COLOR="#000000">auth=md5</FONT>
<FONT COLOR="#000000">username=87820<myid></FONT>
<FONT COLOR="#000000">secret=<mysecret></FONT>
<FONT COLOR="#000000">disallow=all</FONT>
<FONT COLOR="#000000">allow=ulaw</FONT>
<FONT COLOR="#000000">allow=gsm</FONT>
<FONT COLOR="#000000">In my extensions.conf, I have (2 entries since I wasn't sure which </FONT>
<FONT COLOR="#000000">number would be used)</FONT>
<FONT COLOR="#000000">;</FONT>
<FONT COLOR="#000000">; Goiax</FONT>
<FONT COLOR="#000000">;</FONT>
<FONT COLOR="#000000">exten => <mydid>,1,AGI(MisterHouse.agi,"CallerID")</FONT>
<FONT COLOR="#000000">exten => <mydid>,2,Dial(${PHONES0}&${PHONES1}&${PHONES2},20,tr)</FONT>
<FONT COLOR="#000000">exten => <mydid>,3,Macro(voicemail,${PHONES0VM})</FONT>
<FONT COLOR="#000000">exten => <mydid>,4,Hangup</FONT>
<FONT COLOR="#000000">exten => <mydid>,103,Macro(voicemail,${PHONES0VM})</FONT>
<FONT COLOR="#000000">exten => <mydid>,104,Hangup</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,1,AGI(MisterHouse.agi,"CallerID")</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,2,Dial(${PHONES0}&${PHONES1}&${PHONES2},20,tr)</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,3,Macro(voicemail,${PHONES0VM})</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,4,Hangup</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,103,Macro(voicemail,${PHONES0VM})</FONT>
<FONT COLOR="#000000">exten => 87820<myid>,104,Hangup</FONT>
<FONT COLOR="#000000">Can anyone see what I might be doing wrong?</FONT>
<FONT COLOR="#000000">Jim</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">--Bandwidth and Colocation sponsored by Easynews.com --</FONT>
<FONT COLOR="#000000">Asterisk-Users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>