[Freeswitch-users] Problem originate conference hangup

Thomas Hoellriegel admin at blindi.net
Fri May 6 05:47:17 MSD 2011


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 at 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


More information about the FreeSWITCH-users mailing list