<br>Folks,<br><br>I have a Merlin Legend R7 V10.0 with a 2 100D cards.<br><br>I have 1 card in slot 4 going to CenturyTel, and the card in slot 10 going to a flip cable to a TE110P card in a Asterisk 1.6.x box.<br><br>I have routing setup on the Merlin to send a block of numbers to the Asterisk.<br>
<br>Currently the PSTN can dial the Asterisk Extensions.<br>The Asterisk can dial Merlin Extensions.<br>The Merlin can Dial Asterisk extensions.<br><br>But the Asterisk can't dial out to the PSTN?<br><br>I have tried everything, and I'm hoping someone else can shed some light on this. I'm open to ideas.<br>
I've already removed the barrier codes, and disable access code requirements on Tie and Non-Tie lines, with no effect. <br>I made sure that the Asterisk is dialing 9XXXXXXX when sending the call over the DAHDI trunk to the Merlin.<br>
<br>Whenever you call from the Asterisk to the Merlin you are redirected to the "Unassigned Extension" extension, and dropped to the Operator. I have a suspicion that this might have something to do with the NetwkService on the Slot 4 100D card ( out to PSTN ).<br>
<br>Here are some relavant files for comment:<br><br>Merlin PRIINFO:<br>A PRI INFORMATION<br><br><br><br>A Slot 4 Switch: 5ESS<br><br>A Slot 10 Switch: Legend-Ntwk<br><br>A System: By line <br>
<br>A BchnlGrp #: Slot: TestTelNum: NtwkServ: Incoming Routing:<br>A 1 4 CallbyCall By Dial Plan<br><br>A Channel ID: 23 22 21 20 19 18 17 16 15 14 <br>A 13 12 11 10 9 8 7 6 5 4 <br>
A 3 2 1 <br><br>A Line PhoneNumber NumberToSend<br>A 801 NPANXXLLLL<br>A 802 NPANXXLLLL<br>A 803 NPANXXLLLL<br>A 804 NPANXXLLLL<br>
A 805 NPANXXLLLL<br>A 806 NPANXXLLLL<br>A 807 NPANXXLLLL<br>A 808 NPANXXLLLL<br>A 809 NPANXXLLLL<br>A 810 NPANXXLLLL<br>
A 811 NPANXXLLLL<br>A 812 NPANXXLLLL<br>A 813 NPANXXLLLL<br>A 814 NPANXXLLLL<br>A 815 NPANXXLLLL<br>A 816 NPANXXLLLL<br>
A 817 NPANXXLLLL<br>A 818 NPANXXLLLL<br>A 819 NPANXXLLLL<br>A 820 NPANXXLLLL<br>A 821 NPANXXLLLL<br>A 822 NPANXXLLLL<br>
A 823 NPANXXLLLL<br><br>A BchnlGrp #: Slot: TestTelNum: NtwkServ: Incoming Routing:<br>A 80 10 ElecTandNtwk Route Directly to UDP<br><br>A Channel ID: 23 22 21 20 19 18 17 16 15 14 <br>
A 13 12 11 10 9 8 7 6 5 4 <br>A 3 2 1 <br><br>A Line PhoneNumber NumberToSend<br>A 829 NPANXXLLLL<br>A 830 NPANXXLLLL<br>A 831 NPANXXLLLL<br>
A 832 NPANXXLLLL<br>A 833 NPANXXLLLL<br>A 834 NPANXXLLLL<br>A 835 NPANXXLLLL<br>A 836 NPANXXLLLL<br>A PRI INFORMATION<br>
<br><br>A 837 NPANXXLLLL<br>A 838 NPANXXLLLL<br>A 839 NPANXXLLLL<br>A 840 NPANXXLLLL<br>A 841 NPANXXLLLL<br>A 842 NPANXXLLLL<br>
A 843 NPANXXLLLL<br>A 844 NPANXXLLLL<br>A 845 NPANXXLLLL<br>A 846 NPANXXLLLL<br>A 847 NPANXXLLLL<br>A 848 NPANXXLLLL<br>
A 849 NPANXXLLLL<br>A 850 NPANXXLLLL<br>A 851 NPANXXLLLL<br><br>A Network Selection Table<br><br>A Entry Number: 0 1 2 3<br>
A Pattern to Match: 101**** 10*** <br><br>A Special Service Table<br><br>A Entry Number: 0 1 2 3 4 5 6 7<br>A Pattern to Match: 011 010 01 00 1 <br>
A Operator: none OP OP OP/P OP none none none <br>A Type of Number: I I I N N N N N <br>A Digits to Delete: 3 0 0 0 0 0 0 0 <br>
<br>A Call-By-Call Service Table<br><br>A Entry Number: 0 1 2 3 4 <br>A Pattern 0: 0 <br>A Pattern 1: 1 <br>
A Pattern 2: 2 <br>A Pattern 3: 3 <br>A Pattern 4: 4 <br>
A Pattern 5: 5 <br>A Pattern 6: 6 <br>A Pattern 7: 7 <br>
A Pattern 8: 8 <br>A Pattern 9: 9 <br>A Call Type: BOTH BOTH BOTH BOTH BOTH <br>
A NtwkServ: No Service <br>A DeleteDigits: 0 0 0 0 0 <br><br>A Entry Number: 5 6 7 8 9 <br>
A Call Type: BOTH BOTH BOTH BOTH BOTH <br>
A NtwkServ: <br>A DeleteDigits: 0 0 0 0 0 <br><br>A Dial Plan Routing Table<br><br>A Entry Number: 0 1 2 3 <br>
A NtwkServ: Any service Any service <br>A PRI INFORMATION<br><br><br>A Expected Digits: 4 4 0 0 <br>A Pattern to Match: LLLL <br>
A Digits to Delete: 0 4 0 0 <br>A Digits to Add: LLLL <br><br>A Entry Number: 4 5 6 7 <br>
A NtwkServ: <br>A Expected Digits: 0 0 0 0 <br>A Pattern to Match: <br>
A Digits to Delete: 0 0 0 0 <br>A Digits to Add: <br><br>A Entry Number: 8 9 10 11 <br>
A NtwkServ: <br>A Expected Digits: 0 0 0 0 <br>A Pattern to Match: <br>
A Digits to Delete: 0 0 0 0 <br>A Digits to Add: <br><br>A Entry Number: 12 13 14 15 <br>
A NtwkServ: <br>A Expected Digits: 0 0 0 0 <br>A Pattern to Match: <br>
A Digits to Delete: 0 0 0 0 <br>A Digits to Add: <br><br>------------<br><br>Merlin TRUNKINFO<br><br>A GENERAL TRUNK INFORMATION<br>
<br><br><br>A QCC QCC Extern<br>A Trk SS/PP RemAccess Pool TlPrfx HldDisc Principal Prty Oper Switch<br>A 801 4/ 1 No Remote 70 Yes Long 4 <br>
A 802 4/ 2 No Remote 70 Yes Long 4 <br>A 803 4/ 3 No Remote 70 Yes Long 4 <br>A 804 4/ 4 No Remote 70 Yes Long 4 <br>A 805 4/ 5 No Remote 70 Yes Long 4 <br>
A 806 4/ 6 No Remote 70 Yes Long 4 <br>A 807 4/ 7 No Remote 70 Yes Long 4 <br>A 808 4/ 8 No Remote 70 Yes Long 4 <br>A 809 4/ 9 No Remote 70 Yes Long 4 <br>
A 810 4/10 No Remote 70 Yes Long 4 <br>A 811 4/11 No Remote 70 Yes Long 4 <br>A 812 4/12 No Remote 70 Yes Long 4 <br>A 813 4/13 No Remote 70 Yes Long 4 <br>
A 814 4/14 No Remote 70 Yes Long 4 <br>A 815 4/15 No Remote 70 Yes Long 4 <br>A 816 4/16 No Remote 70 Yes Long 4 <br>A 817 4/17 No Remote 70 Yes Long 4 <br>
A 818 4/18 No Remote 70 Yes Long 4 <br>A 819 4/19 No Remote 70 Yes Long 4 <br>A 820 4/20 No Remote 70 Yes Long 4 <br>A 821 4/21 No Remote 70 Yes Long 4 <br>
A 822 4/22 No Remote 70 Yes Long 4 <br>A 823 4/23 No Remote 70 Yes Long 4 <br>A 824 4/24 No Remote Yes Long 4 <br>A 825 5/ 1 No Remote Yes Long 4 <br>
A 826 5/ 2 No Remote Yes Long 4 <br>A 827 5/ 3 No Remote Yes Long 4 <br>A 828 5/ 4 No Remote Yes Long 4 <br>A 829 10/ 1 No Remote 890 Yes Long 4 <br>
A 830 10/ 2 No Remote 890 Yes Long 4 <br>A 831 10/ 3 No Remote 890 Yes Long 4 <br>A 832 10/ 4 No Remote 890 Yes Long 4 <br>A 833 10/ 5 No Remote 890 Yes Long 4 <br>
A 834 10/ 6 No Remote 890 Yes Long 4 <br>A 835 10/ 7 No Remote 890 Yes Long 4 <br>A 836 10/ 8 No Remote 890 Yes Long 4 <br>A 837 10/ 9 No Remote 890 Yes Long 4 <br>
A 838 10/10 No Remote 890 Yes Long 4 <br>A 839 10/11 No Remote 890 Yes Long 4 <br>A 840 10/12 No Remote 890 Yes Long 4 <br>A 841 10/13 No Remote 890 Yes Long 4 <br>
A 842 10/14 No Remote 890 Yes Long 4 <br>A 843 10/15 No Remote 890 Yes Long 4 <br>A 844 10/16 No Remote 890 Yes Long 4 <br>A 845 10/17 No Remote 890 Yes Long 4 <br>
A 846 10/18 No Remote 890 Yes Long 4 <br>A 847 10/19 No Remote 890 Yes Long 4 <br>A 848 10/20 No Remote 890 Yes Long 4 <br>A 849 10/21 No Remote 890 Yes Long 4 <br>
A 850 10/22 No Remote 890 Yes Long 4 <br>A 851 10/23 No Remote 890 Yes Long 4 <br>A 852 10/24 No Remote Yes Long 4 <br>A 853 0/ 0 No Remote Yes Long 4 <br>
A 854 0/ 0 No Remote Yes Long 4 <br>A 855 0/ 0 No Remote Yes Long 4 <br>A GENERAL TRUNK INFORMATION<br><br><br>----------------<br><br><br>Merlin ARS:<br>
<br>A AUTOMATIC ROUTE SELECTION<br><br><br>A ARS IS: ACTIVE ACCESS CODE: 9 <br><br><br>A TABLE 1: Area Code<br>A 01)800 02)888 03)877 04)876 05)866 06)--- 07)--- 08)--- 09)--- 10)---<br>A 11)--- 12)--- 13)--- 14)--- 15)--- 16)--- 17)--- 18)--- 19)--- 20)---<br>
A 21)--- 22)--- 23)--- 24)--- 25)--- 26)--- 27)--- 28)--- 29)--- 30)---<br>A 31)--- 32)--- 33)--- 34)--- 35)--- 36)--- 37)--- 38)--- 39)--- 40)---<br>A 41)--- 42)--- 43)--- 44)--- 45)--- 46)--- 47)--- 48)--- 49)--- 50)---<br>
A 51)--- 52)--- 53)--- 54)--- 55)--- 56)--- 57)--- 58)--- 59)--- 60)---<br>A 61)--- 62)--- 63)--- 64)--- 65)--- 66)--- 67)--- 68)--- 69)--- 70)---<br>A 71)--- 72)--- 73)--- 74)--- 75)--- 76)--- 77)--- 78)--- 79)--- 80)---<br>
A 81)--- 82)--- 83)--- 84)--- 85)--- 86)--- 87)--- 88)--- 89)--- 90)---<br>A 91)--- 92)--- 93)--- 94)--- 95)--- 96)--- 97)--- 98)--- 99)--- 100)---<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>
A 1)70-- 00 -------------------- 3 BOTH --:-- A<br>A 2)---- -- -------------------- - ----- --:-- A<br>A 3)---- -- -------------------- - ----- --:-- A<br>A 4)---- -- -------------------- - ----- --:-- A<br>
A 5)---- -- -------------------- - ----- --:-- A<br>A 6)---- -- -------------------- - ----- --:-- A<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>
A 1)---- -- -------------------- - ----- --:-- B<br>A 2)---- -- -------------------- - ----- --:-- B<br>A 3)---- -- -------------------- - ----- --:-- B<br>A 4)---- -- -------------------- - ----- --:-- B<br>
A 5)---- -- -------------------- - ----- --:-- B<br>A 6)---- -- -------------------- - ----- --:-- B<br>A AUTOMATIC ROUTE SELECTION<br><br><br><br>A TABLE 2: Area Code<br>A 01)011 02)--- 03)--- 04)--- 05)--- 06)--- 07)--- 08)--- 09)--- 10)---<br>
A 11)--- 12)--- 13)--- 14)--- 15)--- 16)--- 17)--- 18)--- 19)--- 20)---<br>A 21)--- 22)--- 23)--- 24)--- 25)--- 26)--- 27)--- 28)--- 29)--- 30)---<br>A 31)--- 32)--- 33)--- 34)--- 35)--- 36)--- 37)--- 38)--- 39)--- 40)---<br>
A 41)--- 42)--- 43)--- 44)--- 45)--- 46)--- 47)--- 48)--- 49)--- 50)---<br>A 51)--- 52)--- 53)--- 54)--- 55)--- 56)--- 57)--- 58)--- 59)--- 60)---<br>A 61)--- 62)--- 63)--- 64)--- 65)--- 66)--- 67)--- 68)--- 69)--- 70)---<br>
A 71)--- 72)--- 73)--- 74)--- 75)--- 76)--- 77)--- 78)--- 79)--- 80)---<br>A 81)--- 82)--- 83)--- 84)--- 85)--- 86)--- 87)--- 88)--- 89)--- 90)---<br>A 91)--- 92)--- 93)--- 94)--- 95)--- 96)--- 97)--- 98)--- 99)--- 100)---<br>
<br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)70-- 00 -------------------- 3 BOTH --:-- A<br>A 2)---- -- -------------------- - ----- --:-- A<br>
A 3)---- -- -------------------- - ----- --:-- A<br>A 4)---- -- -------------------- - ----- --:-- A<br>A 5)---- -- -------------------- - ----- --:-- A<br>A 6)---- -- -------------------- - ----- --:-- A<br>
<br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)---- -- -------------------- - ----- --:-- B<br>A 2)---- -- -------------------- - ----- --:-- B<br>
A 3)---- -- -------------------- - ----- --:-- B<br>A 4)---- -- -------------------- - ----- --:-- B<br>A 5)---- -- -------------------- - ----- --:-- B<br>A 6)---- -- -------------------- - ----- --:-- B<br>
A AUTOMATIC ROUTE SELECTION<br><br><br><br>A TABLE 17: Default Toll Output Table<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)70-- 00 -------------------- 3 BOTH --:-- A<br>
A 2)---- -- -------------------- - ----- --:-- A<br>A 3)---- -- -------------------- - ----- --:-- A<br>A 4)---- -- -------------------- - ----- --:-- A<br>A 5)---- -- -------------------- - ----- --:-- A<br>
A 6)---- -- -------------------- - ----- --:-- A<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)70-- 00 -------------------- 3 BOTH --:-- B<br>
A 2)---- -- -------------------- - ----- --:-- B<br>A 3)---- -- -------------------- - ----- --:-- B<br>A 4)---- -- -------------------- - ----- --:-- B<br>A 5)---- -- -------------------- - ----- --:-- B<br>
A 6)---- -- -------------------- - ----- --:-- B<br>A AUTOMATIC ROUTE SELECTION<br><br><br><br>A TABLE 18: Default Local Output Table<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>
A 1)70-- 00 -------------------- 2 BOTH --:-- A<br>A 2)---- -- -------------------- - ----- --:-- A<br>A 3)---- -- -------------------- - ----- --:-- A<br>A 4)---- -- -------------------- - ----- --:-- A<br>
A 5)---- -- -------------------- - ----- --:-- A<br>A 6)---- -- -------------------- - ----- --:-- A<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>
A 1)70-- 00 -------------------- 2 BOTH --:-- B<br>A 2)---- -- -------------------- - ----- --:-- B<br>A 3)---- -- -------------------- - ----- --:-- B<br>A 4)---- -- -------------------- - ----- --:-- B<br>
A 5)---- -- -------------------- - ----- --:-- B<br>A 6)---- -- -------------------- - ----- --:-- B<br>A AUTOMATIC ROUTE SELECTION<br><br><br><br>A TABLE 19: Dial 0 Output Table<br>
<br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)70-- 00 -------------------- 3 BOTH --:-- A<br>A AUTOMATIC ROUTE SELECTION<br><br><br><br>A TABLE 20: N11 Output Table<br>
A 01)411 02)611 03)811 04)911<br><br>A Pool Absorb Other Digits FRL Call type Start Pattern<br>A 1)70-- 00 -------------------- 3 BOTH --:-- A<br><br>-----------------<br>NON-LOCAL DIALPLAN<br>
<br>A NON-LOCAL DIALPLAN<br><br><br><br>A Range Ptn Dgt Range Ptn Dgt Range Ptn Dgt<br>A 1) 9340-9350 01 04 18) - 35) - <br>A 2) - 19) - 36) - <br>
A 3) - 20) - 37) - <br>A 4) - 21) - 38) - <br>A 5) - 22) - 39) - <br>
A 6) - 23) - 40) - <br>A 7) - 24) - 41) - <br>A 8) - 25) - 42) - <br>
A 9) - 26) - 43) - <br>A 10) - 27) - 44) - <br>A 11) - 28) - 45) - <br>
A 12) - 29) - 46) - <br>A 13) - 30) - 47) - <br>A 14) - 31) - 48) - <br>
A 15) - 32) - 49) - <br>A 16) - 33) - 50) - <br>A 17) - 34) - <br><br>A Pattern 1:<br>
<br>A Pool Absorb Other Digits FRL Call type<br>A 1)890- 00 -------------------- 3 VOICE<br>A 2)---- -- -------------------- - -----<br>A 3)---- -- -------------------- - -----<br>
A 4)---- -- -------------------- - -----<br><br><br><br>-------------------<br><br>Asterisk configs:<br>/etc/dahdi/system.conf<br>---<br>span = 1,1,0,esf,b8zs<br>bchan = 1-23<br>dchan = 24<br>echocanceller = mg2,1-240<br>
loadzone = us<br>defaultzone = us<br><br><br>-- other blocks:<br><br>[span_1]<br>group = 1<br>usecallingpres=no<br>hasexten = no<br>switchtype = 5ess<br>signalling = pri_net<br>trunkname = Span 1<br>trunkstyle = digital<br>
hassip = no<br>hasiax = no<br>context = DID_span_1<br>dahdichan = 1-23<br><br><br>in extensions.conf<br>exten => _XXXXXXX,n,Dial(DAHDI/g1/9${EXTEN})<br><br><br><a href="http://dahdi-channels.com">dahdi-channels.com</a><br>
; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER) B8ZS/ESF<br>group=1<br>context=from-pstn<br>;switchtype = national<br>switchtype = 5ess<br>signalling = pri_net<br>channel => 1-23<br><br><br><br>
---- debug of the call setup from asterisk ----<br><br><br> == Using SIP RTP CoS mark 5<br> -- Executing [9<number removed>@shane:1] Dial("SIP/4342-00000004", "DAHDI/g1/9<number removed>") in new stack<br>
-- Requested transfer capability: 0x00 - SPEECH<br> -- Called g1/9<number removed><br> -- DAHDI/1-1 is proceeding passing it to SIP/4342-00000004<br> -- DAHDI/1-1 is ringing<br> -- Hungup 'DAHDI/1-1'<br>
== Spawn extension (shane, 9<number removed>, 1) exited non-zero on 'SIP/4342-00000004'<br><br><br>--------------------<br><br>I know I have the span_1 and the dadhi-channels kind of duplicated, and I'm not sure why the gui did that, but I can remove it if someone thinks that is confusing things..<br>
<br><br><br><br>Shane Brath<br><a href="mailto:shane@brath.net">shane@brath.net</a><br>Skype: shane.brath<br><br><br><br>