Hi everyone, Is it possible and how to add one or more digits as prefix to all calling numbers coming from one direction. What I want to do is to add 0 to calling numbers for all calls coming from one E1 span to my Asterisk box. So, if the call is coming from number 1234567 it will be presented as 01234567. Thanks! Tomica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040410/f9c8fbb0/attachment.htm
On Sat, 2004-04-10 at 20:24, Tomica Crnek wrote:> Hi everyone, > > Is it possible and how to add one or more digits as prefix to all > calling numbers coming from one direction. What I want to do is to add > 0 to calling numbers for all calls coming from one E1 span to my > Asterisk box. So, if the call is coming from number 1234567 it will be > presented as 01234567. >exten => s,2,SetCallerID(0${CALLERID}) -- Dave Cotton <dcotton@linuxautrement.com>
Senad Jordanovic
2004-Apr-10 11:38 UTC
[Asterisk-Users] how to add prefix to calling number
Use: SetCallerID(0${CALLERIDNIM}) somewhere in your dialing plan before dialing local extension! -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Tomica Crnek Sent: 10 April 2004 19:25 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] how to add prefix to calling number Hi everyone, Is it possible and how to add one or more digits as prefix to all calling numbers coming from one direction. What I want to do is to add 0 to calling numbers for all calls coming from one E1 span to my Asterisk box. So, if the call is coming from number 1234567 it will be presented as 01234567. Thanks! Tomica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040410/f00772b9/attachment.htm