Newbie Needs help... Inter office IAX2 calling

paulbenn

Joined
Feb 10, 2011
Messages
3
Likes
0
Points
0
#1
HI, we are new to Elastix. We have several offices currently using Trixbox servers for calls, all working OK, but we wanted to try Elastix.
We have set up a new system for an office, all seems to work well, except for office to office calls. We have set up the IAX trunks the same as we do with all of our other offices, but cannot call internally From the Trixbox office to the Elastix office.
The Elastix office can dial out to other offices.
Any ideas?
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#2
Yes, but you must provide more information, tell us which Elastix version you are using, as well, attach the CLI output for the failed call
 

paulbenn

Joined
Feb 10, 2011
Messages
3
Likes
0
Points
0
#3
Sorry:
Elastix 2.0.0
Asterisk 1.6.2.13

Executing [s@macro-record-enable:4] AGI("SIP/2644-b7c1bf30", "recordingcheck|20110211-095528|1297439728.338") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110211-095528|1297439728.338: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2644-b7c1bf30", "No recording needed") in new stack
-- Executing [12104@from-internal:5] Macro("SIP/2644-b7c1bf30", "dialout-trunk|20|104||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2644-b7c1bf30", "DIAL_TRUNK=20") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/2644-b7c1bf30", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2644-b7c1bf30", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2644-b7c1bf30", "DIAL_NUMBER=104") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2644-b7c1bf30", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2644-b7c1bf30", "GROUP()=OUT_20") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2644-b7c1bf30", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2644-b7c1bf30", "1?skipoutcid") in new stack
-- Goto (macro-dialout-trunk,s,12)
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/2644-b7c1bf30", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern XXX matched. 104 -> 104
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2644-b7c1bf30", "OUTNUM=104") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2644-b7c1bf30", "custom=IAX2/CHS") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2644-b7c1bf30", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2644-b7c1bf30", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2644-b7c1bf30", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2644-b7c1bf30", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/2644-b7c1bf30", "IAX2/CHS/104|300|tr") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/2644-b7c1bf30", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/2644-b7c1bf30", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/2644-b7c1bf30", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [12104@from-internal:6] Macro("SIP/2644-b7c1bf30", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/2644-b7c1bf30", "all-circuits-busy-now|noanswer") in new stack
-- <SIP/2644-b7c1bf30> Playing 'all-circuits-busy-now' (language 'en')
-- Executing [s@macro-outisbusy:2] Playback("SIP/2644-b7c1bf30", "pls-try-call-later|noanswer") in new stack
-- <SIP/2644-b7c1bf30> Playing 'pls-try-call-later' (language 'en') --
-- Executing [s@macro-outisbusy:3] Macro("SIP/2644-b7c1bf30", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2644-b7c1bf30", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/2644-b7c1bf30", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2644-b7c1bf30", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/2644-b7c1bf30", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/2644-b7c1bf30", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/2644-b7c1bf30", "") in new stack
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#4
Paste the following information:
1. Command
asterisk -rx "iax2 show peers"

2. Elastix IAX2 trunk configuration settings (web interface)

3. Trixbox IAX2 trunk configuration settings (web interface)
 

paulbenn

Joined
Feb 10, 2011
Messages
3
Likes
0
Points
0
#5
Name/Username Host Mask Port Status
SFO xxx.xxx.203.5 (S) 255.255.255.255 4569 UNREACHABLE
JFK xxx.xxx.201.5 (S) 255.255.255.255 4569 OK (82 ms)
SEA xxx.xxx.204.5 (S) 255.255.255.255 4569 OK (121 ms)
DFW xxx.xxx.196.5 (S) 255.255.255.255 4569 OK (88 ms)
MIA xxx.xxx.199.5 (S) 255.255.255.255 4569 OK (107 ms)
IAH xxx.xxx.197.5 (S) 255.255.255.255 4569 UNREACHABLE
CORP xxx.xxx.192.25 (S) 255.255.255.255 4569 (T) OK (70 ms)
PIT xxx.xxx.202.5 (S) 255.255.255.255 4569 OK (81 ms)
EWR xxx.xxx.200.5 (S) 255.255.255.255 4569 OK (94 ms)
CH3 xxx.xxx.209.10 (S) 255.255.255.255 4569 OK (66 ms)
ATL xxx.xxx.194.5 (S) 255.255.255.255 4569 OK (80 ms)
CVG xxx.xxx.213.5 (S) 255.255.255.255 4569 UNREACHABLE
12 iax2 peers [9 online, 3 offline, 0 unmonitored]

IAX2 Trunk From Elastics for CORP 192.25
PEER:
host=xxx.xxx.192.25
type=friend
trunk=yes
qualify=yes
context=from-internal
insecure=very
disallow=all
allow=g729&ulaw

IAX2 Trunk from Trixbox for CHS 195.5 (Elastix server)
disallow=all
allow=ulaw
context=from-internal
host=xxx.xxx.195.5
insecure=very
qualify=yes
type=friend
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#6

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top