Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

11xxdialplan.txt for 1140e

Status
Not open for further replies.

hypnotic101

Technical User
Mar 21, 2003
67
0
0
CA
Ok I have some issues getting this file to load to the phone. Basically I have tried 2 different tftp server, but I'm back to using the one build in with ip manager. Config for 11040eSIP.cfg is:
[DEVICE_CONFIG]
DOWNLOAD_MODE AUTO
VERSION 000001
PROTOCOL HTTP
FILENAME 11xxsettings.txt

[FW]
DOWNLOAD_MODE AUTO
VERSION SIP1140e04.01.13.00
PROTOCOL HTTP
FILENAME SIP1140e04.01.13.00.bin

[DIALING_PLAN]
DOWNLOAD_MODE FORCE
VERSION 000001
PROTOCOL HTTP
FILENAME 11xxdialplan.txt

Config for 11xxdialplan.txt is as follows:
/* ------------------------------------------------------------------- */
/* */
/* Avaya 1100-series IP Deskphone Dial Plan */
/* */
/* ------------------------------------------------------------------- */
/* Domain used in the dialed URL of the SIP INVITE message */
$n="192.168.99.71"
$t=300
%%
/* DIGITMAP: 12 digits starting with 9 followed by an initial 1 */
(9[1]x{10})|(9[1]x{10})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 11 digits starting with 9 */
(9[2-9]x{9})|(9[2-9]x{9})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: Extensions beginning with 4 (Telephone Users)*/
/* (4x{3})|(4x{3})# && sip:$$@$n;user=phone && t=300*/

/* DIGITMAP: Extensions beginning with 5 (Telephone Users)*/
/* (5x{2})|(5x{2})# && sip:$$@$n;user=phone && t=300*/


/* DIGITMAP: Extensions beginning with 2 (Telephone Users)*/
(2x{3})|(2x{3})# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: Extensions beginning with 8 */
/*(8x{3})|(8x{3})# && sip:$$@$n;user=phone && t=300*/


/* DIGITMAP: Extensions beginning with 1 */
/*(1x{2})|(1x{2})# && sip:$$@$n;user=phone && t=300*/

/* DIGITMAP: 911 Emergency */
(911|911)# && sip:$$@$n;user=phone && t=300

/* DIGITMAP: 9911 Emergency */
(9911|9911)# && sip:$$@$n;user=phone && t=300


/* End of Dial Plan */

I have commented out most of the dial for extension except 2xxx. Trying to get passed having to press the send button but whatever I try doesn't seem to be working. Is there a way to tell if the phone downloaded the dialplan. From the log files of the tftp it doesn't even request the dialplan file at all. I tried ssh'ing in the phone to see what I can see and I do see a dialingplan.dplan in there but not sure if that has anything to do with what I'm trying to accomplish.

 
Try a HTTP server.

In the script is says "PROTOCOL HTTP" :)

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
I did find this in the monitor when the phone contacted the tftp server:

2306651357mS TFTP: Server::RRQ(from 192.168.99.228, 1026) (loc 192.168.99.71) 1140eSIP.cfg (Total 1)
2306651358mS TFTP: 192.168.99.228(1026) TFTPFilesysReader(FileSysReader 488) (Total = 1)
2306651415mS TFTP: 192.168.99.228(1026) TFTPFilesysReader: ConnectIndication
2306651420mS TFTP: 192.168.99.228(1026) TFTPFilesysReader: DisconnectIndication
2306651422mS TFTP: 192.168.99.228(1026) ~TFTPFilesysReader (Total = 0)
2306654573mS HTTP: 192.168.99.228(1026) HTTPSession (Total = 2)
2306654576mS HTTP: 192.168.99.228(1026) HTTPSession: Operational
2306654577mS HTTP: Rx Src: 192.168.99.228(1026)
GET /11xxsettings.txt HTTP/1.0
User-Agent: AVAYA/SIP1140e/04.01.15.00
Host: 192.168.99.71
Authorization: Basic Og==

2306654578mS HTTP: 192.168.99.228(1026) HTTPServerSessionIO: stCreationCallback
2306654578mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: stCreationCallback
2306654578mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO
2306654578mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: SetState Schedule
2306654580mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: SetState WaitForServiceResponse
2306654640mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: ConnectionIndication
2306654640mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: SetState Disconnect
2306654640mS HTTP: 192.168.99.228(1026) HTTPServerSessionIO: SetState GracefulClose
2306654640mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: DisconnectIndication reason 5 code 0
2306654642mS HTTP: Tx Dest: 192.168.99.228(1026)
HTTP/1.0 200 OK
Date: Tue, 10 Jan 2012 20:50:51 GMT
Cache-Control: private
Server: IPOffice/7.0(23)
Content-Length: 1131
Last-Modified: Thu, 15 Dec 2011 04:08:24 GMT
Content-Type: text/plain

2306654643mS HTTP: 192.168.99.228(1026) HTTPServerSessionIO: Percent(100)
2306654645mS HTTP: 192.168.99.228(1026) HTTPSession: EndOfData
2306654645mS HTTP: 192.168.99.228(1026) HTTPEmbeddedFileServerSessionIO: SetState Disconnect
2306654645mS HTTP: 192.168.99.228(1026) HTTPServerSessionIO: SetState Delete
2306654645mS HTTP: 192.168.99.228(1026) ~HTTPEmbeddedFileServerSessionIO
2306654646mS HTTP: 192.168.99.228(1026) ~HTTPSession: Duration: 73ms (Total = 1)
2306659192mS HTTP: 192.168.99.228(1027) HTTPSession (Total = 2)
2306659193mS HTTP: 192.168.99.228(1027) HTTPSession: Operational
2306659194mS HTTP: Rx Src: 192.168.99.228(1027)
GET /11xxdialplan.txt HTTP/1.0
User-Agent: AVAYA/SIP1140e/04.01.15.00
Host: 192.168.99.71
Authorization: Basic Og==

2306659195mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: stCreationCallback
2306659195mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: stCreationCallback
2306659195mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO
2306659195mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: SetState Schedule
2306659197mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: SetState WaitForServiceResponse
2306659244mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: ConnectionIndication
2306659244mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: SetState Disconnect
2306659244mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: SetState GracefulClose
2306659244mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: DisconnectIndication reason 5 code 0
2306659246mS HTTP: Tx Dest: 192.168.99.228(1027)
HTTP/1.0 200 OK
Date: Tue, 10 Jan 2012 20:50:55 GMT
Cache-Control: private
Server: IPOffice/7.0(23)
Content-Length: 85
Last-Modified: Thu, 15 Dec 2011 04:08:24 GMT
Content-Type: text/plain

2306659246mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: Percent(100)
2306659248mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: SetState AllSentAndAcknowledged
2306659249mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: Closing TCP Session
2306659250mS HTTP: 192.168.99.228(1027) HTTPEmbeddedFileServerSessionIO: SetState Disconnect
2306659250mS HTTP: 192.168.99.228(1027) HTTPServerSessionIO: SetState Delete
2306659251mS HTTP: 192.168.99.228(1027) ~HTTPEmbeddedFileServerSessionIO
2306659252mS HTTP: 192.168.99.228(1027) ~HTTPSession: Duration: 59ms (Total = 1)
2306663957mS HTTP: 192.168.99.228(1028) HTTPSession (Total = 2)
2306663958mS HTTP: 192.168.99.228(1028) HTTPSession: Operational
2306663959mS HTTP: Rx Src: 192.168.99.228(1028)

When I make a call on the 1140e it sits there for exactly 30 seconds and then dials the number. I presume that the t=300 would be the time in the (2x{3})|(2x{3})# && sip:$$@$n;user=phone && t=300 line of 11xxdialplan.txt file.

by the way this file was given to me by another member so I couldn't be wrong about the t=300 but it seams to work out. I don't think I will be converting any more 1140e phones to use on the system since the compatibility is pretty brutal for phone features. I basically just wanna get rid of the having to push the send command so I can put this phone in at a remote site for a very basic phone. Just incoming and outgoing phone calls. They may have to just deal with pressing the send button if I can't get it working. Any help or direction is always appreciated.


Thanks for the input on using a HTTP server instead of the TFTP server but still the same outcome.

thanks again
hyp
 
Try this;

Code:
/* ------------------------------------------- */
/* Generic dial plan - Assumes AC1 is 9 */
/* ------------------------------------------- */
$n="domain.com" /* Enter Customer Internal Domain Name */
$t=300
$s=0
%%
/* DIGITMAP: External Operator call */
(90)|(90)# && sip:$$@$n;user=phone &&
/* DIGITMAP: Information, Example for Other SPN’s */
(91411)|(91411)# && sip:$$@$n;user=phone &&
(9411)|(9411)# && sip:$$@$n;user=phone &&
/* DIGITMAP: Emergency call */
(9911)|(9911)# && sip:$$@$n;user=phone && t=100
/* DIGITMAP: Example Private intra-location call or CDP, no
access code 7 digit, lock on first 5 digits */
(69665x{2})|(69665x{2})# && sip:$$@$n;user=phone &&
/* DIGITMAP: Public local call, access code 10 digits, AC1,
first gigit of NPA, second digit not 0 or 2-9 */
(99[^023456789]x{8})|(99[^023456789]x{8})# &&
sip:$$@$n;user=phone &&
(98[^023456789]]x{8})|(98[^023456789]x{8})# &&
sip:$$@$n;user=phone &&
/* DIGITMAP: Public national call, access code 10 digits */
(91x{10})|(91x{10})# && sip:$$@$n;user=phone &&

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
Thanks again. I will try it out and check out the PDF and report back to you.
hyp
 
Here is the orignal Avaya doc, the 11xx only work in Avaya IP Office mode, so not in Norstar mode. Page 18;

4.3 Configure Local Telephone Dial Plan
The telephone will use a local dial plan configuration file to determine when enough digits have
been pressed to complete dialing, so that the user need not press an additional key to launch the
call. The file is downloaded from the file server at boot time, and was specified as “dialplan.txt”
in Section 4.1. An annotated copy of the file used in the sample configuration is shown below.
Note that entry in the file correspond to dialing of 2xx (telephone users). Note that each entry
allows for the telephone user to also press the “#” key to indicate that dialing is complete.


Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
Thanks for all the info. I finally got what I was looking for. For some reason it kept going to the old TFTP and wasn't getting the new dialplan but that has been all sorted out. Again thanks for all the help and direction. I don't think I'm going to waste to much more time on Nortel phones from now on because the functionality just isn't there.

hyp.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top