Routing calls via another trixbox

Hi,

I am trying to route ALL calls from a new trixbox which will support a small remote office through one of our current trixboxes.
The new box only has one trunk setup to another office to which I can dial extentions fine.

How would I go about routing all outbound calls through the other box? I have configured the outbound route to take all calls and not strip off the 9’s so that theyre passed to the other box but I get an error “All circuits are busy now”.

Any advice is much appreciated.

I have configured this many times.

Are you using an IAX trunk between the boxes, and can you post a log from the main machine when you make a call.

YEah I am using an IAX trunk.
These are the logs from the box without the ISDN card,

== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 == Using SIP VRTP TOS bits 136 == Using SIP VRTP CoS mark 6 -- Executing [907739487428@from-internal:1] Macro("SIP/470-0a653608", "user-callerid,SKIPTTL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/470-0a653608", "AMPUSER=470") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/470-0a653608", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/470-0a653608", "1?Set(REALCALLERIDNUM=470)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/470-0a653608", "AMPUSER=470") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/470-0a653608", "AMPUSERCIDNAME=Test 1") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/470-0a653608", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/470-0a653608", "AMPUSERCID=470") in new stack -- Executing [s@macro-user-callerid:8] Set("SIP/470-0a653608", "CALLERID(all)="Test 1" <470>") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/470-0a653608", "REALCALLERIDNUM=470") in new stack -- Executing [s@macro-user-callerid:10] ExecIf("SIP/470-0a653608", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:11] GotoIf("SIP/470-0a653608", "1?continue") in new stack -- Goto (macro-user-callerid,s,20) -- Executing [s@macro-user-callerid:20] NoOp("SIP/470-0a653608", "Using CallerID "Test 1" <470>") in new stack -- Executing [907739487428@from-internal:2] Set("SIP/470-0a653608", "_NODEST=") in new stack -- Executing [907739487428@from-internal:3] Macro("SIP/470-0a653608", "record-enable,470,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/470-0a653608", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] AGI("SIP/470-0a653608", "recordingcheck,20090825-084048,1251186048.14") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck,20090825-084048,1251186048.14: Outbound recording not enabled -- <SIP/470-0a653608>AGI Script recordingcheck completed, returning 0 -- Executing [s@macro-record-enable:5] MacroExit("SIP/470-0a653608", "") in new stack -- Executing [907739487428@from-internal:4] Macro("SIP/470-0a653608", "dialout-trunk,2,907739487428,,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/470-0a653608", "DIAL_TRUNK=2") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/470-0a653608", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/470-0a653608", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/470-0a653608", "DIAL_NUMBER=907739487428") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/470-0a653608", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/470-0a653608", "OUTBOUND_GROUP=OUT_2") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/470-0a653608", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/470-0a653608", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/470-0a653608", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/470-0a653608", "outbound-callerid,2") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/470-0a653608", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/470-0a653608", "0?Set(REALCALLERIDNUM=470)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/470-0a653608", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/470-0a653608", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/470-0a653608", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/470-0a653608", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/470-0a653608", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/470-0a653608", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/470-0a653608", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/470-0a653608", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/470-0a653608", "0?AGI(fixlocalprefix)") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/470-0a653608", "OUTNUM=907739487428") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/470-0a653608", "custom=IAX2/rep") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/470-0a653608", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack -- Executing [s@macro-dialout-trunk:16] Macro("SIP/470-0a653608", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/470-0a653608", "") in new stack -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/470-0a653608", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/470-0a653608", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:19] Dial("SIP/470-0a653608", "IAX2/rep/907739487428,300,") in new stack -- Called rep/907739487428 -- Hungup 'IAX2/rep-15633' == Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-dialout-trunk:20] Goto("SIP/470-0a653608", "s-CHANUNAVAIL,1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/470-0a653608", "1?noreport") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/470-0a653608", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 3) - failing through to other trunks") in new stack -- Executing [907739487428@from-internal:5] Macro("SIP/470-0a653608", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Playback("SIP/470-0a653608", "all-circuits-busy-now,noanswer") in new stack -- <SIP/470-0a653608> Playing 'all-circuits-busy-now.ulaw' (language 'en') -- Executing [s@macro-outisbusy:2] Playback("SIP/470-0a653608", "pls-try-call-later,noanswer") in new stack -- <SIP/470-0a653608> Playing 'pls-try-call-later.ulaw' (language 'en') == Manager 'admin' logged on from 127.0.0.1 == Manager 'admin' logged off from 127.0.0.1 -- Executing [s@macro-outisbusy:3] Macro("SIP/470-0a653608", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/470-0a653608", "vw") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/470-0a653608", "") in new stack -- Executing [s@macro-hangupcall:3] GotoIf("SIP/470-0a653608", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/470-0a653608", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/470-0a653608", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/470-0a653608", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/470-0a653608' in macro 'hangupcall' == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/470-0a653608' in macro 'outisbusy' == Spawn extension (from-internal, 907739487428, 5) exited non-zero on 'SIP/470-0a653608' -- Executing [h@from-internal:1] Macro("SIP/470-0a653608", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/470-0a653608", "vw") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/470-0a653608", "") in new stack -- Executing [s@macro-hangupcall:3] GotoIf("SIP/470-0a653608", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/470-0a653608", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/470-0a653608", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/470-0a653608", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/470-0a653608' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/470-0a653608' I don’t get anything on the other box…

On the other box can you get a log with iax2 debug turned on

stupid question… how do I turn on IAX debug?

got it :smile:

IAX2 Debugging Enabled Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00012ms SCall: 00005 DCall: 00000 [192.0.203.250:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00061ms SCall: 00005 DCall: 00001 [192.0.203.250:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00002ms SCall: 09861 DCall: 00000 [192.128.100.94:4569] VERSION : 2 CALLED NUMBER : 907739487428 CODEC_PREFS : (ulaw|alaw|gsm) CALLING NUMBER : 470 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : Test 1 LANGUAGE : en FORMAT : 4 CAPABILITY : 41918463 ADSICPE : 2 DATE TIME : 2009-08-25 11:46:38 trixbox1*CLI> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ Timestamp: 00001ms SCall: 06183 DCall: 09861 [192.128.100.94:4569] AUTHMETHODS : 2 CHALLENGE : 88412212 USERNAME : REP trixbox1*CLI> Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP Timestamp: 00047ms SCall: 09861 DCall: 06183 [192.128.100.94:4569] MD5 RESULT : b17a44e392942ab9d0a3f8720ec1e781 trixbox1*CLI> Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT Timestamp: 00034ms SCall: 06183 DCall: 09861 [192.128.100.94:4569] CAUSE : No such context/extension CAUSE CODE : 3 trixbox1*CLI> Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 00034ms SCall: 09861 DCall: 06183 [192.128.100.94:4569]

This is an authentication/config issue.

At the end you just got the log from, the incoming context should be either from-internal, or from-trunk.

The user context should be the same as the userid in the trunk definition at the remote end.

Can you post the trunk configs (iax_additional.conf) from both boxes.

Ian

BTW don’t mention the cricket… :cry:

this is the box with the isdn card;

[REP]
allow=all
auth=md5
secret=123456
type=user

[restdale]
allow=all
auth=md5
bandwidth=high
context=from-internal
dropcount=1
host=192.128.100.94
qualify=yes
secret=123456
type=peer

This is the other box at the remote site;

[code][rep]
allow=all
auth=md5
bandwidth=high
context=from-internal
dropcount=1
host=192.0.204.251
qualify=yes
secret=123456
type=peer

[restdale]
allow=all
auth=md5
secret=123456
type=user
[/code]

Its not case sensitive on the names is it?

[quote=“ianmcdermid”]BTW don’t mention the cricket… :cry:[/quote]haha! lucky for you I dont follow cricket :smile:

Yes, it is case sensitive, the username in the trunk on the sending side must be the same name and case as the name on the receiving side.

I’ve changed this but the issue persists…

You can call me on 61+ 7 3139 0238 it is 9:30pm here, I will be up for around 1 hour, much easier than text messages.

Ian :smiley:

Think id get shot for calling oz mate!

Try this config in your boxes and see if it works. Change the IP Addresses and User/Pass to suit.

The key thing is that the username in boxA is the incoming name in boxB and vice versa.

Let me know how you go.

Ian

End A

[BCR-Trunk]
disallow=all
host=xxx.xxx.xxx.xxx
username=user1
secret=pass1
type=peer
allow=gsm
auth=md5
qualify=yes

[user2]
disallow=all
username=user2
secret=pass2
type=user
context=from-trunk
host=xxx.xxx.xxx.xxx
allow=gsm
auth=md5

End B

[IMC-Trunk]
disallow=all
host=xxx.xxx.xxx.xxx
username=user2
secret=pass2
type=peer
auth=md5
allow=gsm
qualify=yes

[user1]
disallow=all
username=user1
secret=pass1
type=user
context=from-trunk
host=xxx.xxx.xxx.xxx
allow=gsm
auth=md5

HI Ian,

I tried the following but still get the same issue;

New Box

[code][REP2]
disallow=all
host=192.0.204.251
username=REP2
secret=123456
type=peer
allow=gsm
auth=md5
qualify=yes

[restdale]
disallow=all
username=restdale
secret=123456
type=user
context=from-trunk
host=192.0.204.251
allow=gsm
auth=md5[/code]

Current Box

[code][REP2]
disallow=all
username=REP2
secret=123456
type=user
context=from-trunk
host=192.128.100.94
allow=gsm
auth=md5

[restdale]
disallow=all
host=192.128.100.94
username=restdale
secret=123456
type=peer
auth=md5
allow=gsm
qualify=yes
[/code]

I can dial internally between the two sites, but when I try to dial an outside line with a 9 prefix I get "The number you have dialed is not in service. This is however progress!!

This is the logs from the current asterisk box when I tried to make the call; [code]Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00018ms SCall: 12470 DCall: 00000 [192.128.100.251:4569]
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00006ms SCall: 08348 DCall: 00000 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
Timestamp: 00018ms SCall: 00001 DCall: 12470 [192.128.100.251:4569]
Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00018ms SCall: 12470 DCall: 00001 [192.128.100.251:4569]
Rx-Frame Retry[Yes] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
Timestamp: 00000ms SCall: 00001 DCall: 08348 [192.128.100.94:4569]
Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00038ms SCall: 08348 DCall: 00001 [192.128.100.94:4569]
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00011ms SCall: 10752 DCall: 00000 [192.0.203.250:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
Timestamp: 00011ms SCall: 00005 DCall: 10752 [192.0.203.250:4569]
Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00011ms SCall: 10752 DCall: 00005 [192.0.203.250:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00011ms SCall: 12253 DCall: 00000 [192.128.100.94:4569]
VERSION : 2
CALLED NUMBER : 907739487428
CODEC_PREFS : (gsm)
CALLING NUMBER : 470
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : 470
LANGUAGE : en
USERNAME : REP2
FORMAT : 2
CAPABILITY : 2
ADSICPE : 2
DATE TIME : 2009-09-09 11:55:54
trixbox1*CLI>
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00016ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
AUTHMETHODS : 2
CHALLENGE : 635714513
USERNAME : REP2

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00049ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
MD5 RESULT : 7a6b146e0f8dd2716ed8ca2a95d3195a
trixbox1*CLI>
– Accepting AUTHENTICATED call from 192.128.100.94:
> requested format = gsm,
> requested prefs = (gsm),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
– Executing [907739487428@from-trunk:1] Set(“IAX2/REP2-1022”, “__FROM_DID=907739487428”) in new stack
– Executing [907739487428@from-trunk:2] NoOp(“IAX2/REP2-1022”, “Received an unknown call with DID set to 907739487428”) in new stack
– Executing [907739487428@from-trunk:3] Goto(“IAX2/REP2-1022”, “s|a2”) in new stack
Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00051ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
– Goto (from-trunk,s,2)
FORMAT : 2

-- Executing [s@from-trunk:2] Answer("IAX2/REP2-1022", "") in new stack

Tx-Frame Retry[000] – OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 00054ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
– Executing [s@from-trunk:3] Wait(“IAX2/REP2-1022”, “2”) in new stack
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00051ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00054ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 003 Type: CONTROL Subclass: (20?)
Timestamp: 00052ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Tx-Frame Retry[-01] – OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00052ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 003 ISeqno: 003 Type: VOICE Subclass: 2
Timestamp: 00161ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Tx-Frame Retry[-01] – OSeqno: 003 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 00161ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
– Executing [s@from-trunk:4] Playback(“IAX2/REP2-1022”, “ss-noservice”) in new stack
– <IAX2/REP2-1022> Playing ‘ss-noservice’ (language ‘en’)
Tx-Frame Retry[000] – OSeqno: 003 ISeqno: 004 Type: VOICE Subclass: 2
Timestamp: 02120ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 004 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 02120ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00003ms SCall: 13865 DCall: 00000 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00028ms SCall: 13865 DCall: 00001 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 004 ISeqno: 004 Type: CONTROL Subclass: (20?)
Timestamp: 05464ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
Tx-Frame Retry[-01] – OSeqno: 004 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 05464ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
Rx-Frame Retry[ No] – OSeqno: 005 ISeqno: 004 Type: IAX Subclass: HANGUP
Timestamp: 05482ms SCall: 12253 DCall: 01022 [192.128.100.94:4569]
CAUSE CODE : 16
trixbox1*CLI>
Tx-Frame Retry[-01] – OSeqno: 004 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 05482ms SCall: 01022 DCall: 12253 [192.128.100.94:4569]
== Spawn extension (from-trunk, s, 4) exited non-zero on ‘IAX2/REP2-1022’
– Executing [h@from-trunk:1] Hangup(“IAX2/REP2-1022”, “”) in new stack
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘IAX2/REP2-1022’
– Hungup 'IAX2/REP2-1022’
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00002ms SCall: 00003 DCall: 00000 [192.128.100.251:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00031ms SCall: 00003 DCall: 00001 [192.128.100.251:4569]
[/code]

Try changing the context to from-internal. What is happening is that the system seeing the context from-trunk thinks this is an incoming call from the PSTN and tries to find a DID match.

Extension to Extensoin calls work because the numbers received are in the internal dialplan of the receiving * box.

Let me know how you go.

Ian

fantastic!
that seems to have doen the job nicely!!!

thanks,