[Freeswitch-users] Requiring Pin of "1" for all conferences + announcement
Spencer Angerbauer
spencer.angerbauer at gmail.com
Sat Feb 1 06:27:25 UTC 2020
Thanks guys. The conference_enforce_security=true was the issue. I’m able to add a pin to the originate command line and webapi now with that entry.
> On Jan 31, 2020, at 6:06 AM, Nathan Neulinger <nneul at mst.edu> wrote:
>
> See if below helps if you add it to the originate webapi call: (You'll need to encode it for query parameter usage.)
>
> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference <https://freeswitch.org/confluence/display/FREESWITCH/mod_conference>
>
> ---------------------------
> conference_enforce_security
> Allows the conference security to be overridden. This applies in two different scenarios, one for inbound and one for outbound.
>
> By default, conference security is always applied to inbound calls and is always skipped for outbound calls.
>
> Inbound
>
> <action application="set" data="conference_enforce_security=false"/>
> <action application="conference" data="3000"/>
> Outbound
>
> originate {conference_enforce_security=true}sofia/internal/1001 &conference(3000)
> -------------------------
>
>
>
>
> From: David Villasmil [mailto:david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>]
> Sent: Friday, January 31, 2020, 4:02 AM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> <mailto:freeswitch-users at lists.freeswitch.org>
> Cc: Nathan Neulinger <nneul at mst.edu> <mailto:nneul at mst.edu>
> Subject: [Freeswitch-users] Requiring Pin of "1" for all conferences + announcement
>
>> Does that api request treats & as fs or as a variable separator? I wonder... never used the web api, though.
>>
>> I think you’d be better off using ESL.
>>
>> Regards,
>>
>> David
>>
>> On Fri, 31 Jan 2020 at 08:48, Spencer Angerbauer <spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>> wrote:
>> Thanks Nathan for the quick reply. We are creating our conferences through the webapi and triggering a web request for each number joining a particular call with the same conference ID… so for example, if we were bridging 3 calls, we are sending a GET post to the API sequentially by the following example phone numbers:
>>
>> http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/15555555555%20&conference(1234) <http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/15555555555%20&conference(1234)>
>> http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/17777777777%20&conference(1234) <http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/17777777777%20&conference(1234)>
>> http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/18888888888%20&conference(1234) <http://12.34.56.78:8080/webapi/originate?sofia/gateway/signalwire/18888888888%20&conference(1234)>
>>
>>
>> We’ve tried to pass the pin via the webapi post without luck, and as mentioned below have tried to even hard-set the xml in conference.conf.xml to hardcoded to “1” as the PIN with no luck.
>>
>> Is there a way to require the pin from the Webapi example above or even from the originate example here?:
>>
>> originate sofia/gateway/signalwire/15555555555 &conference(1234)
>>
>> Thank you again Nathan for your quick response today!
>>
>> -Spence
>>
>>
>>> On Jan 30, 2020, at 7:02 PM, Nathan Neulinger <nneul at mst.edu <mailto:nneul at mst.edu>> wrote:
>>>
>>> How are you creating your conference?
>>>
>>> If you have that pin setting in the conference profile named "mysettings", you should be able to create your conference using the "conference" application specifying that profile.
>>>
>>> i.e.
>>>
>>> <action application="conference" data="myconfname at mysettings" />
>>>
>>> or you can just do it on that create
>>>
>>> <action application="conference" data="myconfname+1" />
>>>
>>>
>>> See docs here: https://freeswitch.org/confluence/display/FREESWITCH/mod_conference <https://freeswitch.org/confluence/display/FREESWITCH/mod_conference>
>>>
>>> -- Nathan
>>>
>>> From: Spencer Angerbauer [mailto:spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>]
>>> Sent: Thursday, January 30, 2020, 6:33 PM
>>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> <mailto:freeswitch-users at lists.freeswitch.org>
>>> Subject: [Freeswitch-users] Requiring Pin of "1" for all conferences + announcement
>>>
>>>> Just following up after troubleshooting a variety of items… is there an easier way to hard code the XML to require PIN “1” in the conference.conf.xml files for every and all conference calls on the freeswitch pbx? It seems the issue is requiring a PIN on a web api call or an originate call from the console. I am simply trying to hard set Pins for all conferences to be “1” for testing purposes. Any help would be greatly appreciated. Am I missing an additional required parameter?
>>>>
>>>> Thanks,
>>>>
>>>> -Spence
>>>>
>>>>> On Jan 23, 2020, at 10:28 PM, Spencer Angerbauer <spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>> wrote:
>>>>>
>>>>> Ive also update all conference.con.xml to include the following:
>>>>>
>>>>> <!-- Conference pin -->
>>>>> <param name="pin" value="1"/>
>>>>> <param name="moderator-pin" value="1”/>
>>>>>
>>>>>
>>>>>
>>>>> But still no luck on pin being required upon entrance into a conference...
>>>>>
>>>>>
>>>>>
>>>>>> On Jan 23, 2020, at 5:39 PM, Spencer Angerbauer <spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>> wrote:
>>>>>>
>>>>>> Yes, I have tried that and unfortunately the bridge just hangs up right after it does an outgoing connection...
>>>>>>
>>>>>>> On Jan 23, 2020, at 5:19 PM, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
>>>>>>>
>>>>>>> Have you tried “+1”?
>>>>>>>
>>>>>>> Like
>>>>>>>
>>>>>>> http://<<servername>>:8080/webapi/conference%2B1?<<friendlyname>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, 24 Jan 2020 at 00:07, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
>>>>>>> Why don’t you originate and send to XML XXXX where XXXX is an extension and on the extension you do first the announcement and gather the digit and if it is 1 then send to the conference?
>>>>>>>
>>>>>>> On Thu, 23 Jan 2020 at 19:26, Spencer Angerbauer <spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>> wrote:
>>>>>>> Hello Freeswitch Pros,
>>>>>>>
>>>>>>> I just wanted to see if by chance anyone had any suggestions on the below info and issue. Thank you so much for your feedback and direction as it is greatly appreciated!
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> -Spence
>>>>>>>
>>>>>>>> On Jan 19, 2020, at 3:54 PM, Spencer Angerbauer <spencer.angerbauer at gmail.com <mailto:spencer.angerbauer at gmail.com>> wrote:
>>>>>>>>
>>>>>>>> I am trying to get all conferences to say a phrase before entering the pin #1 prior to entering (as we are connecting via outbound dialer from api). I have installed TTS to do a “say” function, and have updated the conf/autoload_configs/conference.conf.xml by making the “pin” required and to require pin as “1”, but every time a caller connects, it just transfers them directly into the conference without announcing that they need to press “1” to enter, nor does it require a “pin” to connect to the conference.
>>>>>>>>
>>>>>>>> Is there somewhere else I need to update the dialing plan to require all my conference calls require a “1” when using the web api outbound dialer to connect everyone? (I am using http://<<servername>>:8080/webapi/originate?sofia/gateway/signalwire/<<phone number>>%20&conference(<<conference name>>) <http://api.joonto.com:8080/webapi/originate?sofia/gateway/signalwire/18015737111%20&conference(1234)>to connect multiple calls together).
>>>>>>>>
>>>>>>>> Also, is there another location to add speak to text for the beginning of every conference from webapi or does it all need to be handled by the dial plan?
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thank you for your help on both these related issues.
>>>>>>>>
>>>>>>>> -Spence
>>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>>
>>>>>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>>>>>>> Build your next product on our scalable cloud platform.
>>>>>>>
>>>>>>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>>>>>>
>>>>>>> Professional FreeSWITCH Services
>>>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>>>> https://cluecon.com <https://cluecon.com/>
>>>>>>>
>>>>>>> FreeSWITCH-users mailing list
>>>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>>>> https://freeswitch.com <https://freeswitch.com/>--
>>>>>>> Regards,
>>>>>>>
>>>>>>> David Villasmil
>>>>>>> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
>>>>>>> phone: +34669448337
>>>>>>> --
>>>>>>> Regards,
>>>>>>>
>>>>>>> David Villasmil
>>>>>>> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
>>>>>>> phone: +34669448337
>>>>>>> _________________________________________________________________________
>>>>>>>
>>>>>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>>>>>>> Build your next product on our scalable cloud platform.
>>>>>>>
>>>>>>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>>>>>>
>>>>>>> Professional FreeSWITCH Services
>>>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>>>> https://cluecon.com <https://cluecon.com/>
>>>>>>>
>>>>>>> FreeSWITCH-users mailing list
>>>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>>> _________________________________________________________________________
>>>>>>
>>>>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>>>>>> Build your next product on our scalable cloud platform.
>>>>>>
>>>>>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>>>>>
>>>>>> Professional FreeSWITCH Services
>>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>>> https://cluecon.com <https://cluecon.com/>
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>> _________________________________________________________________________
>>>>>
>>>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>>>>> Build your next product on our scalable cloud platform.
>>>>>
>>>>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>>>>
>>>>> Professional FreeSWITCH Services
>>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>>> https://cluecon.com <https://cluecon.com/>
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>>
>>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>>>> Build your next product on our scalable cloud platform.
>>>>
>>>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>>>
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>>>> https://freeswitch.com <https://freeswitch.com/>
>>>>
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>>>> https://cluecon.com <https://cluecon.com/>
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> https://freeswitch.com <https://freeswitch.com/>--
>>>
>>> ------------------------------------------------------------
>>> Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu>
>>> Missouri S&T Information Technology (573) 341-6679
>>> System Administrator - Architect (573) 612-1412
>>> System and Desktop Infrastructure Team Manager
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com <mailto:sales at freeswitch.com>
>> https://freeswitch.com <https://freeswitch.com/>
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss <https://freeswitch.com/oss>
>> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
>> https://cluecon.com <https://cluecon.com/>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> https://freeswitch.com <https://freeswitch.com/>--
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
>> phone: +34669448337
> --
>
> ------------------------------------------------------------
> Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu>
> Missouri S&T Information Technology (573) 341-6679
> System Administrator - Architect (573) 612-1412
> System and Desktop Infrastructure Team Manager
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200131/1a14f8b2/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list