freetdm context not defined error
Hi to all, I am using following freetdm configuration file *freetdm.conf.xml* <config_profiles> <profile name="my_pri1"> <param name="outbound-called-ton" value="unknown"/> <param name="outbound-called-npi" value="unknown"/> <param name="outbound-rdnis-ton" value="unknown"/> <param name="outbound-rdnis-npi" value="unknown"/> <param name="outbound-calling-ton" value="unknown"/> <param name="outbound-calling-npi" value="unknown"/> <param name="switchtype" value="euroisdn" /> <param name="interface" value="cpe"/> </profile> </config_profiles> <sangoma_pri_spans> <span name="wp1" cfgprofile="my_pri1"> <param name="mode" value="user"/> <param name="context" value="default"/> <param name="dialplan" value="XML"/> </span> </sangoma_pri_spans> I can do outbound call. when I am trying to handle the incoming call, from PRI line call is not landing, When I check the fs_cli log files, it says that, 2010-11-17 02:10:16.853170 [INFO] mod_dialplan_xml.c:331 Processing <1234012480>->1100 in context 2010-11-17 02:10:16.853170 [WARNING] mod_dialplan_xml.c:361 Context not found 2010-11-17 02:10:16.853170 [INFO] switch_core_state_machine.c:142 No Route, Aborting 2010-11-17 02:10:16.853170 [DEBUG] switch_channel.c:2457 (FreeTDM/1:6/1100) Callstate Change RINGING -> HANGUP 2010-11-17 02:10:16.853170 [NOTICE] switch_core_state_machine.c:143 Hangup FreeTDM/1:6/1100 [CS_ROUTING] [NO_ROUTE_DESTINATION] Its not taking the context which is defined in the above configuration file. If I call 1100 from, sip phone call is landing properly. As of now, I have added my dial plan inside the /usr/local/freeswitch/conf/dialplan/default.xml. Previously it was working fine. After updating latest wanpipe and git version of freeSwitch, It stopped working. Any help would be appreciated. -- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
Hello, I'm not sure that your error is specific to freetdm, check your public dialplan, in the place where you route your number to 1100, you probably have it transfer to "1100 XML $some_empty_var" -Milena On Tue, Nov 16, 2010 at 3:49 PM, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi to all,
2010-11-17 02:10:16.853170 [INFO] mod_dialplan_xml.c:331 Processing <1234012480>->1100 in context 2010-11-17 02:10:16.853170 [WARNING] mod_dialplan_xml.c:361 Context not found Venkatesan OV.
Hi Milena, Thanks for you reply, I am using below dialplan to handle the incoming call <!-- a sample PRI --> <extension name="pri_demo"> <condition field="destination_number" expression="^(1100)$"> <action application="answer"/> <action application="sleep" data="2000"/> <action application="ivr" data="demo_ivr"/> </condition> If I call "1100" from sip phone, its working fine. Here is the logs for the sip call http://pastebin.freeswitch.org/14508 If I trying to access the same application from my phone, call is landing. But, Application is not getting called. Here is the logs for pri line http://pastebin.freeswitch.org/14509 Regards, Venkat. On Wed, Nov 17, 2010 at 2:46 AM, Milena <testeador01@gmail.com> wrote:
Hello, I'm not sure that your error is specific to freetdm, check your public dialplan, in the place where you route your number to 1100, you probably have it transfer to "1100 XML $some_empty_var"
-Milena
On Tue, Nov 16, 2010 at 3:49 PM, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi to all,
2010-11-17 02:10:16.853170 [INFO] mod_dialplan_xml.c:331 Processing <1234012480>->1100 in context 2010-11-17 02:10:16.853170 [WARNING] mod_dialplan_xml.c:361 Context not found Venkatesan OV.
_______________________________________________ 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
-- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
Hi, For freetdm, the context is specified in /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml (default) <sangoma_pri_spans> <span name="wp1" cfgprofile="profile1"> <param name="dialplan" value="XML"/> <param name="context" value="*YOUR CONTEXT HERE*"/> </span> : : : </sangoma_pri_spans> Your context should match the context that you specifed in your dialplan. *David Yat Sin, BEng* Software Engineer Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 x119 t. +1 905 474 1990 x119 f. +1 905 474 9223 SANGOMA <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> Products <http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions <http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events <http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki <http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook <http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter <http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> On 11/16/2010 5:00 PM, ovvenkat wrote:
Hi Milena,
Thanks for you reply, I am using below dialplan to handle the incoming call
<!-- a sample PRI --> <extension name="pri_demo"> <condition field="destination_number" expression="^(1100)$"> <action application="answer"/> <action application="sleep" data="2000"/> <action application="ivr" data="demo_ivr"/> </condition>
If I call "1100" from sip phone, its working fine. Here is the logs for the sip call
http://pastebin.freeswitch.org/14508
If I trying to access the same application from my phone, call is landing. But, Application is not getting called. Here is the logs for pri line
http://pastebin.freeswitch.org/14509
Regards, Venkat.
On Wed, Nov 17, 2010 at 2:46 AM, Milena <testeador01@gmail.com <mailto:testeador01@gmail.com>> wrote:
Hello, I'm not sure that your error is specific to freetdm, check your public dialplan, in the place where you route your number to 1100, you probably have it transfer to "1100 XML $some_empty_var"
-Milena
On Tue, Nov 16, 2010 at 3:49 PM, ovvenkat <ovvenkatesan@gmail.com <mailto:ovvenkatesan@gmail.com>> wrote:
Hi to all,
2010-11-17 02:10:16.853170 [INFO] mod_dialplan_xml.c:331 Processing <1234012480>->1100 in context 2010-11-17 02:10:16.853170 [WARNING] mod_dialplan_xml.c:361 Context not found Venkatesan OV.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
--
If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together.
Regards Venkatesan OV.
_______________________________________________ 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
On 17 November 2010 09:41, David Yat Sin <dyatsin@sangoma.com> wrote:
Hi, For freetdm, the context is specified in
/usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml (default)
<sangoma_pri_spans> <span name="wp1" cfgprofile="profile1">
<param name="dialplan" value="XML"/> <param name="context" value="*YOUR CONTEXT HERE*"/> </span> : : : </sangoma_pri_spans>
The documentation at <http://wiki.freeswitch.org/wiki/FreeTDM> seems to indicate everything needs to be enclosed inside a <configuration> ... </configuration> element??? If you go back to the first message, he does have <param name="context" value="default"/> already. -- Brian May <brian@microcomaustralia.com.au>
Hi, I just chaged outbound caller id from default value "0000000000" to my PRI number inside the vars.xml file. <X-PRE-PROCESS cmd="set" data="outbound_caller_id=xxxxxyyyy"/> After that, it is started working fine. I dont know, what is the problem exactly, But, now its working fine. Regards, Venkat. On Wed, Nov 17, 2010 at 4:22 AM, Brian May <brian@microcomaustralia.com.au>wrote:
On 17 November 2010 09:41, David Yat Sin <dyatsin@sangoma.com> wrote:
Hi, For freetdm, the context is specified in
/usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml (default)
<sangoma_pri_spans> <span name="wp1" cfgprofile="profile1">
<param name="dialplan" value="XML"/> <param name="context" value="*YOUR CONTEXT HERE*"/> </span> : : : </sangoma_pri_spans>
The documentation at <http://wiki.freeswitch.org/wiki/FreeTDM> seems to indicate everything needs to be enclosed inside a <configuration> ... </configuration> element???
If you go back to the first message, he does have <param name="context" value="default"/> already. -- Brian May <brian@microcomaustralia.com.au>
_______________________________________________ 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
-- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
participants (4)
-
Brian May
-
David Yat Sin
-
Milena
-
ovvenkat