[Freeswitch-users] Issue with playAndGetDigit

2008-11-07 Thread Juan Backson
Hi, I am encountering an issue when using playAndGetDigit. I have the regex set as 1|2|3|4|5|6, and then pressed 9, it gives error as expected. Then, I pressed 2. This time it passes, but the digit being returned by playAndGetDigit is 92, instead of just 2. Also, the voice prompt seems a bit

Re: [Freeswitch-users] Issue with playAndGetDigit

2008-11-07 Thread Gonzalo Servat
On Fri, Nov 7, 2008 at 9:44 AM, Juan Backson [EMAIL PROTECTED] wrote: Hi Gonzalo, Here is the lua code I am using 1. 2. digits = session:playAndGetDigits(1, 1, 3, 3000, #*, phrase:admin_menu, phrase:invalid_input, 1|2|3|4|5|6) Try with: digits = session:playAndGetDigits( 1,

Re: [Freeswitch-users] att_xfer+loopback

2008-11-07 Thread Brian West
Why aren't you prefixing the $1 with 668 in the first example? /b On Nov 7, 2008, at 2:03 AM, x y wrote: Btw, the xfer is a transfer with loopback channel, and it works fine. ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org

Re: [Freeswitch-users] Recording through Default.xml not working

2008-11-07 Thread Brian West
I have just tested this again and it works fine. The called extension pressing *2 and it record fine. Are you talking about your user of record_session? Because if you are already recording it.. why even have the bind_meta option to record it? /b On Nov 6, 2008, at 11:59 PM, Baskar

Re: [Freeswitch-users] Socket outbound: How to bridge two calls?

2008-11-07 Thread Brian West
On Nov 7, 2008, at 4:30 AM, Dennis wrote: ok, now i understand to way intercept should work (i was always wonderung, why there only was one uuid). BUT, it still does not work. Could you please be so kind and have a look at http://pastebin.freeswitch.org/6033. there you can see the results

Re: [Freeswitch-users] Socket outbound: How to bridge two calls?

2008-11-07 Thread Anthony Minessale
Notice the one that works is the one you are typing from the cli. maybe your event socket client code is not coded right? Are you adding 2 CR to the end of every event? Are you reading in the appropriate bytes from the Content-Length header? The example of uuid_bridge from your program looks

Re: [Freeswitch-users] att_xfer+loopback

2008-11-07 Thread x y
Because I just wantet to try that the att_xfer is working with user channel. The 668 and 669 perfixes are only made to be assured about that my extensions will be processed instead of the default config's, and because of that, I could transfer the call to any dialable number in the

Re: [Freeswitch-users] att_xfer+loopback

2008-11-07 Thread x y
Wich is working with loopback, is transfer: lt;extension name=xfergt; lt;condition field=destination_number expression=^xfer$gt; lt;action application=read data=1 15 /opt/freeswitch/sounds/en/us/callie/misc/8000/transfer2.wav callednumber 7000 #/gt;

Re: [Freeswitch-users] Socket outbound: How to bridge two calls?

2008-11-07 Thread Dennis
an addition: if we make a call to our socket (inbound), we get the following error in our log: 2008-11-07 16:58:57 [ERR] switch_ivr.c:498 switch_ivr_park() Cannot park channels that are under control already. if an inbound comes in, we send a connect, then a park and then an answer - nothing

Re: [Freeswitch-users] Socket outbound: How to bridge two calls?

2008-11-07 Thread Anthony Minessale
Can you capture the whole log from the instant you get the inbound call until you give up on the uuid bridge? I don't see any of the log about your outbound call. are you doing api originate sofia/internal/[EMAIL PROTECTED] park() For the outbound call like the cli example? The socket

Re: [Freeswitch-users] Socket outbound: How to bridge two calls?

2008-11-07 Thread Dennis
anthony, brian, you are right. it really works the way anthony described over the cli. under http://pastebin.freeswitch.org/6038 you can find the debug log of the working uuid_bridge and of another not working uuid_bridge over the socket and our script. in our second test we made the inbound

Re: [Freeswitch-users] Issue with playAndGetDigit

2008-11-07 Thread Gonzalo Servat
On Fri, Nov 7, 2008 at 6:08 AM, Juan Backson [EMAIL PROTECTED] wrote: Hi, I am encountering an issue when using playAndGetDigit. I have the regex set as 1|2|3|4|5|6, and then pressed 9, it gives error as expected. Then, I pressed 2. This time it passes, but the digit being returned by

Re: [Freeswitch-users] Issue with playAndGetDigit

2008-11-07 Thread Juan Backson
Hi Gonzalo, Here is the lua code I am using 1. 2. digits = session:playAndGetDigits(1, 1, 3, 3000, #*, phrase:admin_menu, phrase:invalid_input, 1|2|3|4|5|6) Thanks, JB Show us the relevant code you're using. - Gonzalo ___

[Freeswitch-users] xml_curl ...

2008-11-07 Thread Shelby Ramsey
Hello, I have a question re: xml_curl ... if I reply with this (from the /tmp/ file created by fs after xml_curl debug_on): ?xml version=1.0 encoding=UTF-8 standalone=no? document type=freeswitch/xml section name=dialplan description=FS RESPONSE context name=public extension

Re: [Freeswitch-users] Different problems with pizza demo on newer build.

2008-11-07 Thread mszlazak
Hi Anthony and Brian. I should have done this yesterday but I'm learning debugging in this IDE environment as I go. Anyway, have you looked at the .lm grammar files in the pizza demo? For the grammar file download in the wiki, I finding 9 .lm files: 6859, pizza_arso, pizza_crust,

Re: [Freeswitch-users] xml_curl ...

2008-11-07 Thread Michael Jerris
action application=set data=hangup_after_bridge=true/ change to action application=set data=hangup_after_bridge=false/ also, if your serving up from xml_curl, you can do the conditions on your cgi and just have a blank condition tag, no reason to have the switch do the regex as well.

Re: [Freeswitch-users] Different problems with pizza demo on newer build.

2008-11-07 Thread Brian West
-rw-r--r-- 2 brian staff 1325 Jul 8 20:35 pizza_arso/pizza_arso.lm -rw-r--r-- 2 brian staff 1797 Jul 8 19:51 pizza_crust/pizza_crust.lm -rw-r--r-- 2 brian staff 667 Jul 7 20:08 pizza_order/pizza_order.lm -rw-r--r-- 2 brian staff 1122 Jul 8 19:46 pizza_size/pizza_size.lm

Re: [Freeswitch-users] Different problems with pizza demo on newer build.

2008-11-07 Thread mszlazak
It's been over a week but I believe I got them from the link on this page: http://wiki.freeswitch.org/wiki/Mod_pocketsphinx -Original Message- From: Brian West [EMAIL PROTECTED] To: freeswitch-users@lists.freeswitch.org Sent: Fri, 7 Nov 2008 11:38 am Subject: Re:

Re: [Freeswitch-users] Freeswitch Build fails (SVN Revision: 10294)

2008-11-07 Thread Anthony Minessale
is that with make current On Fri, Nov 7, 2008 at 2:33 PM, B Karthik [EMAIL PROTECTED] wrote: Hi, The build fails for the latest svn revision:10294. Error message is as follows - ./.libs/libfreeswitch.so: undefined reference to `switch_dso_open' ./.libs/libfreeswitch.so: undefined

Re: [Freeswitch-users] xml_curl ...

2008-11-07 Thread Shelby Ramsey
Mike, Thanks for the info on the .cgi ... I altered the hangup_after_bridge ... see XML below: ?xml version=1.0 encoding=UTF-8 standalone=no? document type=freeswitch/xml section name=dialplan description=FS RESPONSE context name=public extension name=17135454263 condition

[Freeswitch-users] Recommendations on ATA's for WinXP and motherboard.

2008-11-07 Thread mszlazak
I would appreciate some recommendations on ATA (analogue telephony adapters) of either external (e.g. Sipura 3000 which has been updated to a Linksys box) or internal (Digium 410) type. This would be for a home test system with one phone line running FS on Windows XP on a motherboard with

Re: [Freeswitch-users] Recommendations on ATA's for WinXP and motherboard.

2008-11-07 Thread mszlazak
Yikes! That doesn't seem like good news. Since you do have FS for Windows, what can I use to connect my plain old telephone line into my computer so it can interact with FS? If nothing is available currently then when if ever will it become so? Thanks. Mark. -Original