View previous topic :: View next topic |
Author |
Message |
mcampbellsmith at gmai... Guest
|
Posted: Thu Sep 10, 2009 6:46 am Post subject: [Freeswitch-users] Dialplan Context |
|
|
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
|
Posted: Thu Sep 10, 2009 7:21 am Post subject: [Freeswitch-users] Dialplan Context |
|
|
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
On Thu, Sep 10, 2009 at 1:39 PM, Mark Campbell-Smith <mcampbellsmith@gmail.com (mcampbellsmith@gmail.com)> wrote:
|
|
Back to top |
|
|
mcampbellsmith at gmai... Guest
|
Posted: Thu Sep 10, 2009 7:35 am Post subject: [Freeswitch-users] Dialplan Context |
|
|
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
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 |
|
|
|