Yealink Forums
T42G - Dialplan question - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: T4x Series (/forumdisplay.php?fid=31)
+--- Thread: T42G - Dialplan question (/showthread.php?tid=28246)



T42G - Dialplan question - richtj99 - 10-03-2016 04:56 AM

Hello,

I am trying out a Yealink T42G IP phone. I have it connected to my Freepbx Sip server & am able to get it registered. I can dial extension to extension – generally things are fine.

Question:

My asterisk box has the following settings:

Line 1: 9142321234 is the number (outgoing).
Line 2: 9142325678 is the number (outgoing).

Currently if I dial out with line1 – my current phones put a 22 in front of the number.

So if I dialed 9144241111 it would put 229144241111 which the freepbx will allow. Same if I dial 424111 – the freepbx box adds 22 914 to the number so it dials out 229144241111.

What dialplan would I use to make that happen on the T42G?

The same question applies for line 2 – which is 33 – so the system will dial 339144241111 which sends the call out on line 2.

Thanks,
Rich


RE: T42G - Dialplan question - Kevin_Yealink - 10-11-2016 07:05 PM

(10-03-2016 04:56 AM)richtj99 Wrote:  Hello,

I am trying out a Yealink T42G IP phone. I have it connected to my Freepbx Sip server & am able to get it registered. I can dial extension to extension – generally things are fine.

Question:

My asterisk box has the following settings:

Line 1: 9142321234 is the number (outgoing).
Line 2: 9142325678 is the number (outgoing).

Currently if I dial out with line1 – my current phones put a 22 in front of the number.

So if I dialed 9144241111 it would put 229144241111 which the freepbx will allow. Same if I dial 424111 – the freepbx box adds 22 914 to the number so it dials out 229144241111.

What dialplan would I use to make that happen on the T42G?

The same question applies for line 2 – which is 33 – so the system will dial 339144241111 which sends the call out on line 2.

Thanks,
Rich

Hi Rich

you can input the phone ip in any broswer,then you can go into the web interface of the phone.
Then please click on Setting->Dial plan->Replace rule->
1.So if I dialed 9144241111 it would put 229144241111:
please add 91442(xxxxx) in the prefix, 2291442$1 in the replace, account set to 1;
2.Same if I dial 424111 – the freepbx box adds 22 914 to the number so it dials out 229144241111:
please add (xxxxx) in the prefix, 2291442$1 in the replace, account set to 1;
3.The same question applies for line 2 – which is 33 – so the system will dial 339144241111 which sends the call out on line 2:
The same as the step 1, but you should change 22 to 33, and account set to 2.

Let me know if any update.
BR
Kevin