Skip to main content

call Creening 6.0.1.74

Posted by moshe on Fri, 11/20/2009

when setting up call screening for an extension the caller hear as he should and he is saying who is calling then when the callee answers the call he heast you have incoming cal from and the call gets connected,

cli output is

-- Called 1xx-xxxxxxxxx
-- Local/1xx@from-inside-xxxxxxxxx-4c1e,1 is ringing Extension Changed 1xx[local-extensions-xxxxxxxxx] new state Ringing for Notify User 1xx-xxxxxxxxx
-- SIP/1xx-xxxxxxxxx-09173748 is ringing Extension Changed 1xx[local-extensions-xxxxxxxxx] new state InUse for Notify User 1xx-xxxxxxxxx
-- SIP/1xx-xxxxxxxxx-09173748 answered Local/1xx@from-inside-xxxxxxxxx-4c1e,2
-- Local/1xx@from-inside-xxxxxxxxx-4c1e,1 answered SIP/MTE1-b708edc0
-- Executing [s@macro-tl-screen:1] Wait("Local/1xx@from-inside-xxxxxxxxx-4c1e,1", "0.5") in new stack
== Spawn extension (macro-tl-userexten-base, s, 162) exited non-zero on 'Local/1xx@from-inside-xxxxxxxxx-4c1e,2' in macro 'tl-userexten-base'
== Spawn extension (macro-tl-userexten, s, 5) exited non-zero on 'Local/1xx@from-inside-xxxxxxxxx-4c1e,2' in macro 'tl-userexten'
== Spawn extension (from-inside-redir-xxxxxxxxx, 1xx, 1) exited non-zero on 'Local/1xx@from-inside-xxxxxxxxx-4c1e,2'
-- Executing [h@from-inside-redir-xxxxxxxxx:1]Hangup("Local/1xxx@from-inside-xxxxxxxxx-4c1e,2", "") in new stack
== Spawn extension (from-inside-redir-xxxxxxxxx, h, 1) exited non-zero on 'Local/1xx@from-inside-xxxxxxxxx-4c1e,2'
-- Executing [s@macro-tl-screen:2]Playback("SIP/1xx-xxxxxxxxx-09173748", "tl/you-have-a-call-from") in new stack
-- Playing 'tl/you-have-a-call-from' (language 'en')
-- Executing [s@macro-tl-screen:3]NoOp("SIP/1xx-xxxxxxxxx-09173748", "") in new stack
-- Executing [s@macro-tl-screen:4]Playback("SIP/1xx-xxxxxxxxx-09173748", "") in new stack
[Nov 20 13:46:43] WARNING[9952]: app_playback.c:397 playback_exec: Playback requires an argument (filename)
== Spawn extension (macro-tl-screen, s, 4) exited non-zero on 'SIP/1xx-xxxxxxxxx-09173748' in macro 'tl-screen'

i see the issue but don't how to fix

any thoughts


Submitted by cbbs70a on Mon, 11/23/2009 Permalink

I don't understand the question. Are you saying that when a call is screened and the callee answers the call and accepts the call (by pressing a digit) the call gets DISCONNECTED? If thats the problem, I ran into it a couple weeks ago. Its a bug in Asterisk that showed up around 1.4.24. You can read it here: https://issues.asterisk.org/view.php?id=14940 . I upgraded Asterisk to 1.4.26 and the problem disappeared.
I hope this helps.
FSD

Submitted by moshe on Mon, 11/23/2009 Permalink

no

the caller is screened but when callee answers the phone it only says "you have a incoming call from" and the call gets connected without playing the recording of what the caller left and without giving the option to accept or reject,

it sounds like the recording is just missing and it connects the call

Submitted by eeman on Mon, 11/23/2009 Permalink

does this happen on pure screening or just the forward/screening code? ie see if the same behavior exists when screening on the sip phone.

Submitted by moshe on Wed, 12/30/2009 Permalink

call screening Issue still open

when call screening is set, the call comes in it plays to caller tl/say-name a file is created in /tmp/8882225555-1262215872.gsm (which is what the caller left as his name) when the call is answered (either sip or forwarded) it plays tl/you-have-a-call-from (hare the trouble begins) and the call gets connected without playing the callers recording and not giving the option accept or reject basically it jumps out of tl-screen before playing the callers name and accept-reject.

from the cli it seems that some argument is missing, (may be may it is missing the target location of the recorded file). i have also add my tl-screen script may this could shade some light

any help would be a greatly appreciated

thanks

CLI
-- Playing 'tl/you-have-a-call-from' (language 'en')
-- Executing [s@macro-tl-screen:3]NoOp("SIP/101-tenantid-00026210", "") in new stack
-- Executing [s@macro-tl-screen:4]Playback("SIP/101-tenantid-00026210", "") in new stack
[Dec 30 13:46:43] WARNING[9952]: app_playback.c:397 playback_exec: Playback requires an argument (filename)
== Spawn extension (macro-tl-screen, s, 4) exited non-zero on 'SIP/101-tenantid-00026210' in

tl-screen
args=1,Screen file name,text

exten => s,1,Wait(0.5)
exten => s,n,Playback(tl/you-have-a-call-from)
exten => s,n,NoOp(${ARG1})
exten => s,n,Playback(${ARG1})
exten => s,n,Read(ACCEPT,tl/accept-reject,1)
exten => s,n,GotoIf($["${ACCEPT}" = "1"] ?done)
;; need to know if in follow me mode
exten => s,n,GotoIf($["${FOLLOWING}" != "1"] ?nogo)
exten => s,n(no),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-seq-next^1)
exten => s,n,Goto(exit)
exten => s,n(nogo),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-NA-VOICEMAIL^1)
exten => s,n(done),System(/bin/rm ${ARG1})
exten => s,n(exit),NoOp

Submitted by moshe on Thu, 12/31/2009 Permalink

where could i find that? in scripts PBX commend there is noting for arg1 in the argument, the description is "Screen file name", and type is "text" is there some where else i need to look

following i have included macro-tl-screen from scripts.include and tl-screen from scripts_source.include hope this helps

scripts.include
[macro-tl-screen]

exten => s,1,Wait(0.5)
exten => s,n,Playback(tl/you-have-a-call-from)
exten => s,n,NoOp(${ARG1})
exten => s,n,Playback(${ARG1})
exten => s,n,Read(ACCEPT,tl/accept-reject,1)
exten => s,n,GotoIf($["${ACCEPT}" = "1"] ?done)
;; need to know if in follow me mode
exten => s,n,GotoIf($["${FOLLOWING}" != "1"] ?nogo)
exten => s,n(no),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-seq-next^1)
exten => s,n,Goto(exit)
exten => s,n(nogo),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-NA-VOICEMAIL^1)
exten => s,n(done),System(/bin/rm ${ARG1})
exten => s,n(exit),NoOp

scripts_source.include
[tl-screen]
use=otherscripts
friendlyname=Screen inbound calls
description
Plays announcement to the called user
args=1,Screen file name,text
body
exten => s,1,Wait(0.5)
exten => s,n,Playback(tl/you-have-a-call-from)
exten => s,n,NoOp(${ARG1})
exten => s,n,Playback(${ARG1})
exten => s,n,Read(ACCEPT,tl/accept-reject,1)
exten => s,n,GotoIf($["${ACCEPT}" = "1"] ?done)
;; need to know if in follow me mode
exten => s,n,GotoIf($["${FOLLOWING}" != "1"] ?nogo)
exten => s,n(no),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-seq-next^1)
exten => s,n,Goto(exit)
exten => s,n(nogo),Set(MACRO_RESULT=GOTO:macro-tl-userexten-base^s-NA-VOICEMAIL^1)
exten => s,n(done),System(/bin/rm ${ARG1})
exten => s,n(exit),NoOp

Submitted by eeman on Thu, 12/31/2009 Permalink

yea you need to watch the dialplan as the call happens and capture the arguments sent to macro-tl-screen as its called.

Submitted by moshe on Fri, 01/01/2010 Permalink

Sorry

the issue is only on forwarded calls on sip there is no issue (reason for my mistake, i used for testing a extension i thought to be a multi device extension when in fact it was a fmfm, my mistake) i just test it on sip and it works fine

what script do i need to look into what do i need to look for/change

sorry again and thanks for the help

following is the cli when it starts executing macro-tl-screen all is running good till it hits ARG1 (which is the file name) in forwarding

-- Executing [s@macro-tl-screen:1]
Wait("Local/8885551212@from-inside-tenantID-827f,1", "0.5") in new stack
== Spawn extension (macro-tl-dialout-base, dial-SIP, 8) exited non-zero on 'Local/8885551212@from-inside-tenantID-827f,2' in macro 'tl-dialout-base'
== Spawn extension (macro-tl-dialout-1-trunk, s, 3) exited non-zero on 'Local/8885551212@from-inside-tenantID-827f,2' in macro 'tl-dialout-1-trunk'
== Spawn extension (from-inside-redir-tenantID, 8885551212, 1) exited non-zero on 'Local/8885551212@from-inside-tenantID-827f,2'
-- Executing [h@from-inside-redir-tenantID:1]
Hangup("Local/8885551212@from-inside-tenantID-827f,2", "") in new stack
== Spawn extension (from-inside-redir-tenantID, h, 1) exited non-zero on 'Local/8885551212@from-inside-tenantID-827f,2'
-- Executing [s@macro-tl-screen:2] Playback("SIP/MTE1-00029ad6",
"tl/you-have-a-call-from") in new stack
-- Playing 'tl/you-have-a-call-from' (language 'en')
-- Executing [s@macro-tl-screen:3] NoOp("SIP/MTE1-00029ad6", "") in new stack
-- Executing [s@macro-tl-screen:4] Playback("SIP/MTE1-00029ad6", "") in new stack
[Jan 1 11:03:02] WARNING[4014]: app_playback.c:397 playback_exec:
Playback requires an argument (filename)
== Spawn extension (macro-tl-screen, s, 4) exited non-zero on 'SIP/MTE1-00029ad6' in macro 'tl-screen'

Submitted by eeman on Fri, 01/01/2010 Permalink

this is still captured too late.. i need the line before it that shows the macro actually being called.. all the agruements have been passed by now..

-- Executing [s@macro-tl-screen:1]

Submitted by moshe on Wed, 01/06/2010 Permalink

i have tried looking it over all seems to be going as it should till finial execution

any thoughts will be a great help

-- Executing [1556@tl-main-menu-open-2125551210:1]
Macro("SIP/MTE1-0002a610",
"tl-stdexten|SIP/1556-2125551210|1556@default-2125551210|") in new stack
-- Executing [s@macro-tl-stdexten:1] Set("SIP/MTE1-0002a610",
"__DIALED_NUMBER=1556") in new stack
-- Executing [s@macro-tl-stdexten:2] Set("SIP/MTE1-0002a610",
"__PICKUPMARK=1556-2125551210") in new stack
-- Executing [s@macro-tl-stdexten:3] ExecIf("SIP/MTE1-0002a610",
"0|SIPAddHeader|Alert-Info: ") in new stack
-- Executing [s@macro-tl-stdexten:4] GotoIf("SIP/MTE1-0002a610",
"0?doingringgroup") in new stack
-- Executing [s@macro-tl-stdexten:5] Macro("SIP/MTE1-0002a610",
"tl-userexten-base|SIP/1556-2125551210|1556@default-2125551210|") in new stack
-- Executing [s@macro-tl-userexten-base:1] GotoIf("SIP/MTE1-0002a610", "1?set_options") in new stack
-- Goto (macro-tl-userexten-base,s,8)
-- Executing [s@macro-tl-userexten-base:8] Set("SIP/MTE1-0002a610",
"OPTIONS=rtT") in new stack
-- Executing [s@macro-tl-userexten-base:9] Set("SIP/MTE1-0002a610",
"__PHONE=SIP/1556-2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:10] Set("SIP/MTE1-0002a610",
"__VM_MBOX=1556@default-2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:11] Set("SIP/MTE1-0002a610",
"THISEXT=TL/2125551210-1556") in new stack
-- Executing [s@macro-tl-userexten-base:12] Set("SIP/MTE1-0002a610",
"_CLIMYID=2125551210-1556") in new stack
-- Executing [s@macro-tl-userexten-base:13] Set("SIP/MTE1-0002a610",
"THISCHAN=TL/1556-2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:14] GotoIf("SIP/MTE1-0002a610", "0?beenhere") in new stack
-- Executing [s@macro-tl-userexten-base:15] Set("SIP/MTE1-0002a610",
"_ORIG_EXTEN=1556") in new stack
-- Executing [s@macro-tl-userexten-base:16] Set("SIP/MTE1-0002a610",
"_ORIG_EXTEN_USER=TL/2125551210-1556") in new stack
-- Executing [s@macro-tl-userexten-base:17] Macro("SIP/MTE1-0002a610", "tl-notify") in new stack
-- Executing [s@macro-tl-notify:1] Set("SIP/MTE1-0002a610",
"ADDRESS=") in new stack
-- Executing [s@macro-tl-notify:2] UserEvent("SIP/MTE1-0002a610",
"TlNotify|dialed: 1556|callerID: 2125551215|tenant: 2125551210") in new stack
-- Executing [s@macro-tl-notify:3] NoOp("SIP/MTE1-0002a610",
"TL/2125551210-1556") in new stack
-- Executing [s@macro-tl-notify:4] GotoIf("SIP/MTE1-0002a610",
"1?s-exit|1") in new stack
-- Goto (macro-tl-notify,s-exit,1)
-- Executing [s-exit@macro-tl-notify:1] MacroExit("SIP/MTE1-0002a610", "") in new stack
-- Executing [s@macro-tl-userexten-base:18] Goto("SIP/MTE1-0002a610", "checkformat") in new stack
-- Goto (macro-tl-userexten-base,s,20)
-- Executing [s@macro-tl-userexten-base:20] GotoIf("SIP/MTE1-0002a610", "1?cont1") in new stack
-- Goto (macro-tl-userexten-base,s,22)
-- Executing [s@macro-tl-userexten-base:22] Set("SIP/MTE1-0002a610",
"RECORD_CALLEE=2") in new stack
-- Executing [s@macro-tl-userexten-base:23] Macro("SIP/MTE1-0002a610", "tl-set-myvariables") in new stack
-- Executing [s@macro-tl-set-myvariables:1] Set("SIP/MTE1-0002a610",
"MY_CHAN=MTE1-0002a610") in new stack
-- Executing [s@macro-tl-set-myvariables:2] NoOp("SIP/MTE1-0002a610", "THECHANNEL=SIP/MTE1-0002a610") in new stack
-- Executing [s@macro-tl-set-myvariables:3] Set("SIP/MTE1-0002a610",
"zap=0") in new stack
-- Executing [s@macro-tl-set-myvariables:4] GotoIf("SIP/MTE1-0002a610", "1?usechannel") in new stack
-- Goto (macro-tl-set-myvariables,s,9)
-- Executing [s@macro-tl-set-myvariables:9] Set("SIP/MTE1-0002a610",
"local=0") in new stack
-- Executing [s@macro-tl-set-myvariables:10] GotoIf("SIP/MTE1-0002a610", "1?useit") in new stack
-- Goto (macro-tl-set-myvariables,s,12)
-- Executing [s@macro-tl-set-myvariables:12] Set("SIP/MTE1-0002a610", "__MYEXTENSION=MTE1") in new stack
-- Executing [s@macro-tl-set-myvariables:13] Set("SIP/MTE1-0002a610", "__MYID=2125551210-MTE1") in new stack
-- Executing [s@macro-tl-userexten-base:24] Set("SIP/MTE1-0002a610",
"RECORD_CALLER=") in new stack
-- Executing [s@macro-tl-userexten-base:25] Set("SIP/MTE1-0002a610",
"VM=1") in new stack
-- Executing [s@macro-tl-userexten-base:26] Set("SIP/MTE1-0002a610",
"VMT0=30") in new stack
-- Executing [s@macro-tl-userexten-base:27] Set("SIP/MTE1-0002a610",
"CFNAEXT=0") in new stack
-- Executing [s@macro-tl-userexten-base:28] Set("SIP/MTE1-0002a610",
"CFNAAN=") in new stack
-- Executing [s@macro-tl-userexten-base:29] GotoIf("SIP/MTE1-0002a610", "0?done_checkrecord") in new stack
-- Executing [s@macro-tl-userexten-base:30] GotoIf("SIP/MTE1-0002a610", "1?check_caller") in new stack
-- Goto (macro-tl-userexten-base,s,32)
-- Executing [s@macro-tl-userexten-base:32] GotoIf("SIP/MTE1-0002a610", "1?check_if_record") in new stack
-- Goto (macro-tl-userexten-base,s,34)
-- Executing [s@macro-tl-userexten-base:34] GotoIf("SIP/MTE1-0002a610", "1?check_onetouch") in new stack
-- Goto (macro-tl-userexten-base,s,38)
-- Executing [s@macro-tl-userexten-base:38] GotoIf("SIP/MTE1-0002a610", "0?check_caller_onetouch") in new stack
-- Executing [s@macro-tl-userexten-base:39] Set("SIP/MTE1-0002a610",
"OPTIONS=rtTw") in new stack
-- Executing [s@macro-tl-userexten-base:40] Set("SIP/MTE1-0002a610",
"FNAME=in") in new stack
-- Executing [s@macro-tl-userexten-base:41] GotoIf("SIP/MTE1-0002a610", "1?check_if_onetouch") in new stack
-- Goto (macro-tl-userexten-base,s,44)
-- Executing [s@macro-tl-userexten-base:44] GotoIf("SIP/MTE1-0002a610", "0?done_checkrecord") in new stack
-- Executing [s@macro-tl-userexten-base:45] Set("SIP/MTE1-0002a610",
"TOUCH_MONITOR_FORMAT=WAV") in new stack
-- Executing [s@macro-tl-userexten-base:46] Set("SIP/MTE1-0002a610",
"TOUCH_MONITOR=in-1556-2010-01-03-11:36:21-2125551215-2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:47] NoOp("SIP/MTE1-0002a610", "") in new stack
-- Executing [s@macro-tl-userexten-base:48] NoOp("SIP/MTE1-0002a610", "RECORD_CALLEE=2") in new stack
-- Executing [s@macro-tl-userexten-base:49] NoOp("SIP/MTE1-0002a610", "RECORD_CALLER=") in new stack
-- Executing [s@macro-tl-userexten-base:50] NoOp("SIP/MTE1-0002a610", "OPTIONS=rtTw") in new stack
-- Executing [s@macro-tl-userexten-base:51] NoOp("SIP/MTE1-0002a610",
"TOUCH_MONITOR=in-1556-2010-01-03-11:36:21-2125551215-2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:52] GotoIf("SIP/MTE1-0002a610", "0?next1") in new stack
-- Executing [s@macro-tl-userexten-base:53] Set("SIP/MTE1-0002a610",
"TIMEOUT=30") in new stack
-- Executing [s@macro-tl-userexten-base:54] GotoIf("SIP/MTE1-0002a610", "1?next1") in new stack
-- Goto (macro-tl-userexten-base,s,56)
-- Executing [s@macro-tl-userexten-base:56] Set("SIP/MTE1-0002a610",
"CDR(userfield)=2125551210") in new stack
-- Executing [s@macro-tl-userexten-base:57] Set("SIP/MTE1-0002a610",
"SCREEN=1") in new stack
-- Executing [s@macro-tl-userexten-base:58] Set("SIP/MTE1-0002a610",
"CONFIRM=") in new stack
-- Executing [s@macro-tl-userexten-base:59] GotoIf("SIP/MTE1-0002a610", "0?getblock") in new stack
-- Executing [s@macro-tl-userexten-base:60] Set("SIP/MTE1-0002a610",
"SCREENVERBNCID=1") in new stack
-- Executing [s@macro-tl-userexten-base:61] Set("SIP/MTE1-0002a610",
"SCREENVERBCID=1") in new stack
-- Executing [s@macro-tl-userexten-base:62] Set("SIP/MTE1-0002a610",
"SCREENENTER=") in new stack
-- Executing [s@macro-tl-userexten-base:63] Set("SIP/MTE1-0002a610",
"SCREENFOLLOW=1") in new stack
-- Executing [s@macro-tl-userexten-base:64] Set("SIP/MTE1-0002a610",
"BLOCK=") in new stack
-- Executing [s@macro-tl-userexten-base:65] GotoIf("SIP/MTE1-0002a610", "1?getrecord") in new stack
-- Goto (macro-tl-userexten-base,s,69)
-- Executing [s@macro-tl-userexten-base:69] Set("SIP/MTE1-0002a610",
"RECORD=2") in new stack
-- Executing [s@macro-tl-userexten-base:70] NoOp("SIP/MTE1-0002a610", "calleridnum=2125551215 ") in new stack
-- Executing [s@macro-tl-userexten-base:71] GotoIf("SIP/MTE1-0002a610", "1?screening") in new stack
-- Goto (macro-tl-userexten-base,s,103)
-- Executing [s@macro-tl-userexten-base:103] GotoIf("SIP/MTE1-0002a610", "0?recording") in new stack
-- Executing [s@macro-tl-userexten-base:104] GotoIf("SIP/MTE1-0002a610", "0?recording") in new stack
-- Executing [s@macro-tl-userexten-base:105] GotoIf("SIP/MTE1-0002a610", "1?screencid:screennocid") in new stack
-- Goto (macro-tl-userexten-base,s,106)
-- Executing [s@macro-tl-userexten-base:106] GotoIf("SIP/MTE1-0002a610", "0?recording") in new stack
-- Executing [s@macro-tl-userexten-base:107] Set("SIP/MTE1-0002a610", "SCREENVERB=1") in new stack
-- Executing [s@macro-tl-userexten-base:108] Goto("SIP/MTE1-0002a610", "screensome") in new stack
-- Goto (macro-tl-userexten-base,s,111)
-- Executing [s@macro-tl-userexten-base:111] Set("SIP/MTE1-0002a610", "i=1") in new stack
-- Executing [s@macro-tl-userexten-base:112] Set("SIP/MTE1-0002a610", "F_NUM=") in new stack
-- Executing [s@macro-tl-userexten-base:113] GotoIf("SIP/MTE1-0002a610", "1?screen") in new stack
-- Goto (macro-tl-userexten-base,s,117)
-- Executing [s@macro-tl-userexten-base:117] GotoIf("SIP/MTE1-0002a610", "1?screenverb") in new stack
-- Goto (macro-tl-userexten-base,s,121)
-- Executing [s@macro-tl-userexten-base:121] GotoIf("SIP/MTE1-0002a610", "0?recording") in new stack
-- Executing [s@macro-tl-userexten-base:122] Wait("SIP/MTE1-0002a610", "1") in new stack
-- Executing [s@macro-tl-userexten-base:123] Playback("SIP/MTE1-0002a610", "tl/say-name") in new stack
-- Playing 'tl/say-name' (language 'en')
-- Executing [s@macro-tl-userexten-base:124] Set("SIP/MTE1-0002a610", "SCREEN_FILE=/tmp/2125551215-1262536584") in new stack
-- Executing [s@macro-tl-userexten-base:125] Record("SIP/MTE1-0002a610", "/tmp/2125551215-1262536584.gsm|4|20") in new stack
-- Playing 'beep' (language 'en')
-- Executing [s@macro-tl-userexten-base:126] Set("SIP/MTE1-0002a610",
"SCREENOPTIONS=gM(tl-screen^/tmp/2125551215-1262536584)") in new stack
-- Executing [s@macro-tl-userexten-base:127] GotoIf("SIP/MTE1-0002a610", "0?recording") in new stack
-- Executing [s@macro-tl-userexten-base:128] Set("SIP/MTE1-0002a610",
"SCREEN_FORWARD_OPTIONS=gM(tl-screen^/tmp/2125551215-1262536584)") in new stack
-- Executing [s@macro-tl-userexten-base:129] GotoIf("SIP/MTE1-0002a610", "0?forwarding") in new stack
-- Executing [s@macro-tl-userexten-base:130] GotoIf("SIP/MTE1-0002a610", "0?forwarding") in new stack
-- Executing [s@macro-tl-userexten-base:131] Set("SIP/MTE1-0002a610", "FORWARD=1") in new stack
-- Executing [s@macro-tl-userexten-base:132] GotoIf("SIP/MTE1-0002a610", "0?followmecheck") in new stack
-- Executing [s@macro-tl-userexten-base:133] Set("SIP/MTE1-0002a610", "__CALLFWD=1") in new stack
-- Executing [s@macro-tl-userexten-base:134] Set("SIP/MTE1-0002a610", "FORWARD_NUM=8885558355") in new stack
-- Executing [s@macro-tl-userexten-base:135] GotoIf("SIP/MTE1-0002a610", "0?followmecheck") in new stack
-- Executing [s@macro-tl-userexten-base:136] GotoIf("SIP/MTE1-0002a610", "0?followmecheck") in new stack
-- Executing [s@macro-tl-userexten-base:137] Dial("SIP/MTE1-0002a610",
"Local/8885558355@from-inside-2125551210|30|rtTwgM(tl-screen^/tmp/2125551215-1262536584)")
in new stack

-- Called 8885558355@from-inside-2125551210
-- Executing [8885558355@from-inside-2125551210:1]
Macro("Local/8885558355@from-inside-2125551210-b56c,2",
"tl-set-variables2|from-inside-redir-2125551210|2125551210") in new stack
-- Executing [s@macro-tl-set-variables2:1] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"__tenant=2125551210") in new stack
-- Executing [s@macro-tl-set-variables2:2] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CDR(userfield)=2125551210") in new stack
-- Executing [s@macro-tl-set-variables2:3] Set("Local/8885558355@from-inside-2125551210-b56c,2", "__FROM_INSIDE=1") in new stack
-- Executing [s@macro-tl-set-variables2:4] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"__MOH=default-2125551210") in new stack
-- Executing [s@macro-tl-set-variables2:5] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1 ?setmoh") in new stack
-- Goto (macro-tl-set-variables2,s,7)
-- Executing [s@macro-tl-set-variables2:7] SetMusicOnHold("Local/8885558355@from-inside-2125551210-b56c,2",
"default-2125551210") in new stack
-- Executing [s@macro-tl-set-variables2:8] Goto("Local/8885558355@from-inside-2125551210-b56c,2",
"from-inside-redir-2125551210|8885558355|1") in new stack
-- Goto (from-inside-redir-2125551210,8885558355,1)
== Channel 'Local/8885558355@from-inside-2125551210-b56c,2' jumping out of macro 'tl-set-variables2'
-- Executing [8885558355@from-inside-redir-2125551210:1]
Macro("Local/8885558355@from-inside-2125551210-b56c,2",
"tl-dialout-1-trunk|60|SIP/MTE1|2125551210+1|0|t") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:1] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?dial") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:2] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"__DIALED_NUMBER=8885558355") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:3] Macro("Local/8885558355@from-inside-2125551210-b56c,2",
"tl-dialout-base|60|SIP/MTE1|2125551210+1|0|t") in new stack
-- Executing [s@macro-tl-dialout-base:1] Set("Local/8885558355@from-inside-2125551210-b56c,2", "status=1") in new stack
-- Executing [s@macro-tl-dialout-base:2] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1?enabled") in new stack
-- Goto (macro-tl-dialout-base,s,5)
-- Executing [s@macro-tl-dialout-base:5] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1?allclear") in new stack
-- Goto (macro-tl-dialout-base,s,13)
-- Executing [s@macro-tl-dialout-base:13] Set("Local/8885558355@from-inside-2125551210-b56c,2", "i=2") in new stack
-- Executing [s@macro-tl-dialout-base:14] Macro("Local/8885558355@from-inside-2125551210-b56c,2",
"tl-set-myvariables") in new stack
-- Executing [s@macro-tl-set-myvariables:1] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"MY_CHAN=8885558355@from-inside-2125551210-b56c,2") in new stack
-- Executing [s@macro-tl-set-myvariables:2] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"THECHANNEL=Local/8885558355@from-inside-2125551210-b56c,2") in new stack
-- Executing [s@macro-tl-set-myvariables:3] Set("Local/8885558355@from-inside-2125551210-b56c,2", "zap=0") in new stack
-- Executing [s@macro-tl-set-myvariables:4] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1?usechannel") in new stack
-- Goto (macro-tl-set-myvariables,s,9)
-- Executing [s@macro-tl-set-myvariables:9] Set("Local/8885558355@from-inside-2125551210-b56c,2", "local=1") in new stack
-- Executing [s@macro-tl-set-myvariables:10] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?useit") in new stack
-- Executing [s@macro-tl-set-myvariables:11] MacroExit("Local/8885558355@from-inside-2125551210-b56c,2", "") in new stack
-- Executing [s@macro-tl-dialout-base:15] SetAMAFlags("Local/8885558355@from-inside-2125551210-b56c,2", "billing") in new stack
-- Executing [s@macro-tl-dialout-base:16] Set("Local/8885558355@from-inside-2125551210-b56c,2", "RECORD=") in new stack
-- Executing [s@macro-tl-dialout-base:17] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"1?done_checkrecord") in new stack
-- Goto (macro-tl-dialout-base,s,26)
-- Executing [s@macro-tl-dialout-base:26] NoOp("Local/8885558355@from-inside-2125551210-b56c,2", "RECORD=") in new stack
-- Executing [s@macro-tl-dialout-base:27] NoOp("Local/8885558355@from-inside-2125551210-b56c,2", "TOUCH_MONITOR=") in new stack
-- Executing [s@macro-tl-dialout-base:28] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"RECORD_OPTIONS=") in new stack
-- Executing [s@macro-tl-dialout-base:29] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"RECORDING_FORMAT=WAV") in new stack
-- Executing [s@macro-tl-dialout-base:30] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CALLERID(name)=DEMO") in new stack
-- Executing [s@macro-tl-dialout-base:31] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?calleridallowed") in new stack
-- Executing [s@macro-tl-dialout-base:32] Set("Local/8885558355@from-inside-2125551210-b56c,2", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:33] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"1?accountcodeallowed") in new stack
-- Goto (macro-tl-dialout-base,s,35)
-- Executing [s@macro-tl-dialout-base:35] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CALLERID(num)=2125551210") in new stack
-- Executing [s@macro-tl-dialout-base:36] Set("Local/8885558355@from-inside-2125551210-b56c,2", "temp=1") in new stack
-- Executing [s@macro-tl-dialout-base:37] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"1?calleridallowed") in new stack
-- Goto (macro-tl-dialout-base,s,39)
-- Executing [s@macro-tl-dialout-base:39] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"CLIMYID=2125551210-1556") in new stack
-- Executing [s@macro-tl-dialout-base:40] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"MYID=2125551210-MTE1") in new stack
-- Executing [s@macro-tl-dialout-base:41] Set("Local/8885558355@from-inside-2125551210-b56c,2", "CLI=2125551210") in new stack
-- Executing [s@macro-tl-dialout-base:42] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1?chkcallfwd") in new stack
-- Goto (macro-tl-dialout-base,s,47)
-- Executing [s@macro-tl-dialout-base:47] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"MYID=2125551210-MTE1") in new stack
-- Executing [s@macro-tl-dialout-base:48] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"INCOMINGCLI=2125551215") in new stack
-- Executing [s@macro-tl-dialout-base:49] NoOp("Local/8885558355@from-inside-2125551210-b56c,2", "CALLFWD=1") in new stack
-- Executing [s@macro-tl-dialout-base:50] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?setcalleridasabove") in new stack
-- Executing [s@macro-tl-dialout-base:51] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CDR(accountcode)=2125551210") in new stack
-- Executing [s@macro-tl-dialout-base:52] NoOp("Local/8885558355@from-inside-2125551210-b56c,2",
"CFRETAINCLI=TL/2125551210-1556/CFRETAINCLI") in new stack
-- Executing [s@macro-tl-dialout-base:53] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?setcalleridasabove") in new stack
-- Executing [s@macro-tl-dialout-base:54] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"ALLOW_INCOMINGCLI=1") in new stack
-- Executing [s@macro-tl-dialout-base:55] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?setcalleridasabove") in new stack
-- Executing [s@macro-tl-dialout-base:56] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?setcalleridasabove") in new stack
-- Executing [s@macro-tl-dialout-base:57] Set("Local/8885558355@from-inside-2125551210-b56c,2", "CLI=2125551215") in new stack
-- Executing [s@macro-tl-dialout-base:58] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?nocallerid") in new stack
-- Executing [s@macro-tl-dialout-base:59] Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CALLERID(num)=2125551215") in new stack
-- Executing [s@macro-tl-dialout-base:60] Set("Local/8885558355@from-inside-2125551210-b56c,2", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:61] GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "1?onetrunk|1") in new stack
-- Goto (macro-tl-dialout-base,onetrunk,1)
-- Executing [onetrunk@macro-tl-dialout-base:1]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"FULLNAME=SIP/MTE1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:2]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "TRUNK=MTE1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:3]
GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?failed|1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:4]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "TRUNK_STATUS=1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:5]
GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?next|1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:6]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"ROUTE_PREPEND=2125551210+1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:7]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "ROUTE_STRIP=0") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:8]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "ROUTE_OPTIONS=t") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:9]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"NUMBER_TO_DIAL=2125551210+18885558355") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:10]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"TRUNK_DIALSTRING=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:11]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "TRUNK_NAME=MTE1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:12]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"TRUNK_PROTOCOL=SIP") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:13]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "TRUNK_STRIP=0") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:14]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "TRUNK_PREPEND=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:15]
Set("Local/8885558355@from-inside-2125551210-b56c,2",
"CALLERID(num)=2125551215") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:16]
GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?dial-CUSTOM|1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:17]
Goto("Local/8885558355@from-inside-2125551210-b56c,2", "dial-SIP|1") in new stack
-- Goto (macro-tl-dialout-base,dial-SIP,1)
-- Executing [dial-SIP@macro-tl-dialout-base:1]
Set("Local/8885558355@from-inside-2125551210-b56c,2", "headernum=1") in new stack
-- Executing [dial-SIP@macro-tl-dialout-base:2]
GotoIf("Local/8885558355@from-inside-2125551210-b56c,2",
"0?:routeoptions") in new stack
-- Goto (macro-tl-dialout-base,dial-SIP,7)
-- Executing [dial-SIP@macro-tl-dialout-base:7]
GotoIf("Local/8885558355@from-inside-2125551210-b56c,2", "0?NoOpt") in new stack
-- Executing [dial-SIP@macro-tl-dialout-base:8]
Dial("Local/8885558355@from-inside-2125551210-b56c,2",
"SIP/2125551210+18885558355@MTE1|60|t") in new stack
-- Called 2125551210+18885558355@MTE1
-- SIP/MTE1-0002a611 is making progress passing it to
Local/8885558355@from-inside-2125551210-b56c,2
-- Local/8885558355@from-inside-2125551210-b56c,1 is making progress passing it to SIP/MTE1-0002a610
-- SIP/MTE1-0002a611 answered
Local/8885558355@from-inside-2125551210-b56c,2
-- Local/8885558355@from-inside-2125551210-b56c,1 answered SIP/MTE1-0002a610
-- Executing [s@macro-tl-screen:1]
Wait("Local/8885558355@from-inside-2125551210-b56c,1", "0.5") in new stack
== Spawn extension (macro-tl-dialout-base, dial-SIP, 8) exited non-zero on 'Local/8885558355@from-inside-2125551210-b56c,2' in macro 'tl-dialout-base'
== Spawn extension (macro-tl-dialout-1-trunk, s, 3) exited non-zero on 'Local/8885558355@from-inside-2125551210-b56c,2' in macro 'tl-dialout-1-trunk'
== Spawn extension (from-inside-redir-2125551210, 8885558355, 1) exited non-zero on 'Local/8885558355@from-inside-2125551210-b56c,2'
-- Executing [h@from-inside-redir-2125551210:1]
Hangup("Local/8885558355@from-inside-2125551210-b56c,2", "") in new stack
== Spawn extension (from-inside-redir-2125551210, h, 1) exited non-zero on 'Local/8885558355@from-inside-2125551210-b56c,2'
-- Executing [s@macro-tl-screen:2] Playback("SIP/MTE1-0002a611","tl/you-have-a-call-from") in new stack
-- Playing 'tl/you-have-a-call-from' (language 'en')
-- Executing [s@macro-tl-screen:3] NoOp("SIP/MTE1-0002a611", "") in new stack
-- Executing [s@macro-tl-screen:4] Playback("SIP/MTE1-0002a611", "") in new stack
[Jan 3 11:36:44] WARNING[30674]: app_playback.c:397 playback_exec: Playback requires an argument (filename)
== Spawn extension (macro-tl-screen, s, 4) exited non-zero on 'SIP/MTE1-0002a611' in macro 'tl-screen'

Submitted by abongard on Thu, 10/07/2010 Permalink

I have exactly the same issue... has anybody figured this out yet?

Only happens when a call is forwarded or in follow me mode, Call screening to an extension only works perfectly...

Regards,
Andrew

Submitted by moshe on Sun, 10/10/2010 Permalink

If memory serves the issue was related to the sound file that it was created in the worng format or location once this was corrected all is working well

Submitted by abongard on Tue, 10/12/2010 Permalink

but I don't see the fix anywhere..... any ideas?