27 Feb
2014
27 Feb
'14
6:34 p.m.
Hi I am wondering how I can strip the extra information being sent from the nortel and passing only digits along. The string from nortel is 23673;phone-context=location.systemname I have substituted the data with fictional information, but this is the gist of it What I need freeswitch to do is remove everything after the 5 numbers I have been unsuccessful in doing so using regex (probably because of my lack of knowledge on the subject) I have been able to accomplish this using asterisk, then passing the data along to freeswitch exten => _X.,Dial(SIP/${EXTEN:0:-33}@freeswitch Can someone show me how to accomplish the same using regex and variables like $1? Thank you, Joel Sent from my iPad