[Asterisk-Users] How to make * don't strip the leading 0

Roger Schreiter roger at planinternet.de
Mon Jul 12 06:28:33 MST 2004


Kai Militzer schrieb:
...
> Is it possible to tell asterisk not to strip the leading 0 of *incoming*
> MSNs? I use asterisk with i4l and whenever I get a call from an
> long-distance party, the leading 0, which should be there according the
> german numbering, is not. So if I get a call from a mobile phone
> 0177-1234567 should be displayed, but 177-1234567 is displayed. I double


Hi,

that's rather your ISDN equipment than asterisk, who
strips the leading 0.
("National numbering scheme")

Look at isdnrep! Probably you'll find the same numbers
without leading 0 there. I4L forwards those 0-less numbers
to asterisk, and asterisk takes them as they are.

chap_capi for my AVM Fritz card does display numbers with
leading 0.

I have currently the same problem with my E1 card and I wonder,
how I can get asterisk to append a leading 0 before forwarding
the call, for my IP phones show the "correct" callee number
with leading 0.


Roger.







More information about the asterisk-users mailing list