I tried searching for an answer site:http://pbxinaflash.com/forum iax trunk
but didn't find an answer.
I had this withing on the green machine, but am switching everything out for PIAF and still am getting used to some of the settings in the Incredible PBX 1.8.
I am trying to connect another asterisk box via IAX and have it dial put through the PIAF box. I have my trunks setup just fine. But when I try to place a call from the asterisk box, PIAF thinks I am dialing a DID on that box instead of placing the outbound call. It is probably some silly little setting, most likely the context. Here is my trunk settings on the PIAF:
type=peer
secret=asterisk
qualify=yes
permit=0.0.0.0/0.0.0.0
host=dynamic
disallow=all
context=from-internal
auth=plaintext
allow=ulaw
[2010-11-04 10:11:39] VERBOSE[16207] chan_iax2.c: -- Accepting UNAUTHENTICATED call from 192.168.10.58:
> requested format = ulaw,
> requested prefs = (ulaw),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:1] Set("IAX2/asterisk-1073", "__FROM_DID=7145555555") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:2] NoOp("IAX2/asterisk-1073", "Received an unknown call with DID set to 7145555555") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:3] Goto("IAX2/asterisk-1073", "s,a2") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Goto (from-trunk,s,2)
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:2] Answer("IAX2/asterisk-1073", "") in new stack
[2010-11-04 10:11:40] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:3] Wait("IAX2/asterisk-1073", "2") in new stack
[2010-11-04 10:11:42] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:4] Playback("IAX2/asterisk-1073", "ss-noservice") in new stack
[2010-11-04 10:11:42] VERBOSE[6665] file.c: -- <IAX2/asterisk-1073> Playing 'ss-noservice.gsm' (language 'en')
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: == Spawn extension (from-trunk, s, 4) exited non-zero on 'IAX2/asterisk-1073'
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [h@from-trunk:1] Macro("IAX2/asterisk-1073", "hangupcall,") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/asterisk-1073", "1?skiprg") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,4)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/asterisk-1073", "1?skipblkvm") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,7)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/asterisk-1073", "1?theend") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,9)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:9] Hangup("IAX2/asterisk-1073", "") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/asterisk-1073' in macro 'hangupcall'
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: == Spawn extension (from-trunk, h, 1) exited non-zero on 'IAX2/asterisk-1073'
[2010-11-04 10:11:45] VERBOSE[6665] chan_iax2.c: -- Hungup 'IAX2/asterisk-1073'
[2010-11-04 10:11:59] VERBOSE[6666] manager.c: == Manager 'admin' logged on from 127.0.0.1
I change the phone number in the output here as to not publish it in a public forum.
Thanks for any help.
but didn't find an answer.
I had this withing on the green machine, but am switching everything out for PIAF and still am getting used to some of the settings in the Incredible PBX 1.8.
I am trying to connect another asterisk box via IAX and have it dial put through the PIAF box. I have my trunks setup just fine. But when I try to place a call from the asterisk box, PIAF thinks I am dialing a DID on that box instead of placing the outbound call. It is probably some silly little setting, most likely the context. Here is my trunk settings on the PIAF:
type=peer
secret=asterisk
qualify=yes
permit=0.0.0.0/0.0.0.0
host=dynamic
disallow=all
context=from-internal
auth=plaintext
allow=ulaw
[2010-11-04 10:11:39] VERBOSE[16207] chan_iax2.c: -- Accepting UNAUTHENTICATED call from 192.168.10.58:
> requested format = ulaw,
> requested prefs = (ulaw),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:1] Set("IAX2/asterisk-1073", "__FROM_DID=7145555555") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:2] NoOp("IAX2/asterisk-1073", "Received an unknown call with DID set to 7145555555") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [7145555555@from-trunk:3] Goto("IAX2/asterisk-1073", "s,a2") in new stack
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Goto (from-trunk,s,2)
[2010-11-04 10:11:39] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:2] Answer("IAX2/asterisk-1073", "") in new stack
[2010-11-04 10:11:40] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:3] Wait("IAX2/asterisk-1073", "2") in new stack
[2010-11-04 10:11:42] VERBOSE[6665] pbx.c: -- Executing [s@from-trunk:4] Playback("IAX2/asterisk-1073", "ss-noservice") in new stack
[2010-11-04 10:11:42] VERBOSE[6665] file.c: -- <IAX2/asterisk-1073> Playing 'ss-noservice.gsm' (language 'en')
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: == Spawn extension (from-trunk, s, 4) exited non-zero on 'IAX2/asterisk-1073'
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [h@from-trunk:1] Macro("IAX2/asterisk-1073", "hangupcall,") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/asterisk-1073", "1?skiprg") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,4)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/asterisk-1073", "1?skipblkvm") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,7)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/asterisk-1073", "1?theend") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Goto (macro-hangupcall,s,9)
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: -- Executing [s@macro-hangupcall:9] Hangup("IAX2/asterisk-1073", "") in new stack
[2010-11-04 10:11:45] VERBOSE[6665] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/asterisk-1073' in macro 'hangupcall'
[2010-11-04 10:11:45] VERBOSE[6665] pbx.c: == Spawn extension (from-trunk, h, 1) exited non-zero on 'IAX2/asterisk-1073'
[2010-11-04 10:11:45] VERBOSE[6665] chan_iax2.c: -- Hungup 'IAX2/asterisk-1073'
[2010-11-04 10:11:59] VERBOSE[6666] manager.c: == Manager 'admin' logged on from 127.0.0.1
I change the phone number in the output here as to not publish it in a public forum.
Thanks for any help.
