New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatically prepend 9 when dialing from call history
Author Message
ictc Offline
Junior Member
**

Posts: 2
Joined: Jul 2014
Reputation: 0
Post: #1
Automatically prepend 9 when dialing from call history
Hello,

We would like to know if it's possible to have our Yealink SIP-T46G handsets automatically prepend a 9 when dialling a number from the call history screen (e.g. Missed, Placed, Received, Forwarded).

The problem is that our PBX is set up so that we must add 9 to the number we want to dial so that it will dial outside of our office, but when the numbers are dialled from the call history screen it attempts to dial the numbers directly without 9 prepended. If we use the dial plan "replace" rules (prefix = "(.)", replace = "9$1"), we can sort of work around this, however it also removes the requirement that the user first dials 9 to dial external numbers.

Our PBX is Elastix 2.4.0 (Asterisk 11.10).

Any suggestions or advice is appreciated. Thank you.
07-18-2014 02:35 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
ModCraig Offline
Moderator
*****

Posts: 716
Joined: May 2013
Reputation: 7
Post: #2
RE: Automatically prepend 9 when dialing from call history
is there an issue with the asterick not requiring a 9?

Craig Reilly
MCSA, 3cx Advanced Certified
Scottsdale, AZ
07-18-2014 05:09 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 299
Joined: Oct 2013
Reputation: 5
Post: #3
RE: Automatically prepend 9 when dialing from call history
Or conversely, why not simply have the Inbound routes on the Elastix box prepend a 9 to the callerID number? that way the phone sees the external calls exactly as a user would have to dial them. In my mind that makes the most sense as it really should be handled at the PBX level rather than the individual set level (since the PBX knows what is an internal call VS and external one, while the phone really doesn't).
07-18-2014 10:38 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,684
Joined: Dec 2012
Reputation: 22
Post: #4
RE: Automatically prepend 9 when dialing from call history
Hi ictc,

If the length of internal number and external number are different, you can try below steps:
For example, the internal number is 8523, and external number length is more than 4 digits. Like 720685984.
So you can set prefix:(xxxxxxxxx), replace:9$1
Then if you dial number length is not 7 digits, it won't prepend 9.

thanks
07-22-2014 04:49 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
5cservices Offline
Junior Member
**

Posts: 4
Joined: Jul 2014
Reputation: 0
Post: #5
RE: Automatically prepend 9 when dialing from call history
Just addressed the same problem ourself.

Your best option is to amend the caller id on inbound calls from sip trunk.

We got this working by adding the bellow to our [inbound-voip] context in extensions.conf
exten = _[0-9+].,n,Set(CALLERID(num)=9${CALLERID(num)})

This way only external calls are affected, and not internal extensions.
(This post was last modified: 07-23-2014 08:47 PM by 5cservices.)
07-23-2014 08:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
nicknomo Offline
Member
***

Posts: 63
Joined: Oct 2013
Reputation: 1
Post: #6
RE: Automatically prepend 9 when dialing from call history
Just a friendly tip, you shouldn't edit extensions.conf. You should copy and paste the whole context of [inbound-voip] (or whatever context you want to edit), and put it in extensions_override_elastix.conf . You should then make any changes to that extensions_override_elastix.conf file.

The reason for this, is that updating the configuration in the elastix GUI will likely regenerate extension.conf, thus nuking your changes. If its in the override file, it won't be touched. I hope this helps...
(This post was last modified: 07-31-2014 10:14 PM by nicknomo.)
07-31-2014 10:12 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
ictc Offline
Junior Member
**

Posts: 2
Joined: Jul 2014
Reputation: 0
Post: #7
RE: Automatically prepend 9 when dialing from call history
The reason for prepending 9 was because our old phone system was set up that way, and Elastix had the same outbound route by default, so I assumed that was the best/proper way for the system to be configured. I tried doing a bit of research on whether prepending digits for outside numbers was still something that should be done and found a thread on the 3CX forums that pointed out some of the reasons for doing that, so I was hesitant to remove the requirement.

For the time being, I'm experimenting with having our outbound route accept both phone numbers prepended with 9, as well as without the 9. This way the system accepts the numbers as the Yealink handsets will dial them from the call history screens, and our users can continue prepending outside numbers with a 9 as they always have. I'm not letting the users know about this until I'm confident it won't cause much/any trouble in the future.

Thanks for your help and suggestions.
07-31-2014 11:04 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Exclamation Call log on after Att transfer VP-T49G Roksvel 4 479 06-18-2019 09:35 AM
Last Post: Roksvel
  Yealink VCD Internet Video Call Settings Nezar 0 199 05-09-2019 12:34 PM
Last Post: Nezar
  Voice barely audible during incoming call Chris708 7 1,838 04-29-2019 01:31 PM
Last Post: Chris708
Question Hide Call History on Yealink IP Phones wizardwebsolutions 5 1,258 04-04-2019 09:58 AM
Last Post: Marie7
  Call History shows extension not external number mcurrie 4 956 02-14-2019 11:04 AM
Last Post: complex1
  Yealink T48S and Cisco Unified Communications Manager (CUCM) aka:Call Manager AAP1811 1 804 02-13-2019 07:46 PM
Last Post: jolouis
  T46S Connect call and show incoming number MartinNybrogrus 1 511 01-28-2019 03:42 PM
Last Post: jolouis
  Deactivate buttons while on call mhessels 0 546 12-07-2018 09:01 PM
Last Post: mhessels
  Call forward shane.caznet 1 903 10-10-2018 06:16 PM
Last Post: jolouis
  Transfer with T2XG and call back hercross 7 1,736 09-27-2018 09:21 PM
Last Post: jolouis

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication