braymond
Junior Member
Posts: 29
Joined: Nov 2013
|
Dial-Now fails to recognize time-out
Hi support,
If I set the Dial-Now rules directly from the GUI, when the phone recognizes the rule, it will dial according to the "Time out for Dial-now Rule" parameter (which is 1 second).
But if I create a dial-now rule from XML and have the phone load it, then two things may happen:
1. If I have selected a line and dialed the number, it will wait for the time set by the Inter Digit Time (which is 4 seconds) before dialing
2. If I dial the number without choosing a line (so the phone picks one by default), the number is never dialed and return idle after approximately 15 seconds.
Here's the XML I am using:
<?xml version="1.0" encoding="UTF-8"?>
<DialNow>
<Data DialNowRule="[2-9]xx[2-9]xxxxxx" LineID=""/>
<Data DialNowRule="1[2-9]xx[2-9]xxxxxx" LineID=""/>
<Data DialNowRule="3[xx]" LineID=""/>
<Data DialNowRule="*3[xx]" LineID=""/>
<Data DialNowRule="10[1-9]" LineID=""/>
<Data DialNowRule="*9[x]" LineID=""/>
<Data DialNowRule="*74[x]" LineID=""/>
<Data DialNowRule="[45689]11" LineID=""/>
</DialNow>
I have set the url in the y000000000000.cfg as this:
dialplan_dialnow.url = tftp://192.168.0.3/na_xfer.xml
The rules do appear in the GUI so I know it was recognized.
I also tried to set LineID to a value of 1 (since I only have Account 1 configured) and that did not change anything.
I tried it from a T28P with:
Firmware version: 2.71.0.140
Hardware version: 1.0.0.53
Thanks for looking into it.
Benoit
Okay, I realized what I was doing wrong. I was testing the rules that had the x within square brackets like 3[xx] ...
I removed the square brackets surrounding the x and it all works. In fact, the other rules (which I have not tested) were working.
Sorry about that but still a good learning post
Thanks,
Benoit
(This post was last modified: 12-05-2013 10:30 AM by braymond.)
|
|
12-05-2013 10:14 AM |
|