Add an outbond prefix to a specific Extension

sigmatelco

Joined
Jun 30, 2009
Messages
2
Likes
0
Points
0
#1
Hi,
may be this is not the right place for this question but sustancially i am a newbe.

The problem is to make a call from a specific elastix extension (a Nokia E65 registered via Wireless locally) that can be reached as extension when it register to elastix.
But when we try to make a call from the phone address book it compose the number without put the 0 (That chose the right trunk).
The goal is to leave untouched address book, so when the phone is out of office can still use the normal dial sequence with his gsm carrier, and when is into wireless coverage area, the extension make the call adding a zero to the dialed number.

Can anyone help me ?



Max

p.s. exuse me for my english
 

Patrick_elx

Joined
Dec 14, 2008
Messages
1,120
Likes
0
Points
0
#2
In the pbx menu, go to your nokia extension and change the context from from-internal to from-nokia

Go in the pbx menu, tool submenu and edit the file extensions_custom.conf

At the end of this file add the following

[from-nokia]
exten => _X.,1,Noop(Add 0 to the number)
exten => _X.,n,Goto(from-internal,0${EXTEN},1)
exten => h,1,Hangup()

save and reload
 

sigmatelco

Joined
Jun 30, 2009
Messages
2
Likes
0
Points
0
#3
Tryed, worked fine !!

Great Work Man !!

Tks a lot.



Experience is the best Teacher "WuTang Clan"
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,916
Messages
130,922
Members
17,598
Latest member
giornaso
Top