Hello Asterisk Support,
Hope you are doing well.
I need your support on this, How to Automatically Dial Extension on Smart Phone like Android and iOS.
Let me brief you my requirement, I have one Virtual Number that is mapped in different Promotion platform, now I need to know the real time traffic analysis using the same virtual number, Is there any alternate way to get it from the Single Virtual number if so Please share?
When Customer call on Virtual Number or DID it has terminated to our Asterisk Calling Server and call patch to agent via Asterisk Outgoing Function but in this scenario we can’t get call conversion analysis via single Virtual number or DID, We need to know the exact call ratio from different promotion platforms, like Google, Facebook, YouTube etc.
I got one solution to fetch this problem in real time that we called it Automatically Dial Extension using Smart Phone , for more details go this URL https://www.lifewire.com/automatically-dialing-extensions-on-android-577619
I am using below dial plan
[incoming]
exten => _X.,1,Gosub(To-Auto-Dial-Exten,s,1)
[To-Auto-Dial-Exten]
exten => s,1,Set(date_time=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}) same => n,Set(exten_number=${SIP_HEADER(To)}) same => n,Set(k_number=${CUT(CUT(SIP_HEADER(To),@,1),:,2)}) same => n,NoOp(${EXTEN} is Running ) same => n,Progress() same => n,Answer() same => n,WaitExten() same => n,Playback(welcome) same => n,Hangup()
exten => _X.,1,NoOp(${EXTEN} is Running ) same => n,Playback(digits/0) same => n,NoOp(Promotion Platform Name is ${EXTEN}) same => n,Hangup() exten => h,1,NoOp(All Time Hangup in Any calls) same => n,NoOp(Custom API will run in this context ) same => n,Hangup()
Here problem is WaitExten() took time and customer has to wait to talk with agent, I need to overcome this time lag
Example : Dial in this Format 10DigitMobileNumber,EXTEN
9891005409,1001 [First string is 10 digit number after Comma 4 digit extension ]
Please help on this