[Freeswitch-users] freetdm context not defined error

David Yat Sin dyatsin at sangoma.com
Tue Nov 16 14:41:37 PST 2010


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 at gmail.com 
> <mailto:testeador01 at 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 at gmail.com
>     <mailto:ovvenkatesan at 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 at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> -- 
>
> 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 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/20101116/b1415233/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sangoma_email_signature.gif
Type: image/gif
Size: 734 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101116/b1415233/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dyatsin.vcf
Type: text/x-vcard
Size: 319 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101116/b1415233/attachment.vcf 


More information about the FreeSWITCH-users mailing list