Re: [Freeswitch-users] regarding conference (basic questions)

2008-10-20 Thread Baskar
Hi, This is the api command to conference *api originate sofia/your domani id /your extension &conference(conference room no) * by using this command you can enter into conference . -- Warm Regards, N.Baskar ___ Freeswitch

Re: [Freeswitch-users] regarding conference (basic questions)

2008-10-20 Thread Gayatri Kulkarni
On Mon, Oct 20, 2008 at 7:00 PM, Michael Jerris <[EMAIL PROTECTED]> wrote: > > > Call it or originate a call to it: > > http://wiki.freeswitch.org/wiki/Mod_commands#originate to the user, or the conference? > > > call it, originate calls

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Gayatri Kulkarni
[EMAIL PROTECTED]> 2008-10-20 19:34:29 [ERR] switch_odbc.c:160 switch_odbc_handle_connect() STATE: 01000 CODE 0 ERROR: [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.so' : /usr/local/lib/libmyodbc3.so: file too short check if your .so has read permissions i recoomend re-instal

Re: [Freeswitch-users] sdp header rewrite

2008-10-20 Thread Brian West
It's an spa issue but we work around it so that shouldn't matter! /b Sent from my iPhone On Oct 20, 2008, at 9:59 PM, Gabriel Kuri <[EMAIL PROTECTED]> wrote: > I ran into this posting which is similar, although not exactly the > same, > as the failure mode I'm experiencing. > >http://bugs

Re: [Freeswitch-users] sdp header rewrite

2008-10-20 Thread Gabriel Kuri
I ran into this posting which is similar, although not exactly the same, as the failure mode I'm experiencing. http://bugs.digium.com/view.php?id=11483 following what this other person tried to temporarily fix the issue, I changed the name of the rtpmap on the linksys spa from G729a to G729 a

Re: [Freeswitch-users] Setting the moh

2008-10-20 Thread Brian West
Turn off silences suppression ? /b On Oct 20, 2008, at 9:51 PM, Woody Dickson wrote: > Hi Brian, > > What do you think could be the reason for the bad MOH sound quality? > > I am just thinking that it could be some setting issue. > > Thanks, > Woody

Re: [Freeswitch-users] Setting the moh

2008-10-20 Thread Woody Dickson
Hi Brian, What do you think could be the reason for the bad MOH sound quality? I am just thinking that it could be some setting issue. Thanks, Woody On Tue, Oct 21, 2008 at 10:22 AM, Brian West <[EMAIL PROTECTED]> wrote: > in the defaults the rate is selected by the channel rate. You have no

Re: [Freeswitch-users] Setting the moh

2008-10-20 Thread Brian West
in the defaults the rate is selected by the channel rate. You have no need to run a 16k hold music on an 8k channel. /b On Oct 20, 2008, at 9:15 PM, Woody Dickson wrote: > There are three rates specified ( 8000, 16000, and 32000), so how > do I select which one to use? __

Re: [Freeswitch-users] Setting the moh

2008-10-20 Thread Woody Dickson
Hi Brian, Thanks for your help. It works now, but I have another problem. The MOH that is being heard by the other side does not sound right. It sounded like the bit rate is not right or something. Freeswitch did send out Audio but xlite can't properly translate. Any idea what this may be du

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Anthony Minessale
especially if you are not using srtp and you can just sniff the dtmf =D On Mon, Oct 20, 2008 at 6:29 PM, Mitch Capper <[EMAIL PROTECTED]>wrote: > Certainly offering support for hashed passwords has benefits and as you > mentioned can be done using something other than the flat file XML directory

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Michael Jerris
just added vm-a1-hash as well that you can use to override the standard a1 hash for voicemail use only. Mike On Oct 20, 2008, at 7:27 PM, Anthony Minessale wrote: > if you want to test latest trunk i added code that *should* let you > auth the vm using the same > a1-hash also we added an "m

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Mitch Capper
Certainly offering support for hashed passwords has benefits and as you mentioned can be done using something other than the flat file XML directory format and decoding on the fly. I think one reason it hasn't been looked at as a major issue yet is voicemail and conference passwords are generally

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Anthony Minessale
if you want to test latest trunk i added code that *should* let you auth the vm using the same a1-hash also we added an "md5" api command to mod_commands so you can use it in your own apps. ${md5(some data)} On Mon, Oct 20, 2008 at 4:43 PM, Peter P GMX <[EMAIL PROTECTED]> wrote: > I think we c

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Michael Collins
> > Your best bet is to try to shift the paragidm in your head away from how > > asterisk does it =D > > > > I know... ATM the moment I'm trying to bring FS into the organization > in stages, "parallel" to Asterisk as much as possible. Once I get > through this initial phase I can begin to thin

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Kristian Kielhofner
On 10/20/08, Anthony Minessale <[EMAIL PROTECTED]> wrote: > One important thing to remember is that in FreeSWITCH the dialplan is a > separate stage of a call. > FS parses your dialplan in one pass and builds a "todo" list and then it > hits execute state and really does the stuff. > > We do have a

Re: [Freeswitch-users] overloaded 'CoreSession_execute'

2008-10-20 Thread Brian West
It would be session:execute as outlined here http://wiki.freeswitch.org/wiki/Mod_lua#session :execute /b On Oct 20, 2008, at 4:36 PM, Damon Brown wrote: > digits = session:playAndGetDigits(1, 10, 10, 5000, "#", > "dialno.wav", "ivr-imsorry.wav", "\\d+") > freeswitch.consoleLog("info", "Got

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Peter P GMX
I think we can agree that the more passwords are available in clear text the more problems we will have if a system is compromized. Therefore it's common practise to not store passwords in clear text. In our case we use xml-curl to store the directory data in a database for a distributed freeswitch

[Freeswitch-users] overloaded 'CoreSession_execute'

2008-10-20 Thread Damon Brown
Hello All, I created a lua app that "bridges" calls based on numbers entered. The following was my direction with the code: digits = session:playAndGetDigits(1, 10, 10, 5000, "#", "dialno.wav", "ivr-imsorry.wav", "\\d+") freeswitch.consoleLog("info", "Got dtmf: ".. digits .."\n"); cmd = "so

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Anthony Minessale
One important thing to remember is that in FreeSWITCH the dialplan is a separate stage of a call. FS parses your dialplan in one pass and builds a "todo" list and then it hits execute state and really does the stuff. We do have an application called execute_extension that lets you run a dialplan m

[Freeswitch-users] I love FreeSwitch

2008-10-20 Thread jocke eriksson
Hello my friends! I would like to start this letter by saying FS rocks. I have been working on a application built on top of FS for a month, and it has been a pleasure. The application is a browser that controls FS with the WC3 standard SCXML. The syntax is very close to CallXML 3.0 and it is based

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Michael Jerris
you can just as the last exten in your context do a transfer to the other context. Mike On Oct 20, 2008, at 5:11 PM, Michael Collins wrote: >> Sure: >> >> [include] >> exten => 727,1,DoStuff >> exten => 800,1,DoOtherStuff >> >> >> [default] >> include => include >> >> I know it's a simple cas

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Michael Collins
> Sure: > > [include] > exten => 727,1,DoStuff > exten => 800,1,DoOtherStuff > > > [default] > include => include > > I know it's a simple case and not really an "example" but I'm really > just looking for a way for a context to just "plow through" another > context looking for a match before

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Kristian Kielhofner
On 10/20/08, Peter P GMX <[EMAIL PROTECTED]> wrote: > Hello Brian, > > i have learned im my life that any server can be compromized if anyone > uses enough effort to hack it. Thus I simply try to prevent storing > passwords in clear text. > I am actually trying to setup a secure system with TLS

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Kristian Kielhofner
On 10/20/08, Michael Collins <[EMAIL PROTECTED]> wrote: > Could you post a sample from an Asterisk dialplan and maybe we can come up > with a good way to replicate it in FS? Possibly there is a more elegant > solution that does not require lots of munging. > -MC > Sure: [include] exten => 727,1,D

Re: [Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Michael Collins
Could you post a sample from an Asterisk dialplan and maybe we can come up with a good way to replicate it in FS? Possibly there is a more elegant solution that does not require lots of munging. -MC On Mon, Oct 20, 2008 at 12:48 PM, Kristian Kielhofner < [EMAIL PROTECTED]> wrote: > In Asterisk on

[Freeswitch-users] Best way to replicate include =>?

2008-10-20 Thread Kristian Kielhofner
In Asterisk one can include the extensions of another context with include =>. What's the best way to pull that off in FreeSWITCH? I've played a bit with mod_dptools transfer but it doesn't look like it's going to do exactly what I want... Any ideas? Thanks! -- Kristian Kielhofner http://blog

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Peter P GMX
Hello Brian, i have learned im my life that any server can be compromized if anyone uses enough effort to hack it. Thus I simply try to prevent storing passwords in clear text. I am actually trying to setup a secure system with TLS/SRTP and handling clear text passwords didn't really fit into this

Re: [Freeswitch-users] Problem with PlayAndGetDigits

2008-10-20 Thread Brian West
Keith, I tried something like this and it worked fine. digits = session:playAndGetDigits(1, 1, 3, 3000, "#*", "/tmp/ sr8k.wav", "/tmp/test.wav", "1|2|3|5") Can you verify this? /b On Oct 18, 2008, at 4:14 AM, Keith Wood wrote: Hi Brian, Here is the script: digits = session:playAn

Re: [Freeswitch-users] sdp header rewrite

2008-10-20 Thread Gabriel Kuri
Sorry, I should've included that in the original mesg... The logs I posted were from trunk-r10055. I updated this morning to trunk-r10081, still the same issue. ~Gabe Brian West wrote: > Which version of FreeSWITCH are you using? > > /b > > On Oct 20, 2008, at 2:25 AM, Gabriel Kuri wrote: > >

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-20 Thread Anthony Minessale
On Sat, Oct 18, 2008 at 3:50 AM, Dennis <[EMAIL PROTECTED]> wrote: > >> When using socket outbound, freeswitch connects to the PHP-script, the > >> PHP-script forks and is registered to "myevents" (events all seems to > >> give me all events from all connections). > >> One of the problems I have w

Re: [Freeswitch-users] sdp header rewrite

2008-10-20 Thread Brian West
Which version of FreeSWITCH are you using? /b On Oct 20, 2008, at 2:25 AM, Gabriel Kuri wrote: > I'm having an issue with the linksys spa devices when enabling inbound > proxy media mode (inbound-proxy-media=true) and late negotiation > (inbound-late-negotiation=true) in the sofia profile. The s

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Baskar
Hi, I have done all the changes but i cant able to run jsrun odbc.js [EMAIL PROTECTED]> 2008-10-20 19:34:29 [ERR] switch_odbc.c:160 switch_odbc_handle_connect() STATE: 01000 CODE 0 ERROR: [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.so' : /usr/local/lib/libmyodbc3.so: file

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Brian West
Honestly is that much of an issue? Your machine should be secure enough to not allow anyone but the user FreeSWITCH is running as read the configs in the first place. I'm not even that paranoid :P /b On Oct 20, 2008, at 9:09 AM, Peter P GMX wrote: > Thanks, > > I got it for the directory p

Re: [Freeswitch-users] Setting the moh

2008-10-20 Thread Brian West
It looks like you have the default config for local_stream.conf.xml and you'll need to "make hd-moh-install" during the installation of FreeSWITCH to have the proper files in place for local_stream to work. /b On Oct 20, 2008, at 9:50 AM, Woody Dickson wrote: > I am getting the following err

[Freeswitch-users] Setting the moh

2008-10-20 Thread Woody Dickson
Hi, I am getting the following error when executing the meta_app (*4). The error is complaining about moh not found. Does anyone know where I can define the moh? If I want to define different moh for each user, is it doable? HANGE_MEDIA 2008-10-21 04:09:14 [DEBUG] switch_core_session.c:727 swi

Re: [Freeswitch-users] Passwords in clear text

2008-10-20 Thread Peter P GMX
Thanks, I got it for the directory password (a1-hash). But what about the voicemail-password and the passwords stored for external gateways? Best regards Peter Leon de Rooij schrieb: > Hi, > > Yes, you can just return an a1-hash instead of a password. > > The a1-hash consists of md5(username:do

Re: [Freeswitch-users] Error database is locked

2008-10-20 Thread Anthony Minessale
It's a harmless warning generated by sqlite due to it's design. It just means something was reading from the db while something else was writing. On Sun, Oct 19, 2008 at 2:24 PM, Jon Bruel <[EMAIL PROTECTED]> wrote: > I have made an application using the fifo application which behaves as > the A

Re: [Freeswitch-users] regarding conference (basic questions)

2008-10-20 Thread Michael Jerris
On Oct 20, 2008, at 9:21 AM, Gayatri Kulkarni wrote: > Hi guys, > I read through mod_conference page on wiki > but i am still not clear about how do i initiate a conference after > i do the configuration > > conference dial user1 ? Call it or originate a call to it: http://wiki.freeswitch.o

Re: [Freeswitch-users] Request : seperate log per sip profile

2008-10-20 Thread Michael Jerris
On Oct 20, 2008, at 9:16 AM, jay binks wrote: > would this be a feature request worthy of addition ? > I certainly think so. > > I have a bunch of customers, each with their own internal sip > profile ( separate private networks to my sip cluster ) > having this means I can easily watch the log

[Freeswitch-users] regarding conference (basic questions)

2008-10-20 Thread Gayatri Kulkarni
Hi guys, I read through mod_conference page on wiki but i am still not clear about how do i initiate a conference after i do the configuration conference dial user1 ? and then how do i add the other users? can i add two+ users simultaneously? as in say, conference dial user1 user2 ... ?? I trie

Re: [Freeswitch-users] Request : seperate log per sip profile

2008-10-20 Thread jay binks
would this be a feature request worthy of addition ? I certainly think so. I have a bunch of customers, each with their own internal sip profile ( separate private networks to my sip cluster ) having this means I can easily watch the logs of each customer without having to try and filter other log

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Gayatri Kulkarni
*First:* Syntax for isql: isql Next: Make sure your /usr/local/etc/odbcinst.ini *matches* /root/.odbc.ini Create a database in the DSN which you can test on *Sample odbc ini:* [ODBC Data Sources] MySQL = MySQL Database Driver [MySQL] Description = MySQL Database Driv

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Rupa Schomaker
On 10/20/2008 5:25 AM, Baskar wrote: > > * /usr/local/etc/.odbc.ini* /usr/local/etc/odbc.ini not .odbc.ini > -- > Warm Regards, > N.Baskar ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/li

Re: [Freeswitch-users] Request : seperate log per sip profile

2008-10-20 Thread Michael Jerris
On Oct 20, 2008, at 8:42 AM, jay binks wrote: > Is there an easy way to define a separate log file per SIP Profile ?? No. > Im trying to emulate the apache function of ( optionally ) having > separate logs per virtual server. MIke ___ Freeswitch-

[Freeswitch-users] Request : seperate log per sip profile

2008-10-20 Thread jay binks
Is there an easy way to define a separate log file per SIP Profile ?? Im trying to emulate the apache function of ( optionally ) having separate logs per virtual server. Sincerely Jay Binks ___ Freeswitch-users mailing list Freeswitch-users@lists.freesw

Re: [Freeswitch-users] Auto Dialout

2008-10-20 Thread Michael Jerris
On Oct 20, 2008, at 4:26 AM, HM Kias wrote: > Hi , > Has anyone figured to create a call file , so that we can auto- > dialoot . I dont see a spool directory for FS. There is no support for call files, but there is a number of different ways to run the fsapi commands such as originate: http:

[Freeswitch-users] Auto Dialout

2008-10-20 Thread HM Kias
Hi , Has anyone figured to create a call file , so that we can auto-dialoot . I dont see a spool directory for FS. Regards, Kias ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswit

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Baskar
Hi, Using isql i get these error [EMAIL PROTECTED] ~]# isql ODBC [ISQL]ERROR: Could not SQLConnect when i run odbcinst -j on my system, it shows me also 3 files [EMAIL PROTECTED] ~]# odbcinst -j unixODBC 2.2.12 DRIVERS: /usr/local/etc/odbcinst.ini SYSTEM DATA SOURCES: /usr/local/etc

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Gayatri Kulkarni
can you connect to the database from outside freeswitch? Using the isql command? Try that first Plus: run odbcinst -j on my system, it shows me 3 files: /usr/local/etc/odbc.ini /usr/local/etc/odbcinst.ini /root/.odbc.ini When all these files are identical, i can successfully esatcblish the connec

Re: [Freeswitch-users] get channel status

2008-10-20 Thread kris kothan
Hi, I want to run info throu script instead of dialplan, because my application need to know the Answer-State variable dynamically. Thanks Kris On Mon, Sep 29, 2008 at 11:38 PM, B Karthik <[EMAIL PROTECTED]> wrote: > Set hangup_after_bridge variable to false and run the info command after > bridg

[Freeswitch-users] sdp header rewrite

2008-10-20 Thread Gabriel Kuri
I'm having an issue with the linksys spa devices when enabling inbound proxy media mode (inbound-proxy-media=true) and late negotiation (inbound-late-negotiation=true) in the sofia profile. The spa immediately sends a BYE when the call is answered by the called party. For whatever reason, it works

Re: [Freeswitch-users] ODBC through JS

2008-10-20 Thread Baskar
Hi, When i load the mod_spidermonkey command i get all mod_spidermonkey loaded successfully [EMAIL PROTECTED]>* load mod_spidermonkey* 2008-10-20 12:29:46 [CONSOLE] mod_spidermonkey.c:944 sm_load_file() Successfully Loaded [/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so] 2008-10-20 12:29: