[Freeswitch-users] Calling multiple phones at once

Ryan How rhow at exemail.com.au
Tue Jan 10 07:54:17 MSK 2012


Ok, to further this,

Using call groups

 From the cli doing the following:

group 
insert:02 at 192.168.2.7:[sip_cid_type=none]sofia/gateway/sip.pennytel.com/0447123456
group 
insert:02 at 192.168.2.7:[sip_cid_type=none]sofia/internal/1000 at 192.168.2.7

The external number doesn't get called (and it goes to voicemail!, It 
looks like it just transfers to extension 1000)

However if I use

group 
insert:02 at 192.168.2.7:[sip_cid_type=none]sofia/gateway/sip.pennytel.com/0447123456
group insert:02 at 192.168.2.7:[sip_cid_type=none]user/1000 at 192.168.2.7

The external number gets dialed, BUT only a single registered phone on 
1000 gets dialed, not all of them.



So, I'm still stuck as how to do this.

The only option I can see is to ditch the multiple registrations and use 
the group like
group 
insert:02 at 192.168.2.7:[sip_cid_type=none]sofia/gateway/sip.pennytel.com/0447123456
group insert:02 at 192.168.2.7:[sip_cid_type=none]user/1001 at 192.168.2.7
group insert:02 at 192.168.2.7:[sip_cid_type=none]user/1002 at 192.168.2.7
group insert:02 at 192.168.2.7:[sip_cid_type=none]user/1003 at 192.168.2.7

But the multiple registrations is a nice feature... I would like to use 
it if I can so I can just keep adding phones on that extension and it 
doesn't matter where I am.




On 10/01/2012 12:02 PM, Ryan How wrote:
> Hi,
>
> How do I set it up in freeswitch to call mulitple phones at once
> (internal and via a gateway) that works with call_timeout.
>
> I can't seem to find the appropriate wiki page.
>
> Call groups kinda work, but then the phones need to register.
>
> My setup with bridge the timeout doesn't work
>
> <action application="set" data="call_timeout=30"/>
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="set" data="continue_on_fail=true"/>
> <action application="bridge"
> data="user/1000@$${domain},sofia/gateway/sip.pennytel.com/0447123456"/>
> <action application="answer"/>
> <action application="bridge" data="loopback/app=voicemail:default
> $${domain} 1000"/>
> <action application="hangup"/>
>
> After 30 seconds all the phones start ringing again. And when the
> external number hangs up it immediately starts ringing again.
>
> With the call groups it seems to work correctly.
>
> Also, using the user/1000 at domain notation, multiple registrations
> doesn't work, only a single device rings.
>
> Thanks!
>
>
>
> _________________________________________________________________________
> 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



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