IAX2 to ZAP route, ss-noservice
All
Im having problems routing call from (trixbox 1) through IAX2 trunk to my Digium analog card (trixbox 2).
calling sip phones on trixbox2 is working, users on trixbox2 can dail out on the analog card.
can anyone help me solve this one.
-- Accepting AUTHENTICATED call from 1.1.1.1:
> requested format = ulaw,
> requested prefs = (ulaw|alaw|gsm),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm),
> priority = mine
-- Executing [97969594@from-trunk:1] Set("IAX2/TX1-user-2028", "__FROM_DID=97969594") in new stack
-- Executing [97969594@from-trunk:2] NoOp("IAX2/TX1-user-2028", "Received an unknown call with DID set to 97969594") in new stack
-- Executing [97969594@from-trunk:3] Goto("IAX2/TX1-user-2028", "s|a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("IAX2/TX1-user-2028", "") in new stack
-- Executing [s@from-trunk:3] Wait("IAX2/TX1-user-2028", "2") in new stack
-- Executing [s@from-trunk:4] Playback("IAX2/TX1-user-2028", "ss-noservice") in new stack
--
-- Executing [s@from-trunk:5] SayAlpha("IAX2/TX1-user-2028", "97969594") in new stack
--
--
--
--
--
--
--
--
-- Executing [s@from-trunk:6] Hangup("IAX2/TX1-user-2028", "") in new stack
== Spawn extension (from-trunk, s, 6) exited non-zero on 'IAX2/TX1-user-2028'
-- Executing [h@from-trunk:1] Hangup("IAX2/TX1-user-2028", "") in new stack
== Spawn extension (from-trunk, h, 1) exited non-zero on 'IAX2/TX1-user-2028'
-- Hungup 'IAX2/TX1-user-2028'
THe trunk needs to be in the from-internal context to have access to the dial plan.
Hi Skyking, thanks for helping me out
If I change to context=from-internal, the trunk becomes unavaileble, if im using context=from-trunk, i can dail users on trixbox1 but not outgoing on that box (dailing from trixbox2) so i have access to the dailplan on trixbox1 wíth the from trunk setup.
Trunk Setup
PEER DETAILS
host=1.1.1.1
username=TX2-user
secret=very
type=peer
qualify=yes
trunk=yes
USER DETAILS
secret=very
type=user
context=from-trunk
If you have context from-trunk then any incoming calls will be routed through 'inbound routes'
Have you seen my simple setup that works great:
http://trixbox.org/forums/trixbox-forums/trunks/iax2-trunk-betwee...
You are the man mr. king, I tried out your setup, its working perfectly, thanks


Member Since:
2009-06-20