[Freeswitch-users] Dialplan Context

Tihomir Culjaga tculjaga at gmail.com
Thu Sep 10 05:09:47 PDT 2009


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090910/595637ad/attachment-0002.html 


More information about the FreeSWITCH-users mailing list