hi all,
i`m having an issue with call out from ZAP extention to ZAP-PTSN line.
i have few SIP phones. i can accept and dial with no problem.
from the extention . i can call to another SIP extention, but i cannot dial to PSTN line what so ever,
i want to mention that i have setup zap to did. and context=from-zaptel
ì have inbound route for zap line 1.
here is some information
[Jun 7 10:54:25] VERBOSE[25649] chan_dahdi.c: – Starting simple switch on ‘DAHDI/5-1’
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [0547977014@from-zaptel:1] Set(“DAHDI/5-1”, “DID=0547977014”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [0547977014@from-zaptel:2] Goto(“DAHDI/5-1”, “s,1”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Goto (from-zaptel,s,1)
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:1] NoOp(“DAHDI/5-1”, “Entering from-dahdi with DID == 0547977014”) in new$
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:2] Ringing(“DAHDI/5-1”, “”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:3] Set(“DAHDI/5-1”, “DID=0547977014”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:4] NoOp(“DAHDI/5-1”, “DID is now 0547977014”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:5] GotoIf(“DAHDI/5-1”, “1?dahdiok:checkzap”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Goto (from-zaptel,s,9)
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:9] NoOp(“DAHDI/5-1”, “Is a DAHDi Channel”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:10] Set(“DAHDI/5-1”, “CHAN=5-1”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:11] Set(“DAHDI/5-1”, “CHAN=5”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:12] Macro(“DAHDI/5-1”, “from-dahdi-5,0547977014,1”) in new stack
[Jun 7 10:54:31] WARNING[25649] app_macro.c: No such context ‘macro-from-dahdi-5’ for macro ‘from-dahdi-5’
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:13] NoOp(“DAHDI/5-1”, “Returned from Macro from-dahdi-5”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-zaptel:14] Goto(“DAHDI/5-1”, “from-pstn,0547977014,1”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Goto (from-pstn,0547977014,1)
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [0547977014@from-pstn:1] Set(“DAHDI/5-1”, “__FROM_DID=0547977014”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [0547977014@from-pstn:2] NoOp(“DAHDI/5-1”, "Received an unknown call with DID set to 054$
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [0547977014@from-pstn:3] Goto(“DAHDI/5-1”, “s,a2”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Goto (from-pstn,s,2)
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-pstn:2] Answer(“DAHDI/5-1”, “”) in new stack
[Jun 7 10:54:31] VERBOSE[25649] pbx.c: – Executing [s@from-pstn:3] Wait(“DAHDI/5-1”, “2”) in new stack
[Jun 7 10:54:34] VERBOSE[25649] pbx.c: – Executing [s@from-pstn:4] Playback(“DAHDI/5-1”, “ss-noservice”) in new stack
[Jun 7 10:54:34] VERBOSE[25649] file.c: – <DAHDI/5-1> Playing ‘ss-noservice.gsm’ (language ‘he’)
[Jun 7 10:54:36] VERBOSE[25649] pbx.c: == Spawn extension (from-pstn, s, 4) exited non-zero on ‘DAHDI/5-1’