Re: [asterisk-users] Voicemail: saycid without prefix

2015-07-07 Thread John Kiniston
Nice! I didn't know what dialing rules may apply to his location, Your code does look like an improvement on mine tho. I love the REGEX function. Even better, if the first 4 digits are 0049, you could replace them with 0 as though it was an inland call: ExecIf(REGEX(^0049.

Re: [asterisk-users] Voicemail: saycid without prefix

2015-07-07 Thread A J Stiles
On Monday 06 Jul 2015, Luca Bertoncello wrote: John Kiniston johnkinis...@gmail.com schrieb: The easiest solution may be to strip the leading zero's off your caller ID before your caller enters the Voicemail app to leave you a message. ExecIf(REGEX(^[0][0].

Re: [asterisk-users] Voicemail: saycid without prefix

2015-07-06 Thread John Kiniston
The easiest solution may be to strip the leading zero's off your caller ID before your caller enters the Voicemail app to leave you a message. ExecIf(REGEX(^[0][0]. ${CALLERID(NUM)})?Set(CALLERID(num)=${CALLERID(NUM):2})) On Fri, Jul 3, 2015 at 10:53 PM, Luca Bertoncello lucab...@lucabert.de

Re: [asterisk-users] Voicemail: saycid without prefix

2015-07-06 Thread Luca Bertoncello
John Kiniston johnkinis...@gmail.com schrieb: The easiest solution may be to strip the leading zero's off your caller ID before your caller enters the Voicemail app to leave you a message. ExecIf(REGEX(^[0][0]. ${CALLERID(NUM)})?Set(CALLERID(num)=${CALLERID(NUM):2})) Thanks! I already

[asterisk-users] Voicemail: saycid without prefix

2015-07-03 Thread Luca Bertoncello
Hi list! Yesterday I set up a voicemail on my Asterisk 1.8. It works as expected, but I'd like to have the CID without unnecessary prefix... Right now, if I call from my mobile phone I hear the complete prefix for my mobile number, indeed without 00. So I hear message from 49177 How can I