Re: [Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

2009-09-18 Thread Michael Collins
On Thu, Sep 17, 2009 at 5:53 PM, Michael Giagnocavo m...@giagnocavo.netwrote: Oh, weird. Seems to work in other languages. Yet another reason to use Lua instead of JS. :) -MC ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org

[Freeswitch-users] FreeSWITCH Documentation

2009-09-18 Thread Muhammad Shahzad
Hi, I have observed that one of the major hurdle while writing patches and / or bug fixes is lack of doxygen documentation for FS source code. For example it took me 5+ days to understand mod_dingaling code and its hooks into FS source code to write up soft reload patch, while it could have taken

Re: [Freeswitch-users] FreeSWITCH Documentation

2009-09-18 Thread Ghulam Mustafa
that's what i was thinking about, but you have taken it a mile ahead :) i would appreciate if you could help people like me to understand the *switch* API without spending sooo much time. would love examples along with the documentation. :| -mustafa -- Ghulam Mustafa cell: +92 333.611.7681

[Freeswitch-users] Hangup: Always the same Q.850 cause code

2009-09-18 Thread Peter P GMX
Hello , I try to hangup aa call with a certain cause code. If the user dials a number which we currently do not serve we send action application=set data=sip_ignore_remote_cause=true/ action application=hangup data=NO_ANSWER/ which gives a SIP/2.0 480 Temporarily Unavailable.

Re: [Freeswitch-users] Delay when transferring call

2009-09-18 Thread Sias Mey
Indeed the debug info did shed some light. It seems the normal output was hiding a secret from me ;-) Even though the transfer had apparently already been triggered, it seems the problem was that the js wasent exiting till the nigling Error in my_thread_global_end() line. 2009-09-18

[Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread pankaj anand
hi folks, I m not able to make SIP calls using external profile. i have added the following lines to the $installdir/conf/dialplan/public.xml extension name=echo condition field=destination_number expression=^9996$ action application=answer/ action application=echo/

Re: [Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

2009-09-18 Thread Alberto Escudero
Thanks for all the tips. I tried to run apiExecute(bgapi, jsrun originate) and still Javascript?? does not let the thread go. No matter the combination of session.hangup(), exit, apiExecute with or without bgapi, the state remains in CS_EXECUTE. So at the end i am triggering an event that i can

Re: [Freeswitch-users] Simple call waiting question

2009-09-18 Thread Anthony Minessale
This feature is handled by the phone itself. (remember this is digital phone not analog) When C calls A the phone should indicate to you that there is a 2nd call, you press flash and put B on hold and talk to C when you press flash again it either goes back and forth between b and C, conferences

Re: [Freeswitch-users] mod_lcr and indexes

2009-09-18 Thread Rupa Schomaker
Hmm This is because mysql is dumb :( Anyway, if you wanted quoted digits, there is an option to enable that in the mod_lcr config file. http://wiki.freeswitch.org/wiki/Mod_lcr#Advanced_Usage Specifically, look at the parameter: quote_in_list The most efficient way (that I know of) to use

Re: [Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread pankaj anand
I m using default configuration of freeswitch.. I m not using any gateway for authentication. in the $INSTALLDIR/conf/sip_profiles/external/ directory, there exist only one file which example.xml , this files contains include !--gateway name=asterlink.com-- !--/// account username *required*

Re: [Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread Brian West
OK pay attention this time. See this line: 2009-09-18 15:41:45.688161 [ERR] sofia_reg.c:1568 No Matching gateway found You sent a call out the profile the far side sent you a challenge since you're not calling via a gateway we can't answer the challenge because we do not know HOW. What

Re: [Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread Alberto Escudero
Have you tried with action application=bridge data=user/${dialed_extensi...@${domain_name}/ instead? /aep -- Stopping junk mailers is good for the environment hi folks, I m not able to make SIP calls using external profile. i have added the following lines to the

Re: [Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread Brian West
The far end is sending you a challenge and we can't answer it because we haven't been told what gateway to use. /b On Sep 18, 2009, at 5:13 AM, pankaj anand wrote: hi folks, I m not able to make SIP calls using external profile. ___

[Freeswitch-users] Some Newbie questions about dialplan and local Sip registration

2009-09-18 Thread Filip Lyncker
Hi List, for the first experiments with freeswitch I downloaded the Windows installation. Now Im trying to get my 2 Sipphones get connected to. Later I want connect the freeswitch to my asterisk gateway. I find the examples pretty complex therfore Im trying to build up a simple solution to

Re: [Freeswitch-users] DB table sip_dialogs is always empty

2009-09-18 Thread Martin Dvorak
Hello, let me apologize for long reply delay, but my f* mail server eat nearly all messages from FS mailing list (I have received just three e-mails in the past five days...). So, lets try another one :-) Now back to the thema: Thank you very much, Brian, Anthony and Michael for your

Re: [Freeswitch-users] mod_lcr and indexes

2009-09-18 Thread Marcelo Sosa - LST
Hello, I know that mysql is dumb, but i´m postgresql-fobic :) (i was happy using pgsql, until i found a bug in the restore of backups, that makes the backup unable to be restored, very bad day) :-) Anyway, I was refering to the change from digits IN (a list of digits) to (digits='xx' OR

Re: [Freeswitch-users] Hangup: Always the same Q.850 cause code

2009-09-18 Thread Anthony Minessale
Here is what I get when I test it. you may want to look at your console for the blue Hangup lines and confirm it's your call to hangup extension name=7016 condition field=destination_number expression=^7016$ action application=set data=sip_ignore_remote_cause=true/

Re: [Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

2009-09-18 Thread Anthony Minessale
You could put an api_hangup_hook on the channel to jsrun your script. What you want with javascript is not going to happen as long as you execute the script *WITH* the channel. it's not a problem it's just misuse/misunderstanding on your part. On Fri, Sep 18, 2009 at 5:03 AM, Alberto Escudero

Re: [Freeswitch-users] mod_lcr and indexes

2009-09-18 Thread Rupa Schomaker
On Fri, Sep 18, 2009 at 9:47 AM, Marcelo Sosa - LST lis...@askterisk.com wrote: Hello, I know that mysql is dumb, but i´m postgresql-fobic :) (i was happy using pgsql, until i found a bug in the restore of backups, that makes the backup unable to be restored, very bad day) :-) huh, really?

[Freeswitch-users] Nokia N800

2009-09-18 Thread Valentin Doroga
I'm coming again with the same question: does anybody have any instructions how to build FreeSWITCH for Nokia N800? Or, does anybody have a recently built version? Val we relocated the machine with the build env for that, I'll try to find the time to resurrect it and make a new one. On

Re: [Freeswitch-users] Nokia N800

2009-09-18 Thread Michael Jerris
We don't currently have the build environment setup, but I can tell you it was a pretty basic scratchbox setup and then a normal build just enabling mod_alsa and other appropriate modules. Mike On Sep 18, 2009, at 11:26 AM, Valentin Doroga wrote: I'm coming again with the same question:

[Freeswitch-users] FreeSWITCH Weekly Conference Call, Sept 18, Starting Shortly

2009-09-18 Thread Michael Collins
Get ready to call in! Agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2009_09_18 Talk to you all shortly! -MC ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

Re: [Freeswitch-users] mod_lcr and indexes

2009-09-18 Thread Marcelo Sosa - LST
Hello, I know that mysql is dumb, but i´m postgresql-fobic :) (i was happy using pgsql, until i found a bug in the restore of backups, that makes the backup unable to be restored, very bad day) :-) huh, really? Bug ID #885 :-) Anyway, I was refering to the change from digits IN (a list

Re: [Freeswitch-users] mod_lcr and indexes

2009-09-18 Thread Rupa Schomaker
On Fri, Sep 18, 2009 at 11:31 AM, Marcelo Sosa - LST lis...@askterisk.com wrote: Hello, I know that mysql is dumb, but i´m postgresql-fobic :) (i was happy using pgsql, until i found a bug in the restore of backups, that makes the backup unable to be restored, very bad day) :-) huh,

Re: [Freeswitch-users] Not able to make call using external profile

2009-09-18 Thread Tihomir Culjaga
in other works, what are you trying to achieve? where do you want send calls? what is 192.168.1.50? where/how are you originating calls from? basically can you please tell us what is your call flow scenario otherwise we can't help? T. On Fri, Sep 18, 2009 at 4:15 PM, Brian West

Re: [Freeswitch-users] Some Newbie questions about dialplan and local Sip registration

2009-09-18 Thread Tihomir Culjaga
hi Filip, for calling a user... please read this first: http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Dialing_A_Registered_User for making a GW register into e.g. asterisk please use this: include gateway name=gw01 param name=username value=USERNAME_ON_ASTERISK/ param

[Freeswitch-users] FreeSWITCH 64bit compilation error (Solaris 10)

2009-09-18 Thread email lists
Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be. Thanks, Vladimir Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn

Re: [Freeswitch-users] skill-based ACD

2009-09-18 Thread Andrew Thompson
On Thu, Sep 17, 2009 at 11:20:22AM -0700, Michael Collins wrote: I was curious about this myself. Even if someone has built a non-free skills-based ACD using FS I'd like to know about it. -MC I guess nobody paid any attention to my Cluecon presentation... :(

Re: [Freeswitch-users] FreeSWITCH 64bit compilation error (Solaris 10)

2009-09-18 Thread Even André Fiskvik
I've been having problems of somewhat the same, but for my case it has been forcing a 32-bit version in Mac OS X Snow Leopard rather than the default for GCC which is to build it in 64-bit. I have not been able to get this done yet, and I also end up with a mix of two different architectures

Re: [Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

2009-09-18 Thread Michael Collins
FYI, I did a POC on this: extension name=crazy_callback condition field=destination_number expression=^(\d{10})$ action application=set data=luarun dump_arg.lua ${caller_id_number} ${caller_id_name}/ /condition /extension dump_arg.lua: -- dump_args.lua -- print out the args

Re: [Freeswitch-users] FreeSWITCH Weekly Conference Call, Sept 18, Starting Shortly

2009-09-18 Thread Michael Gende
Sorry I didn't make the meeting! Business. But, I'm still producing the home grown doc I mentioned (and was referenced in the Agenda for this meeting). Available as soon as I get a complete v1.0. Have a FS and * Biz Ed box working in tandem in our office at the moment. As soon as I get a few

Re: [Freeswitch-users] FreeSWITCH Weekly Conference Call, Sept 18, Starting Shortly

2009-09-18 Thread Michael Collins
On Fri, Sep 18, 2009 at 12:49 PM, Michael Gende mge...@gendesign.comwrote: Sorry I didn't make the meeting! Business. But, I'm still producing the home grown doc I mentioned (and was referenced in the Agenda for this meeting). Available as soon as I get a complete v1.0. Have a FS and * Biz

Re: [Freeswitch-users] Checking Dial Status in FS

2009-09-18 Thread Michael Collins
On Mon, Sep 7, 2009 at 9:14 PM, Ahmed Munir ahmedmunir...@gmail.com wrote: Hi, In FS, which function can be used for checking the dial status (in channel variables as well as mod_perl function/class)? In asterisk $DIALSTATUS is used to check the status i.e. busy, answer, etc. Kindly do let

Re: [Freeswitch-users] Zaptel Analog FXO Outbound Dialing

2009-09-18 Thread Michael Collins
FYI, I forgot to mention that Tony fixed this on Monday. http://fisheye.freeswitch.org/changelog/OpenZAP/?cs=834 -MC On Sun, Sep 13, 2009 at 5:35 PM, freeswitch-us...@dwayne-hubbard.comwrote: -- My suspicion is that this is only for zaptel type cards. Our tests

Re: [Freeswitch-users] Unknown call drops.. INFO DTMF(3)

2009-09-18 Thread Michael Collins
Is this still happening? If so please make sure that you are on latest trunk and re-test. Get a pcap of the traffic (SIP and RTP) for review and then report back. Thanks, MC On Sun, Sep 13, 2009 at 2:34 AM, Mark Campbell-Smith mcampbellsm...@gmail.com wrote: Hi! I have just experienced some

[Freeswitch-users] I have good quality Bangladesh Mobile White route (8801)

2009-09-18 Thread Amran Sarkar
Dear All, I have good quality Bangldesh white route with good rates. if any one interested please contact with me. Thanks Md Amran Ali Sarkar OMEGA Technology. From: grev...@me.com Date: Fri, 18 Sep 2009 21:06:46 +0200 To: freeswitch-users@lists.freeswitch.org Subject: Re:

Re: [Freeswitch-users] I have good quality Bangladesh Mobile White route (8801)

2009-09-18 Thread William Suffill
Probably best to post these type of offers on the freeswitch-biz list http://lists.freeswitch.org/mailman/listinfo/freeswitch-biz (Hopefully that list will eventually grow with business posts. Still pretty slow at present) Also best to create a new e-mail versus reply to another thread and

Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-18 Thread Karl Vesterling
No penguin is perfect... There's issues w/ 2.6.X - 2.6.27.X with respect to timing for things like packet shaping, which is a requirement for me. 2.6.29.X onward, well, I might be inclined to try the latest revision, but last I tested was 2.6.30, and it was truly all round badness, with