<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have call center PCs that switch between an IBEAM
SIP softphone and a NEBU IAX softphone (for reasons</FONT></DIV>
<DIV><FONT face=Arial size=2>that aren't germane here). The SIP
softphones work fine, but the IAX softphones get a fast busy unless I
give</FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2>svn rev 47264.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2>someone will recognize the issue and give me a
pointer on where to look for the problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- Registered IAX2 '4414' (AUTHENTICATED) at
192.168.1.102:4569<BR> -- Accepting AUTHENTICATED call from
192.168.1.102:<BR> > requested format =
alaw,<BR> > requested prefs =
(),<BR> > actual format =
ulaw,<BR> > host prefs =
(ulaw|alaw|gsm),<BR> > priority =
mine<BR> -- Executing Set("IAX2/4414-6", "EMERGENCYROUTE=YES")
in new stack<BR> -- Executing Macro("IAX2/4414-6",
"dialout-trunk|4|xxxnnnnnnn||") in new stack<BR> -- Executing
GotoIf("IAX2/4414-6", "1?3:2") in new stack<BR> -- Goto
(macro-dialout-trunk,s,3)<BR> -- Executing
Macro("IAX2/4414-6", "user-callerid") in new stack<BR> --
Executing GotoIf("IAX2/4414-6", "0?report") in new stack<BR>
-- Executing GotoIf("IAX2/4414-6", "0?start") in new stack<BR>
-- Executing Set("IAX2/4414-6", "REALCALLERIDNUM=4414") in new
stack<BR> -- Executing NoOp("IAX2/4414-6", "REALCALLERIDNUM is
4414") in new stack<BR> -- Executing Set("IAX2/4414-6",
"AMPUSER=4414") in new stack<BR> -- Executing
Set("IAX2/4414-6", "AMPUSERCIDNAME=User32-IAX") in new
stack<BR> -- Executing GotoIf("IAX2/4414-6", "0?report") in
new stack<BR> -- Executing Set("IAX2/4414-6",
"CALLERID(all)=User32-IAX <4414>") in new stack<BR> --
Executing NoOp("IAX2/4414-6", "Using CallerID "User32-IAX" <4414>") in new
stack<BR> -- Executing Macro("IAX2/4414-6",
"record-enable|4414|OUT") in new stack<BR> -- Executing
GotoIf("IAX2/4414-6", "0 > 0?2:4") in new stack<BR> -- Goto
(macro-record-enable,s,4)<BR> -- Executing AGI("IAX2/4414-6",
"recordingcheck|20070115-121440|1168881280.2233") in new
stack<BR> -- Launched AGI Script
/var/lib/asterisk/agi-bin/recordingcheck<BR>
recordingcheck|20070115-121440|1168881280.2233: Outbound recording not
enabled<BR> -- AGI Script recordingcheck completed, returning
0<BR> -- Executing NoOp("IAX2/4414-6", "No recording needed")
in new stack<BR> -- Executing Macro("IAX2/4414-6",
"outbound-callerid|4") in new stack<BR> -- Executing
GotoIf("IAX2/4414-6", "1?start") in new stack<BR> -- Goto
(macro-outbound-callerid,s,3)<BR> -- Executing
NoOp("IAX2/4414-6", "REALCALLERIDNUM is 4414") in new
stack<BR> -- Executing Set("IAX2/4414-6",
"USEROUTCID=""Business Name" <xxx-nnn-nnnn>"") in new
stack<BR> -- Executing Set("IAX2/4414-6", "EMERGENCYCID=") in
new stack<BR> -- Executing Set("IAX2/4414-6",
"TRUNKOUTCID=""Business Name" <xxx-nnn-nnnn>"") in new
stack<BR> -- Executing GotoIf("IAX2/4414-6", "0?trunkcid") in
new stack<BR> -- Executing GotoIf("IAX2/4414-6", "1?trunkcid")
in new stack<BR> -- Goto
(macro-outbound-callerid,s,11)<BR> -- Executing
GotoIf("IAX2/4414-6", "0?usercid") in new stack<BR> --
Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name"
<xxx-nnn-nnnn>"") in new stack<BR> -- Executing
GotoIf("IAX2/4414-6", "0?report") in new stack<BR> --
Executing Set("IAX2/4414-6", "CALLERID(all)=""Business Name"
<xxx-nnn-nnnn>"") in new stack<BR> -- Executing
NoOp("IAX2/4414-6", "CallerID set to ""Business Name" <xxx-nnn-nnnn>"") in
new stack<BR> -- Executing Set("IAX2/4414-6", "GROUP()=OUT_4")
in new stack<BR> -- Executing GotoIf("IAX2/4414-6", "0?108")
in new stack<BR> -- Executing Set("IAX2/4414-6",
"DIAL_NUMBER=xxxnnnnnnn") in new stack<BR> -- Executing
Set("IAX2/4414-6", "DIAL_TRUNK=4") in new stack<BR> --
Executing AGI("IAX2/4414-6", "fixlocalprefix") in new
stack<BR> -- Launched AGI Script
/var/lib/asterisk/agi-bin/fixlocalprefix<BR> -- AGI Script
fixlocalprefix completed, returning 0<BR> -- Executing
Set("IAX2/4414-6", "OUTNUM=xxxnnnnnnn") in new stack<BR> --
Executing Set("IAX2/4414-6", "custom=ZAP/g0") in new stack<BR>
-- Executing GotoIf("IAX2/4414-6", "0?16") in new stack<BR> --
Executing Dial("IAX2/4414-6", "ZAP/g0/xxxnnnnnnn|120|r") in new stack<BR>
== Everyone is busy/congested at this time (1:0/0/1)<BR> --
Executing Goto("IAX2/4414-6", "s-CHANUNAVAIL|1") in new
stack<BR> -- Goto
(macro-dialout-trunk,s-CHANUNAVAIL,1)<BR> -- Executing
NoOp("IAX2/4414-6", "Dial failed due to CHANUNAVAIL") in new
stack</FONT></DIV></BODY></HTML>