[Freeswitch-users] conf count minus 1 /invalid UTF-8 character

Rodney notlikeme75 at yahoo.com
Mon Dec 19 23:15:40 MSK 2011


both the following expressions work. but since i went to the new version msi this week i get the following error echo'd in console about 20 times at the time of pressing digit to initiate the call count extension:

{warning} switch_xml.c:2328 Invalid UTF-8 character to ampersand, skip it



<action application="say" data="en number pronounced ${expr ${conf_count} - 1}"/> marius

<action application="say" data="en number pronounced ${expr(${conf_count}-1)}"/> mc



________________________________
 From: "freeswitch-users-request at lists.freeswitch.org" <freeswitch-users-request at lists.freeswitch.org>
To: freeswitch-users at lists.freeswitch.org 
Sent: Monday, December 19, 2011 2:57 PM
Subject: FreeSWITCH-users Digest, Vol 66, Issue 103
 
----- Forwarded Message -----

Send FreeSWITCH-users mailing list submissions to
    freeswitch-users at lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
    freeswitch-users-request at lists.freeswitch.org

You can reach the person managing the list at
    freeswitch-users-owner at lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. Re: PCI Compliance Over Telephone for Credit Cards- how?
      (Avi Marcus)
   2. Re: announce conf count (total callers minus 1)? (Michael Collins)
   3. originate via rpc (Anders)
   4. Re: originate via rpc (Michael Collins)

Encrypting yourself only helps if you have a T1/BRI whatever private link to the telco. I don't.. what are my options?

-Avi


On Mon, Dec 19, 2011 at 9:28 PM, Elliott Vogel <elliott at zoogmedia.com> wrote:

I haven’t seen a company yet and I have searched – none of the big origination providers do and many of the smaller ones use the big providers – we are force to do our own encoding
> 
>From:freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi Marcus
>Sent: Monday, December 19, 2011 12:03 PM
>To: FreeSWITCH Users Help
>Subject: Re: [Freeswitch-users] PCI Compliance Over Telephone for Credit Cards- how?
> 
>So is there a provider for USA who takes T1 and encrypts it, so I can buy origination from them?
>
>
>-Avi
> 
>On Mon, Dec 19, 2011 at 7:39 PM, Elliott Vogel <elliott at zoogmedia.com> wrote:
>Well, I have worked a lot with PCI compliance in the past and I don’t think you can meet the requirements of encryption if you’re not doing encoding yourself because most voip service providers aren’t encrypting the calls.  Also dtmf has the same for requirements and for T1 not being encrypted this is true but because the network is considered secured(funny)/private it’s doesn’t need to be – now if you would encapsulate t1 traffic to send it over the internet without encrypting it this would be unsecured.
> 
>From:freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi Marcus
>Sent: Monday, December 19, 2011 5:52 AM
>To: FreeSWITCH Users Help
>Subject: [Freeswitch-users] PCI Compliance Over Telephone for Credit Cards- how?
> 
>I'm planning on an IVR to accept credit card information for signing up and renewal of my services.
>Regarding fraud, I'm going to require at minimum a recording of name, who they are, or something or an actual live call.
> 
>But for PCI compliance.. this says https://www.pcisecuritystandards.org/documents/protecting_telephone-based_payment_card_data.pdf on page 9:
>Call centers will need to ensure that transmission of cardholder data across public networks is encrypted.
>>This is part of PCI DSS Requirement 4 and includes:
>>	* ...
>>	* Voice or data streams over Voice over IP (VoIP) telephone systems, whenever sent over an open or public network. Note that only those consumer or enterprise VoIP systems that provide strong cryptography should be used. 
>>	* Requiring agents to use analog telephone lines when a VoIP telephone system does not provide strong cryptography.
>I'm doing dtmf, not voice, but I can't imagine that's LESS strict.
> 
>I haven't really heard of any end-to-end encrypted origination lines. Is this guideline ignored? How do people deal with this? Does someone have T1 lines and offers encryption for origination...?
>
>
>-Avi Marcus
>
>_________________________________________________________________________
>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
> 
>_________________________________________________________________________
>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
>
>

Try this:
<action application="say" data="en number pronounced ${expr ${conf_count} - 1}"/>That's just off the top of my head, so if it doesn't work then tinker with it until you get it working.

-MC


On Sun, Dec 18, 2011 at 10:22 AM, Rodney <notlikeme75 at yahoo.com> wrote:

this works great, thank you to whomever created it. is there a way to make the conf count = list count -1 so the playback will only speak total "other" callers instead of including the person who press the option?
>
>
>
>
>conf/dialplan/default/01_Announce_Conf_Count.xml:
><include> <!-- Sample dialplan for announcing the call count --> <extension name="Announce Conf Count (Inline)"> <condition field="destination_number" expression="^ANNOUNCE_CONF_COUNT_PRIVATE$"> <action application="set" data="conf_count=${conference ${conference_name} list count}"/> <action application="log" data="INFO ${conf_count}"/> <action application="say" data="en number pronounced ${conf_count}"/> </condition> </extension>
</include> 
>_________________________________________________________________________
>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
>
>
Hi,

I am trying to originate a call, using a mod command through the
xml_rpc, but I am doing something wrong - not sure what it is. I post
this url:

http://1.2.3.4/webapi/originate?{origination_caller_id_number=14007654321}sofia/carriers/111#18001234567@4.5.6.7%20&playback(/vr/migstory.wav)

(numbers and IPs modified here)

The reponse I get is this: -USAGE: <call url>
<exten>|&<application_name>(<app_args>) [<dialplan>] [<context>]
[<cid_name>] [<cid_num>] [<timeout_sec>]

I can do other commands directly in the browser like this (such as
http://1.2.3.4/webapi/show?calls) without any problems. Therefore my
conclusion is that I am doing something wrong in this syntax for http.

Any ideas?

Thanks in advance!

//Anders



Don't you have to URL encode the & character?
-MC


On Mon, Dec 19, 2011 at 11:14 AM, Anders <vaerge at gmail.com> wrote:

Hi,
>
>I am trying to originate a call, using a mod command through the
>xml_rpc, but I am doing something wrong - not sure what it is. I post
>this url:
>
>http://1.2.3.4/webapi/originate?{origination_caller_id_number=14007654321}sofia/carriers/111#18001234567@4.5.6.7%20&playback(/vr/migstory.wav)
>
>(numbers and IPs modified here)
>
>The reponse I get is this: -USAGE: <call url>
><exten>|&<application_name>(<app_args>) [<dialplan>] [<context>]
>[<cid_name>] [<cid_num>] [<timeout_sec>]
>
>I can do other commands directly in the browser like this (such as
>http://1.2.3.4/webapi/show?calls) without any problems. Therefore my
>conclusion is that I am doing something wrong in this syntax for http.
>
>Any ideas?
>
>Thanks in advance!
>
>//Anders
>
>_________________________________________________________________________
>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
>

_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111219/96679314/attachment-0001.html 


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