Hi again,
I will paste my asterisk debug info here. Excuse me if it's a bit too verbose.
This first post shows a successful call when I configured my VTO2000A (extension 8001) to directly call my laptop which has X-Lite installed (extension 8002). When the VTO button was pressed, it called my laptop. I then answered and was able to keep the call active without issue. This scenario works fine.
VTO calling other extension directly
Asterisk 13.11.2, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <
[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 13.11.2 currently running on raspbx (pid = 1809)
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [8002@from-internal:1] Set("SIP/8001-00000002", "__RINGTIMER=15") in new stack
-- Executing [8002@from-internal:2] Macro("SIP/8001-00000002", "exten-vm,novm,8002,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/8001-00000002", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/8001-00000002", "TOUCH_MONITOR=1475821418.2") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/8001-00000002", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/8001-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/8001-00000002", "1?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/8001-00000002", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/8001-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/8001-00000002", "AMPUSERCIDNAME=Doorbell") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/8001-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/8001-00000002", "AMPUSERCID=8001") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/8001-00000002", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/8001-00000002", "CALLERID(all)="Doorbell" <8001>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/8001-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/8001-00000002", "0?Set(GROUP(concurrency_limit)=8001)") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/8001-00000002", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/8001-00000002", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/8001-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,27)
-- Executing [s@macro-user-callerid:27] Set("SIP/8001-00000002", "CALLERID(number)=8001") in new stack
-- Executing [s@macro-user-callerid:28] Set("SIP/8001-00000002", "CALLERID(name)=Doorbell") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("SIP/8001-00000002", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/8001-00000002", "CDR(cnam)=Doorbell") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/8001-00000002", "CDR(cnum)=8001") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/8001-00000002", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/8001-00000002", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/8001-00000002", "__EXTTOCALL=8002") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/8001-00000002", "__PICKUPMARK=8002") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/8001-00000002", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/8001-00000002", "sub-record-check,s,1(exten,8002,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/8001-00000002", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/8001-00000002", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/8001-00000002", "NOW=1475821418") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/8001-00000002", "__DAY=07") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/8001-00000002", "__MONTH=10") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/8001-00000002", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/8001-00000002", "__TIMESTR=20161007-172338") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/8001-00000002", "__FROMEXTEN=8001") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/8001-00000002", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/8001-00000002", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/8001-00000002", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/8001-00000002", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/8001-00000002", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/8001-00000002", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/8001-00000002", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/8001-00000002", "Exten Recording Check between 8001 and 8002") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/8001-00000002", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/8001-00000002", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/8001-00000002", "CALLEE=dontcare") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/8001-00000002", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/8001-00000002", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/8001-00000002", "1?caller") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/8001-00000002", "RECMODE=dontcare") in new stack
-- Executing [exten@sub-record-check:14] ExecIf("SIP/8001-00000002", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:15] ExecIf("SIP/8001-00000002", "1?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:16] Gosub("SIP/8001-00000002", "recordcheck,1(dontcare,internal,8002)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/8001-00000002", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/8001-00000002", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/8001-00000002", "") in new stack
-- Executing [exten@sub-record-check:17] Return("SIP/8001-00000002", "") in new stack
-- Executing [s@macro-exten-vm:7] GotoIf("SIP/8001-00000002", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,13)
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/8001-00000002", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:14] Macro("SIP/8001-00000002", "dial-one,,Ttr,8002") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/8001-00000002", "DEXTEN=8002") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/8001-00000002", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/8001-00000002", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/8001-00000002", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/8001-00000002", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/8001-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/8001-00000002", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/8001-00000002", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/8001-00000002", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/8001-00000002", "0?next3:continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/8001-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/8001-00000002", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/8001-00000002", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/8001-00000002", "DEVICES=8002") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/8001-00000002", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/8001-00000002", "0?Set(DEVICES=002)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/8001-00000002", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/8001-00000002", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/8001-00000002", "THISDIAL=SIP/8002") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/8001-00000002", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/8001-00000002", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/8001-00000002", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/8001-00000002", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/8001-00000002", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/8001-00000002", "THISPART2=SIP/8002") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/8001-00000002", "0?Set(THISPART2=DAHDI/8002)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/8001-00000002", "NEWDIAL=SIP/8002&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/8001-00000002", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/8001-00000002", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/8001-00000002", "THISDIAL=SIP/8002") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/8001-00000002", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/8001-00000002", "1?docheck") in new stack
-- Goto (macro-dial-one,dstring,12)
-- Executing [dstring@macro-dial-one:12] GotoIf("SIP/8001-00000002", "0?skipset") in new stack
-- Executing [dstring@macro-dial-one:13] Set("SIP/8001-00000002", "DSTRING=SIP/8002&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("SIP/8001-00000002", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/8001-00000002", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("SIP/8001-00000002", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/8001-00000002", "DSTRING=SIP/8002") in new stack
-- Executing [dstring@macro-dial-one:18] Return("SIP/8001-00000002", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/8001-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/8001-00000002", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/8001-00000002", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/8001-00000002", "DB(CALLTRACE/8002)=8001") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/8001-00000002", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/8001-00000002", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] NoOp("SIP/8001-00000002", "Blind Transfer: , Attended Transfer: , User: 8001, Alert Info: ") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/8001-00000002", "1?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/8001-00000002", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:34] ExecIf("SIP/8001-00000002", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:35] GosubIf("SIP/8001-00000002", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:36] ExecIf("SIP/8001-00000002", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:37] GosubIf("SIP/8001-00000002", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:38] Set("SIP/8001-00000002", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:39] Set("SIP/8001-00000002", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:40] GotoIf("SIP/8001-00000002", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:41] GotoIf("SIP/8001-00000002", "0?godial") in new stack
-- Executing [s@macro-dial-one:42] Gosub("SIP/8001-00000002", "sub-presencestate-display,s,1(8002)") in new stack
-- Executing [s@sub-presencestate-display:1] Goto("SIP/8001-00000002", "state-not_set,1") in new stack
-- Goto (sub-presencestate-display,state-not_set,1)
-- Executing [state-not_set@sub-presencestate-display:1] Set("SIP/8001-00000002", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-not_set@sub-presencestate-display:2] Return("SIP/8001-00000002", "") in new stack
-- Executing [s@macro-dial-one:43] Set("SIP/8001-00000002", "CONNECTEDLINE(name,i)=Petar") in new stack
-- Executing [s@macro-dial-one:44] Set("SIP/8001-00000002", "CONNECTEDLINE(num)=8002") in new stack
-- Executing [s@macro-dial-one:45] Set("SIP/8001-00000002", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:46] Macro("SIP/8001-00000002", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/8001-00000002", "") in new stack
-- Executing [s@macro-dial-one:47] ExecIf("SIP/8001-00000002", "0?Set(D_OPTIONS=trII)") in new stack
-- Executing [s@macro-dial-one:48] Dial("SIP/8001-00000002", "SIP/8002,,TtrIb(func-apply-sipheaders^s^1)") in new stack
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- SIP/8002-00000003 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] NoOp("SIP/8002-00000003", "Applying SIP Headers to channel") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("SIP/8002-00000003", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:3] While("SIP/8002-00000003", "0") in new stack
-- Jumping to priority 6
-- Executing [s@func-apply-sipheaders:7] Return("SIP/8002-00000003", "") in new stack
== Spawn extension (from-internal, 8002, 1) exited non-zero on 'SIP/8002-00000003'
-- SIP/8002-00000003 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called SIP/8002
-- Connected line update to SIP/8001-00000002 prevented.
-- SIP/8002-00000003 is ringing
> 0x76309258 -- Probation passed - setting RTP source address to 192.168.1.181:50916
-- Connected line update to SIP/8001-00000002 prevented.
-- SIP/8002-00000003 answered SIP/8001-00000002
-- Channel SIP/8002-00000003 joined 'simple_bridge' basic-bridge <9c551526-23f7-4817-8ce9-b625136aeade>
-- Channel SIP/8001-00000002 joined 'simple_bridge' basic-bridge <9c551526-23f7-4817-8ce9-b625136aeade>
> 0x76309258 -- Probation passed - setting RTP source address to 192.168.1.181:50916
> 0x7630bbb0 -- Probation passed - setting RTP source address to 192.168.1.181:52242
> 0x75f09c10 -- Probation passed - setting RTP source address to 192.168.1.110:20000
> 0x75f069d0 -- Probation passed - setting RTP source address to 192.168.1.110:20001
-- Channel SIP/8002-00000003 left 'simple_bridge' basic-bridge <9c551526-23f7-4817-8ce9-b625136aeade>
-- Channel SIP/8001-00000002 left 'simple_bridge' basic-bridge <9c551526-23f7-4817-8ce9-b625136aeade>
== Spawn extension (macro-dial-one, s, 48) exited non-zero on 'SIP/8001-00000002' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/8001-00000002' in macro 'exten-vm'
== Spawn extension (from-internal, 8002, 2) exited non-zero on 'SIP/8001-00000002'
-- Executing [h@from-internal:1] Macro("SIP/8001-00000002", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-00000002", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/8001-00000002", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/8001-00000002", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/8001-00000002' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/8001-00000002'