Advertisement

06.19.2007 at 07:25PM PDT, ID: 22644990
[x]
Attachment Details

Why doesnt my asterisk dialplan ever get to the next priority after the dial command?

Asked by richardsimnett in IP PBX Systems, Voice Over IP, IP Telephony

Tags: asterisk, dialplan, dial

Hello,
I was trying to use retrydial, but did not get the result I expected so I started writing the following code but it doesnt work, it never shows the noop(${dialstatus}) or anything after it... what am I doing wrong here???  I have tried it with both priority 3, and 103 as stated on voip-info of it jumping to n+101.

BTW the number it dials as shown in the originate is a non-working #, I am using it purposely to test.

Here is the dialplan code:

[wtn] ;this context will dial a number and retry it up to 4 times
exten => wtn,1,Set(Retry=0)
exten => wtn,2,Dial(SIP/${dial}@callcentric)
exten => wtn,103,Set(Retry=$[${retry} + 1])
exten => wtn,104,Noop(${dialstatus}${retry})
exten => wtn,105,Wait(5)
exten => wtn,106,Gotoif($[${retry} <= 3}?2:107)
exten => wtn,107,Goto(wakeupcallsusa,scall,1)

Here is the CLI output:

  -- Executing Set("Local/wtn@default-a3fb,2", "Retry=0") in new stack
    -- Executing Dial("Local/wtn@default-a3fb,2", "SIP/15618281473@callcentric") in new stack
    -- Called 15618281473@callcentric
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
    -- SIP/callcentric-08378270 is making progress passing it to Local/wtn@default-a3fb,2
  == Spawn extension (default, wtn, 2) exited non-zero on 'Local/wtn@default-a3fb,2'


Here is the originate command passed into the manager api:

 Action: Originate
Channel: Local/wtn
Context: default
Exten: wakeupcall
Priority: 1
Callerid:
Timeout: 60000
Account: wakeupcallsusa
Async: yes
Variable: dial=15618281473
Variable: uid=1
Variable: recid=32
Variable: timezone=EST5EDT
Variable: calltime=2:20
Variable: iteration=1
Variable: calldate=06/20/2007

Worth 500 points.

Thanks,
RickStart Free Trial
[+][-]06.20.2007 at 05:49AM PDT, ID: 19324053

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2007 at 09:01AM PDT, ID: 19325806

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2007 at 01:00PM PDT, ID: 19327774

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2007 at 09:13PM PDT, ID: 19330585

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: IP PBX Systems, Voice Over IP, IP Telephony
Tags: asterisk, dialplan, dial
Sign Up Now!
Solution Provided By: richardsimnett
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.21.2007 at 12:48AM PDT, ID: 19331194

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.21.2007 at 10:46AM PDT, ID: 19335262

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.21.2007 at 11:15AM PDT, ID: 19335517

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.21.2007 at 12:30PM PDT, ID: 19336156

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.21.2007 at 01:04PM PDT, ID: 19336428

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.22.2007 at 12:21AM PDT, ID: 19339498

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.22.2007 at 01:24PM PDT, ID: 19344569

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2007 at 10:48AM PDT, ID: 19405503

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.06.2007 at 02:19PM PDT, ID: 19435138

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.06.2007 at 02:19PM PDT, ID: 19435139

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32