Patrick W. Foster
2007-Jan-16 08:00 UTC
[asterisk-users] IAX2 softphones can't (won't?) use PRI trunks....
I have call center PCs that switch between an IBEAM SIP softphone and a NEBU IAX softphone (for reasons that aren't germane here). The SIP softphones work fine, but the IAX softphones get a fast busy unless I give them an IAX trunk to use, instead of the PRI trunks that all the other phones are using. I am using Asterisk 1.2.3. svn rev 47264. I've appended a sample call trace. The call fails through all the configured PRI trunks to the IAX trunk with a CHANUNAVAIL error, whilst the SIP phones are actively calling out on those same PRI trunks. The numbers dialed are 10 digits with no prefix. I am hopeful that someone will recognize the issue and give me a pointer on where to look for the problem. - Registered IAX2 '4414' (AUTHENTICATED) at 192.168.1.102:4569 -- Accepting AUTHENTICATED call from 192.168.1.102: > requested format = alaw, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm), > priority = mine -- Executing Set("IAX2/4414-6", "EMERGENCYROUTE=YES") in new stack -- Executing Macro("IAX2/4414-6", "dialout-trunk|4|xxxnnnnnnn||") in new stack -- Executing GotoIf("IAX2/4414-6", "1?3:2") in new stack -- Goto (macro-dialout-trunk,s,3) -- Executing Macro("IAX2/4414-6", "user-callerid") in new stack -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack -- Executing GotoIf("IAX2/4414-6", "0?start") in new stack -- Executing Set("IAX2/4414-6", "REALCALLERIDNUM=4414") in new stack -- Executing NoOp("IAX2/4414-6", "REALCALLERIDNUM is 4414") in new stack -- Executing Set("IAX2/4414-6", "AMPUSER=4414") in new stack -- Executing Set("IAX2/4414-6", "AMPUSERCIDNAME=User32-IAX") in new stack -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack -- Executing Set("IAX2/4414-6", "CALLERID(all)=User32-IAX <4414>") in new stack -- Executing NoOp("IAX2/4414-6", "Using CallerID "User32-IAX" <4414>") in new stack -- Executing Macro("IAX2/4414-6", "record-enable|4414|OUT") in new stack -- Executing GotoIf("IAX2/4414-6", "0 > 0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("IAX2/4414-6", "recordingcheck|20070115-121440|1168881280.2233") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20070115-121440|1168881280.2233: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing NoOp("IAX2/4414-6", "No recording needed") in new stack -- Executing Macro("IAX2/4414-6", "outbound-callerid|4") in new stack -- Executing GotoIf("IAX2/4414-6", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing NoOp("IAX2/4414-6", "REALCALLERIDNUM is 4414") in new stack -- Executing Set("IAX2/4414-6", "USEROUTCID=""Business Name" <xxx-nnn-nnnn>"") in new stack -- Executing Set("IAX2/4414-6", "EMERGENCYCID=") in new stack -- Executing Set("IAX2/4414-6", "TRUNKOUTCID=""Business Name" <xxx-nnn-nnnn>"") in new stack -- Executing GotoIf("IAX2/4414-6", "0?trunkcid") in new stack -- Executing GotoIf("IAX2/4414-6", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,11) -- Executing GotoIf("IAX2/4414-6", "0?usercid") in new stack -- Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name" <xxx-nnn-nnnn>"") in new stack -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack -- Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name" <xxx-nnn-nnnn>"") in new stack -- Executing NoOp("IAX2/4414-6", "CallerID set to ""Business Name" <xxx-nnn-nnnn>"") in new stack -- Executing Set("IAX2/4414-6", "GROUP()=OUT_4") in new stack -- Executing GotoIf("IAX2/4414-6", "0?108") in new stack -- Executing Set("IAX2/4414-6", "DIAL_NUMBER=xxxnnnnnnn") in new stack -- Executing Set("IAX2/4414-6", "DIAL_TRUNK=4") in new stack -- Executing AGI("IAX2/4414-6", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix -- AGI Script fixlocalprefix completed, returning 0 -- Executing Set("IAX2/4414-6", "OUTNUM=xxxnnnnnnn") in new stack -- Executing Set("IAX2/4414-6", "custom=ZAP/g0") in new stack -- Executing GotoIf("IAX2/4414-6", "0?16") in new stack -- Executing Dial("IAX2/4414-6", "ZAP/g0/xxxnnnnnnn|120|r") in new stack == Everyone is busy/congested at this time (1:0/0/1) -- Executing Goto("IAX2/4414-6", "s-CHANUNAVAIL|1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing NoOp("IAX2/4414-6", "Dial failed due to CHANUNAVAIL") in new stack -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070116/3e627c17/attachment-0001.htm
Tim Panton
2007-Jan-16 11:58 UTC
[asterisk-users] IAX2 softphones can't (won't?) use PRI trunks....
On 16 Jan 2007, at 13:46, Patrick W. Foster wrote:> I am hopeful that > someone will recognize the issue and give me a pointer on where to > look for the problem. > > - Registered IAX2 '4414' (AUTHENTICATED) at 192.168.1.102:4569 > -- Accepting AUTHENTICATED call from 192.168.1.102: > > requested format = alaw, > > requested prefs = (), > > actual format = ulaw, > > host prefs = (ulaw|alaw|gsm), > > priority = mineLooks like a codec negotiation issue. The softphones are saying alaw (only), but your pri trunk is ulaw. Try enabling ulaw on the softphones. Tim Panton www.mexuar.net www.westhawk.co.uk/
ismail loo
2007-Feb-05 09:15 UTC
[asterisk-users] IAX2 softphones can't (won't?) use PRI trunks....
Try latest version of iaxLite softphone. The testing result here is that it could work with PRI or IAX2 trunks. 2007/1/16, Patrick W. Foster <pwf@unids.com>:> > I have call center PCs that switch between an IBEAM SIP softphone and a > NEBU IAX softphone (for reasons > that aren't germane here). The SIP softphones work fine, but the IAX > softphones get a fast busy unless I give > them an IAX trunk to use, instead of the PRI trunks that all the other > phones are using. I am using Asterisk 1.2.3. > svn rev 47264. > > I've appended a sample call trace. The call fails through all the > configured PRI trunks to the IAX trunk with a CHANUNAVAIL error, whilst > the SIP phones are actively calling out on those same PRI trunks. The > numbers dialed are 10 digits with no prefix. I am hopeful that > someone will recognize the issue and give me a pointer on where to look > for the problem. > > - Registered IAX2 '4414' (AUTHENTICATED) at 192.168.1.102:4569 > -- Accepting AUTHENTICATED call from 192.168.1.102: > > requested format = alaw, > > requested prefs = (), > > actual format = ulaw, > > host prefs = (ulaw|alaw|gsm), > > priority = mine > -- Executing Set("IAX2/4414-6", "EMERGENCYROUTE=YES") in new stack > -- Executing Macro("IAX2/4414-6", "dialout-trunk|4|xxxnnnnnnn||") in > new stack > -- Executing GotoIf("IAX2/4414-6", "1?3:2") in new stack > -- Goto (macro-dialout-trunk,s,3) > -- Executing Macro("IAX2/4414-6", "user-callerid") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?start") in new stack > -- Executing Set("IAX2/4414-6", "REALCALLERIDNUM=4414") in new stack > -- Executing NoOp("IAX2/4414-6", "REALCALLERIDNUM is 4414") in new > stack > -- Executing Set("IAX2/4414-6", "AMPUSER=4414") in new stack > -- Executing Set("IAX2/4414-6", "AMPUSERCIDNAME=User32-IAX") in new > stack > -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack > -- Executing Set("IAX2/4414-6", "CALLERID(all)=User32-IAX <4414>") in > new stack > -- Executing NoOp("IAX2/4414-6", "Using CallerID "User32-IAX" <4414>") > in new stack > -- Executing Macro("IAX2/4414-6", "record-enable|4414|OUT") in new > stack > -- Executing GotoIf("IAX2/4414-6", "0 > 0?2:4") in new stack > -- Goto (macro-record-enable,s,4) > -- Executing AGI("IAX2/4414-6", > "recordingcheck|20070115-121440|1168881280.2233") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck > recordingcheck|20070115-121440|1168881280.2233: Outbound recording not > enabled > -- AGI Script recordingcheck completed, returning 0 > -- Executing NoOp("IAX2/4414-6", "No recording needed") in new stack > -- Executing Macro("IAX2/4414-6", "outbound-callerid|4") in new stack > -- Executing GotoIf("IAX2/4414-6", "1?start") in new stack > -- Goto (macro-outbound-callerid,s,3) > -- Executing NoOp("IAX2/4414-6", "REALCALLERIDNUM is 4414") in new > stack > -- Executing Set("IAX2/4414-6", "USEROUTCID=""Business Name" > <xxx-nnn-nnnn>"") in new stack > -- Executing Set("IAX2/4414-6", "EMERGENCYCID=") in new stack > -- Executing Set("IAX2/4414-6", "TRUNKOUTCID=""Business Name" > <xxx-nnn-nnnn>"") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?trunkcid") in new stack > -- Executing GotoIf("IAX2/4414-6", "1?trunkcid") in new stack > -- Goto (macro-outbound-callerid,s,11) > -- Executing GotoIf("IAX2/4414-6", "0?usercid") in new stack > -- Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name" > <xxx-nnn-nnnn>"") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?report") in new stack > -- Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name" > <xxx-nnn-nnnn>"") in new stack > -- Executing NoOp("IAX2/4414-6", "CallerID set to ""Business Name" > <xxx-nnn-nnnn>"") in new stack > -- Executing Set("IAX2/4414-6", "GROUP()=OUT_4") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?108") in new stack > -- Executing Set("IAX2/4414-6", "DIAL_NUMBER=xxxnnnnnnn") in new stack > -- Executing Set("IAX2/4414-6", "DIAL_TRUNK=4") in new stack > -- Executing AGI("IAX2/4414-6", "fixlocalprefix") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix > -- AGI Script fixlocalprefix completed, returning 0 > -- Executing Set("IAX2/4414-6", "OUTNUM=xxxnnnnnnn") in new stack > -- Executing Set("IAX2/4414-6", "custom=ZAP/g0") in new stack > -- Executing GotoIf("IAX2/4414-6", "0?16") in new stack > -- Executing Dial("IAX2/4414-6", "ZAP/g0/xxxnnnnnnn|120|r") in new > stack > == Everyone is busy/congested at this time (1:0/0/1) > -- Executing Goto("IAX2/4414-6", "s-CHANUNAVAIL|1") in new stack > -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) > -- Executing NoOp("IAX2/4414-6", "Dial failed due to CHANUNAVAIL") in > new stack > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>-- > > asterisk-users mailing list > 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/20070205/23fb29c3/attachment.htm