Apparently there is something else going on with the Nortel to FS exchange

I keep getting this error code when the call is being processed

79 501 SERVICE_NOT_IMPLEMENTED service or option not implemented, unspecified [Q.850] This cause is used to report a service or option not implemented event only when no other cause in the service or option not implemented class applies.



On Thu, Feb 27, 2014 at 2:42 PM, Joel White <joelewhite@gmail.com> wrote:
Thank you


On Thu, Feb 27, 2014 at 1:55 PM, DJB International <djbinter@gmail.com> wrote:
^(\d{5});(.*)$

$1 = 23673
$2 = phone-context=location.systemname


On Thu, Feb 27, 2014 at 10:34 AM, Joel E White <joelewhite@gmail.com> wrote:
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org