vespino
(Wesley van Kuijen)
September 16, 2016, 8:05am
1
I’m using Set CID to add a “0” to incoming the called ID so I can call the number back using the correct outbound CID. I’m now facing this issue:
When a CID is +xxxxxxxxxx the CID is set to 0+xxxxxxxxxx which I can’t call back.
Is this something I can fix?
lgaetz
(Lorne Gaetz)
September 16, 2016, 11:20am
2
See this recent thread about how to clean up inbound CID:
Hello,
i have following situation:
Incoming call for example:
“CallerID num” is 089123456 (area code 089 for Munich, Germany
“CallerID name” is +4989123456 (country +49 Germany and area code 89 for Munich)
What I want
Display the incoming “Caller ID number” of my hometown (i.e. Munich) without area code 089. So it will be only 123456
Display the incoming “Caller ID name” without country code +49 and without area code 89. So it will be also only 123456
Country code +49 should always b…
1 Like
vespino
(Wesley van Kuijen)
September 16, 2016, 3:43pm
3
So I currently have this:
0${CALLERID(num)}
I would like the last 9 numbers of 0+xxxxxxxxxx
I know some PHP functions that make this work using -9 (http://php.net/substr ). Will this work for this plugin to?
lgaetz
(Lorne Gaetz)
September 17, 2016, 2:15am
4
If I understand what you’re asking, the nine rightmost digits with a 0 prepended:
0${CALLERID(num):-9}
1 Like
dicko
(dicko)
September 17, 2016, 3:14am
5
But because Germany is not a country with closed dialing (all numbers are NOT 9 digits long), you probably are better off with 0${CALLERID(num):1} to strip the + when it is there and still be able to call within Germany
The regulation of telephone numbers in Germany is the responsibility of the Federal Network Agency (German: Bundesnetzagentur, BNetzA) of the German government. The agency has a mandate to telecommunications in Germany and other infrastructure systems. Germany has an open telephone numbering plan. There used to be no fixed lengths for either area codes or subscriber telephone numbers, meaning that some subscriber numbers may be as short as two digits. As a result, dialing sequences are generall...
vespino
(Wesley van Kuijen)
September 17, 2016, 8:50am
6
I’m not from Germany
Will try the solution provided.