[Freeswitch-users] # in prefix

Steven Ayre steveayre at gmail.com
Tue Jan 25 11:46:01 MSK 2011


David, you're correct. \d means digits and only digits (0-9).

I don't think # requires escaping, try that first and if it doesn't work try \#.

Steve on iPhone

On 25 Jan 2011, at 07:24, David Ponzone <david.ponzone at ipeva.fr> wrote:

> Your regexp is (\d+)$.
> AFAIK, \d does not match #.
> So your regexp does not match anything up to the #.
> 
> Your regexp should be:
> 
> ^(\d+#\d+)$ (or something like that, I never tried to match #, so there could be a special trick for that).
> 
> Or if you want to be less specific:
> 
> ^(.*)$
> 
> David Ponzone  Direction Technique
> email: david.ponzone at ipeva.fr
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
> 
> Service Client IPeva
> tel:      0811 46 26 26
> www.ipeva.fr  -   www.ipeva-studio.com
> 
> 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 25/01/2011 à 04:28, Sam a écrit :
> 
>> Hi,
>> 
>> This is in the dialplan.
>> 
>> http://pastebin.freeswitch.org/15131
>> 
>> Also Brian , how can i ignore 183 without sdp,
>> what happens is the provider sends 183 without sdp and by applying "<action application="set" data="sip_ignore_183nosdp=true"/>" the FS sends 180 to the customer.
>> Here i want to block the 183 with SDP just like router as b2bua and send nothing to customer, and when actual 183 with sdp comes it should send .
>> 
>> Regds
>> Sam
>> 
>> On Tue, Jan 25, 2011 at 8:45 AM, Brian West <brian at freeswitch.org> wrote:
>> We aren't a proxy.. what exactly are you talking bout?  Can you paste us a dialplan example?
>> 
>> /b
>> 
>> On Jan 24, 2011, at 9:11 PM, Sam wrote:
>> 
>> > The more info on FS is that it is working in proxy mode , so what ever customer sends it sends to the next hop,
>> > I will try using %23 for # while sending calls.
>> >
>> > Regards
>> > Sam
>> 
>> 
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110125/9d24c6dc/attachment-0001.html 


More information about the FreeSWITCH-users mailing list