Hi, <br><br>I have a problem with IAX accounts...<br>I set up a few months ago an Asterisk server, with mysql support to load iax accounts. <br>Settings seems fine because apparently the system works as expected. <br>Yesterday I tried to add another iax account in the iax.conf directly. And I have a problem with this new account (named 444).<br>
I can authenticate from 444 to the server, and I can receive calls from other softphones (which parameters are loaded from the mysql database iaxfriends).<br>BUT, i cannot call other softphones. I always got a message in the log saying &quot;Everyone is busy/congested at this time (1:0/0/1)&quot;.<br>
So, i don&#39;t know where is the probleme : is it from iax accounts loaded from the database, or the new account 444 ???<br><br>Below are the conf files and verbose output.<br><br>Thank you very much for your help :)<br>
<br><br>---------<br>- iax.conf<br>---------<br><br>[general]<br>bindport=4569<br>delayreject=yes<br>language=fr<br>autokill = yes<br>calltokenoptional = <a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a><br>minregexpire = 60<br>
maxregexpire = 500<br>mohsuggest=default<br>careinvite=no<br>rtcachefriends=yes<br><br><br>[444]<br>type=friend<br>host=dynamic<br>context=special<br>secret=iop<br><br>---------<br>- extconfig.conf:<br>---------<br><br>[general]<br>
<br>[settings]<br>iaxusers =&gt; mysql,asterisk,iaxfriends<br>iaxpeers =&gt; mysql,asterisk,iaxfriends<br>voicemail =&gt; mysql,asterisk,voicemail<br><br><br>---------<br>- Mysqldump from iaxfriends<br>---------<br>INSERT INTO iaxfriends (name,type,phonenumber,username,mailbox,secret,dbsecret,context,regcontext,host,ipaddr,port,defaultip,sourceaddress,mask,regexten,regseconds,accountcode,mohinterpret,mohsuggest,inkeys,outkey,language,callerid,cid_number,sendani,fullname,trunk,auth,maxauthreq,requirecalltoken,encryption,transfer,jitterbuffer,forcejitterbuffer,disallow,allow,codecpriority,qualify,qualifysmoothing,qualifyfreqok,qualifyfreqnotok,timezone,adsi,amaflags,setvar) VALUES (&#39;admin.my.domain&#39;,&#39;friend&#39;,&#39;100&#39;,&#39;admin@my.domain&#39;,&#39;123&#39;,&#39;&#39;,&#39;default&#39;,&#39;&#39;,&#39;dynamic&#39;,&#39;10.0.100.56&#39;,&#39;26564&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;0&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;en&#39;,&#39;admin.my.domain&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;md5&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;all&#39;,&#39;gsm,ulaw,alaw&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;) ;<br>
INSERT INTO iaxfriends (name,type,phonenumber,username,mailbox,secret,dbsecret,context,regcontext,host,ipaddr,port,defaultip,sourceaddress,mask,regexten,regseconds,accountcode,mohinterpret,mohsuggest,inkeys,outkey,language,callerid,cid_number,sendani,fullname,trunk,auth,maxauthreq,requirecalltoken,encryption,transfer,jitterbuffer,forcejitterbuffer,disallow,allow,codecpriority,qualify,qualifysmoothing,qualifyfreqok,qualifyfreqnotok,timezone,adsi,amaflags,setvar) VALUES (&#39;alice.my.domain&#39;,&#39;friend&#39;,&#39;111&#39;,&#39;admin@my.domain&#39;,&#39;&#39;,&#39;alice@my.domain&#39;,&#39;456&#39;,&#39;&#39;,&#39;default&#39;,&#39;&#39;,&#39;dynamic&#39;,&#39;10.0.100.221&#39;,&#39;42478&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;1303301760&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;en&#39;,&#39;alice.my.domain&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;md5&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;all&#39;,&#39;gsm,ulaw,alaw&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;) ;<br>
<br><br>---------<br>- extensions.conf:<br>---------<br><br>[general]<br><br>[externe]<br>exten =&gt; 555,1,Dial(IAX2/111)<br>exten =&gt; 555,n,Hangup()<br><br><br>[special]<br>exten =&gt; 111,1,Dial(IAX2/111)<br>exten =&gt; 111,n,Hangup()<br>
<br>[default]<br><br>exten =&gt; 444,1,Dial(IAX2/444)<br>exten =&gt; 444,n,Hangup()<br><br><br><br><br>- Sip.conf (SIP server): <br><br>[general]<br>context=default<br>allowoverlap=no<br>udpbindaddr=0.0.0.0<br>tcpenable=no<br>
tcpbindaddr=0.0.0.0<br>srvlookup=yes<br><br><br>---------<br>- Logs server:<br>---------<br><br>    -- Accepting AUTHENTICATED call from <a href="http://10.0.100.238">10.0.100.238</a>:<br>       &gt; requested format = gsm,<br>
       &gt; requested prefs = (),<br>       &gt; actual format = ulaw,<br>       &gt; host prefs = (),<br>       &gt; priority = mine<br>    -- Executing [111@special:1] Dial(&quot;IAX2/444-436&quot;, &quot;IAX2/111&quot;) in new stack<br>
  == Everyone is busy/congested at this time (1:0/0/1)<br>    -- Executing [111@special:2] Hangup(&quot;IAX2/444-436&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (special, 111, 2) exited non-zero on &#39;IAX2/444-436&#39;<br>
    -- Hungup &#39;IAX2/444-436&#39;<br>    -- Accepting AUTHENTICATED call from <a href="http://10.0.100.50">10.0.100.50</a>:<br>       &gt; requested format = ulaw,<br>       &gt; requested prefs = (),<br>       &gt; actual format = gsm,<br>
       &gt; host prefs = (gsm|ulaw|alaw),<br>       &gt; priority = mine<br>    -- Executing [444@default:1] Dial(&quot;IAX2/alice.my.domain-8277&quot;, &quot;IAX2/444&quot;) in new stack<br>    -- Called 444<br>    -- Call accepted by 10.0.100.238 (format gsm)<br>
    -- Format for call is gsm<br>    -- IAX2/444-4734 is ringing<br>    -- IAX2/444-4734 answered IAX2/alice.my.domain-8277<br>    -- Hungup &#39;IAX2/444-4734&#39;<br>  == Spawn extension (default, 444, 1) exited non-zero on &#39;IAX2/alice.my.domain-8277&#39;<br>
    -- Hungup &#39;IAX2/alice.my.domain-8277&#39;<br><br>