[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


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
CWR Offline
Moderator
*****

Posts: 717
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: 339
Joined: Oct 2013
Reputation: 6
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,683
Joined: Dec 2012
Reputation: 25
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
  Yealink MP52 Call History mairagonzalez 0 357 03-06-2024 11:49 AM
Last Post: mairagonzalez
  About call history Andrei9385 3 6,051 01-10-2024 08:58 PM
Last Post: sles
  Disable Internal Call History Only justyncharbonneau 1 734 01-05-2024 12:53 AM
Last Post: complex1
  incoming call while active call , conference sles 2 1,055 12-08-2023 06:50 PM
Last Post: sles
  How to pick up colleagues call via Yealink MP56 jayden23 0 716 11-29-2023 09:14 AM
Last Post: jayden23
  T53 Calling from call history jake 2 3,642 09-21-2023 02:37 AM
Last Post: andrew.manning
  View call logs for dropped calls computersense 0 995 08-15-2023 11:26 AM
Last Post: computersense
  Call history not showing the right information after an attended transfer wirelessmundi 5 12,845 08-15-2023 12:41 AM
Last Post: Yisroel_MongoTEL
  WH67 call forwarding issue in Teams iapbonn 0 1,179 06-19-2023 02:32 PM
Last Post: iapbonn
  On MP50s responding to some phone trees ends the call TRK45 1 1,538 05-18-2023 04:46 PM
Last Post: complex1

Forum Jump:


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

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