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

Martin List-Petersen martin+asterisk at list-petersen.net
Mon Jul 12 07:52:36 MST 2004


The "0" never is there.

Check for my post here:
http://lists.digium.com/pipermail/asterisk-users/2004-July/053985.html

And the solution here:
http://lists.digium.com/pipermail/asterisk-users/2004-July/053989.html

Kind regards,
Martin List-Petersen

On Mon, 2004-07-12 at 14:28, Roger Schreiter wrote:
> 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.
> 
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list