[Freeswitch-dev] How to route a single channel to multiple conference rooms...

Jean-Pierre Poulin jeanpierrepoulin at yahoo.com
Thu Mar 24 02:48:27 MSK 2011


Ha!  That "conference 3000-192.168.0.11 dial loopback/3001" command did the 
trick!

For the benefit of people later on looking on how to connect two conference 
rooms together, starting from out-of-the-box FreeSwitch you can connect any 
conference between 3000..3399 with a command like:

conference 3000-192.168.0.11 dial loopback/3001

Once this is done, connect one SIP phone to conference 3000 and the other to 
3001, and both SIP phones should magically be able to hear each other.

You should be able to verify on both conferences that they are connected with a 
command like "conference 3000-192.168.0.11 list".  In the above-described 
situation this gives:

3;sofia/internal/1001 at 192.168.0.11;c6d34e33-5fcd-4a83-b049-f10934738a51;Jean-Pierre;1001;hear|speak;0;0;300

2;loopback/3001-a;1df73907-5eac-479e-bcda-610fb60e9364;;0000000000;hear|speak|talking|floor;0;0;300


Thanks a million to everyone who participated toward this answer... you guys 
rock!  :)
    Jean-Pierre 

P.S. Interestingly enough, I still hear music on hold in this situation... (not 
a big deal for me as I intended to switch it off anyways)



________________________________
From: Michael Collins <msc at freeswitch.org>
To: freeswitch-dev at lists.freeswitch.org
Sent: Wed, March 23, 2011 7:19:56 PM
Subject: Re: [Freeswitch-dev] How to route a single channel to multiple 
conference rooms...

I hate to say it, but what happens when you try this?


conference 3000-192.168.0.11 dial loopback/3001

I'm just curious. We aren't fond of the crazy things people try to do with 
loopback but I just want to know if this connects your two conferences. (It did 
on my system.)

-MC


On Wed, Mar 23, 2011 at 3:29 PM, Jean-Pierre Poulin <jeanpierrepoulin at yahoo.com> 
wrote:

> if you are trying to call another conference on the same box you need
>> to loop the call over sip. try:
>> conference 3000-192.168.0.11 dial sofia/internal/3400 at 1.2.3.4
>
>Hi Anthony, sorry to bother you with this again, but I've tried your suggested
>command on three different builds (win binary, win from source, linux from
>source) all with out-of-the-box dialplan & settings and they all return the
>'cannot blind transfer 1 legged calls'.
>
>Log of my command attempting to connect conference 3000 and 3001 below:  (My IP
>address is 192.168.0.11)
>
>conference 3000-192.168.0.11 dial sofia/internal/3001 at 192.168.0.11
>
>2011-03-23 18:23:42.298705 [NOTICE] switch_channel.c:812 New Channel
>sofia/internal/3001 at 192.168.0.11 [78b3b6d8-38ef-420d-ba88-72fcb3a1b61c]
>2011-03-23 18:23:42.302705 [NOTICE] switch_channel.c:812 New Channel
>sofia/internal/0000000000 at 192.168.0.11 [079cf467-1db2-4f0b-b6db-06a0899600ea]
>2011-03-23 18:23:42.307706 [INFO] mod_dialplan_xml.c:331 Processing FreeSWITCH
><0000000000>->3001 in context public
>2011-03-23 18:23:42.312706 [ERR] sofia.c:5906 Cannot Blind Transfer 1 Legged
>calls
>Call Requested: result: [NO_USER_RESPONSE]
>2011-03-23 18:23:42.314706 [NOTICE] sofia.c:5323 Hangup
>sofia/internal/3001 at 192.168.0.11 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]
>2011-03-23 18:23:42.314706 [ERR] mod_conference.c:5021 Cannot create outgoing
>channel, cause: NO_USER_RESPONSE
>2011-03-23 18:23:42.318706 [NOTICE] switch_core_session.c:1306 Session 9
>(sofia/internal/3001 at 192.168.0.11) Ended
>2011-03-23 18:23:42.318706 [NOTICE] switch_core_session.c:1308 Close Channel
>sofia/internal/3001 at 192.168.0.11 [CS_DESTROY]
>freeswitch at JPM> 2011-03-23 18:23:42.412712 [NOTICE]
>switch_core_state_machine.c:189 sofia/internal/0000000000 at 192.168.0.11 has
>executed the last dialplan instruction, hanging up.
>2011-03-23 18:23:42.412712 [NOTICE] switch_core_state_machine.c:191 Hangup
>sofia/internal/0000000000 at 192.168.0.11 [CS_EXECUTE] [NORMAL_CLEARING]
>2011-03-23 18:23:42.422712 [NOTICE] switch_core_session.c:1306 Session 10
>(sofia/internal/0000000000 at 192.168.0.11) Ended
>2011-03-23 18:23:42.422712 [NOTICE] switch_core_session.c:1308 Close Channel
>sofia/internal/0000000000 at 192.168.0.11 [CS_DESTROY]
>
>
>
>_______________________________________________
>FreeSWITCH-dev mailing list
>FreeSWITCH-dev at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>http://www.freeswitch.org
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110323/b0355100/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list