Sorry for the delay. And thanks for your replies.
Brief, I enabled the debug and extracted the log, but I didn’t really figure out the real cause for this. But, I can remark some things might help:
1- what’s happening is that the server is in delay !!! . As the call waiting in queue and just delivered to the specific available agent (decision which available agent, dial that agent ::: happens in some ms) ; its soft-phone answer the call in time (0-1 second delay) , but Asterisk still see the agent in Ringing State for 3-4 seconds (very strange) before it figure that the call was answered and begin send audio RTP trams. (and of course I checked out that several times).
2- Simple calls:
**In internal calls between agents, I tried simple internal call :
- (agent in north Africa site) —> to (agent from Serbia site) : there is delay :: second side answer in time but the first side has delay of 3-4 seconds (Ringing for 3-4s). ( not acceptable)
- (agent from Serbia site) —> to (agent in north Africa site) : there is delay :: second side answer in time but the first side has delay of 0-1 seconds (Ringing for 0-1s). (acceptable)
** Simple outbound call from Serbia Site: delay of 0-1 seconds between caller and callee (Ringing for 0-1s). (acceptable)
====> I think there is a delay one side server specially “Server —> Agents” not “Agents ----> server” !
3- This is the important : here is the debug log for one case using the queue from Serbia Site:
[2016-06-21 10:58:00.648] VERBOSE[27398][C-00001e36] app_queue.c: Called Local/1011@from-queue/n
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [1011@from-queue:1] Set(“Local/1011@from-queue-000000c8;2”, “QAGENT=1011”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [1011@from-queue:2] Goto(“Local/1011@from-queue-000000c8;2”, “104,1”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Goto (from-queue,104,1)
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [104@from-queue:1] Goto(“Local/1011@from-queue-000000c8;2”, “from-internal,1011,1”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Goto (from-internal,1011,1)
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [1011@from-internal:1] Set(“Local/1011@from-queue-000000c8;2”, “__RINGTIMER=15”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [1011@from-internal:2] Macro(“Local/1011@from-queue-000000c8;2”, “exten-vm,novm,1011,0,0,0”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:1] Macro(“Local/1011@from-queue-000000c8;2”, “user-callerid,”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:1] Set(“Local/1011@from-queue-000000c8;2”, “TOUCH_MONITOR=1466499480.10270”) in new stack
[2016-06-21 10:58:00.648] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:2] Set(“Local/1011@from-queue-000000c8;2”, “AMPUSER=Rached@0021673656042@27_3@141”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?report”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-user-callerid,s,16)
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:16] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?continue”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:17] Set(“Local/1011@from-queue-000000c8;2”, “__TTL=63”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?continue”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-user-callerid,s,29)
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:29] Set(“Local/1011@from-queue-000000c8;2”, “CALLERID(number)=Rached@0021673656042@27_3@141”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:30] Set(“Local/1011@from-queue-000000c8;2”, “CALLERID(name)=Dialer”) in new stack
[2016-06-21 10:58:00.649] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:31] Set(“Local/1011@from-queue-000000c8;2”, “CDR(cnum)=Rached@0021673656042@27_3@141”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:32] Set(“Local/1011@from-queue-000000c8;2”, “CDR(cnam)=Dialer”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-user-callerid:33] Set(“Local/1011@from-queue-000000c8;2”, “CHANNEL(language)=en”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:2] Set(“Local/1011@from-queue-000000c8;2”, “RingGroupMethod=none”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:3] Set(“Local/1011@from-queue-000000c8;2”, “__EXTTOCALL=1011”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:4] Set(“Local/1011@from-queue-000000c8;2”, “__PICKUPMARK=1011”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:5] Set(“Local/1011@from-queue-000000c8;2”, “RT=”) in new stack
[2016-06-21 10:58:00.690] WARNING[28580][C-00001e36] chan_sip.c: This function can only be used on SIP channels.
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:6] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2016-06-21 10:58:00.690] WARNING[28580][C-00001e36] chan_sip.c: This function can only be used on SIP channels.
[2016-06-21 10:58:00.690] WARNING[28580][C-00001e36] chan_sip.c: This function can only be used on SIP channels.
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:7] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?MacroExit()”) in new stack
[2016-06-21 10:58:00.690] WARNING[28580][C-00001e36] chan_sip.c: This function can only be used on SIP channels.
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:8] Gosub(“Local/1011@from-queue-000000c8;2”, “sub-record-check,s,1(exten,1011,dontcare)”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:1] GotoIf(“Local/1011@from-queue-000000c8;2”, “29?initialized”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Goto (sub-record-check,s,10)
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:10] NoOp(“Local/1011@from-queue-000000c8;2”, “Recordings initialized”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:11] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(ARG3=dontcare)”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:12] Set(“Local/1011@from-queue-000000c8;2”, “REC_POLICY_MODE_SAVE=YES”) in new stack
[2016-06-21 10:58:00.690] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:13] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(REC_STATUS=NO)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:14] GotoIf(“Local/1011@from-queue-000000c8;2”, “5?checkaction”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Goto (sub-record-check,s,17)
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@sub-record-check:17] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?sub-record-check,exten,1”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Goto (sub-record-check,exten,1)
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:1] NoOp(“Local/1011@from-queue-000000c8;2”, “Exten Recording Check between Rached@0021673656042@27_3@141 and 1011”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:2] Set(“Local/1011@from-queue-000000c8;2”, “CALLTYPE=internal”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:3] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(CALLTYPE=)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:4] Set(“Local/1011@from-queue-000000c8;2”, “CALLEE=yes”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:5] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(CALLEE=dontcare)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:6] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?callee”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:7] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?caller”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:8] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(CALLER_PRI=):Set(CALLER_PRI=0)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:9] ExecIf(“Local/1011@from-queue-000000c8;2”, “2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:10] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?caller:callee”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Goto (sub-record-check,exten,11)
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:11] Gosub(“Local/1011@from-queue-000000c8;2”, “recordcheck,1(yes,internal,1011)”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“Local/1011@from-queue-000000c8;2”, “Starting recording check against yes”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“Local/1011@from-queue-000000c8;2”, “yes”) in new stack
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Goto (sub-record-check,recordcheck,9)
[2016-06-21 10:58:00.691] VERBOSE[28580][C-00001e36] pbx.c: Executing [recordcheck@sub-record-check:9] ExecIf(“Local/1011@from-queue-000000c8;2”, “1?Return()”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [exten@sub-record-check:12] Return(“Local/1011@from-queue-000000c8;2”, “”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:9] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?macrodial”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-exten-vm,s,15)
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:15] GosubIf(“Local/1011@from-queue-000000c8;2”, “0?clrheader,1()”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-exten-vm:16] Macro(“Local/1011@from-queue-000000c8;2”, “dial-one,TtrM(auto-blkvm),1011”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:1] Set(“Local/1011@from-queue-000000c8;2”, “DEXTEN=1011”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:2] Set(“Local/1011@from-queue-000000c8;2”, “DIALSTATUS_CW=”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:3] GosubIf(“Local/1011@from-queue-000000c8;2”, “0?screen,1()”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:4] GosubIf(“Local/1011@from-queue-000000c8;2”, “0?cf,1()”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:5] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?skip1”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,8)
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:8] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?nodial”) in new stack
[2016-06-21 10:58:00.692] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:9] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?continue”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:10] Set(“Local/1011@from-queue-000000c8;2”, “EXTHASCW=”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:11] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?next1:cwinusebusy”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,12)
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:12] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?docfu:skip3”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,16)
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:16] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?next2:continue”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,17)
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:17] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?continue”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,25)
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:25] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?nodial”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:26] GosubIf(“Local/1011@from-queue-000000c8;2”, “1?dstring,1():dlocal,1()”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:1] Set(“Local/1011@from-queue-000000c8;2”, “DSTRING=”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:2] Set(“Local/1011@from-queue-000000c8;2”, “DEVICES=1011”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Return()”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(DEVICES=011)”) in new stack
[2016-06-21 10:58:00.693] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:5] Set(“Local/1011@from-queue-000000c8;2”, “LOOPCNT=1”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:6] Set(“Local/1011@from-queue-000000c8;2”, “ITER=1”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:7] Set(“Local/1011@from-queue-000000c8;2”, “THISDIAL=SIP/1011”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:8] GosubIf(“Local/1011@from-queue-000000c8;2”, “1?zap2dahdi,1()”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:1] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Return()”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:2] Set(“Local/1011@from-queue-000000c8;2”, “NEWDIAL=”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:3] Set(“Local/1011@from-queue-000000c8;2”, “LOOPCNT2=1”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:4] Set(“Local/1011@from-queue-000000c8;2”, “ITER2=1”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:5] Set(“Local/1011@from-queue-000000c8;2”, “THISPART2=SIP/1011”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:6] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Set(THISPART2=DAHDI/1011)”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:7] Set(“Local/1011@from-queue-000000c8;2”, “NEWDIAL=SIP/1011&”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:8] Set(“Local/1011@from-queue-000000c8;2”, “ITER2=2”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:9] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?begin2”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:10] Set(“Local/1011@from-queue-000000c8;2”, “THISDIAL=SIP/1011”) in new stack
[2016-06-21 10:58:00.694] VERBOSE[28580][C-00001e36] pbx.c: Executing [zap2dahdi@macro-dial-one:11] Return(“Local/1011@from-queue-000000c8;2”, “”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:9] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?doset”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,dstring,13)
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:13] Set(“Local/1011@from-queue-000000c8;2”, “DSTRING=SIP/1011&”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:14] Set(“Local/1011@from-queue-000000c8;2”, “ITER=2”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:15] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?begin”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:16] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?Return()”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:17] Set(“Local/1011@from-queue-000000c8;2”, “DSTRING=SIP/1011”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [dstring@macro-dial-one:18] Return(“Local/1011@from-queue-000000c8;2”, “”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:27] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?nodial”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:28] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?skiptrace”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:29] GosubIf(“Local/1011@from-queue-000000c8;2”, “0?ctset,1():ctclear,1()”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [ctclear@macro-dial-one:1] NoOp(“Local/1011@from-queue-000000c8;2”, "Deleting: CALLTRACE/1011 ") in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [ctclear@macro-dial-one:2] Return(“Local/1011@from-queue-000000c8;2”, “”) in new stack
[2016-06-21 10:58:00.695] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:30] Set(“Local/1011@from-queue-000000c8;2”, “D_OPTIONS=TtrM(auto-blkvm)”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:31] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:32] ExecIf(“Local/1011@from-queue-000000c8;2”, “0?SIPAddHeader()”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:33] ExecIf(“Local/1011@from-queue-000000c8;2”, “1?Set(CHANNEL(musicclass)=none)”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:34] GosubIf(“Local/1011@from-queue-000000c8;2”, “0?qwait,1()”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:35] Set(“Local/1011@from-queue-000000c8;2”, “__CWIGNORE=TRUE”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:36] Set(“Local/1011@from-queue-000000c8;2”, “__KEEPCID=TRUE”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:37] GotoIf(“Local/1011@from-queue-000000c8;2”, “0?usegoto,1”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:38] GotoIf(“Local/1011@from-queue-000000c8;2”, “1?godial”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Goto (macro-dial-one,s,43)
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:43] Macro(“Local/1011@from-queue-000000c8;2”, “dialout-one-predial-hook,”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“Local/1011@from-queue-000000c8;2”, “”) in new stack
[2016-06-21 10:58:00.696] VERBOSE[28580][C-00001e36] pbx.c: Executing [s@macro-dial-one:44] Dial(“Local/1011@from-queue-000000c8;2”, “SIP/1011,TtrM(auto-blkvm)”) in new stack
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] netsock2.c: Using SIP RTP TOS bits 184
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] netsock2.c: Using SIP RTP CoS mark 5
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Audio is at 13380
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Adding codec ulaw to SDP
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Adding codec alaw to SDP
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Adding codec gsm to SDP
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Adding codec g722 to SDP
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] chan_sip.c: Reliably Transmitting (NAT) to 93.87.73.66:3000:
INVITE sip:1011@93.87.73.66:3000;rinstance=651969a588434b71 SIP/2.0
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK3f2c7472;rport
Max-Forwards: 70
From: “Dialer” sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
Contact: sip:Rached%400021673656042%4027_3%40141@ServerIP:5060
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 INVITE
User-Agent: FPBX-12.0.69(13.4.0)
Date: Tue, 21 Jun 2016 08:58:00 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 320
v=0
o=root 65914998 65914998 IN IP4 ServerIP
s=Asterisk PBX 13.4.0
c=IN IP4 ServerIP
t=0 0
m=audio 13380 RTP/AVP 0 8 3 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
[2016-06-21 10:58:00.710] VERBOSE[28580][C-00001e36] app_dial.c: Called SIP/1011
[2016-06-21 10:58:00.711] VERBOSE[27398][C-00001e36] app_queue.c: Local/1011@from-queue-000000c8;1 is ringing
[2016-06-21 10:58:00.810] VERBOSE[3695] chan_sip.c: Retransmitting #1 (NAT) to 93.87.73.66:3000:
INVITE sip:1011@93.87.73.66:3000;rinstance=651969a588434b71 SIP/2.0
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK3f2c7472;rport
Max-Forwards: 70
From: “Dialer” sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
Contact: sip:Rached%400021673656042%4027_3%40141@ServerIP:5060
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 INVITE
User-Agent: FPBX-12.0.69(13.4.0)
Date: Tue, 21 Jun 2016 08:58:00 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 320
v=0
o=root 65914998 65914998 IN IP4 ServerIP
s=Asterisk PBX 13.4.0
c=IN IP4 ServerIP
t=0 0
m=audio 13380 RTP/AVP 0 8 3 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
**[2016-06-21 10:58:00.855] VERBOSE[3695] chan_sip.c: **
<— SIP read from UDP:93.87.73.66:3000 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK3f2c7472;rport=5060
Contact: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71;tag=5f58d869
From: "Dialer"sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 INVITE
User-Agent: eyeBeam release 1003s stamp 31159
Content-Length: 0
<------------->
[2016-06-21 10:58:00.855] VERBOSE[3695] chan_sip.c: — (9 headers 0 lines) —
[2016-06-21 10:58:00.855] VERBOSE[3695][C-00001e36] sip/route.c: sip_route_dump: route/path hop: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
[2016-06-21 10:58:00.855] VERBOSE[28580][C-00001e36] app_dial.c: SIP/1011-0000048a is ringing
[2016-06-21 10:58:00.855] VERBOSE[27398][C-00001e36] app_queue.c: Local/1011@from-queue-000000c8;1 is ringing
**[2016-06-21 10:58:00.855] VERBOSE[3695] chan_sip.c: **
<— SIP read from UDP:93.87.73.66:3000 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK3f2c7472;rport=5060
Contact: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71;tag=5f58d869
From: "Dialer"sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 INVITE
User-Agent: eyeBeam release 1003s stamp 31159
Content-Length: 0
<------------->
[2016-06-21 10:58:00.855] VERBOSE[3695] chan_sip.c: — (9 headers 0 lines) —
[2016-06-21 10:58:00.855] VERBOSE[3695][C-00001e36] sip/route.c: sip_route_dump: route/path hop: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
[2016-06-21 10:58:00.855] VERBOSE[28580][C-00001e36] app_dial.c: SIP/1011-0000048a is ringing
[2016-06-21 10:58:03.301] VERBOSE[3695] chan_sip.c: Reliably Transmitting (NAT) to 93.87.73.66:3000:
OPTIONS sip:1011@93.87.73.66:3000;rinstance=651969a588434b71 SIP/2.0
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK10451f15;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@ServerIP;tag=as2fefbe95
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
Contact: sip:Unknown@ServerIP:5060
Call-ID: 57fa9c8407fb346b10cdf41a266b1490@ServerIP:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.69(13.4.0)
Date: Tue, 21 Jun 2016 08:58:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
[2016-06-21 10:58:03.450] VERBOSE[3695] chan_sip.c:
<— SIP read from UDP:93.87.73.66:3000 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK10451f15;rport=5060
Contact: sip:93.87.73.66:3000
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71;tag=d205d01a
From: "Unknown"sip:Unknown@ServerIP;tag=as2fefbe95
Call-ID: 57fa9c8407fb346b10cdf41a266b1490@ServerIP:5060
CSeq: 102 OPTIONS
Accept: application/sdp
Accept-Language: en
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: eyeBeam release 1003s stamp 31159
Content-Length: 0
<------------->
[2016-06-21 10:58:03.450] VERBOSE[3695] chan_sip.c: — (12 headers 0 lines) —
[2016-06-21 10:58:03.450] VERBOSE[3695] chan_sip.c: Really destroying SIP dialog ‘57fa9c8407fb346b10cdf41a266b1490@ServerIP:5060’ Method: OPTIONS
[2016-06-21 10:58:03.450] VERBOSE[3695] chan_sip.c:
<— SIP read from UDP:93.87.73.66:3000 —>
<------------->
[2016-06-21 10:58:03.870] VERBOSE[3695] chan_sip.c:
<— SIP read from UDP:93.87.73.66:11504 —>
<------------->
**[2016-06-21 10:58:04.654] VERBOSE[3695] chan_sip.c: **
<— SIP read from UDP:93.87.73.66:3000 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK3f2c7472;rport=5060
Contact: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71;tag=5f58d869
From: "Dialer"sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1003s stamp 31159
Content-Length: 236
v=0
o=- 1 2 IN IP4 93.87.73.66
s=CounterPath eyeBeam 1.5
c=IN IP4 93.87.73.66
t=0 0
m=audio 3612 RTP/AVP 0 8 101
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:0AB26436120E4AD0BEBEEE264A7968A7
<------------->
[2016-06-21 10:58:04.654] VERBOSE[3695] chan_sip.c: — (11 headers 10 lines) —
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Found RTP audio format 0
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Found RTP audio format 8
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Found RTP audio format 101
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Found audio description format telephone-event for ID 101
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Capabilities: us - (ulaw|alaw|gsm|g722), peer - audio=(ulaw|alaw)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Peer audio RTP is at port 93.87.73.66:3612
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] sip/route.c: sip_route_dump: route/path hop: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71
[2016-06-21 10:58:04.654] VERBOSE[3695][C-00001e36] chan_sip.c: Transmitting (NAT) to 93.87.73.66:3000:
ACK sip:1011@93.87.73.66:3000;rinstance=651969a588434b71 SIP/2.0
Via: SIP/2.0/UDP ServerIP:5060;branch=z9hG4bK6c5c8e75;rport
Max-Forwards: 70
From: “Dialer” sip:Rached%400021673656042%4027_3%40141@ServerIP;tag=as5315bd90
To: sip:1011@93.87.73.66:3000;rinstance=651969a588434b71;tag=5f58d869
Contact: sip:Rached%400021673656042%4027_3%40141@ServerIP:5060
Call-ID: 6408233662f25de6272ce73147908dec@ServerIP:5060
CSeq: 102 ACK
User-Agent: FPBX-12.0.69(13.4.0)
Content-Length: 0
[2016-06-21 10:58:04.654] VERBOSE[28580][C-00001e36] app_dial.c: SIP/1011-0000048a answered Local/1011@from-queue-000000c8;2
As I remarked, in the 3-4 s delay in which the extension is ringing ( % Asterisk server), there is no log , no feedback from agent Softphone, Is that normal ?
I really don’t know weather the cause is from agent softphone not sending answering feedback or the problem with Asterisk server not treating/showing softphone feedback in real time!!
Please have you any ideas about that ??
Thanks in advance.