[Freeswitch-users] transfer to dynamic con from static

Rodney notlikeme75 at yahoo.com
Fri Dec 23 02:38:04 MSK 2011


everytime i use transfer from caller controls i get "destination out of order" on console. so i use the execute extension and get problems. is this correct?

<control action="execute_application" digits="#" data="transfer 759 xml default"/>

`rodney



________________________________
 From: "freeswitch-users-request at lists.freeswitch.org" <freeswitch-users-request at lists.freeswitch.org>
To: freeswitch-users at lists.freeswitch.org 
Sent: Thursday, December 22, 2011 6:30 PM
Subject: FreeSWITCH-users Digest, Vol 66, Issue 145
 
----- Forwarded Message -----

Send FreeSWITCH-users mailing list submissions to
    freeswitch-users at lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
    freeswitch-users-request at lists.freeswitch.org

You can reach the person managing the list at
    freeswitch-users-owner at lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. Re: Some questions regarding IPs and gateway (Michael Collins)
   2. transfer conference to conference (Rodney)
   3. Re: Odp: transfer to conference from conference / caller
      controls (Anthony Minessale)

The "domain" method you used is actually a good way to go if you're always wanting the same IP for all network comms.

-MC


On Thu, Dec 22, 2011 at 3:19 PM, <georg at riseup.net> wrote:

> You want to set the IP address in the SIP profile. Remember, FreeSWITCH
>> can
>> use multiple IP addresses and multiple ports, so it's not like Asterisk at
>> all in that respect. You control which IP/Port each SIP profile uses. If
>> you tell the SIP profile explicitly to use a specific IP address then
>> that's what it will use and will ignore the other NICs.
>
>I achieved this now trough another way, see my other mail for this.
>I this "a no-go"?
>
>I already set the ips in my internal and my external profile, however, FS
>was still binding itself to the wan-ip (which is the way it normally
>works, if I'm right?). My plan was to change this and exclude especially
>the wan-ip.
>
>Georg
>
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>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
>



actually i just tried this and even though it looked good on screen, i was still just in the static conference i tried to transfer from, so i am back to square one :(

 condition      destination_number      ^760$      1      
  action      answer            3      
  action      set      conference_user_list=|      10      
  action      play_and_get_digits      4 4 3 5000 # askprivateroom2.wav ivr/ivr-that_was_an_invalid_entry.wav
 target_num \d+      20      
  action      phrase      spell,${target_num}      30      
  action      sched_hangup      +10 normal_clearing bleg      35      
  action      bridge      loopback/app=conference:${target_num}-127.0.0.1 at dynamic_conf

You should be using transfer not execute_extension or you are going into the new conference mid digit parse and blocking in the first conference waiting to return.  If you use the transfer app then you will exit the current conference and transfer to the new one.
On Dec 22, 2011 2:42 PM, "Rodney" <notlikeme75 at yahoo.com> wrote:

Mariusz, using your suggestion, i worked out a solution that works. although i have to drop the bleg with sched_hangup in order for it to work with my hangup back to ivr method. it still looks like crap in my cdr but I can deal with it for now since i am crazy for wanting to transfer from static conference right to dynamic :) but doing it with this loopback method seems to give me the caller controls back.  thanks for your help. ~rodney
>
> condition      destination_number      ^760$      1      
>  action      answer            3      
>  action      set      conference_user_list=|   
   10      
>  action      play_and_get_digits      4 4 3 5000 # ask4digit.wav ivr/ivr-that_was_an_invalid_entry.wav target_num \d+      20      
>  action      phrase      spell,${target_num}      30      
>  action      sched_hangup      +10 normal_clearing bleg      35      
>  action      bridge      loopback/app=conference:${target_num}-127.0.0.1 at dynamic_conf
>
>
>
>   4. Odp: transfer to conference from conference / caller controls
>   
   (Mariusz Czulada)
>
>
>>
>
>Perhaps this will be useful for you:
> 
>Dialplan:
> 
>    <extension name="bind_and_join">
>     ...
>         <action application="bind_meta_app" data="4 a s  execute_extension::sub_conf"/>
>     ...
>        <action  application="conference" data="mainconf at cx"/>
>     ...
>     </extension>
>
>    <extension name="sub_conf">
>     ...
>        <action application="bridge"  data="loopback/app=conference:${conference_name}_sub at cx_sub"/>
>      ...
>    </extension>
> 
>conference.conf.xml:
> 
>    <group name="cx_controls">
>     ...
>       <control action="hangup" digits="9"/>
>    </group>
>
>     <group name="cx_sub_controls">
>     ...
>       <control action="hangup" digits="4"/>
>    </group>
>
>     <profile name="cx">
>     ...
>      <param  name="caller-controls" value="cx_controls"/>
>    </profile>
>    <profile name="cx_sub">
>     ...
>      <param   name="caller-controls" value="cx_sub_controls"/>
>     </profile>
> 
> 
>Dnia 20-12-2011 o godz. 18:21 Rodney napisał(a):
>I am trying to transfer to a dynamic conference from within a static conference but when I do my callers loose control and can not use any dtmf caller control options and must hang up to get back. I tried using clear digit action but do not think this works on the "conf" realm. the dynamic conference works fine with all controls if i send them directly from the ivr but for what i am trying it is important to do this transfer from another conference. is there a method transfer and release 
all previous controls? i even tried using a difference conference profile so i transferred from static 501 at default to <digits>@dynamic to see if giving new controls would work, to no avail. is there a log or something i can post that will help you in understanding how this is happening? or is it even fixable? thanks  rodney
>>
>>
>>   <group name="default">
>>      <control action="mute" digits="1"/>
>>      <control action="hangup" digits="0"/>
>>      <control action="execute_application" digits="4" data="playback C:/Program Files/FreeSWITCH/recordings/conf_help.wav"/>
>>      <control action="execute_application" digits="8" data="execute_extension 
ANNOUNCE_CONF_COUNT_PRIVATE XML default"/>
>>      <control action="execute_application" digits="#" data="execute_extension 759 xml default"/>
>>
>>-     <group name="dynamic">
>>        <control action="mute" digits="1"/>
>>        <control action="execute_application" digits="0" data="execute_extension 401 XML  default"/>  (main ivr menu extension)
>>        <control action="execute_application" digits="8" data="execute_extension ANNOUNCE_CONF_COUNT_PRIVATE XML 
default"/>
>>
>>
>>
>>
>>
>>condition      destination_number      ^759$      1      
>>  action      answer            2      
>>  action      set      conference_user_list=|      11      
>>  action      
play_and_get_digits      4 4 3 5000 # askprivateroom.wav ivr/ivr-that_was_an_invalid_entry.wav target_num \d+      15      
>>  action      phrase       spell,${target_num}      16      
>>  action      conference      ${target_num}-127.0.0.1 at default
>>
>
>
>
>_______________________________________________
>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
>
>
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>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
>
>
_______________________________________________
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/20111222/bc418104/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list