[asterisk-users] [IAX] Everyone is busy/congested at this time (1:0/0/1)
Hi, I have a problem with IAX accounts... I set up a few months ago an Asterisk server, with mysql support to load iax accounts. Settings seems fine because apparently the system works as expected. Yesterday I tried to add another iax account in the iax.conf directly. And I have a problem with this new account (named 444). 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). BUT, i cannot call other softphones. I always got a message in the log saying "Everyone is busy/congested at this time (1:0/0/1)". So, i don't know where is the probleme : is it from iax accounts loaded from the database, or the new account 444 ??? Below are the conf files and verbose output. Thank you very much for your help :) - - iax.conf - [general] bindport=4569 delayreject=yes language=fr autokill = yes calltokenoptional = 0.0.0.0/0.0.0.0 minregexpire = 60 maxregexpire = 500 mohsuggest=default careinvite=no rtcachefriends=yes [444] type=friend host=dynamic context=special secret=iop - - extconfig.conf: - [general] [settings] iaxusers => mysql,asterisk,iaxfriends iaxpeers => mysql,asterisk,iaxfriends voicemail => mysql,asterisk,voicemail - - Mysqldump from iaxfriends - 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 ('admin.my.domain','friend','100','admin@my.domain','123','','default','','dynamic','10.0.100.56','26564','','','','','0','','','','','','en','admin.my.domain','','','','','md5','','','','','','','all','gsm,ulaw,alaw','','','','','','','','','') ; 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 ('alice.my.domain','friend','111','admin@my.domain ','','alice@my.domain','456','','default','','dynamic','10.0.100.221','42478','','','','','1303301760','','','','','','en','alice.my.domain','','','','','md5','','','','','','','all','gsm,ulaw,alaw','','','','','','','','','') ; - - extensions.conf: - [general] [externe] exten => 555,1,Dial(IAX2/111) exten => 555,n,Hangup() [special] exten => 111,1,Dial(IAX2/111) exten => 111,n,Hangup() [default] exten => 444,1,Dial(IAX2/444) exten => 444,n,Hangup() - Sip.conf (SIP server): [general] context=default allowoverlap=no udpbindaddr=0.0.0.0 tcpenable=no tcpbindaddr=0.0.0.0 srvlookup=yes - - Logs server: - -- Accepting AUTHENTICATED call from 10.0.100.238: > requested format = gsm, > requested prefs = (), > actual format = ulaw, > host prefs = (), > priority = mine -- Executing [111@special:1] Dial("IAX2/444-436", "IAX2/111") in new stack == Everyone is busy/congested at this time (1:0/0/1) -- Executing [111@special:2] Hangup("IAX2/444-436", "") in new stack == Spawn extension (special, 111, 2) exited non-zero on 'IAX2/444-436' -- Hungup 'IAX2/444-436' -- Accepting AUTHENTICATED call from 10.0.100.50: > requested format = ulaw, > requested prefs = (), > actual format = gsm, > host prefs = (gsm|ulaw|alaw), > priority = mine -- Executing [444@default:1] Dial("IAX2/alice.my.domain-8277", "IAX2/444") in new stack -- Called 444 -- Call accepted by 10.0.100.238 (format gsm) -- Format for call is gsm -- IAX2/444-4734 is ringing -- IAX2/444-4734 answered IAX2/alice.my.domain-8277 -- Hungup 'IAX2/444-4734' == Spawn extension (default, 444, 1) exited non-zero on 'IAX2/alice.my.domain-8277' -- Hungup 'IAX2/alice.my.domain-8277' -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] [IAX] Everyone is busy/congested at this time (1:0/0/1)
Hi, Sorry to insist, but I still not have any solution. Does anybody have an idea ? Thanks! 2011/4/20 John Alexis > Hi, > > I have a problem with IAX accounts... > I set up a few months ago an Asterisk server, with mysql support to load > iax accounts. > Settings seems fine because apparently the system works as expected. > Yesterday I tried to add another iax account in the iax.conf directly. And > I have a problem with this new account (named 444). > 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). > BUT, i cannot call other softphones. I always got a message in the log > saying "Everyone is busy/congested at this time (1:0/0/1)". > So, i don't know where is the probleme : is it from iax accounts loaded > from the database, or the new account 444 ??? > > Below are the conf files and verbose output. > > Thank you very much for your help :) > > > - > - iax.conf > - > > [general] > bindport=4569 > delayreject=yes > language=fr > autokill = yes > calltokenoptional = 0.0.0.0/0.0.0.0 > minregexpire = 60 > maxregexpire = 500 > mohsuggest=default > careinvite=no > rtcachefriends=yes > > > [444] > type=friend > host=dynamic > context=special > secret=iop > > - > - extconfig.conf: > - > > [general] > > [settings] > iaxusers => mysql,asterisk,iaxfriends > iaxpeers => mysql,asterisk,iaxfriends > voicemail => mysql,asterisk,voicemail > > > - > - Mysqldump from iaxfriends > - > 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 > ('admin.my.domain','friend','100','admin@my.domain','123','','default','','dynamic','10.0.100.56','26564','','','','','0','','','','','','en','admin.my.domain','','','','','md5','','','','','','','all','gsm,ulaw,alaw','','','','','','','','','') > ; > 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 ('alice.my.domain','friend','111','admin@my.domain > ','','alice@my.domain','456','','default','','dynamic','10.0.100.221','42478','','','','','1303301760','','','','','','en','alice.my.domain','','','','','md5','','','','','','','all','gsm,ulaw,alaw','','','','','','','','','') > ; > > > - > - extensions.conf: > - > > [general] > > [externe] > exten => 555,1,Dial(IAX2/111) > exten => 555,n,Hangup() > > > [special] > exten => 111,1,Dial(IAX2/111) > exten => 111,n,Hangup() > > [default] > > exten => 444,1,Dial(IAX2/444) > exten => 444,n,Hangup() > > > > > - Sip.conf (SIP server): > > [general] > context=default > allowoverlap=no > udpbindaddr=0.0.0.0 > tcpenable=no > tcpbindaddr=0.0.0.0 > srvlookup=yes > > > - > - Logs server: > - > > -- Accepting AUTHENTICATED call from 10.0.100.238: >> requested format = gsm, >> requested prefs = (), >> actual
Re: [asterisk-users] [IAX] Everyone is busy/congested at this time (1:0/0/1)
Unfortunatelly that doesn't change anything. I got exactly the same error ("Everyone is busy/congested at this time (1:0/0/1)" ... ). I did a "dialplan reload" before testing of course. 2011/4/25 Camilo Echeverry > As I see in your iax.conf, IAX Peer belogs to "special" context, which > means 444 is allowed to make calls to extensions only on the same context > (Extension 111), can you call extension 111 ? > may be the other extensions are in the " default context" and you can > receive calls because extension 444 (dial IAX2/444) exists in that conext. > > Try adding this in the [special] conext > > ;this will dial any 3 digit Extension to IAX > exten => _XXX,1,Dial(IAX2/${EXTEN}) > exten => _XXX,n,hangup() > > that may solve your problem > > On Sat, Apr 23, 2011 at 3:38 AM, John Alexis wrote: > >> Hi, >> >> Sorry to insist, but I still not have any solution. Does anybody have an >> idea ? >> Thanks! >> >> 2011/4/20 John Alexis >> >>> Hi, >>> >>> I have a problem with IAX accounts... >>> I set up a few months ago an Asterisk server, with mysql support to load >>> iax accounts. >>> Settings seems fine because apparently the system works as expected. >>> Yesterday I tried to add another iax account in the iax.conf directly. >>> And I have a problem with this new account (named 444). >>> 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). >>> BUT, i cannot call other softphones. I always got a message in the log >>> saying "Everyone is busy/congested at this time (1:0/0/1)". >>> So, i don't know where is the probleme : is it from iax accounts loaded >>> from the database, or the new account 444 ??? >>> >>> Below are the conf files and verbose output. >>> >>> Thank you very much for your help :) >>> >>> >>> - >>> - iax.conf >>> - >>> >>> [general] >>> bindport=4569 >>> delayreject=yes >>> language=fr >>> autokill = yes >>> calltokenoptional = 0.0.0.0/0.0.0.0 >>> minregexpire = 60 >>> maxregexpire = 500 >>> mohsuggest=default >>> careinvite=no >>> rtcachefriends=yes >>> >>> >>> [444] >>> type=friend >>> host=dynamic >>> context=special >>> secret=iop >>> >>> - >>> - extconfig.conf: >>> - >>> >>> [general] >>> >>> [settings] >>> iaxusers => mysql,asterisk,iaxfriends >>> iaxpeers => mysql,asterisk,iaxfriends >>> voicemail => mysql,asterisk,voicemail >>> >>> >>> - >>> - Mysqldump from iaxfriends >>> - >>> 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 >>> ('admin.my.domain','friend','100','admin@my.domain','123','','default','','dynamic','10.0.100.56','26564','','','','','0','','','','','','en','admin.my.domain','','','','','md5','','','','','','','all','gsm,ulaw,alaw','','','','','','','','','') >>> ; >>> 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 ('alice.my.domain','friend',