John Alexis
2011-Apr-20 16:37 UTC
[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 at 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 at my.domain ','','alice at 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 at special:1] Dial("IAX2/444-436", "IAX2/111") in new stack == Everyone is busy/congested at this time (1:0/0/1) -- Executing [111 at 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 at 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' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110420/54cce33b/attachment-0001.htm>
John Alexis
2011-Apr-23 08:38 UTC
[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 <kasterisk18 at gmail.com>> 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 at 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 at my.domain > ','','alice at 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 at special:1] Dial("IAX2/444-436", "IAX2/111") in new > stack > == Everyone is busy/congested at this time (1:0/0/1) > -- Executing [111 at 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 at 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' > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110423/75dfb229/attachment.htm>