Nigel, how do you want to capture a # if # is the terminator ? :)
if you want to capture #, you need to use * as the terminator.

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 17/08/2010 à 17:38, Nigel Kent a écrit :

Sorry about that. Thanks for the tip

Yes the terminator is set as # but I want to capture a seperate # aswell. In effect the user will enter ##. The second instance is the terminator and I am checking the dtmf varible for the which should have the the last key as #. But it appears # is not being copied to the dtmf varible.

So is my regex pattern correct or is it some other issue

--- On Tue, 17/8/10, Brian West <brian@freeswitch.org> wrote:

From: Brian West <brian@freeswitch.org>
Subject: Re: [Freeswitch-users] playandgetdigits regex to get '#'
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Date: Tuesday, 17 August, 2010, 15:18

In the future please click NEW message and input the address for the list.  You have Hijacked your own thread three times already... Please try not to do that as your emails can get lost in some people's mail readers that thread based on the headers in the email.

Do you have # set as the terminator?

/b


On Aug 17, 2010, at 10:11 AM, Nigel Kent wrote:

> I want to capture # key in playandgetdigits and copy it to the varible but "\\d+|\/#/" is not working. The varible does not contain the '#' key
>
> _______________________________________________
> 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


_______________________________________________
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

_______________________________________________
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