Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] bind_meta_app problem with custome extension


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





PostPosted: Tue Oct 20, 2009 10:43 am    Post subject: [Freeswitch-users] bind_meta_app problem with custome extens Reply with quote

OMG such a stupid user error!

I have to write
<action application="bind_meta_app" data="7 ab s
/usr/local/freeswitch/conf/dialplan/execute_extension::roar XML features"/>

with double colon instead of a single one.

Thanks everyone for help!


Uncle Johny wrote:
Quote:

Hi guys,

I hope you can help me with this one since it looks like some FS bug or my
user error Smile .I have a simple dialplan in FS which allows to transfer a
person to some 3rd party phone but it works only if you call it from
default context.
If it is not called from default context I get this error all the time:
2009-09-12 11:58:17.484680 [ERR] mod_native_file.c:68 Error opening
/usr/local/freeswitch/conf/dialplan/execute_extension:roar XML
features.PCMU

With the following configuration 2 parties will be connected but whenever
you press *7 it just does not work and FS splits the message. Very weird
that this works if I put the extension into default.xml.

Any ideas what is wrong here?

My config:

I tried to create my own context and call it pstn.
So when FS gets a call from proxy it goes to pstn context, since I have
this line in sip_proxies/internal.xml


in dialplan directory I have pstn.xml
<include>
<context name="pstn">
<extension name="pstn_enum">
<condition field="destination_number" expression="^(.*)$">
<action application="answer"/>
<action application="bind_meta_app" data="7 ab s
/usr/local/freeswitch/conf/dialplan/execute_extension:roar XML features"/>
<action application="set"
data="hangup_after_bridge=true"/>
<action application="bridge"
data="sofia/external/${destination_number}@207.88.122.16"/>
</condition>
</extension>
</context>
</include>

In features.xml (It can be anything there since FS never reaches this code
and dies before executing it):
<extension name="roar">
<condition field="destination_number" expression="^roar$">
<action application="set" data="continue_on_fail=true"/>
<action application="log" data="INFO transfer context" />
<action application="read" data="1 1 /root/1.gsm attxfer_callthis
1000 #"/>
<action application="log" data="INFO blah ${attxfer_callthis}"/>
<action application="set" data="origination_cancel_key=#"/>
<action application="log" data="INFO after read"/>
</condition>
</extension>




--
View this message in context: http://www.nabble.com/bind_meta_app-problem-with-custome-extension-tp25963971p25977224.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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