[Freeswitch-users] Dialplan Context

Mark Campbell-Smith mcampbellsmith at gmail.com
Thu Sep 10 05:24:50 PDT 2009


Hi!

Actually I think the problem was with the acl list..

I had put commented line below in.  How did this cause the internal
profile be executed in the public extension?

<list name="domains" default="deny">
      <node type="allow" domain="$${domain}"/>
      <!--   <node type="allow" cidr="192.168.0.0/16"/> --> <- when
removed it works again

Thanks



On Thu, Sep 10, 2009 at 10:09 PM, Tihomir Culjaga<tculjaga at gmail.com> wrote:
> check your sip profiles
>
> /usr/local/freeswitch/conf/sip_profiles/external.xml
>
> <param name="context" value="public"/>
>
>
> /usr/local/freeswitch/conf/sip_profiles/internal.xml
>
> <param name="context" value="default"/>
>
>
>
> /usr/local/freeswitch/conf/vars.xml
>
>   <!-- Internal SIP Profile -->
>   <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
>   <X-PRE-PROCESS cmd="set" data="internal_sip_port=5080"/>
>   <X-PRE-PROCESS cmd="set" data="internal_tls_port=5081"/>
>   <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/>
>   <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>
>
>   <!-- External SIP Profile -->
>   <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
>   <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>
>   <X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/>
>   <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>
>   <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/>
>
>
>
>
> It is simple :P
>
>
>
>
> On Thu, Sep 10, 2009 at 1:39 PM, Mark Campbell-Smith
> <mcampbellsmith at gmail.com> wrote:
>>
>> Hi!
>>
>> Where in the dialplan does FS decide which context is used for
>> processing..  I am dialing an outbound call but the call is being
>> processed in context public and not default?
>>
>> mod_dialplan_xml.c:315 Processing Extension1000-><dest number> in context
>> public
>>
>> Why is FS choosing the public context for an outbound call instead of
>> the normal default context?
>>
>> Thanks!
>>
>> _______________________________________________
>> 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
>
>




More information about the FreeSWITCH-users mailing list