[Freeswitch-dev] Regex Mismatch

Brian West brian.west at mac.com
Mon Jan 14 09:27:57 EST 2008


Its clear you're not using the latest config files from SVN.  If you  
have default_context.xml ... please backup and remove all your config  
and re-install FreeSWITCH so you can get the latest config.  Which  
Already has a set of users 1000 thru 1019 pre-configured.

Thanks,
Brian

On Jan 14, 2008, at 1:32 AM, Aadilkhan Maniyar wrote:

> I have added the following lines in the default_context.xml config  
> file
>
> <extension name="1000">
>                         <condition field="destination_number"  
> expression="^1001$">
>                          <action application="conference"  
> data="freeswitch"/>
>                         </condition>
>             </extension>
>
> But this time round the INVITE (while calling to 1001 from 1000) is  
> received by FS but it is not forwarded to the second UA.
> The FS sends a 200OK in response to this INVITE and the UA i.e. 1000  
> is in the connected state.
>
> In order to add the users 1000 and 1001 what config file do I have  
> to edit?
>
> Thanks,
> Aadil
> -----Original Message-----
> From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org 
> ] On Behalf Of Anthony Minessale
> Sent: Friday, January 11, 2008 7:50 PM
> To: freeswitch-dev at lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] Regex Mismatch
>
> If you look closely at your trace, you dialed 1001
> and it tried every extension in your dialplan
> and none of them match 1001.
>
> You need to setup something that will match it
> and route the call to the other phone.
>
> perhaps a regex of ^1001$ for an exact match.
> or ^1\d+$ for everything that starts with a 1 etc.
>
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>



More information about the Freeswitch-dev mailing list