[asterisk-users] parsing extensions

DRi at b-w-computer.de DRi at b-w-computer.de
Mon Jan 29 03:29:16 MST 2007


 Hi all,

is where a possibility for simply parsing and changing variables for bad 
characters ?
eg. removing a '/' from a number dialed by a manager-connected application
changing 123/4567890    to 1234567890

via bash you could simply use 'echo ${exten/\//}' but i couldn't find a 
working solution for the asterisk-extensions.conf


best regards

Dirk Rieger


Diese E-Mail und alle Anhänge enthalten vertrauliche und/oder rechtlich 
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder 
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese E-Mail und ihren Inhalt. Das unerlaubte 
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail and any attached files may contain confidential and/or 
privileged information. If you are not the intended recipient (or have 
received this e-mail by mistake) please notify the sender immediately and 
delete this e-mail. Any unauthorised duplication, disclosure or 
distribution of this e-mail and content is strictly forbidden. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070129/ac482e3e/attachment.htm


More information about the asterisk-users mailing list