[Freeswitch-users] Running conference from api and xml-dialplan

Artur Mega findmeinwland at gmail.com
Mon May 29 05:58:02 UTC 2017


Hello community,

I have a problem with conferences.

When I start a conference from xml dialplan like this - everythiing works
(plays audio, I'm asked to enter PIN):
```
    <extension name="conf-test">
      <condition field="destination_number" expression="^(\d+)$">
        <action application="conference" data="arthur at default-en
+1234+flags{endconf|moderator}"/>
      </condition>
    </extension>
```

But when I use fs_cli to call to my mobile number, then joining to
conference - I don't hear audio (woman's voice "You are only one person in
the conference"), and what is more important - I'm not asked to enter PIN
code. Whyy????
```
originate
{origination_caller_id_number=8080000000}sofia/gateway/mygateway/my-mobile-number
&conference(test at default-en+1234+flags{endconf|moderator})
```

I need to use API to join a mobile phone number to conference​, and ask him
to enter a PIN number (becouse sometimes phone number can be offline, but
owner can turn on a voicemail service, and voicemail will record
conversation untill it became full (up to 1 hour)). I don't want to call to
voicemail for 1 hour becouse of money.
​
Thanks.

-- 
​С уважением, ​
Артур
​Regards, Arthur​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170529/e8a51848/attachment.html>


More information about the FreeSWITCH-users mailing list