PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Feature Requests (http://www1.pbxes.com/forum/board.php?boardid=23)
--- modify Caller ID for incoming calls (http://www1.pbxes.com/forum/threadid.php?threadid=1372953791)


Posted by cafunke on 04.07.2013 at 17:03:

modify Caller ID for incoming calls

Dear PBXes,
Dear all,

on my PBXes I have a Swiss (0041) and a German (0049) number, which are routed to one and the same final device.

If a person from Geneva (prefix within Switzerland 022...) calls my Swiss number, the callerID is displayed in the domestic Swiss format, which yields "022xxxxxxx".

If a person from Bonn (prefix within Germany 0228...) calls my German number, the callerID is displayed in the domestic German format, which yields "0228xxxxxx".

Effectively it´s impossible to tell from the number, whether the call comes in from Germany or Switzerland.

I already saw that it´s possible to prepend a number by channel. However, this doesn´t solve the problem: Simply adding "0041" in front of the Swiss national format would yield "0041 0 22xxxx". The "national" 0 has to be cut out, otherwise it´s not a correct international number which could (for example) be called back. Secondly, if a call comes in from a third country, the country-string would still be prepended. As such a call from the UK from "004420701234567" to the Swiss number would be changed into "0041004420701234567", which finally wouldn´t make sense anymore.

In my own Asterisk I solved this by a super-simple differentiation:



As a result I always saw a full "normal" international number on my display, no matter where the call came from.

Is there any way to achieve this result, without having to change into a "Pro" account?

Rgds, Christian

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English translation by Satelk