[Freeswitch-users] context public , dialplan public.xml relation ?

Brian West brian at freeswitch.org
Thu Aug 14 15:50:11 PDT 2008


On Aug 14, 2008, at 5:38 PM, Lee JJ wrote:

> Hello :
>
> Under sip_profiles  directory these files "internal.xml ,  
> external.xml , nat.xml"
> all have a setting
> ==> <param name="context" value="public"/>
>
> Does the "public context"  relate to the dialplan directory  
> "public.xml" file ?

Yes.  But you also have to realize that users that register/auth can  
override this with the user_context variable.

>
> if do , I can route to another dialplan file under some condition,  
> do I ?
>
> " <extension name="public_extensions">
>       <condition field="destination_number" expression="^(10[01] 
> [0-9])$">
>         <action application="transfer" data="$1 XML my-default"/>
> " ;                                                                      ^ 
> ^^^^^^^^^^^^^^
>
> if not , what should I do ?

Notice the public.xml file has examples of routing calls from that  
context to the default context.


>
> ps: Brian, thanks your effort here.
> _______________________________________________
> 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

Brian West
sip:brian at freeswitch.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080814/c2dd7a60/attachment-0002.html 


More information about the FreeSWITCH-users mailing list