Thomas,

What is the ultimate goal of this? I'm just curious what problem you're trying to solve.

-MC

On Thu, May 5, 2011 at 6:47 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi all, i have setup a admingroup in a conference.
My section in conference.conf.xml is:
<group name="admin">
 <control action="execute_application" digits="2"
 data="bridge loopback/427/default"/>

my 427:
<extension name="DISA for conference dialout">
<condition field="destination_number" expression="^(427)$">
 <action application="answer"/>
 <action application="sleep" data="100"/>
<action application="read"
data="2 30 'tone_stream://%(10000,0,3 50,440)' digits 30000 #"/>
<action application="set"
data="konfnum=${hash(select/confout/thomas)}"/>
<action application="export"
data="konfnum1=${hash(select/confout/thomas)}"/>

<action application="system"
data="$${base_dir}/scripts/callme.sh ${konfnum}  ${digits}" />

My callme.sh:
#!/bin/sh
##callout for a conference
/usr/local/freeswitch/bin/fs_cli -x
 "bgapi originate  {ignore_early_media=true,originate_retries=100,
 origination_caller_id_name=Callback,originate_retry_sleep_ms=10000,
 originate_timeout=900}loopback/$2/disa &conference($1@admin)"

My Adminextension:
   <extension name="local admin  konferenz">
     <condition field="destination_number" expression="^(7676)$">
       <action application="answer"/>
    <action application="sleep" data="1000"/>
<action application="hash"
data="insert/confout/thomas/$1-${domain_name}"/>
<action application="conference" data="$1-${domain_name}@admin"/>
 </condition>
 </extension>

These works fine from my sipadapters.
I  enter the adminextension, press 2 heare the dialtone, enter the outside numer, press # and go back to the conference. This is ok.

The problem: i use the originate command to call me self.
I enter the admin extension. Then i press 2 and hear the dialtone, i enter the phonenumber and press #. Freeswitch hangup my callbackline.
I like to go back to my conference.
the same from my sip-adapters.
Can you help me please?
I neet a parameter on the originate command or so?

Thanks.





---------------
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
http://www.blindi.net/callback
homepage: http://www.blindi.net
blinde-misc mailingliste für blinde. anmeldung unter:
http://www.blindi.net/mailman/listinfo/blinde-misc

_______________________________________________
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