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

Jean-Pierre Poulin jeanpierrepoulin at yahoo.com
Wed Mar 23 22:06:57 MSK 2011

> You want to do something like:
>  conference conf#2 dial conf#1
>So your dialplan allows people into conf#1 via, say:
>  sofia/default/conference1
>and conf#2 is number 1002
>  conference 1002 dial sofia/default/conference1

Hi Paul, thanks again for the hint in this direction, but after much research I 
just can't connect two conference rooms together.

My best effort thus far involves registering extensions 3400..3499 in a similar 
way conferences 3000..3099 are done

    <extension name="test_conferences">
      <condition field="destination_number" expression="^(34\d{2})$">
        <action application="answer"/>
        <action application="conference" data="$1-${domain_name}@default"/>

And to insert a new user in conf/directory/default for file 3400.xml so that 
user / conference 3400 can be seen as a registered user.

  <user id="3400">
      <param name="password" value="$${default_password}"/>
      <param name="vm-password" value="3400"/>
      <variable name="toll_allow" value="domestic,international,local"/>
      <variable name="accountcode" value="3400"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 3400"/>
      <variable name="effective_caller_id_number" value="3400"/>
      <variable name="outbound_caller_id_name" 
      <variable name="outbound_caller_id_number" 
      <variable name="callgroup" value="techsupport"/>

Unforunately, when I call out with a cli command like "conference 
3001- dial user/3400" I get

2011-03-23 14:56:46.770577 [ERR] switch_ivr_originate.c:2493 Cannot create 
outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
Call Requested: result: [USER_NOT_REGISTERED]
2011-03-23 14:56:46.770577 [ERR] switch_ivr_originate.c:2493 Cannot create 
outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2011-03-23 14:56:46.770577 [ERR] mod_conference.c:4597 Cannot create outgoing 
channel, cause: USER_NOT_REGISTERED

(The above command works fine if I call a registered extension like 1001...  In 
other words, no endpoint appears to be present / answering for 3400 even though 
I have placed an "answer" application as done for the other conferences.

(The same error appears even if I register two SIP phones to conference rooms 
3000 and 3400)

Has linking two conference rooms ever been done?

Thanks for any hint you can offer... I have no idea what to try next and so far 
the best path forward looks like hacking the code.


More information about the FreeSWITCH-dev mailing list