Page 1 of 1

Need a guide

Posted: Mon Mar 05, 2012 3:47 am
by medfordite
I know you have created a blog post showing some of the items in the TellisWizard but I am lost...

I am trying to replace the ruby plan with the wizard plan as was suggested in the post here: viewtopic.php?f=6&t=3712&p=20357&hilit= ... all#p20357

Under the Routes - What would I want to put in for the pattern? I am not clear in this - For now, I put in 1541 (1 + my Area code) as my pattern and that was clearly rejected with:

DialPlan 03:44:49:494 sip1(5652): ** Call from "keith" <sip:keith@sipsorcery.com>;tag=c6c23455be876e33o0 to 15417795990 **
DialPlan 03:44:49:494 sip1(5652): Local time: 03/05/2012 03:44
DialPlan 03:44:49:494 sip1(5652): ** Error: undefined method `[]' for nil:NilClass
DialPlan 03:44:49:494 sip1(5652): Dialplan cleanup for medfordite.
DialPlan 03:44:49:604 sip1(5652): Dial plan execution completed without answering and with no last failure status.
DialPlan 03:44:49:604 sip1(5652): UAS call failed with a response status of 480.

(The number goes to a recording for our local weather)

So, can you advise as to what I am doing wrong here?

Re: Need a guide

Posted: Tue Mar 06, 2012 1:00 am
by medfordite
BUMP

Re: Need a guide

Posted: Tue Mar 06, 2012 11:16 am
by Aaron
I can't identify exactly what caused the error in your case but I did find some other errors in the Telis Wizard script that backends the GUI and I have fixed those. Try your call again and see if it gets any further.

As far as what needs to be put in for the Provider and Route fields did you spot the Help button on the GUI? Clicking it o any screen reveals a handy little panel with a description of what each field is for.

Re: Need a guide

Posted: Tue Mar 06, 2012 2:06 pm
by medfordite
I will retry the script again.

My question though is -

Am I putting the correct information in the pattern?

1541 (1 + my area code)

Or Am I doing something wrong there? There is no documentation as to the proper syntax. While this may be pretty explanatory for experienced programmers or those familiar working with the scripting, It is not for me. :)

Re: Need a guide

Posted: Wed Mar 07, 2012 8:10 am
by Aaron
It can be either a prefix or a regular expression. It's actually just the same as the routes you have set up in selectVSP function in Mike's original table controlled dial plan.