Re: [Freeswitch-users] Error in OpenZap

2009-07-01 Thread Baskar
*Hi, i have changed the openzap.conf file but still i get the same error **[span wanpipe 1] number = 1 trunk_type = e1 b-channel = 1:1-15 d-channel = 1:16 b-channel = 1:17-31* * freeswi...@localhost.localdomain load mod_libpri API CALL [load(mod_libpri)] output: -ERR [module load file routine

[Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread qian ma
hi all freeswitch support PCMU only? i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml, but freeswitch still support PCMU only, below is the trace: 2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare

[Freeswitch-users] Fwd: freeswitch support PCMU only?

2009-07-01 Thread qian ma
-- Forwarded message -- From: qian ma god.nirv...@gmail.com Date: 2009/7/1 Subject: freeswitch support PCMU only? To: Freeswitch-users@lists.freeswitch.org Freeswitch-users@lists.freeswitch.org hi all freeswitch support PCMU only? i follow the

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread seven
absolutely not. codec negotiate depending on your conf. do you have a sip trace? On Jul 1, 2009, at 2:48 PM, qian ma wrote: hi all freeswitch support PCMU only? i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml , but freeswitch still support PCMU only,

Re: [Freeswitch-users] Error in OpenZap

2009-07-01 Thread Michael S Collins
Look more closely at the output. It looks like mod_libpri.so didn't get installed properly. I think this is a bug in the ozmod_libpri build. For now just locate that missing .so file in your oz build environment and copy it to the freeswitch/mod directory and try again. -MC Sent from my

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
fs can support lots of codecs. you can find the ff variables defined in vars.xml: global_codec_prefs outbound_codec_prefs then look for inbound_codec_negotiation in sip_profiles/internal.xml,sip_profiles/external.xml if you want your codec_prefs to set priority or not. -nandy On Wed, Jul 1,

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread qian ma
thanks for your replies. my var.xml: X-PRE-PROCESS cmd=set data=global_codec_prefs=PCMA/ X-PRE-PROCESS cmd=set data=outbound_codec_prefs=PCMA,GSM,iLBC/ below is the sip trace: recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
seven, of course, codec negotiation depends on the order of codecs in the *_codec_prefs variables. but, the opposite end has also it's own codecs prefs, too. fs can accept the other end's prefs (inbound_codec_negotiation=generous) or imposes it's own prefs (=greedy). you must include the codec in

Re: [Freeswitch-users] Any advances on T.38 support for FS?

2009-07-01 Thread François Delawarde
Is there any work planned for T.38 termination (in mod_fax)? François. On Tue, 2009-06-30 at 12:07 -0400, Michael Jerris wrote: We currently support t.38 passthrough only using proxy_media mode. T. 38 gateway is on the roadmap but not yet close to complete. Mike On Jun 30, 2009, at

Re: [Freeswitch-users] Could this be a bug in the SIP registry?

2009-07-01 Thread Jason White
Mitchel Constantin mythical...@weavver.com wrote: 5. My phones now register using the correct domain name (i.e. weavver.com) instead of the IP address (205.134.225.20) as the domain. 6. Now the problem... My originate command no longer works using the new syntax: originate

Re: [Freeswitch-users] Any advances on T.38 support for FS?

2009-07-01 Thread Jason White
François Delawarde fdelawa...@wirelessmundi.com wrote: Is there any work planned for T.38 termination (in mod_fax)? Yes, as discussed on the mailing list recently. If you're volunteering to help, I'm sure the FreeSWITCH developers would appreciate contributions of code.

Re: [Freeswitch-users] Could this be a bug in the SIP registry?

2009-07-01 Thread Jason White
Jason White ja...@jasonjgw.net wrote: originate user/1...@example.com 3000 to connext u...@example.com to extension 3000. That should read to connect 1...@example.com to extension 3000. ___ Freeswitch-users mailing list

Re: [Freeswitch-users] Cant register a pointer. What wrong?

2009-07-01 Thread Alexey Lubimov
grep -ir 111 * default/bad.xml: user id=111 default/bad.xml: variable name=accountcode value=111/ default/bad.xml: variable name=effective_caller_id_number value=111/ default.xml: user id=111 type=pointer/ default.xml: group name=employers users user id=110 type=pointer/ user id=111

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
you FS doesn't accept PCMU. try to add PCMU on both variables. On Wed, Jul 1, 2009 at 3:44 PM, qian ma god.nirv...@gmail.com wrote: thanks for your replies. my var.xml: X-PRE-PROCESS cmd=set data=global_codec_prefs=PCMA/ X-PRE-PROCESS cmd=set data=outbound_codec_prefs=PCMA,GSM,iLBC/ below

[Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Brad Tuan
As title ,Does FS keep the status of gateways?? ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

Re: [Freeswitch-users] Cant register a pointer. What wrong?

2009-07-01 Thread Gonzalo Servat
On Wed, Jul 1, 2009 at 6:56 PM, Alexey Lubimov lubi...@neolant.ru wrote: grep -ir 111 * default/bad.xml: user id=111 default/bad.xml: variable name=accountcode value=111/ default/bad.xml: variable name=effective_caller_id_number value=111/ default.xml: user id=111 type=pointer/

Re: [Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Jason White
Brad Tuan brad.t...@gmail.com wrote: As title ,Does FS keep the status of gateways?? sofia status gateway gateway-name ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org

Re: [Freeswitch-users] Cant register a pointer. What wrong?

2009-07-01 Thread Alexey Lubimov
No, tag /include is exists. include user id=111 params param name=password value=$${default_password}/ param name=vm-password value=$${default_vm_password}/ /params variables variable name=toll_allow value=domestic,international,local/ variable name=accountcode value=111/ variable

Re: [Freeswitch-users] Cant register a pointer. What wrong?

2009-07-01 Thread Alexey Lubimov
Thank You, Gonzalo! freeswi...@internal reloadxml +OK [Success] 2009-07-01 13:40:37.205835 [ERR] switch_xml.c:1282 Couldnt open /opt/freeswitch/conf/directory/default/bad.xml (Permission denied) ls -l -rw-r- 1 root root 756 2009-06-30 16:39 bad.xml -rw-r- 1 freeswitch daemon

Re: [Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Peter P GMX
or simply sofia status for all gateways Jason White schrieb: Brad Tuan brad.t...@gmail.com wrote: As title ,Does FS keep the status of gateways?? sofia status gateway gateway-name ___ Freeswitch-users mailing list

Re: [Freeswitch-users] Testing Freeswitch performance led to strange behavior

2009-07-01 Thread Apostolos Pantsiopoulos
I am writing this to let you know that this behavior persists in the 1.0.4pre9. Could the calls/sec issue be due to the single threaded nature of Sofia? Because I am getting the feeling that the number of simultaneous channels doesn't really burdens FS, but many Calls/sec does. Apostolos

Re: [Freeswitch-users] Any advances on T.38 support for FS?

2009-07-01 Thread François Delawarde
Great news! For what I could read, the most famous DSP programmer worldwide (Steve) seems to be helping out for mod_fax. I guess I should register to freeswitch-dev to monitor this closely. Thanks, François. On Wed, 2009-07-01 at 18:38 +1000, Jason White wrote: François Delawarde

Re: [Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Jason White
Peter P GMX prometheus...@gmx.net wrote: or simply sofia status for all gateways and, from the shell, fs_cli -x help helpfile fs_cli -x sofia help helpfile and any others you need so as to obtain synopses of all the commands that you might need.

[Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Muhammad Danish Moosa
Hi Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth. But as the time goes after starting freeswitch, it starts consuming almost whole of memory. Note , freeswitch is being started with -core

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread qian ma
i want the fs accept the PCMA not PCMU. i add PCMA in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU. why?? 2009/7/1 Nandy Dagondon g...@i.ph you FS doesn't accept PCMU. try to add PCMU on both variables. On Wed, Jul 1, 2009 at 3:44 PM, qian ma

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Raymond Chandler
On 07/01/2009 08:29 AM, Muhammad Danish Moosa wrote: Hi Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth. But as the time goes after starting freeswitch, it starts consuming almost whole

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
check the value of inbound_codec_negotiation in the sip_profiles/*.xml files. is it generous or greedy? you should also check if the endpoint is offering PCMU. On Wed, Jul 1, 2009 at 8:27 PM, qian ma god.nirv...@gmail.com wrote: i want the fs accept the PCMA not PCMU. i add PCMA in

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
sorry. i mean check the x-lite client if PCMA is enabled? On Wed, Jul 1, 2009 at 9:14 PM, Nandy Dagondon g...@i.ph wrote: check the value of inbound_codec_negotiation in the sip_profiles/*.xml files. is it generous or greedy? you should also check if the endpoint is offering PCMU. On

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread qian ma
inbound_codec_negotiation is generous and the xlite PCMU is enabled. my var.xml.conf: X-PRE-PROCESS cmd=set data=global_codec_prefs=PCMA/ X-PRE-PROCESS cmd=set data=outbound_codec_prefs=PCMA/ 2009/7/1 Nandy Dagondon g...@i.ph sorry. i mean check the x-lite client if PCMA is enabled? On

[Freeswitch-users] Javascript session Recording

2009-07-01 Thread Baskar
*Hi, I have configured outbound call through JavaScript it is working fine but i want the conversation to be recorded . Javascript: sessionA = new Session({ignore_early_media=true, origination_uuid=+argv[0]+}sofia/default/sip:+argv[0]+@ 192.168.1.135:5066); sessionB = new

[Freeswitch-users] Fwd: [UniMRCP] PocketSphinx Plugin Available

2009-07-01 Thread Brian West
I'm about to wire Arsen the donated money for his work. Remember if you haven't sent me what you have said you would send in please paypal br...@freeswitch.org so I can wire it to Arsen. Thanks, Brian Begin forwarded message: I would like to announce the availability of PocketSphinx ASR

Re: [Freeswitch-users] Any advances on T.38 support for FS?

2009-07-01 Thread Michael Jerris
There was a bit of work towards it but no one has worked on it lately On Jul 1, 2009, at 4:24 AM, François Delawarde fdelawa...@wirelessmundi.co m wrote: Is there any work planned for T.38 termination (in mod_fax)? François. On Tue, 2009-06-30 at 12:07 -0400, Michael Jerris wrote: We

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Michael Jerris
How much memory is it using? Can you use memstat to see where the memory is allocated. Mike On Jul 1, 2009, at 8:29 AM, Muhammad Danish Moosa danishmo...@gmail.com wrote: Hi Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode.

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Brian West
You also have a jira http://jira.freeswitch.org/browse/MODAPP-298, It looks like you're using lua sql and the backtrace you attached to the jira was cut off right before the data I needed to see... can you follow up on that ASAP? It looks like a crash in libmysql from the last line but

[Freeswitch-users] How to check if a channel variable is present or NULL

2009-07-01 Thread Cavalera Claudio Luigi
Hello, I'm trying to implement this kind of logic in the dialplan if the channel variable sip_refer_to matches regexp than do action else if sip_refer_to exists (not NULL) but does not match regexp than do anti-action else if sip_refer_to does not exist as a channel_variable (NULL ??) than do

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nandy Dagondon
is PCMA enabled in X-Lite, too? On Wed, Jul 1, 2009 at 9:25 PM, qian ma god.nirv...@gmail.com wrote: inbound_codec_negotiation is generous and the xlite PCMU is enabled. my var.xml.conf: X-PRE-PROCESS cmd=set data=global_codec_prefs=PCMA/ X-PRE-PROCESS cmd=set

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Matthew Fong
bkw, you said Downgrading. I suspect its an issue with your lua sql module not linking to the thread safe client. in the Jira ticket. I'm curious how one would go about doing this. I use luasql (the default ubuntu apt-get install) and have a similar memory problem. I suppose I would need to

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Chris Fowler
Hi Ray, This was a problem some time ago (couple of months ago). Are you running the latest build? Chris. -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Raymond Chandler Sent: Wednesday,

Re: [Freeswitch-users] How to check if a channel variable is present or NULL

2009-07-01 Thread Mathieu Rene
it will match ^$ if the var isnt defined Math On 1-Jul-09, at 12:25 PM, Cavalera Claudio Luigi wrote: Hello, I'm trying to implement this kind of logic in the dialplan if the channel variable sip_refer_to matches regexp than do action else if sip_refer_to exists (not NULL) but does not

Re: [Freeswitch-users] Could this be a bug in the SIP registry?

2009-07-01 Thread mitcheloc
Jason, Thanks for the reply. I tried the commands as suggested: freeswi...@internal originate user/mythical...@weavver.com 3000 -ERR SUBSCRIBER_ABSENT 2009-07-01 09:43:16 [ERR] switch_xml.c:1555 switch_xml_locate() Error[[error near line 1]: root tag missing] freeswi...@internal 2009-07-01

Re: [Freeswitch-users] Could this be a bug in the SIP registry?

2009-07-01 Thread Michael Collins
On Wed, Jul 1, 2009 at 10:04 AM, mitcheloc mitche...@gmail.com wrote: Jason, Thanks for the reply. I tried the commands as suggested: freeswi...@internal originate user/mythical...@weavver.com 3000 -ERR SUBSCRIBER_ABSENT I suspect the following line is a clue: 2009-07-01 09:43:16 [ERR]

[Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Muhammad Danish Moosa
Hi Brian My customer is now using lua odbc ( not lua mysql anymore) and problem mentioned in jira is resolved now. * http://www.mail-archive.com/freeswitch-...@lists.freeswitch.org/msg01352.html * * *This seems to answer my question, rite? BTW , starting FS with following ulimit -c unlimited

Re: [Freeswitch-users] Freeswitch memory usage is too high

2009-07-01 Thread Brian West
If the problem is resolved please follow up on the jira. /b On Jul 1, 2009, at 12:42 PM, Muhammad Danish Moosa wrote: My customer is now using lua odbc ( not lua mysql anymore) and problem mentioned in jira is resolved now. ___ Freeswitch-users

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Brian West
Thats bull... I just did PCMA all morning testing! Your config is wrong. /b On Jul 1, 2009, at 1:33 PM, qian ma wrote: yes,PCMA enabled in x-lite. doesn't work. FS accept PCMU only. ___ Freeswitch-users mailing list

[Freeswitch-users] sound_prefix is changed

2009-07-01 Thread Diego Toro
hi all, I am working with release Pre9, I have a problem now with say module, the sound_prefix var is changed to SWITCH_GLOBAL_dirs.base_dir/sounds/es for default_language to 'es'.   I checked c code on switch_ivr_say the value of sound_prefix is changed always   Diego

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nik Middleton
I'm ONLY use PCMA, so I would agree with Brian -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West Sent: 01 July 2009 20:35 To: freeswitch-users@lists.freeswitch.org Subject: Re:

Re: [Freeswitch-users] G723 timer problem

2009-07-01 Thread Brian West
I'm sorry about my response... I had overlooked that I only did one 30ms implementation in mod_g723_1.c, Anthony added some more to the list so it might actually work correctly. Thanks, Brian On Jul 1, 2009, at 4:04 PM, Muhammad Shahzad wrote: Hi, I am using FS svn revision 14046 and

Re: [Freeswitch-users] sound_prefix is changed

2009-07-01 Thread Anthony Minessale
did you put them in that spot? the say app needs them to be in that spot. On Wed, Jul 1, 2009 at 4:10 PM, Diego Toro dft...@yahoo.com wrote: Hello, the problem is that sound_prefix value is ignored and it's changed to SWITCH_GLOBAL_dirs.base_dir/sounds/language (with language=en), so audio

Re: [Freeswitch-users] sound_prefix is changed

2009-07-01 Thread Diego Toro
The audio files are for instance on ...us/callie/digits/8000, but the last 1.0.4 pre9 version has changed, it ignores the var sound_prefix setting to SWITCH_GLOBAL_dirs.base_dir/sounds/en the path to audio files.    That change is on the switch_ivr_say function   Diego. --- On Wed, 7/1/09,

Re: [Freeswitch-users] SIP re-invite / bypass_media

2009-07-01 Thread Anthony Minessale
try apiExecute(uuid_media, off + session.uuid); On Wed, Jul 1, 2009 at 3:22 PM, Phillip Jones pjinthe...@gmail.com wrote: Hi there, I was wondering whether it is possible to have FreeSwitch go into bypass_media mode on demand? For instance, leg a bridges to leg b - leg b is invited to

Re: [Freeswitch-users] PCMU fallback for T.38

2009-07-01 Thread Mike Fedyk
On Fri, Mar 20, 2009 at 7:46 PM, Steve Underwood ste...@coppice.org wrote: Gabriel Kuri wrote: once the FAX tone is detected on the PSTN side, FS receives a T.38 re-INVITE from the provider and FS sends back a 488/Not Acceptable (proxy_media=false). at that point the provider than attempts

[Freeswitch-users] Language Handling: call for assistance

2009-07-01 Thread Michael Collins
Hello all! There's been some discussion lately on how to handle multiple languages, specifically with the *say* application. We would like some input from the community on how to handle multiple languages and sound files. Anthony notes that the say application needs to build the path to the sound

[Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Brad Tuan
Another question, Where does FS keep these information?? In *.db or somewhere?? ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

Re: [Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Michael Collins
Are you looking for something more than what sofia status at the CLI shows? -MC On Wed, Jul 1, 2009 at 6:05 PM, Brad Tuan brad.t...@gmail.com wrote: Another question, Where does FS keep these information?? In *.db or somewhere?? ___

Re: [Freeswitch-users] How to know my gateway registering is successed??

2009-07-01 Thread Jason White
Brad Tuan brad.t...@gmail.com wrote: Another question, Where does FS keep these information?? In *.db or somewhere?? It's a hash table in memory. See sofia_reg_find_gateway__ in sofia_reg.c for the code that performs the hash table lookup and returns a pointer to the structure with all of the

[Freeswitch-users] How to remove the IP from the SIP caller id number

2009-07-01 Thread Mitchel Constantin
Hello, I'm working on configuring my FreeSWITCH and would like to set the caller id number like this in dialplan/default.xml: action application=set data=effective_caller_id_name=John Doe/ action application=set data=effective_caller_id_number= john...@weavver.com/ I wonder if this is a problem

Re: [Freeswitch-users] How to remove the IP from the SIP caller id number

2009-07-01 Thread Jason White
Mitchel Constantin mythical...@weavver.com wrote: I'm working on configuring my FreeSWITCH and would like to set the caller id number like this in dialplan/default.xml: action application=set data=effective_caller_id_name=John Doe/ action application=set data=effective_caller_id_number=