Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Dialplan Context


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mcampbellsmith at gmai...
Guest





PostPosted: Thu Sep 10, 2009 6:46 am    Post subject: [Freeswitch-users] Dialplan Context Reply with quote

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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
tculjaga at gmail.com
Guest





PostPosted: Thu Sep 10, 2009 7:21 am    Post subject: [Freeswitch-users] Dialplan Context Reply with quote

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 Razz




On Thu, Sep 10, 2009 at 1:39 PM, Mark Campbell-Smith <mcampbellsmith@gmail.com (mcampbellsmith@gmail.com)> wrote:
Quote:
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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mcampbellsmith at gmai...
Guest





PostPosted: Thu Sep 10, 2009 7:35 am    Post subject: [Freeswitch-users] Dialplan Context Reply with quote

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@gmail.com> wrote:
Quote:
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 Razz




On Thu, Sep 10, 2009 at 1:39 PM, Mark Campbell-Smith
<mcampbellsmith@gmail.com> wrote:
Quote:

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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services