NO JOY Intercom across IAX2 trunk (piaf 1.7.2 -> piaf 1.7.2)

scurry7

Member
Joined
Jun 29, 2010
Messages
49
Reaction score
1
I'm trying to intercom from a aastra 57i phone (extension 3075) on Site A to a an aastra 43i (extension 3401) on Site B.

I setup a MISC Destination with a value of *803401. Next I setup a ring group (3450) then added a few extensions in it, then set the destination if no answer to the misc destination i just created.

When I call it and it fails over to the misc dest, I see "sent to invalid extension '*803401" in context "from-internal'.

log after ring group times out:
Code:
[2013-05-28 15:33:47] VERBOSE[16454] app_dial.c:    -- SIP/3401-00000ea1 is ringing
[2013-05-28 15:33:47] VERBOSE[16454] app_dial.c:    -- SIP/3406-00000ea2 is ringing
[2013-05-28 15:34:07] VERBOSE[16454] app_dial.c:    -- Nobody picked up in 20000 ms
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-dial:8] Set("IAX2/wd.pbx-user-15777", "DIALSTATUS=NOANSWER") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-dial:9] GosubIf("IAX2/wd.pbx-user-15777", "0?NOANSWER,1") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [3450@from-internal:15] Set("IAX2/wd.pbx-user-15777", "RingGroupMethod=") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [3450@from-internal:16] GotoIf("IAX2/wd.pbx-user-15777", "0?nodest") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [3450@from-internal:17] Set("IAX2/wd.pbx-user-15777", "__NODEST=") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [3450@from-internal:18] NoOp("IAX2/wd.pbx-user-15777", "Deleting: BLKVM/3450/IAX2/wd.pbx-user-15777 TRUE") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [3450@from-internal:19] Goto("IAX2/wd.pbx-user-15777", "ext-miscdests,7,1") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Goto (ext-miscdests,7,1)
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [7@ext-miscdests:1] NoOp("IAX2/wd.pbx-user-15777", "MiscDest: icom3401") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [7@ext-miscdests:2] Goto("IAX2/wd.pbx-user-15777", "from-internal,*803401,1") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Goto (from-internal,*803401,1)
[2013-05-28 15:34:07] WARNING[16454] pbx.c: Channel 'IAX2/wd.pbx-user-15777' sent into invalid extension '*803401' in context 'from-internal', but no invalid handler
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [h@from-internal:1] Macro("IAX2/wd.pbx-user-15777", "hangupcall") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/wd.pbx-user-15777", "1?skiprg") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Goto (macro-hangupcall,s,4)
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/wd.pbx-user-15777", "0?skipblkvm") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:5] NoOp("IAX2/wd.pbx-user-15777", "Cleaning Up Block VM Flag: BLKVM/3450/IAX2/wd.pbx-user-15777") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:6] NoOp("IAX2/wd.pbx-user-15777", "Deleting: BLKVM/3450/IAX2/wd.pbx-user-15777 ") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/wd.pbx-user-15777", "1?theend") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Goto (macro-hangupcall,s,9)
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/wd.pbx-user-15777", "") in new stack
[2013-05-28 15:34:07] VERBOSE[16454] app_macro.c:  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/wd.pbx-user-15777' in macro 'hangupcall'
[2013-05-28 15:34:07] VERBOSE[16454] pbx.c:  == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/wd.pbx-user-15777'
[2013-05-28 15:34:07] VERBOSE[16454] chan_iax2.c:    -- Hungup 'IAX2/wd.pbx-user-15777'

Is there a better way to do this or how can I get this to work?
 

scurry7

Member
Joined
Jun 29, 2010
Messages
49
Reaction score
1
If you have an outbound route that handles all calls prefixed by some arbitrary digits like 999, you can strip the 999 prefix and direct the remaining digits to the remote pbx. Then you define your misc. destination to 999*803401, and as long as the *803401 arrives at the remote PBX in context 'from-internal' it should work.
thanks! I'll try this in the morning.
 

Members online

Forum statistics

Threads
25,812
Messages
167,760
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top