Page 1 of 1

Support

PostPosted: Tue Feb 20, 2024 9:38 am
by avion
Hi, I am new at vicidial.
1) The problem i am facing is when the agent dials a phone number (10 digits), the digit 9 appears at the end of the number dialed making it 11 digits. Thus, fails to connect. For instance, I dialed 6162323075 (10 digits) and the dialer tries to connect with 61623230759 (11 digits).
2) Strangely, if the last digit of the phone number is 9, then the dialer does not add the 11th digit, however, fails to connect nor does the softphone ring even in this case.

the asterisk cli for 1 is
[Feb 20 17:15:05] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 20 17:15:05] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 20 17:15:05] -- Called 58600051@default
[Feb 20 17:15:05] -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000003;2", "8600051,Fmq") in new stack
[Feb 20 17:15:05] -- Local/58600051@default-00000003;1 answered
[Feb 20 17:15:05] -- Executing [8309@default:1] Answer("Local/58600051@default-00000003;1", "") in new stack
[Feb 20 17:15:05] -- Executing [8309@default:2] Monitor("Local/58600051@default-00000003;1", "wav,20240220-171420_61623230759") in new stack
[Feb 20 17:15:05] -- Executing [8309@default:3] Wait("Local/58600051@default-00000003;1", "3600") in new stack
[Feb 20 17:15:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 20 17:15:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 20 17:15:07] == Manager 'sendcron' logged on from 127.0.0.1

The asterisk cli for 2 is
[Feb 20 16:33:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 20 16:33:06] -- Called 58600051@default
[Feb 20 16:33:06] -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000002;2", "8600051,Fmq") in new stack
[Feb 20 16:33:06] -- Local/58600051@default-00000002;1 answered
[Feb 20 16:33:06] -- Executing [8309@default:1] Answer("Local/58600051@default-00000002;1", "") in new stack
[Feb 20 16:33:06] -- Executing [8309@default:2] Monitor("Local/58600051@default-00000002;1", "wav,20240220-163250_8477771179") in new stack
[Feb 20 16:33:06] -- Executing [8309@default:3] Wait("Local/58600051@default-00000002;1", "3600") in new stack
[Feb 20 16:33:06] == Manager 'sendcron' logged on from 127.0.0.1


Account Entry
[testcarrier]
disallow=all
allow=ulaw
type=friend
username=testcarrier
secret=#
host=dynamic
dtmfmode=rfc2833
context=trunkinbound

register => newsip:#@serverip:5060

Dial Plan
exten => _9001NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9001NXXNXXXXXX,2,Dial(newsip:#@serverip:5060/${EXTEN:1},,tTor)
exten => _9001NXXNXXXXXX,3,Hangup
Campaign Dial plan=x

System
VICIBOX_11 (express) iso installed
Version 2.14
Asterisk 16



Please Assist.

Re: Support

PostPosted: Thu Feb 22, 2024 12:26 pm
by dreedy
I think you are trying to remove the dial prefix. so at present the EXTEN:1 will only remove the first digit. i think it should look like this.

Dial Plan
exten => _9001NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9001NXXNXXXXXX,2,Dial(newsip:#@serverip:5060/${EXTEN:4},,tTor)
exten => _9001NXXNXXXXXX,3,Hangup

Re: Support

PostPosted: Thu Feb 22, 2024 12:36 pm
by dreedy
oops i think i goofed a bit. This should be correct. Your are looking to remove the first 3 digits from the dialplan.

exten => _9001NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9001NXXNXXXXXX,2,Dial(newsip:#@serverip:5060/${EXTEN:3},,tTor)
exten => _9001NXXNXXXXXX,3,Hangup