[asterisk-users] Get second cipher in an extension

Jonas Kellens jonas.kellens at telenet.be
Mon Jun 20 14:09:00 CDT 2011


Hello list,

how can I get the second character/cipher of an extension ?

If I have : exten => 12345,n,NoOP()

How can I get "2" ?

If I have : exten => 7877777,n,NoOP()

How can I get "8" ?


Thanks !

Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110620/084a8c39/attachment.htm>


More information about the asterisk-users mailing list