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
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
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
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
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
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