DailPlan Entry
Added by Anonymous about 10 years ago
Hi,
I am unsuccessful in dialing automatically or manually. I am trying to call Swedish and Norwegian numbers. I have set the campaigns to Auto Dial mode. This is what happens:
- Log in as an agent.
- Receive the call on X-lite and answer the call telling me that you are the only one in the conference as stated in the guide.
- Click on resume and nothing happens. I have leads waiting in the hopper.
When I pause and try to dial manually, I set the country code and insert the phone number. Tells me 'Waiting for ring' until it times out. I think the problem is from the DialPlan entry.
The following is for Swedish numbers. It's the default when creating the carrier. I tried with 46, 46XXXXXXXXX, 0046, 0046XXXXXXXX, random number before the prefix for the campaign since I read other posts (can you just set any number you want?). Can anyone please explain which format is correct and what AGI, Dial and Hangup signify?
Dialplan Entry
exten => _9866611764.,1,AGI
exten => _9866611764.,2,Dial(SIP/${EXTEN:10}@Sweden,,tTo)
exten => _9866611764.,3,Hangup
Account Entry
[Sweden]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=sip.telavox.se
Another thing I tried if it is even supposed to work is to dial the number from within X-lite and Telephone (Mac). On telephone I get 'Forbidden' and on X-lite 'Failed to establish Call'.
Thanks for the help.
Replies (4)
RE: DailPlan Entry
-
Added by Jefferson Varias about 10 years ago
Hi,
Have you tried asking your voip provider if they are receiving your calls? Please post your asterisk cli logs while making a call. AGI, Dial and Hangup are asterisk applications, you can visit asterisk documentation web site for more information.
Thanks
RE: DailPlan Entry
-
Added by striker 247 almost 10 years ago
post your cli log while doing autodial and manual dial from agent panel.
what is your asterisk version (asterisk -rx "core show version")
and check what version showing in ADMIN--server-asteriskversion.
if it shows 1.4 then change it to 1.8
br
striker
www.striker24x7.blogspot.com
RE: DailPlan Entry
-
Added by Anonymous almost 10 years ago
Hi,
So I managed to make manual dial calls to Norwegian numbers. Thanks to the rasterisk command I am able to see what is happening during the call. In the dial plan entry I typed 0047 but what was happening is that it added another 47 so it became 004747 before the local number. When adding a new campaign, it asks you for the country code so I just typed 00 in the dial plan entry and it works.
Here is a log of a successful manual dial call:
Connected to Asterisk 1.8.23.0-1_centos7.go RPM by [email protected] currently running on CentOS-71-64-minimal (pid = 8993) Verbosity is at least 3 == Manager 'sendcron' logged on from 127.0.0.1 -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000038;2", "8600051,F") in new stack -- Executing [004797718208@default:1] AGI("Local/8600051@default-00000038;1", "agi://127.0.0.1:4577/call_log") in new stack == Manager 'sendcron' logged off from 127.0.0.1 -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=NORWAY)) -- <Local/8600051@default-00000038;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing [004797718208@default:2] Dial("Local/8600051@default-00000038;1", "SIP/97718208@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/97718208@Norway -- SIP/Norway-000000dc is making progress passing it to Local/8600051@default-00000038;1 [May 29 09:20:49] NOTICE[12166]: chan_sip.c:25829 handle_request_register: Registration from '"10818" <sip:[email protected]:5060>' failed for '212.83.171.95:5090' - Wrong password -- SIP/Norway-000000dc answered Local/8600051@default-00000038;1 == Manager 'sendcron' logged on from 127.0.0.1 == Manager 'sendcron' logged on from 127.0.0.1 == Manager 'sendcron' logged off from 127.0.0.1 == Manager 'sendcron' logged off from 127.0.0.1 == Manager 'sendcron' logged on from 127.0.0.1 -- Executing [h@default:1] AGI("Local/8600051@default-00000038;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----4") in new stack == Manager 'sendcron' logged off from 127.0.0.1 -- <Local/8600051@default-00000038;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----4 completed, returning 0 -- Executing [h@default:2] Dial("Local/8600051@default-00000038;1", "SIP/@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/@Norway == Spawn extension (default, h, 2) exited non-zero on 'Local/8600051@default-00000038;1' == Spawn extension (default, 004797718208, 2) exited non-zero on 'Local/8600051@default-00000038;1' == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000038;2' -- Executing [h@default:1] AGI("Local/8600051@default-00000038;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack -- <Local/8600051@default-00000038;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0 -- Executing [h@default:2] Dial("Local/8600051@default-00000038;2", "SIP/@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/@Norway == Spawn extension (default, h, 2) exited non-zero on 'Local/8600051@default-00000038;2'
But when trying to autodial, it is not working. Getting Forbidden.
== Manager 'sendcron' logged on from 127.0.0.1 -- Executing [004790690699@default:1] AGI("Local/004790690699@default-0000003c;2", "agi://127.0.0.1:4577/call_log") in new stack -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=NORWAY)) -- <Local/004790690699@default-0000003c;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing [004790690699@default:2] Dial("Local/004790690699@default-0000003c;2", "SIP/90690699@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/90690699@Norway -- SIP/Norway-000000e9 is making progress passing it to Local/004790690699@default-0000003c;2 [May 29 09:29:35] NOTICE[12166]: chan_sip.c:25829 handle_request_register: Registration from '"18" <sip:[email protected]:5060>' failed for '212.83.171.95:5080' - Wrong password -- SIP/Norway-000000e9 answered Local/004790690699@default-0000003c;2 -- Executing [8369@default:1] Playback("Local/004790690699@default-0000003c;1", "sip-silence") in new stack == Manager 'sendcron' logged off from 127.0.0.1 -- <Local/004790690699@default-0000003c;1> Playing 'sip-silence.gsm' (language 'en') -- Executing [h@default:1] AGI("Local/004790690699@default-0000003c;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----29-----0") in new stack -- Executing [8369@default:2] AGI("SIP/Norway-000000e9", "agi://127.0.0.1:4577/call_log") in new stack -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=NORWAY)) -- <SIP/Norway-000000e9>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing [8369@default:3] AMD("SIP/Norway-000000e9", "2000,2000,1000,5000,120,50,4,256") in new stack -- AMD: SIP/Norway-000000e9 Startfirma (N/A) (Fmt: slin) -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000] -- AMD: Channel [SIP/Norway-000000e9]. Changed state to STATE_IN_SILENCE -- AMD: Channel [SIP/Norway-000000e9]. Word detected. iWordsCount:1 -- AMD: Channel [SIP/Norway-000000e9]. Detected Talk, previous silence duration: 480 -- AMD: Channel [SIP/Norway-000000e9]. Detected Talk, previous silence duration: 40 -- <Local/004790690699@default-0000003c;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----29-----0 completed, returning 0 -- Executing [h@default:2] Dial("Local/004790690699@default-0000003c;2", "SIP/@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/@Norway == Spawn extension (default, h, 2) exited non-zero on 'Local/004790690699@default-0000003c;2' == Spawn extension (default, 004790690699, 2) exited non-zero on 'Local/004790690699@default-0000003c;2' [May 29 09:29:50] WARNING[12166]: chan_sip.c:21126 handle_response_invite: Received response: "Forbidden" from '"V5290929200000011444" <sip:[email protected]>;tag=as461b4632'
Thanks.
RE: DailPlan Entry
-
Added by Anonymous almost 10 years ago
After some more testing, now for autodial it is not saying 'Frobidden' anymore. This is the log:
Connected to Asterisk 1.8.23.0-1_centos7.go RPM by [email protected] currently running on CentOS-71-64-minimal (pid = 8993) Verbosity is at least 3 == Manager 'sendcron' logged on from 127.0.0.1 == Manager 'sendcron' logged off from 127.0.0.1 == Manager 'sendcron' logged on from 127.0.0.1 -- Executing [004790405102@default:1] AGI("Local/004790405102@default-00000010;2", "agi://127.0.0.1:4577/call_log") in new stack -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=NORWAY)) -- <Local/004790405102@default-00000010;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing [004790405102@default:2] Dial("Local/004790405102@default-00000010;2", "SIP/90405102@Norway,,tTo") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/90405102@Norway -- SIP/Norway-00000011 is making progress passing it to Local/004790405102@default-00000010;2 == Spawn extension (default, 004790405102, 2) exited non-zero on 'Local/004790405102@default-00000010;2' == Manager 'sendcron' logged off from 127.0.0.1 -- Executing [h@default:1] AGI("Local/004790405102@default-00000010;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack -- <Local/004790405102@default-00000010;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------- completed, returning 0
Nothing happens on the agent interface page. Fields are not shown and there is nothing next to 'Status'. Manual dial still works fine. All I have to enter is 47 in the country code and then the number.
This is the dialplan entry:
exten => _00.,1,AGI(agi://127.0.0.1:4577/call_log) exten => _00.,2,Dial(SIP/${EXTEN:2}@Norway,,tTo) exten => _00.,3,Hangup