[Asterisk-Users] Howto cut the first digit

2006-03-31 Thread Trevor Raynsford
Title: [Asterisk-Users] Howto cut the first digit Christian Reelfs wrote: > example: > 044612345 > should be after cut operation: > 44612345 > > My try in the extension.conf: > exten => _0[0-9].,2,Cut(mynum=EXTEN,/ ,1) > exten => _0[0-9].,3,Dial(Zap/g1/${m

Re: [Asterisk-Users] Howto cut the first digit

2006-03-31 Thread Pete Barnwell
On Fri, 2006-03-31 at 14:03 +0200, Christian Reelfs wrote: > Hi, sorry for this noop question, > but does anybody know how to cut the first digit of a variable? > > example: > 044612345 > should be after cut operation: > 44612345 > > My try in the extension.conf: > > exten => _0[0-9].,2,Cut(mynu

Re: [Asterisk-Users] Howto cut the first digit

2006-03-31 Thread Filip DrÄ…gowski
http://www.voip-info.org/wiki-Asterisk+variables section: substrings F. Christian Reelfs <[EMAIL PROTECTED]> writes: Hi, sorry for this noop question, but does anybody know how to cut the first digit of a variable? example: 044612345 should be after cut operation: 44612345

Re: [Asterisk-Users] Howto cut the first digit

2006-03-31 Thread Wolfgang Zweimueller
Christian Reelfs <[EMAIL PROTECTED]> writes: > Hi, sorry for this noop question, > but does anybody know how to cut the first digit of a variable? > > example: > 044612345 > should be after cut operation: > 44612345 Look at README.variables! It says: , | The format for removing characters fr

[Asterisk-Users] Howto cut the first digit

2006-03-31 Thread Christian Reelfs
Hi, sorry for this noop question, but does anybody know how to cut the first digit of a variable? example: 044612345 should be after cut operation: 44612345 My try in the extension.conf: exten => _0[0-9].,2,Cut(mynum=EXTEN,/ ,1) exten => _0[0-9].,3,Dial(Zap/g1/${mynum},90,T) but it didn't work

[Asterisk-Users] Howto Cut the first digit

2006-03-31 Thread Christian Reelfs
Hi, sorry for this noop question, but does anybody know how to cut the first digit of a variable? example: 044612345 should be after cut operation: 44612345 My try in the extension.conf: exten => _0[0-9].,2,Cut(mynum=EXTEN,/ ,1) exten => _0[0-9].,3,Dial(Zap/g1/${mynum},90,T) but it didn't work