[Freeswitch-users] Originate call into conference - no early media
Alex Crow
acrow at integrafin.co.uk
Wed Apr 18 22:22:48 MSD 2012
Hi,
I'm using the following dialplan snippet to call new parties into a
conference (see :
http://wiki.freeswitch.org/wiki/Conference_Add_Call_Example):
<condition field="destination_number"
expression="^ADD_CALL_TO_CONF__(1\d{3}|11\d{4})$" break="on-true">
<action application="set" data="new_uuid=${create_uuid foo}" inline="true"/>
<action application="hash"
data="insert/domain-${domain_name}/last_user_$1/${new_uuid}" />
<action application="set" data="res=${bgapi originate
{origination_uuid=${new_uuid}}user/$1 &conference(${conference_name})}"/>
</condition>
<condition field="destination_number"
expression="^ADD_CALL_TO_CONF__(2\d{2})$" break="on-true">
<action application="set" data="new_uuid=${create_uuid foo}" inline="true"/>
<action application="hash"
data="insert/domain-${domain_name}/last_user_$1/${new_uuid}" />
<action application="set" data="res=${bgapi originate
{origination_uuid=${new_uuid}}sofia/gateway/om.net/$1
&conference(${conference_name})}"/>
</condition>
The page referenced implies I should get early media when I call someone
into the conference, but when I try (either for local endpoints or those
on a remote server via a gateway) I don't hear any ringing. I do if I
call via a PSTN gateway.
Any ideas?
Cheers
Alex
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list