Hello Community,
at my company a “0” has to be prepended to the telefon number in order to match the outbound trunk.
To make use of the telephone address book and the “dial back”-function easier, I prepend a “0” in front of incoming calls:
[prepend-zero]
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})
exten => _X.,2,Goto(from-pstn,${EXTEN},1)
A call from 017xxxxx will be signaled as 0017xxxx.
This works as intended; no problems experienced with this configuration so far if calls are not forwarded.
Now I want to offer CLIP No Screening. “F” is an internal extension. Calls to F are forwarded to an external number T (017xxxxxxxx).
If I dial from an internal extension A to F, the numer of A is signaled on the phone T. As intended.
If F is dialed from an external number E starting with 0, T rings, but the number of E is suppressed.
The reason is, that the PAI will start with “00” because of the prepend-zero rule. And international numbers starting with 00 are not allowed for PAI / CLIP No Screening in Germany.
Is there a way to signal an additional “0” to the internal extensions and ignoring this “0” if the call is forwarded to an external number?
Thanks a lot
Martin