Re: [Freeswitch-users] What's problem in SVN ?
Oh...sory i forgot chismas and new year. if someone come to thailand please let's me know :) BG Dome C. 2009/12/28 Jason White : > Dome Charoenyost wrote: >> What's problem in SVN ? Not thing update after 23/12/2009 (16055) > > Surely the FreeSWITCH developers are entitled to spend time with their > families/friends after a highly productive year of work. Note that there are > holidays in many countries at this time of year. > > I would like to wish everyone involved in the FreeSWITCH project a pleasant > and refreshing holiday, and much success in 2010. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] What's problem in SVN ?
Dear sir, What's problem in SVN ? Not thing update after 23/12/2009 (16055) BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Event Socket outbound in PHP
2009/12/15 Anthony Minessale > you need to get the fd number of stdin however you do it in sdp and pass it > as the constructor to the esl obj > > It's work. Thanks. but i found PHP not good for this case. PHP need more resource. LUA look better. Now i'm testing by mod_lua but i plan to mover LUA work with outbound socket. but not found about lua outbounf socket in WIKI Best Regards. Dome C. > > > On Sun, Dec 13, 2009 at 8:41 PM, Dome Charoenyost wrote: > >> Dear All, >> Now i use php for ESL outbound. i get variable from stdin and >> process. (i use xinetd for handle socket) >> $in = fopen("php://stdin", "r"); >> Problem is when i use read command for get input from DTMF. i >> can't get variable. So now i use 2 php script. and use read appliction in >> XML DIalplan for solve this problem. >> I plan to use php handle socket like a perl in >> http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/server2.pl >> But i want to know how PHP work like this example ? >> >> my $host = $new_sock->sockhost(); >> >> my $fd = fileno($new_sock); >> my $con = new ESL::ESLconnection($fd); >> >> my $info = $con->getInfo(); >> >> >> Can someoue help me ? >> >> >> Best Regards. >> >> Dome C. >> >> >> >> >> ___ >> 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 >> http://www.freeswitch.org >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:213-799-1400 > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Event Socket outbound in PHP
Dear All, Now i use php for ESL outbound. i get variable from stdin and process. (i use xinetd for handle socket) $in = fopen("php://stdin", "r"); Problem is when i use read command for get input from DTMF. i can't get variable. So now i use 2 php script. and use read appliction in XML DIalplan for solve this problem. I plan to use php handle socket like a perl in http://svn.freeswitch.org/svn/freeswitch/trunk/libs/esl/perl/server2.pl But i want to know how PHP work like this example ? my $host = $new_sock->sockhost(); my $fd = fileno($new_sock); my $con = new ESL::ESLconnection($fd); my $info = $con->getInfo(); Can someoue help me ? Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Cpu peak to 100% Openzap E1 R2
2009/12/2 Moises Silva > > > On Tue, Dec 1, 2009 at 12:02 PM, Dome Charoenyost wrote: > >> >> >> 2009/12/1 Moises Silva >> >> On Tue, Dec 1, 2009 at 8:43 AM, Dome Charoenyost wrote: >>> >>>> Dear All, >>>>I got problem about openzap. I plan to use 4E1 R2 (Phone EQ >>>> card). I use zaptel driver from >>>> http://e400p.phoniceq.com/driver/(1.4.12.1) and freeswitch 1.0.5 pre 7 >>>> >>>>My Server Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz >>>> and 2 GB memmory. >>>> when i start freeswitch if enable echo cencel in zt.conf CPU peak to >>>> 100% when i disable echo cancel FS can start but when first call incominng >>>> got 100% again. >>>> >>>> >>>> Someone can help me? >>>> >>>> >>>> >>> I suggest you to start using freeswitch trunk (and openzap trunk). >>> >>> >> I'll try >> >> >>> In the other hand, when you talk about 4E1 R2, you mean R2 as the >>> telephony signaling or is this some kind of board brand? >>> >> >> >> telephony signaling >> > > Does the signaling stack comes with the board and is integrated into > freeswitch as an endpoint? if not, your only chance is using openr2, which > requires freeswitch, openzap and openr2 trunk. > > http://wiki.freeswitch.org/wiki/OpenZAP_OpenR2 > yes i use openr2. I'm setup follow wiki. Dome C. > -- > Moises Silva > Software Developer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R > 9T3 Canada > t. 1 905 474 1990 x 128 | e. m...@sangoma.com > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Cpu peak to 100% Openzap E1 R2
2009/12/1 Moises Silva > On Tue, Dec 1, 2009 at 8:43 AM, Dome Charoenyost wrote: > >> Dear All, >>I got problem about openzap. I plan to use 4E1 R2 (Phone EQ card). >> I use zaptel driver from http://e400p.phoniceq.com/driver/ (1.4.12.1) and >> freeswitch 1.0.5 pre 7 >> >>My Server Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz and >> 2 GB memmory. >> when i start freeswitch if enable echo cencel in zt.conf CPU peak to 100% >> when i disable echo cancel FS can start but when first call incominng got >> 100% again. >> >> >> Someone can help me? >> >> >> > I suggest you to start using freeswitch trunk (and openzap trunk). > > I'll try > In the other hand, when you talk about 4E1 R2, you mean R2 as the telephony > signaling or is this some kind of board brand? > telephony signaling Thanks. Dome C. > > -- > Moises Silva > Software Developer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R > 9T3 Canada > t. 1 905 474 1990 x 128 | e. m...@sangoma.com > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Cpu peak to 100% Openzap E1 R2
Dear All, I got problem about openzap. I plan to use 4E1 R2 (Phone EQ card). I use zaptel driver from http://e400p.phoniceq.com/driver/ (1.4.12.1) and freeswitch 1.0.5 pre 7 My Server Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz and 2 GB memmory. when i start freeswitch if enable echo cencel in zt.conf CPU peak to 100% when i disable echo cancel FS can start but when first call incominng got 100% again. Someone can help me? BG Dome ___ 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 http://www.freeswitch.org
[Freeswitch-users] FreeSWITCH Now Supports Broadvoice BV16, BV32 Voice Codecs
http://freeswitch.org/node/217 Very fast develop :) one reason why i love FS. another is good performance Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] How to test mod_distributor ?
Got it from wiki Dome C. 2009/11/12 Dome Charoenyost : > Wow. we can use FS for sip dispatcher :) > How to forward call in FS ? i mean 302 redirect not bridge ? > > > BG > > Dome C. > > > 2009/11/12 Michael Collins : >> FYI, I added some docs here: >> http://wiki.freeswitch.org/wiki/Mod_distributor >> >> Please feel free to add to it if you are doing anything interesting or >> creative that hasn't been covered. >> -MC >> >> On Wed, Nov 11, 2009 at 12:44 PM, Michael Collins >> wrote: >>> >>> Perfect. I'll have it documented by the end of the day. >>> -MC >>> >>> On Wed, Nov 11, 2009 at 10:32 AM, Anthony Minessale >>> wrote: >>>> >>>> see conf/autoload_configs/distributor.conf.xml >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> in your dialplan you can use >>>> >>>> ${distributor(test)} which will cycle expanding to foo1 1/10 times and >>>> foo2 the other 9 >>>> >>>> so imagine if foo1 or foo2 were the names of gateways, or hosts of a >>>> remote box >>>> >>>> basic jist is to set total-weight to a number of arbitrary units then set >>>> several nodes with weight elements that add up to that number to break down >>>> how many times that node text should be returned out of the total. >>>> >>>> Remember to use the most simplified reduced value for your fractions to >>>> get the most variety. >>>> >>>> Setting total weight to 1000 and then 2 nodes with 100 and 900 would >>>> result in foo1 100 times in a row, then foo2 900 times in a row. >>> >> >> >> ___ >> 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 >> http://www.freeswitch.org >> >> > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] How to test mod_distributor ?
Wow. we can use FS for sip dispatcher :) How to forward call in FS ? i mean 302 redirect not bridge ? BG Dome C. 2009/11/12 Michael Collins : > FYI, I added some docs here: > http://wiki.freeswitch.org/wiki/Mod_distributor > > Please feel free to add to it if you are doing anything interesting or > creative that hasn't been covered. > -MC > > On Wed, Nov 11, 2009 at 12:44 PM, Michael Collins > wrote: >> >> Perfect. I'll have it documented by the end of the day. >> -MC >> >> On Wed, Nov 11, 2009 at 10:32 AM, Anthony Minessale >> wrote: >>> >>> see conf/autoload_configs/distributor.conf.xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> in your dialplan you can use >>> >>> ${distributor(test)} which will cycle expanding to foo1 1/10 times and >>> foo2 the other 9 >>> >>> so imagine if foo1 or foo2 were the names of gateways, or hosts of a >>> remote box >>> >>> basic jist is to set total-weight to a number of arbitrary units then set >>> several nodes with weight elements that add up to that number to break down >>> how many times that node text should be returned out of the total. >>> >>> Remember to use the most simplified reduced value for your fractions to >>> get the most variety. >>> >>> Setting total weight to 1000 and then 2 nodes with 100 and 900 would >>> result in foo1 100 times in a row, then foo2 900 times in a row. >> > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] How to test mod_distributor ?
I found mod_distributor in SVN. I want to know how does it work ? BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
2009/11/2 Anthony Minessale : > #4 makes no sense to me. This solution call "miss callback". some contry cost for toll free number is so high. but call to user cheaper. so when user want to use international call. they call to my DID and my system callback to them. > Are you just trying to create a call that the channel does not participate > in? > Then for sure you want to use bgapi to cause the originate to happen in the > background. Give me example how bgapi work when user hangup call Dome C. > > Also your gcore report has to be taken while you have the stuck channels to > see why they are stuck. > I can promise you this problem should be filed under misuse/abuse. > > > On Sat, Oct 31, 2009 at 8:45 PM, Dome Charoenyost wrote: >> >> How to use bgapi in my flow. >> 1. user call did >> 2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey) >> 3. Hangup (by use or timeout) >> 4. FS callback to user and bridge to IVR >> >> I'm not sure bgapi can do after channel hangup. >> >> Dome C. >> >> >> 2009/11/1 Anthony Minessale : >> > Use bgapi originate ... >> > >> > On Oct 31, 2009 9:09 PM, "Dome Charoenyost" wrote: >> > >> > Yes. i user api_hangup_hook for do callback. >> > >> > >> > may be need originate_timeout >> > >> > Dome C. >> > >> > >> > 2009/11/1 Rupa Schomaker : >> > >> >> fscore_pb has been updated. > > Next time put in the pastebin url. >> >> This >> >> one was 10911. > > Ok, a ... >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> > >> > >> >> ___ >> 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 >> http://www.freeswitch.org > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:213-799-1400 > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
How to use bgapi in my flow. 1. user call did 2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey) 3. Hangup (by use or timeout) 4. FS callback to user and bridge to IVR I'm not sure bgapi can do after channel hangup. Dome C. 2009/11/1 Anthony Minessale : > Use bgapi originate ... > > On Oct 31, 2009 9:09 PM, "Dome Charoenyost" wrote: > > Yes. i user api_hangup_hook for do callback. > > > may be need originate_timeout > > Dome C. > > > 2009/11/1 Rupa Schomaker : > >> fscore_pb has been updated. > > Next time put in the pastebin url. This >> one was 10911. > > Ok, a ... > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
Yes. i user api_hangup_hook for do callback. may be need originate_timeout Dome C. 2009/11/1 Rupa Schomaker : > fscore_pb has been updated. > > Next time put in the pastebin url. This one was 10911. > > Ok, a suspicious thread looks below. If I read it right, you are > doing an originate from within the hangup handler. That doesn't look > normal or sane to me. > > Thread 41 (process 30732): > #0 0xb7a5e007 in select () from /lib/libc.so.6 > #1 0xb7dde39f in apr_sleep (t=1000) at time/unix/time.c:246 > #2 0xb7db12c0 in do_sleep (t=1000) at src/switch_time.c:109 > #3 0xb7db15ac in switch_cond_next () at src/switch_time.c:196 > #4 0xb7d862b8 in switch_ivr_originate (session=0x0, bleg=0xb48c2f00, > cause=0xb48c2ed4, bridgeto=0xb1133340 > "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151...@115.178.62.191:7050|sofia/external/66857151...@115.178.62"..., > timelimit_sec=60, table=0x0, cid_name_override=0xb7e8c976 > "FreeSWITCH", cid_num_override=0x90ec0800 "0857151465", > caller_profile_override=0x0, ovars=0x0, flags=0) at > src/switch_ivr_originate.c:2132 > #5 0xb6f0def1 in originate_function (cmd=0x90164ce2 > "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151...@115.178.62.191:7050|sofia/external/66857151...@115.178.62"..., > session=0x0, stream=0xb48c3004) at mod_commands.c:2413 > #6 0xb7d66fb1 in switch_api_execute (cmd=0x90164cd8 "originate", > arg=0x90164ce2 > "{origination_caller_id_number=0857151465,callback_uuid=c32f54cc-c6b8-11de-af77-774e15238dbe,ignore_early_media=true}sofia/external/66857151...@115.178.62.191:7050|sofia/external/66857151...@115.178.62"..., > session=0x0, stream=0xb48c3004) at src/switch_loadable_module.c:1567 > #7 0xb7d53c4a in switch_core_session_hangup_state > (session=0x958ab678) at src/switch_core_state_machine.c:506 > #8 0xb7d385e6 in switch_channel_perform_hangup (channel=0x958afd70, > file=0xb6af8788 "mod_dptools.c", func=0xb6af8ba8 "hangup_function", > line=637, hangup_cause=SWITCH_CAUSE_NORMAL_CLEARING) at > src/switch_channel.c:1898 > #9 0xb6aee906 in hangup_function (session=0x958ab678, data=0xb7e82ea5 > "") at mod_dptools.c:637 > #10 0xb7d4fe1f in switch_core_session_exec (session=0x958ab678, > application_interface=0xb6e10ec0, arg=0xb7e82ea5 "") at > src/switch_core_session.c:1552 > #11 0xb7d4f73e in switch_core_session_execute_application > (session=0x958ab678, app=0x90163a80 "hangup", arg=0xb7e82ea5 "") at > src/switch_core_session.c:1474 > #12 0xb7d51131 in switch_core_standard_on_execute (session=0x958ab678) > at src/switch_core_state_machine.c:166 > #13 0xb7d5215a in switch_core_session_run (session=0x958ab678) at > src/switch_core_state_machine.c:340 > #14 0xb7d4e199 in switch_core_session_thread (thread=0x9020bd98, > obj=0x958ab678) at src/switch_core_session.c:1135 > #15 0xb7ddc2fc in dummy_worker (opaque=0x9020bd98) at > threadproc/unix/thread.c:138 > #16 0xb7caaf3b in start_thread () from /lib/libpthread.so.0 > #17 0xb7a64bee in clone () from /lib/libc.so.6 > > > On Sat, Oct 31, 2009 at 12:34 PM, Dome Charoenyost wrote: >> I found bug in fscore_pb $pwd should be $mypwd >> >> Now i post already. please help me check. >> >> Dome C. >> >> >> 2009/11/1 João Mesquita : >>> No, mod_nibblebill definetely needs to be enhanced but it is not the problem >>> and it can be used with high load traffic. >>> >>> The one I am not sure about is odbc_query since it was not developed for >>> that. >>> >>> Do what Rupa said, please. >>> >>> Regards, >>> >>> JM >>> >>> On Sat, Oct 31, 2009 at 3:11 PM, Brian West wrote: >>>> >>>> I think once you get the backtrace like rupa said we can see that maybe >>>> odbc_query is really hanging or something similar. >>>> /b >>>> On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote: >>>> >>>> 2009/10/31 Brian West : >>>> >>>> You should never do billing inline with the session thread is all I'm >>>> >>>> saying. >>>> >>>> ___ >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users@lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freesw
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
I found bug in fscore_pb $pwd should be $mypwd Now i post already. please help me check. Dome C. 2009/11/1 João Mesquita : > No, mod_nibblebill definetely needs to be enhanced but it is not the problem > and it can be used with high load traffic. > > The one I am not sure about is odbc_query since it was not developed for > that. > > Do what Rupa said, please. > > Regards, > > JM > > On Sat, Oct 31, 2009 at 3:11 PM, Brian West wrote: >> >> I think once you get the backtrace like rupa said we can see that maybe >> odbc_query is really hanging or something similar. >> /b >> On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote: >> >> 2009/10/31 Brian West : >> >> You should never do billing inline with the session thread is all I'm >> >> saying. >> >> ___ >> 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 >> http://www.freeswitch.org >> > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
i try support-d/fscore_pb gcore root but only get [New Thread 0xb7656b90 (LWP 28445)] [New Thread 0xb77bbb90 (LWP 28444)] 0xb7a5e007 in select () from /lib/libc.so.6 Saved corefile core.28443 i got core file but no more file Dome C. 2009/11/1 Brian West : > I think once you get the backtrace like rupa said we can see that maybe > odbc_query is really hanging or something similar. > /b > On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote: > > 2009/10/31 Brian West : > > You should never do billing inline with the session thread is all I'm > > saying. > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
Thanks JM. So mod_nibblebill not good for running with high traffic. so we can't do realtime billing ? Dome C. 2009/10/31 João Mesquita : > Dome, just to explain what Brian is saying: > > Doing billing inline in this case means that the session thread (what you > see in show channels). If, for whatever reason, something goes wrong on the > DB connection or task for the billing, this session thread will be stuck > with it leaving it dangling around the system. This is what most likely is > happening to you. The right way to do it is to let the session thread go > (which mod_cdr_csv does) and then process the billing. > > None of the methods you have described do that. You might consider > post-processing your CDR/billing information to avoid coming up with this > kind of problem that are very hard to predict. > > Hope that helps, > > JM > > PS: Nonetheless, I still think it is valid to get a core dump like Rupa > metioned. > > On Sat, Oct 31, 2009 at 2:44 PM, Brian West wrote: >> >> You should never do billing inline with the session thread is all I'm >> saying. >> >> /b >> >> On Oct 31, 2009, at 11:32 AM, Dome Charoenyost wrote: >> >> > I use odbc_query for retrive balance and get LCR from my billing DB. >> > and use nibble_bill >> > >> > Dome C. >> >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
2009/10/31 Brian West : > You should never do billing inline with the session thread is all I'm > saying. Sorry I don't understand. This is my example dialplan Dome C. > > /b > > On Oct 31, 2009, at 11:32 AM, Dome Charoenyost wrote: > >> I use odbc_query for retrive balance and get LCR from my billing DB. >> and use nibble_bill >> >> Dome C. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Many CS_REPORTING state Zombie session
I use odbc_query for retrive balance and get LCR from my billing DB. and use nibble_bill Dome C. 2009/10/31 Brian West : > So you're doing your billing INLINE with the session using the OSBC Query > app? Not the most optimal way! > /b > On Oct 31, 2009, at 10:59 AM, Rupa Schomaker wrote: > > I believe this means you are hung up in CDR reporting. You can get a > core of the running system and look at the stack traces to see where > exactly it is hung up. > > Try using: > > support-d/fscore_pb gcore yourname > > This will put a copy of the stacktrace on the pastebin for poeple (or > you) to look at. > > On Sat, Oct 31, 2009 at 6:08 AM, Dome Charoenyost wrote: > > Dear All, > > I'm disable all CDR and use nibble_bill (modify) and > > odbc_query for create CDR and dedcut balance. but i found many zombie > > channel and can't kill > > Like a > > 51555b02-c5ba-11de-af77-774e15238dbe,outbound,2009-10-30 > > 18:11:38,1256951498,sofia/external/66848087...@xxx.xxx.xx.191:7050,CS_REPORTING,FreeSWITCH,66850304266,xxx.xxx.xxx.191,7050,,,XML,public, > > I'm using FreeSWITCH Version 1.0.5pre3 (hacked) > > How to fix ? > > Dome C. > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Many CS_REPORTING state Zombie session
Dear All, I'm disable all CDR and use nibble_bill (modify) and odbc_query for create CDR and dedcut balance. but i found many zombie channel and can't kill Like a 51555b02-c5ba-11de-af77-774e15238dbe,outbound,2009-10-30 18:11:38,1256951498,sofia/external/66848087...@xxx.xxx.xx.191:7050,CS_REPORTING,FreeSWITCH,66850304266,xxx.xxx.xxx.191,7050,,,XML,public, I'm using FreeSWITCH Version 1.0.5pre3 (hacked) How to fix ? Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Playing Background music as well as a file
2009/10/27 lakshmanan ganapathy : > Hi all, > I've done experimenting with the uuid_displace and mux. What mux does is > playing a file when the conversation is also happening. But I've a different > requirement. Is posible to use uuid_displace in dialplan ? i want to do music background base on called id > I need to play a background music to a UUID, that will get played > continuously and also I need to play some other voice message to that uuid. > > Is it possible in freeswitch? If so please guide me on how to do that! > > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] mod_nibblebill and memory problem
Dear All, I'm running mod_nibblebill for my prepaid solution. I still have problem with memory. I have 4 GB RAM and runing debian squeeze 64 bit and 200 calls concurrent Last time nibblebill running with 1 min heartbeat. when i check memory by htop FS user memory 2% anf growth to 60-89% in 8-9 hr. and then FS crash. Now i change hearbeat to 0 it's mean nibble update balance when end of call. but everything are same FS start from 2% and growth to 20% in 2 days. When i unload nibblebill FS running fine. My question is when concurrent calls drop to 1-2 calls why FS (I think nibblebill) still use memory ? something wrong in nibblebill ? BG Dome C. ___ 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 http://www.freeswitch.org
[Freeswitch-users] CS_REPORTING Channel event state
Dear All What's CS_REPORTING state ? I found many channels not hang up ans state is CS_REPORTING e264f84a-bd87-11de-9a90-2320c02172de,outbound,2009-10-20 21:50:26,1256050226,sofia/external/x...@xxx.xxx.xx.191:7050,CS_REPORTING,FreeSWITCH,,xx.xxx.xxx.xxx,7050,,,XML,public, BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_odbc_query share memory problem
Now i'm setting to 64MB I found channel problem also. many channel not disconnect freeswi...@internal> show calls count 87 total. freeswi...@internal> show channels count 466 total. freeswi...@internal> status UP 0 years, 0 days, 1 hour, 53 minutes, 23 seconds, 872 milliseconds, 0 microseconds 11641 session(s) since startup 154 session(s) 0/30 1000 session(s) max I think channels should be 154 (same session) but 466 is to high. may be some channels not disconnect Dome C. 2009/10/20 Rob Forman : > Those are recommended values for Oracle. Freeswitch != Oracle. They > behave and use a server's resources very differently. > > I wouldn't change more than you need for now. Tweak shmmax then go > from there. > > Cheers, > Rob > > On Oct 20, 2009, at 10:14 AM, Dome Charoenyost wrote: > >> 2009/10/20 Rob Forman : >>> You could, but I would try just doubling whatever it is to see if >>> thats improves the issue first. The default is 32MB. You could >>> double it to 64MB and test again. >> Ok' let's me try 64MB first >> i found some information >> https://www.ishoof.org/project/wiki/index.php/ORACLE_11_G_-_Gentoo_Installation >> >>> >>> What is it currently set to (run: sysctl kernel.shmmax)? You can >>> change it on the fly with sysctl. Once you're done testing and want >>> it to persist across reboots, you'll want to set in /etc/ >>> sysctl.conf . >>> >>> Cheers, >>> Rob >>> >>> On Oct 20, 2009, at 9:35 AM, Dome Charoenyost wrote: >>> >>>> 2009/10/20 Leon de Rooij : >>>>> Hi, >>>>> >>>>> I haven't run into that problem yet, but did you try increasing the >>>>> maximum shared memory in /proc/sys/kernel/shmmax (sysctl >>>>> kernel.shmmax) ? >>>> Recommend me please i have 4GB RAM. >>>> is posible to increase to 50% RAM ? >>>> >>>> Dome C. >>>>> >>>>> regards, >>>>> >>>>> Leon >>>>> >>>>> >>>>> >>>>> On Oct 20, 2009, at 3:31 PM, Dome Charoenyost wrote: >>>>> >>>>>> Dear Sir, >>>>>> I'm using mod_odbc_query and mod_nibble_billing for my calling >>>>>> card >>>>>> solutoin. i found mod_odbc_query cant work with high load (200 >>>>>> calls >>>>>> concurrent) >>>>>> i got error >>>>>> [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; >>>>>> Error while executing the query >>>>>> ] >>>>>> in FS console >>>>>> >>>>>> How to fix it ? >>>>>> >>>>>> BG >>>>>> Dome C. >>>>>> >>>>>> ___ >>>>>> 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 >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> ___ >>>>> 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 >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ___ >>>> 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 >>>> http://www.freeswitch.org >>> >>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_odbc_query share memory problem
2009/10/20 Rob Forman : > You could, but I would try just doubling whatever it is to see if > thats improves the issue first. The default is 32MB. You could > double it to 64MB and test again. Ok' let's me try 64MB first i found some information https://www.ishoof.org/project/wiki/index.php/ORACLE_11_G_-_Gentoo_Installation > > What is it currently set to (run: sysctl kernel.shmmax)? You can > change it on the fly with sysctl. Once you're done testing and want > it to persist across reboots, you'll want to set in /etc/sysctl.conf . > > Cheers, > Rob > > On Oct 20, 2009, at 9:35 AM, Dome Charoenyost wrote: > >> 2009/10/20 Leon de Rooij : >>> Hi, >>> >>> I haven't run into that problem yet, but did you try increasing the >>> maximum shared memory in /proc/sys/kernel/shmmax (sysctl >>> kernel.shmmax) ? >> Recommend me please i have 4GB RAM. >> is posible to increase to 50% RAM ? >> >> Dome C. >>> >>> regards, >>> >>> Leon >>> >>> >>> >>> On Oct 20, 2009, at 3:31 PM, Dome Charoenyost wrote: >>> >>>> Dear Sir, >>>> I'm using mod_odbc_query and mod_nibble_billing for my calling card >>>> solutoin. i found mod_odbc_query cant work with high load (200 >>>> calls >>>> concurrent) >>>> i got error >>>> [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; >>>> Error while executing the query >>>> ] >>>> in FS console >>>> >>>> How to fix it ? >>>> >>>> BG >>>> Dome C. >>>> >>>> ___ >>>> 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 >>>> http://www.freeswitch.org >>> >>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_odbc_query share memory problem
2009/10/20 Leon de Rooij : > Hi, > > I haven't run into that problem yet, but did you try increasing the > maximum shared memory in /proc/sys/kernel/shmmax (sysctl > kernel.shmmax) ? Recommend me please i have 4GB RAM. is posible to increase to 50% RAM ? Dome C. > > regards, > > Leon > > > > On Oct 20, 2009, at 3:31 PM, Dome Charoenyost wrote: > >> Dear Sir, >> I'm using mod_odbc_query and mod_nibble_billing for my calling card >> solutoin. i found mod_odbc_query cant work with high load (200 calls >> concurrent) >> i got error >> [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; >> Error while executing the query >> ] >> in FS console >> >> How to fix it ? >> >> BG >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_odbc_query share memory problem
2009/10/20 Rob Forman : > Try 300 seconds (5 minutes) and see if it improves. Ok. i'll try > > > On Oct 20, 2009, at 9:00 AM, Dome Charoenyost wrote: > >> 2009/10/20 Rob Forman : >>> Hi Dome, >>> >>> Have you tried increasing global_heartbeat to reduce the frequency of >>> odbc calls? What is it currently set to? >> >> Now 1 min >> >>> >>> Rob >>> >>> On Oct 20, 2009, at 8:31 AM, Dome Charoenyost wrote: >>> >>>> Dear Sir, >>>> I'm using mod_odbc_query and mod_nibble_billing for my calling card >>>> solutoin. i found mod_odbc_query cant work with high load (200 >>>> calls >>>> concurrent) >>>> i got error >>>> [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; >>>> Error while executing the query >>>> ] >>>> in FS console >>>> >>>> How to fix it ? >>>> >>>> BG >>>> Dome C. >>>> >>>> ___ >>>> 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 >>>> http://www.freeswitch.org >>> >>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_odbc_query share memory problem
2009/10/20 Rob Forman : > Hi Dome, > > Have you tried increasing global_heartbeat to reduce the frequency of > odbc calls? What is it currently set to? Now 1 min > > Rob > > On Oct 20, 2009, at 8:31 AM, Dome Charoenyost wrote: > >> Dear Sir, >> I'm using mod_odbc_query and mod_nibble_billing for my calling card >> solutoin. i found mod_odbc_query cant work with high load (200 calls >> concurrent) >> i got error >> [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; >> Error while executing the query >> ] >> in FS console >> >> How to fix it ? >> >> BG >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] mod_odbc_query share memory problem
Dear Sir, I'm using mod_odbc_query and mod_nibble_billing for my calling card solutoin. i found mod_odbc_query cant work with high load (200 calls concurrent) i got error [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory; Error while executing the query ] in FS console How to fix it ? BG Dome C. ___ 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 http://www.freeswitch.org
[Freeswitch-users] T.38 in sip header
Dear all, Is posible to check T.38 in sip header? i want to disconnect call when T.38 not support in gateway and try next gateway BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Questions regarding to mod_nibble
2009/10/9 Ahmed Munir : > I want to ask three questions related to mod_nibble bills, as I'm listing > down below; > > 1- Can we select/use dynamic tables for billing using nibble bill? > 2- Can we define more than two tables and attributes in nibblebill.conf.xml? > 3- As Nibble bill is use to deduct amount of user account, Can we deduct > minutes instead of cash? Because my case is, if a user buy a package and I > only want to deducts his/her minutes. How we can resolve it by nibble bill? > / What other way we can resolve it? My solution (Postgresql 8.4 with postgresql-prefix). 1. modify mod_nibblebill.c change sqlupdate command to update duration in my cdr table (insert blank data when start billing) 2. create trigger to deduct balance. Dome C. > > Kindly advise soon. > > -- > Regards, > > Ahmed Munir > > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] max-sessions change when running about 2 hr
Thanks. I'll try 64 bit :) 2009/10/8 Anthony Minessale : > you are running out of threads and it's fixing itself. one of many reasons > you should upgrade to 64 bit OS > > execute this in your shell before you start FS > > ulimit -c unlimited > ulimit -d unlimited > ulimit -f unlimited > > ulimit -i unlimited > ulimit -n 99 > ulimit -q unlimited > ulimit -u unlimited > ulimit -v unlimited > ulimit -x unlimited > ulimit -s 244 > ulimit -l unlimited > > > On Thu, Oct 8, 2009 at 10:15 AM, Dome Charoenyost wrote: >> >> may be -waste option effect ? >> >> 2009/10/8 Dome Charoenyost : >> > 2009/10/8 Brian West : >> >> How much ram do you have and what distro are you running on, 32bit or >> >> 64bit? >> > >> > 2GB 32bit debian squeeze >> > (swap 6 GB) >> > >> > Dome C. >> > >> > >> >> >> >> /b >> >> >> >> On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote: >> >> >> >>> When i try >> >>> fsctl max_sessions 1 >> >>> in CLI . FS set it back to 2xx again >> >>> >> >>> Dome C. >> >> >> >> >> >> ___ >> >> 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 >> >> http://www.freeswitch.org >> >> >> > >> >> ___ >> 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 >> http://www.freeswitch.org > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:213-799-1400 > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] max-sessions change when running about 2 hr
may be -waste option effect ? 2009/10/8 Dome Charoenyost : > 2009/10/8 Brian West : >> How much ram do you have and what distro are you running on, 32bit or >> 64bit? > > 2GB 32bit debian squeeze > (swap 6 GB) > > Dome C. > > >> >> /b >> >> On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote: >> >>> When i try >>> fsctl max_sessions 1 >>> in CLI . FS set it back to 2xx again >>> >>> Dome C. >> >> >> ___ >> 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 >> http://www.freeswitch.org >> > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] max-sessions change when running about 2 hr
2009/10/8 Brian West : > How much ram do you have and what distro are you running on, 32bit or > 64bit? 2GB 32bit debian squeeze (swap 6 GB) Dome C. > > /b > > On Oct 8, 2009, at 9:46 AM, Dome Charoenyost wrote: > >> When i try >> fsctl max_sessions 1 >> in CLI . FS set it back to 2xx again >> >> Dome C. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] max-sessions change when running about 2 hr
When i try fsctl max_sessions 1 in CLI . FS set it back to 2xx again Dome C. 2009/10/8 Dome Charoenyost : > Dear sir, > I'm running freeswitch with option > /opt/freeswitch/bin/freeswitch -nf -waste -nonat -nc > I'm setting up max-sessions in switch.conf to 1 > > > > > But when fs running about 2 hr. max session down to 299 > freeswi...@internal> status > UP 0 years, 0 days, 2 hours, 11 minutes, 10 seconds, 434 milliseconds, > 251 microseconds > 20502 session(s) since startup > 271 session(s) 0/50 > 299 session(s) max > > Can somone tell me what's happen ? > > Dome C. > ___ 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 http://www.freeswitch.org
[Freeswitch-users] max-sessions change when running about 2 hr
Dear sir, I'm running freeswitch with option /opt/freeswitch/bin/freeswitch -nf -waste -nonat -nc I'm setting up max-sessions in switch.conf to 1 But when fs running about 2 hr. max session down to 299 freeswi...@internal> status UP 0 years, 0 days, 2 hours, 11 minutes, 10 seconds, 434 milliseconds, 251 microseconds 20502 session(s) since startup 271 session(s) 0/50 299 session(s) max Can somone tell me what's happen ? Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] mod_sofia.c registered calls how to know
2009/10/7 srinivasula reddy : > > Hi > > can any please tell me where registered calls are stored, so when incoming > call came to mod_sofia.c how it will check it is registered or not?\\ I use 2 profile internal profile require register before make a call. external i use odbcquery check ipaddress before process call. (in dialplan) Dome C. > > -- > Srinivasula Reddy K > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Memory Question ?
2009/10/7 William King : > Which modules do you have loaded? default config and nibllebill , lcr , odbcquery > > -William King > > Dome Charoenyost wrote: >> Debian Squeeze i386 32bit >> And Debian Lenny are same >> >> Dome C. >> >> 2009/10/7 William King : >> >>> What operating system? >>> >>> -William King >>> >>> Dome Charoenyost wrote: >>> >>>> Dear All, >>>> why freeswitch use more memory after send and receuve >>>> call. i attach htop capture screen. >>>> you can compare to asterisk it use 0.7% for long time. but FS use 7.7% >>>> (start from 1.2%) after running about 4 hr. >>>> >>>> Best Regards. >>>> >>>> Dome C. >>>> >>>> >>>> >>>> >>>> >>>> >>>> ___ >>>> 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 >>>> http://www.freeswitch.org >>>> >>>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >>> >> >> ___ >> 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 >> http://www.freeswitch.org >> > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Memory Question ?
2009/10/7 Michael Collins : > > > On Tue, Oct 6, 2009 at 10:51 AM, Dome Charoenyost wrote: >> >> Dear All, >> why freeswitch use more memory after send and receuve >> call. i attach htop capture screen. >> you can compare to asterisk it use 0.7% for long time. but FS use 7.7% >> (start from 1.2%) after running about 4 hr. >> >> Best Regards. >> >> Dome C. >> > Do you have lots of modules loaded? The default config has lots of stuff I use LCR , nibblebill , odbcquery. > loaded. If memory usage is a big issue then check your modules.conf.xml file My question is why FS need more memory when start about 4 hr. is is normal or got problem ? So what's happen when running about 1 weeks ? some time my FS crash and i report bug in jira. and bug maintainer ask me is memory run out ? i think yes. > and don't load unnecessary modules. Of course, you could use Asterisk but > then you save memory at the expense of fewer features and more crashes... No. i move all from asterisk to FS right now :) > > -MC > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Memory Question ?
Debian Squeeze i386 32bit And Debian Lenny are same Dome C. 2009/10/7 William King : > What operating system? > > -William King > > Dome Charoenyost wrote: >> Dear All, >> why freeswitch use more memory after send and receuve >> call. i attach htop capture screen. >> you can compare to asterisk it use 0.7% for long time. but FS use 7.7% >> (start from 1.2%) after running about 4 hr. >> >> Best Regards. >> >> Dome C. >> >> >> >> >> >> >> ___ >> 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 >> http://www.freeswitch.org >> > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Sofia regiter to provider with multiple account
2009/9/26 Brian West : > Why would they require you to have 50 accounts? Doesn't seem sane to > me. They provide for pc to phone user and i want to use for my corp. :) > > /b > > On Sep 25, 2009, at 9:48 PM, Dome Charoenyost wrote: > >> 2009/9/26 Michael Jerris : >>> >>> On Sep 25, 2009, at 10:04 PM, Dome Charoenyost wrote: >>> >>>> Dear All, >>>> How to config freeswitch for support this case ? >>>> 1. FS register to provider about 50 user account. (Each account >>>> can't support multiple call in same time) >>> >>> Sofia gateways >>> >>>> 2. FS Check account not inuse before call out. >>> >>> mod_limit >>> >>>> 3. User account should be round-robin >>> >>> what does this mean? >>> >> >> Each user account have own balance (in provider). So i want to use >> all user > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Sofia regiter to provider with multiple account
2009/9/26 Michael Jerris : > > On Sep 25, 2009, at 10:04 PM, Dome Charoenyost wrote: > >> Dear All, >> How to config freeswitch for support this case ? >> 1. FS register to provider about 50 user account. (Each account >> can't support multiple call in same time) > > Sofia gateways > >> 2. FS Check account not inuse before call out. > > mod_limit > >> 3. User account should be round-robin > > what does this mean? > Each user account have own balance (in provider). So i want to use all user > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Sofia regiter to provider with multiple account
Dear All, How to config freeswitch for support this case ? 1. FS register to provider about 50 user account. (Each account can't support multiple call in same time) 2. FS Check account not inuse before call out. 3. User account should be round-robin BG Dome C. ___ 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 http://www.freeswitch.org
[Freeswitch-users] Looking For A-Z
Dear Sir, I'm looking for A-Z price and quality should be same http://voicetrading.com. Now i use http://voicetrading.com it's good quality but very bad support. some time i can payment by credit card, paypal some time can't i don't know why. BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Music Background
2009/9/12 Chris Burns : > There are a few ways you could go about dropping into a conference and playing > the song in from a separate channel. Good idea :) Thank. > > On September 11, 2009 01:47:43 pm Dome Charoenyost wrote: >> 2009/9/12 Chris Burns : >> > Check out the variables ringback and transfer_ringback. The local >> > extension in the default dialplan is a good example. >> >> Music rinback is Ok now. but I'm looking for solution for stream sound >> to channel both leg when call is answer. >> >> > For romance, I recommend 80s rock ballads. YMMV. >> >> I'll try :) >> >> > On September 11, 2009 12:22:20 pm Dome Charoenyost wrote: >> >> Dear Sir, >> >> Is posible to play music for background when call connect ? >> >> Example when i call my wife some time i need romantic song :) >> >> >> >> BG >> >> >> >> Dome C. >> >> >> >> ___ >> >> 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 >> >> http://www.freeswitch.org >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> >> ___ >> 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 >> http://www.freeswitch.org > > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Music Background
2009/9/12 Chris Burns : > Check out the variables ringback and transfer_ringback. The local extension in > the default dialplan is a good example. Music rinback is Ok now. but I'm looking for solution for stream sound to channel both leg when call is answer. > > For romance, I recommend 80s rock ballads. YMMV. I'll try :) > > On September 11, 2009 12:22:20 pm Dome Charoenyost wrote: >> Dear Sir, >> Is posible to play music for background when call connect ? >> Example when i call my wife some time i need romantic song :) >> >> BG >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Music Background
Dear Sir, Is posible to play music for background when call connect ? Example when i call my wife some time i need romantic song :) BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Mod_fifo posision in queue
2009/9/11 Anthony Minessale : > I added a var for it (I hope properly) to r14806 Thanks. I'll try Dome C. > > > On Thu, Sep 10, 2009 at 2:37 AM, Michael Collins wrote: >> >> >> On Wed, Sep 9, 2009 at 11:32 PM, Dome Charoenyost wrote: >>> >>> 2009/9/10 Michael Jerris : >>> > You can use a phrase macro but I am not sure that we set the position >>> > in a way that you can expand it for the macro. >>> >>> fifo don't have queue position variable ? >>> >> >> I have a feeling that this functionality is possible but it will probably >> need to be added to mod_fifo.c as a feature request. Announcing the caller's >> position in queue is really a function of the queue system itself and not >> some third-party script. That being said, a question for the devs is this: >> if I know the uuid of a call that's in a fifo queue can I displace the audio >> (be it MOH, fifo_chime, etc.) and playback the caller's position (or any >> other audio for that matter) without disrupting the queue system? Just >> curious. >> -MC >> >> >> ___ >> 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 >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:213-799-1400 > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] filter in fs_cli
How to use filter with sofia trace on ? Like Asterisk we can debug sip by sip set debug ip xx.xx.xx.xx. BG Dome C. 2009/9/10 Michael Collins : > > > On Wed, Sep 9, 2009 at 1:36 PM, Michael Collins wrote: >> >> >> On Wed, Sep 9, 2009 at 10:17 AM, Dome Charoenyost wrote: >>> >>> Dear All, >>> I'm looking for document,example for /filter command. >>> where to get it ? >> >> This is a handy way to add filters to what you see on the fs_cli. Event >> sockets allow for filters and the "/filter" command lets you add them to >> your fs_cli session. >> >> Check this page for specifics: >> http://wiki.freeswitch.org/wiki/Mod_event_socket#filter >> >> -MC >> > > Also, I forgot to mention that this is used in conjunction with the "/event' > command. Open fs_cli and execute these commands: > > /log 0 > /event plain all > > At this point you will get no log messages and just events. Now you can > filter them as needed. Example: > > /filter Event-Name CHANNEL_EXECUTE > > Have fun! > -MC > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Mod_fifo posision in queue
2009/9/10 Michael Jerris : > You can use a phrase macro but I am not sure that we set the position > in a way that you can expand it for the macro. fifo don't have queue position variable ? Dome C. > > Mike > > On Sep 1, 2009, at 10:37 AM, Dome Charoenyost wrote: > >> Dear sir, >> >> I want to say posision in queue to caller but >> fifo_chime_list can't say more than one sound file. i try >> fifo_chime_list = "queue/say1.wav,queue/say2.wav". >> >> Best Regards. >> >> Dome C. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] filter in fs_cli
Dear All, I'm looking for document,example for /filter command. where to get it ? BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] outbould PHP ESL
2009/9/2 Michael Collins : > Are you trying to get a channel variable or capture DTMF input from the > caller? i try to make IVR by php outbound socket. in XML dialplan we can get DTMF by read application (store in channel variable) I found it's success in perl outbound (IVR.pm) but for php how do i ? Dome C. > -MC > > On Wed, Sep 2, 2009 at 7:56 AM, Dome Charoenyost wrote: >> >> I follow >> http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd >> >> how to get from php ? >> >> >> Dome C. >> -- >> #!/usr/bin/php -q >> >> > >> // set a couple of things so we dont kill the system >> ob_implicit_flush(true); >> set_time_limit(30); >> >> // Open stdin so we can read the AGI data in >> $in = fopen("php://stdin", "r"); >> >> // Connect >> echo "connect\n\n"; >> >> // Answer >> echo "sendmsg\n"; >> echo "call-command: execute\n"; >> echo "execute-app-name: answer\n\n"; >> >> echo "sendmsg\n"; >> echo "call-command: execute\n"; >> echo "execute-app-name: read\n"; >> echo "execute-app-arg: 0 20 >> /opt/freeswitch/sounds/th/tuxza/welcome.wav res 5000 #\n\n"; >> >> // Wait >> sleep(5); >> >> // Hangup >> echo "sendmsg\n"; >> echo "call-command: hangup\n\n"; >> >> fclose($in); >> >> ?> >> >> >> 2009/9/2 Brian West : >> > uuid_getvar >> > >> > /b >> > >> > On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote: >> > >> >> Hi, >> >> >> >> just a fast 2cent: >> >> >> >> get var via channel status ? ( variable_res ) >> > >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> > >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] outbould PHP ESL
I follow http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd how to get from php ? Dome C. -- #!/usr/bin/php -q 2009/9/2 Brian West : > uuid_getvar > > /b > > On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote: > >> Hi, >> >> just a fast 2cent: >> >> get var via channel status ? ( variable_res ) > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] outbould PHP ESL
Dear sir, How to get digit from outbound php esl ? example in my php echo "sendmsg\n"; echo "call-command: execute\n"; echo "execute-app-name: read\n"; echo "execute-app-arg: 0 20 /opt/freeswitch/sounds/th/tuxza/welcome.wav res 5000 #\n\n"; How to get res ? best regards. Dome C. ___ 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 http://www.freeswitch.org
[Freeswitch-users] Mod_fifo posision in queue
Dear sir, I want to say posision in queue to caller but fifo_chime_list can't say more than one sound file. i try fifo_chime_list = "queue/say1.wav,queue/say2.wav". Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] FS and SS7
2009/8/20 Brian West : > > On Aug 20, 2009, at 5:42 AM, Dome Charoenyost wrote: > >> 1. Can i setup SS7 with out ss7box ? > > Sangoma's ss7box is the only solution right now thats turn key. If i seting up asterisk with libss7. should be same ss7box right ? > >> 2. I found some tutorial about libss7 in Asterisk. Is FS >> support all feature like that. > > You can't really use libss7 in FreeSWITCH as its not license > compatible... neither is OpenSS7. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] FS and SS7
Dear All, my telco can provider SS7 (Now i use ISDN PRI). I have question about SS7. 1. Can i setup SS7 with out ss7box ? 2. I found some tutorial about libss7 in Asterisk. Is FS support all feature like that. Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] 1.0.4 builds 1.0.3_1 debs
dch -i 2009/8/7 : > I just downloaded 1.0.4 and build debian packages with it, and it > delivered .deb files names as 1.0.3-1 > > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] FreeSWITCH 1.0.4 Release Announcement
Good News.. 2009/8/7 Michael Collins : > We are happy to announce the official release of FreeSWITCH 1.0.4! Please > visit this link to Digg and read the story, and then spread the word! > > Thanks for being such a great community! > -Michael > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Numeric Value Ranges Expressions in dialplan
Dear sir, Is posible to check numeric range in dialplan (expression). example i got balance vaiable from somewhere and want to check > 0 or not before call bridge application. ( I don't want to call scripts) Best regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] ODBC problem
please check /etc/odbc.ini /opdbinst.ini Dome C. 2009/8/1 Thangappan.M : > While installing mod_lcr I got the following problem. > freeswi...@debian> load mod_lcr > API CALL [load(mod_lcr)] output: > -ERR [module load file routine returned an error] > > freeswi...@debian> 2009-08-01 18:12:15 [INFO] mod_lcr.c:522 > lcr_load_config() odbc_dsn is 192.168.1.222:freeswitch:freeswitch > 2009-08-01 18:12:15 [INFO] mod_lcr.c:536 lcr_load_config() dsn is > "192.168.1.222", user is "freeswitch", and password is "freeswitch" > 2009-08-01 18:12:15 [ERR] switch_odbc.c:164 switch_odbc_handle_connect() > STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not > found, and no default driver specified > > 2009-08-01 18:12:15 [CRIT] mod_lcr.c:546 lcr_load_config() Cannot Open ODBC > Database! > 2009-08-01 18:12:15 [ERR] mod_lcr.c:985 mod_lcr_load() Unable to load lcr > config file > 2009-08-01 18:12:15 [CRIT] switch_loadable_module.c:839 > switch_loadable_module_load_file() Error Loading module > /usr/local/freeswitch/mod/mod_lcr.so > **Module load routine returned an error** > > What could the error? > How can I resolve it? > > -- > Regards, > Thangappan.M > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] freeswitch-1.0.4pre10 ?
I found freeswitch-1.0.4pre10 in http://files.freeswitch.org/freeswitch-1.0.4pre10.tar.bz2 But no news about this version Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Nibble bill in B Leg
I found enable_heartbeat_events variable can help this case. it's work fine. I update http://wiki.freeswitch.org/wiki/Mod_nibblebill already Dome C. 2009/7/18 Dome Charoenyost : > Dear sir, > > I found some problem when try to enable nibblebill in B-Leg > My Dialplan > > data="{nibble_rate=1,nibble_account=0838833133}sofia/external/19...@203.xxx.xxx.xxx" > /> > > problem is niblle do nothing until hanup call. i try to debug > nibblebill and found some issue. nibblebill can't get billrate , > billaccount from channel > > billrate = switch_channel_get_variable(channel, "nibble_rate"); > billaccount = switch_channel_get_variable(channel, "nibble_account"); > if (!billrate || !billaccount) { > return SWITCH_STATUS_SUCCESS; > } > > > Dome C. > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Nibble bill in B Leg
Dear sir, I found some problem when try to enable nibblebill in B-Leg My Dialplan problem is niblle do nothing until hanup call. i try to debug nibblebill and found some issue. nibblebill can't get billrate , billaccount from channel billrate = switch_channel_get_variable(channel, "nibble_rate"); billaccount = switch_channel_get_variable(channel, "nibble_account"); if (!billrate || !billaccount) { return SWITCH_STATUS_SUCCESS; } Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] sip extermal profile for all IP
2009/7/17 Raul Fragoso : > You can not do that with a single profile. Each profile is bound to only > one local IP, so if you need to bind to more than one you will have to > create a new profile and set the specific sip-ip/rtp-ip params for them. > Thanks. > Regards, > > RAul > > On Thu, 2009-07-16 at 20:30 +0700, freeswitch-users@lists.freeswitch.org > wrote: >> Dear All, >> >> How to set ${local_ip_v4} to 0.0.0.0 ? i want to set up >> external profile for All IP >> >> >> Best regards. >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] sip extermal profile for all IP
I have eth0 and tap0 (vpn) FS bind only eth0 ip Dome C. 2009/7/16 : > I think by default it maps to all IPs unless you mention one here (by > replacing ${local_ip_v4} to some ip address). > > Thank you. > > > On Thu, Jul 16, 2009 at 7:30 PM, > wrote: >> >> Dear All, >> >> How to set ${local_ip_v4} to 0.0.0.0 ? i want to set up >> external profile for All IP >> >> >> Best regards. >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > > -- > Muhammad Shahzad > --- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +92 334 422 40 88 > MSN: shari_78...@hotmail.com > Email: shaherya...@googlemail.com > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Originate in Dial plan
Thanks it's work api_hangup_hook i'm looking for :) Dome C. 2009/7/14 Michael Collins : > > > On Mon, Jul 13, 2009 at 9:30 PM, Dome Charoenyost wrote: >> >> 2009/7/14 Michael Collins : >> > What phone number do you call back? I mean, how do you know what the >> > customer's number is? Do you go by the caller id number? >> yes callback to caller id > > Okay, here's a dialplan snippet that I used to successfully do the > autocallback. In my case I used ext 1001 as the customer and portaudio as > the "agent" if you get my meaning. Extension 1001 dials 9902, hangs up, and > immediately the api_hangup_hook's originate command is executed. In this > case it calls portaudio/auto_answer for the A-leg and user/1001 as the > B-leg. I don't claim that it's the prettiest thing in the world but it > definitely works. You'll need to adjust according to your specific > situation. > > > > > > > > > > > > > > > > > > > > > Let us know how it goes. BTW, what is the reason for this type of scenario? > Just curious. > -MC >> >> >> > >> > -MC >> > >> > On Sun, Jul 12, 2009 at 9:59 AM, Dome Charoenyost >> > wrote: >> >> >> >> Dear sir, >> >> I want to user dialplan callback to customer. is posible to >> >> to this is dialplan XML ? >> >> Now i use javascript. >> >> my call flow. >> >> 1. customer call >> >> 2. FS rining and wait until customer hangup >> >> 3. callback to customer number >> >> >> >> >> >> Best Regards. >> >> >> >> Dome C. >> >> >> >> ___ >> >> 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 >> >> http://www.freeswitch.org >> > >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> > >> > >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Originate in Dial plan
2009/7/14 Michael Collins : > What phone number do you call back? I mean, how do you know what the > customer's number is? Do you go by the caller id number? yes callback to caller id > > -MC > > On Sun, Jul 12, 2009 at 9:59 AM, Dome Charoenyost wrote: >> >> Dear sir, >> I want to user dialplan callback to customer. is posible to >> to this is dialplan XML ? >> Now i use javascript. >> my call flow. >> 1. customer call >> 2. FS rining and wait until customer hangup >> 3. callback to customer number >> >> >> Best Regards. >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Originate in Dial plan
Dear sir, I want to user dialplan callback to customer. is posible to to this is dialplan XML ? Now i use javascript. my call flow. 1. customer call 2. FS rining and wait until customer hangup 3. callback to customer number Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] How to check hangup cause before try next route in mod_lcr
2009/7/10 Mathieu Rene : > thanks. let's me ask some question. i want to provide callback solution. 1. customer call to FS 2. FS hangup call and check balance (by callerid) 3. Make call to customer number 4. customer answer call and input destination this step when B-leg hangup (Or A-leg put *) customer can input other number until A-leg Hangup Now my solution use javascripts. but someone tell me JS not good for handle call. So now i testing mod_lcr and nibblebill Can someone show me dialplan for do like that. Best Regards. Dome C. > > That'll make your dialplan stop if the call is hung up from the B-leg. > > Math > > On 10-Jul-09, at 12:10 PM, Dome Charoenyost wrote: > >> Dear all, >> >> I'm testing mod_lcr. >> i found example in wiki >> >> >> If i want to use ${lcr_route_1} and ${lcr_route_2} What's best way to >> check hangup cause before try lcr_route_2 ? >> >> >> BG >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] How to check hangup cause before try next route in mod_lcr
Dear all, I'm testing mod_lcr. i found example in wiki If i want to use ${lcr_route_1} and ${lcr_route_2} What's best way to check hangup cause before try lcr_route_2 ? BG Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] How to cancel session in Javascript
2009/6/30 Michael Collins : > can you post your script and dialplan? Let's take a look. > -MC dialstr[i] is array like a sofia/external/1...@xxx.xxx.xxx.xxx dial_option = "{absolute_codec_string='GSM,G729',ignore_early_media=false,originate_timeout=20,origination_caller_id=x} for (var i = 1; i <= 3; i++){ if (session.ready()){ session.execute("set", "hangup_after_bridge=false"); result = session.setAutoHangup(false); s1 = new Session(dial_option+dialstr[i]); } if (s1.ready()){ s1.setVariable("nibble_rate", "2.5"); s1.execute("set", "hangup_after_bridge=false"); s1.setVariable("nibble_account", acaller); s1.setVariable("provider_id", dialprovider_id[i]); s1.setVariable("provider", dialprovider[i]); s1.setVariable("service_charge", dialservice_charge[i]); s1.execute("set", "destination_number="+number); s1.execute("nibblebill", "heartbeat 5"); bridge(session,s1); console_log("notice", "Disconnect cause: " + s1.cause + " Code:"+s1.causecode+"\n"); }; if (s1.causecode==16 || s1.causecode==0){ i =10; }; }; > > On Mon, Jun 29, 2009 at 11:07 PM, Dome Charoenyost wrote: >> >> 2009/6/30 Michael Collins : >> > What kind of application are you building? Usually you want to use the >> > dialplan to initiate the call and then let the js do the logical heavy >> > lifting. >> I'm use js for callback solution. >> >> Dome C. >> >> > >> > -MC >> > >> > On Fri, Jun 26, 2009 at 11:45 PM, Dome Charoenyost >> > wrote: >> >> >> >> Dear All, >> >> >> >> I try >> >> >> >> s = new Session("sofia/external/x...@xxx.xxx.xxx.xxx); >> >> if (s.ready()){ >> >> s.setVariable("nibble_rate", "2.5"); >> >> s.setVariable("nibble_account", "0838833133"); >> >> s.execute("nibblebill", "heartbeat 5"); >> >> bridge(session,s); >> >> }; >> >> >> >> my question is >> >> 1. How to cancel create s session (by dtmf ) like a * in bridge app >> >> 2. when i hangup before s session ready is posible to cancel ? >> >> >> >> Best Regards. >> >> >> >> Dome C. >> >> >> >> ___ >> >> 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 >> >> http://www.freeswitch.org >> > >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> > >> > >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] How to cancel session in Javascript
2009/6/30 Michael Collins : > What kind of application are you building? Usually you want to use the > dialplan to initiate the call and then let the js do the logical heavy > lifting. I'm use js for callback solution. Dome C. > > -MC > > On Fri, Jun 26, 2009 at 11:45 PM, Dome Charoenyost wrote: >> >> Dear All, >> >> I try >> >> s = new Session("sofia/external/x...@xxx.xxx.xxx.xxx); >> if (s.ready()){ >> s.setVariable("nibble_rate", "2.5"); >> s.setVariable("nibble_account", "0838833133"); >> s.execute("nibblebill", "heartbeat 5"); >> bridge(session,s); >> }; >> >> my question is >> 1. How to cancel create s session (by dtmf ) like a * in bridge app >> 2. when i hangup before s session ready is posible to cancel ? >> >> Best Regards. >> >> Dome C. >> >> ___ >> 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 >> http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] How to cancel session in Javascript
Dear All, I try s = new Session("sofia/external/x...@xxx.xxx.xxx.xxx); if (s.ready()){ s.setVariable("nibble_rate", "2.5"); s.setVariable("nibble_account", "0838833133"); s.execute("nibblebill", "heartbeat 5"); bridge(session,s); }; my question is 1. How to cancel create s session (by dtmf ) like a * in bridge app 2. when i hangup before s session ready is posible to cancel ? Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/26 Darren Schreiber : > I can add a field to allow you to adjust the heartbeat on either channel if > that's necessary. Right now you are right, it's using the global setting > always. > > Is this important? Yes important for me. and early media also :) 90% mobile in thailand use Music Ringback Tone service. if i disable ignore early media caller happy (heard music) but nibblebill start counting ;( Dome C. > > -Original Message- > From: Dome Charoenyost [mailto:d...@tel.co.th] > Sent: Thursday, June 25, 2009 7:39 PM > To: freeswitch-users@lists.freeswitch.org > Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway > > 2009/6/26 Michael Jerris : >> I said to just add the set import=nibble_rate, your re-setting it for >> no reason (and getting rid of the change that should have helped) by >> your import=nibble_account line > I test it agin. > import work. nibble can see nibble_rate , nibble_account in channel but i > can't change nibble heratbeat so nibble use default heartbeat. > > > Dome C. > >> Mike >> On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote: >> >> Just test. >> i use javascript >> >> session.execute("set", "import=nibble_rate"); >> session.execute("set", "import=nibble_account"); >> session.execute("bridge", >> "{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=083 >> 8833133]sofia/external/x...@.xxx.xxx.xx"); >> >> when call connected nibble do nothing i found heartbeat >> >> mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT! >> when call disconnect nibble update amont. >> mod_nibblebill.c:478 Billing 16 secs >> >> I think nibble still not found variable channel. >> >> Let's me share more information >> >> I want to use nibblebill for callingcard. (i have develop billing by >> myself). i plan to use javascript connect to ODBC when customer call >> my script query balance and say. >> and then i loop for get destination (my customer want to dial many > number). >> when i got number my script query >> gateway from DB. i have 3 route and order by cost. >> First plan i use >> session.execute("bridge", >> "[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/ >> @provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/exte >> rnal/x...@provder2"); i modify nibblebill for match provider with my >> billing. >> this case still fail. >> >> now i try >> >> if >> (session.ready()){ >> s = new >> Session("{absolute_codec_string='GSM,G729'}sofia/external/x...@provider1" >> >> } >> if >> (s.ready()){ >> session.execute("set", >> "nibble_rate=2.5"); >> session.execute("set", >> "nibble_account="+acaller); >> session.execute("set", >> "hangup_after_bridge=false"); >> session.execute("set", >> "provider_id="+dialprovider_id[1]); >> >> bridge(session,s); >> } >> >> and check hangup cause before try other provider. >> >> >> >> Please guide me it's right way or not ? >> >> >> Dome C. >> >> >> 2009/6/26 Darren Schreiber >>> >>> Did this work? Would love an update on this error/issue. >>> >>> From: Michael Jerris [mailto:m...@jerris.com] >>> Sent: Wednesday, June 24, 2009 8:15 AM >>> To: freeswitch-users@lists.freeswitch.org >>> Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway >>> >>> try adding >>> before the >>> bridge and report back results. >>> Mike >>> On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote: >>> >>> Dear All, >>> >>> Look like nibblebill does't work with multiple gatreway. >>> I try >>> >> data="nibble_account=0838833133"/> >>> >> data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/extern >>> al/6626734...@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734 >>> 0...@202.xxx.xxx.xxx> >>> >>> nibblebill not found nibble_rate >>> >>> But >>> >>> >> data="nibble_account=0838833133"/> >>> >> data="
Re: [Freeswitch-users] multiple gateways not working?
2009/6/26 Harmeet Singh : > Just add the prefix like - > > > > BTW: Never give your real prefix. Anybody can use it to send traffic to your > trunk with that prefix and eat away your balance. ACL can help :) > > On Fri, Jun 26, 2009 at 3:05 AM, Edmar Cruz wrote: >> >> Yup your suggestions works... But I want my to have a prefix for the >> second >> bridge >> >> >> >> >> >> Dome Charoenyost wrote: >> > >> > Or Try pipe >> > >> > if you want to ring all. Try comma >> > >> > >> > >> > 2009/6/26 Edmar Cruz : >> >> >> >> >> >> >> >> >> >> >> >> > >> data="effective_caller_id_name=${effective_caller_id_name}"/> >> >> > >> data="effective_caller_id_number=${effective_caller_id_number}"/> >> >> >> >> > >> data="sofia/default/$...@116.80.80.101"/> >> >> >> >> >> >> >> >> >> >> > >> data="effective_caller_id_name=${effective_caller_id_name}"/> >> >> > >> data="effective_caller_id_number=${effective_caller_id_number}"/> >> >> >> >> > >> data="sofia/default/$...@116.80.80.102"/> >> >> >> >> >> >> >> >> >> >> >> >> I try what you said still not working... >> >> >> >> >> >> Dome Charoenyost wrote: >> >>> >> >>> May be need >> >>> >> >>> before first bridge >> >>> >> >>> >> >>> Dome C. >> >>> 2009/6/26 Edmar Cruz : >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> > >>>> data="effective_caller_id_name=${effective_caller_id_name}"/> >> >>>> > >>>> data="effective_caller_id_number=${effective_caller_id_number}"/> >> >>>> --> >> >>>> > >>>> data="sofia/default/$...@116.80.80.101"/> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> > >>>> data="effective_caller_id_name=${effective_caller_id_name}"/> >> >>>> > >>>> data="effective_caller_id_number=${effective_caller_id_number}"/> >> >>>> --> >> >>>> > >>>> data="sofia/default/$...@116.80.80.102"/> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> Is this correct for multiple gateways? When I try this the first >> >>>> gateway >> >>>> works but the second gateway does not work? >> >>>> >> >>>> >> >>>> What is the solution for this can u help me? >> >>>> >> >>>> >> >>>> Thanks >> >>>> >> >>>> -- >> >>>> View this message in context: >> >>>> >> >>>> http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.html >> >>>> Sent from the Freeswitch-users mailing list archive at Nabble.com. >> >>>> >> >>>> >> >>>> ___ >> >>>> 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 >> >>>> http://www.freeswitch.org >> >>>> >> >>> >> >>> ___ >> >>> 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 >> >>> http://www.freeswitch
Re: [Freeswitch-users] multiple gateways not working?
Or Try pipe if you want to ring all. Try comma 2009/6/26 Edmar Cruz : > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > > > > > > > > I try what you said still not working... > > > Dome Charoenyost wrote: >> >> May be need >> >> before first bridge >> >> >> Dome C. >> 2009/6/26 Edmar Cruz : >>> >>> >>> >>> >>> >>> >> data="effective_caller_id_name=${effective_caller_id_name}"/> >>> >> data="effective_caller_id_number=${effective_caller_id_number}"/> >>> --> >>> >>> >>> >>> >>> >>> >> data="effective_caller_id_name=${effective_caller_id_name}"/> >>> >> data="effective_caller_id_number=${effective_caller_id_number}"/> >>> --> >>> >>> >>> >>> >>> >>> >>> >>> Is this correct for multiple gateways? When I try this the first gateway >>> works but the second gateway does not work? >>> >>> >>> What is the solution for this can u help me? >>> >>> >>> Thanks >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.html >>> Sent from the Freeswitch-users mailing list archive at Nabble.com. >>> >>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >> >> ___ >> 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 >> http://www.freeswitch.org >> >> > > -- > View this message in context: > http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215631.html > Sent from the Freeswitch-users mailing list archive at Nabble.com. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] multiple gateways not working?
Please try 2009/6/26 Edmar Cruz : > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > > > > > > > > I try what you said still not working... > > > Dome Charoenyost wrote: >> >> May be need >> >> before first bridge >> >> >> Dome C. >> 2009/6/26 Edmar Cruz : >>> >>> >>> >>> >>> >>> >> data="effective_caller_id_name=${effective_caller_id_name}"/> >>> >> data="effective_caller_id_number=${effective_caller_id_number}"/> >>> --> >>> >>> >>> >>> >>> >>> >> data="effective_caller_id_name=${effective_caller_id_name}"/> >>> >> data="effective_caller_id_number=${effective_caller_id_number}"/> >>> --> >>> >>> >>> >>> >>> >>> >>> >>> Is this correct for multiple gateways? When I try this the first gateway >>> works but the second gateway does not work? >>> >>> >>> What is the solution for this can u help me? >>> >>> >>> Thanks >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.html >>> Sent from the Freeswitch-users mailing list archive at Nabble.com. >>> >>> >>> ___ >>> 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 >>> http://www.freeswitch.org >>> >> >> ___ >> 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 >> http://www.freeswitch.org >> >> > > -- > View this message in context: > http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215631.html > Sent from the Freeswitch-users mailing list archive at Nabble.com. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] From Asterisk to Freeswitch
Dear All, I'm asterisk developer(I have some code in Asterisk) .After 3 weeks with freeswich nothing to say. now i'm move all callingcard , wholesale platfrom to Freeswitch. I'm very happy with bridge , nibblebill. after finish this job i'll test FS PBX feature. i think it's easy to do Hosted IPPBX. But i want to know more about mod_fifo Can someone tell me about mod_fifo compare with asterisk app_queue. i'm talking about annouce , priority agent Best Regards. Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] multiple gateways not working?
May be need before first bridge Dome C. 2009/6/26 Edmar Cruz : > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > --> > > > > > > data="effective_caller_id_name=${effective_caller_id_name}"/> > data="effective_caller_id_number=${effective_caller_id_number}"/> > --> > > > > > > > > Is this correct for multiple gateways? When I try this the first gateway > works but the second gateway does not work? > > > What is the solution for this can u help me? > > > Thanks > > -- > View this message in context: > http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.html > Sent from the Freeswitch-users mailing list archive at Nabble.com. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/26 Michael Jerris : > I said to just add the set import=nibble_rate, your re-setting it for no > reason (and getting rid of the change that should have helped) by your > import=nibble_account line I test it agin. import work. nibble can see nibble_rate , nibble_account in channel but i can't change nibble heratbeat so nibble use default heartbeat. Dome C. > Mike > On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote: > > Just test. > i use javascript > > session.execute("set", "import=nibble_rate"); > session.execute("set", "import=nibble_account"); > session.execute("bridge", > "{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=0838833133]sofia/external/x...@.xxx.xxx.xx"); > > when call connected nibble do nothing i found heartbeat > > mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT! > when call disconnect nibble update amont. > mod_nibblebill.c:478 Billing 16 secs > > I think nibble still not found variable channel. > > Let's me share more information > > I want to use nibblebill for callingcard. (i have develop billing by > myself). i plan to use javascript connect to ODBC > when customer call my script query balance and say. > and then i loop for get destination (my customer want to dial many number). > when i got number my script query > gateway from DB. i have 3 route and order by cost. > First plan i use > session.execute("bridge", > "[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/x...@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/external/x...@provder2"); > i modify nibblebill for match provider with my billing. > this case still fail. > > now i try > > if > (session.ready()){ > s = new > Session("{absolute_codec_string='GSM,G729'}sofia/external/x...@provider1" > > } > if > (s.ready()){ > session.execute("set", > "nibble_rate=2.5"); > session.execute("set", > "nibble_account="+acaller); > session.execute("set", > "hangup_after_bridge=false"); > session.execute("set", > "provider_id="+dialprovider_id[1]); > > bridge(session,s); > } > > and check hangup cause before try other provider. > > > > Please guide me it's right way or not ? > > > Dome C. > > > 2009/6/26 Darren Schreiber >> >> Did this work? Would love an update on this error/issue. >> >> From: Michael Jerris [mailto:m...@jerris.com] >> Sent: Wednesday, June 24, 2009 8:15 AM >> To: freeswitch-users@lists.freeswitch.org >> Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway >> >> try adding >> >> before the bridge and report back results. >> Mike >> On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote: >> >> Dear All, >> >> Look like nibblebill does't work with multiple gatreway. >> I try >> > data="nibble_account=0838833133"/> >> > data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734...@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734...@202.xxx.xxx.xxx> >> >> nibblebill not found nibble_rate >> >> But >> >> > data="nibble_account=0838833133"/> >> > data="{absolute_codec_string='GSM,G729'}sofia/external/6626734...@203.xxx.xxx.xxx|sofia/external/6626734...@202.xxx.xxx.xxx> >> >> Work fine >> >> What's difference from set application and [] ? >> >> Best Regards. >> Dome C. >> ___ >> 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 >> http://www.freeswitch.org >> >> >> ___ >> 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 >> http://www.freeswitch.org >> > > ___ > 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 > http://www.freeswitch.org > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] Nibblebill and multiple gateway
Just test. i use javascript session.execute("set", "import=nibble_rate"); session.execute("set", "import=nibble_account"); session.execute("bridge", "{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=0838833133]sofia/external/x...@.xxx.xxx.xx"); when call connected nibble do nothing i found heartbeat mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT! when call disconnect nibble update amont. mod_nibblebill.c:478 Billing 16 secs I think nibble still not found variable channel. Let's me share more information I want to use nibblebill for callingcard. (i have develop billing by myself). i plan to use javascript connect to ODBC when customer call my script query balance and say. and then i loop for get destination (my customer want to dial many number). when i got number my script query gateway from DB. i have 3 route and order by cost. First plan i use session.execute("bridge", "[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/x...@provder1 |[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/external/x...@provder2"); i modify nibblebill for match provider with my billing. this case still fail. now i try if (session.ready()){ s = new Session("{absolute_codec_string='GSM,G729'}sofia/external/x...@provider1" } if (s.ready()){ session.execute("set", "nibble_rate=2.5"); session.execute("set", "nibble_account="+acaller); session.execute("set", "hangup_after_bridge=false"); session.execute("set", "provider_id="+dialprovider_id[1]); bridge(session,s); } and check hangup cause before try other provider. Please guide me it's right way or not ? Dome C. 2009/6/26 Darren Schreiber > Did this work? Would love an update on this error/issue. > > -- > *From:* Michael Jerris [mailto:m...@jerris.com] > *Sent:* Wednesday, June 24, 2009 8:15 AM > *To:* freeswitch-users@lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] Nibblebill and multiple gateway > > try adding > before the bridge and report back results. > > Mike > > On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote: > > Dear All, > > Look like nibblebill does't work with multiple gatreway. > I try > data="nibble_account=0838833133"/> > > data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3] > sofia/external/6626734...@203.xxx.xxx.xxx|[nibble_rate=0.5] > sofia/external/6626734...@202.xxx.xxx.xxx> > > nibblebill not found nibble_rate > > But > > data="nibble_account=0838833133"/> > > 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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/24 Darren Schreiber > Shouldn't you be using {} not [] ? > you mean {nibble_rate=0.3}sofia/external/x...@xxx.xxx.xxx.xxx |{nibble_rate=0.5}sofia/external/x...@xxx.xxx.xxx.xxx I think {} use for all channel but [] for per channel Dome C. > ------ > *From:* Dome Charoenyost [mailto:d...@tel.co.th] > *Sent:* Tuesday, June 23, 2009 10:36 PM > *To:* freeswitch-users@lists.freeswitch.org > *Subject:* [Freeswitch-users] Nibblebill and multiple gateway > > Dear All, > > Look like nibblebill does't work with multiple gatreway. > I try > data="nibble_account=0838833133"/> > > data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734...@203.xxx.xxx.xxx > |[nibble_rate=0.5]sofia/external/6626734...@202.xxx.xxx.xxx> > > nibblebill not found nibble_rate > > But > > data="nibble_account=0838833133"/> > > data="{absolute_codec_string='GSM,G729'}sofia/external/6626734...@203.xxx.xxx.xxx > |sofia/external/6626734...@202.xxx.xxx.xxx> > > Work fine > > What's difference from set application and [] ? > > Best Regards. > Dome C. > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] Nibblebill and multiple gateway
Dear All, Look like nibblebill does't work with multiple gatreway. I try http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] How to change sound-path when switch language
default_language still don't work wirh say but sound_prefix work fine. example my javascript --- session.execute("set", "sound_prefix=/opt/freeswitch/sounds/th"); session.execute("say","th number pronounced 1346523"); session.execute("say","th number pronounced 21"); session.execute("say","th number pronounced 11"); session.execute("say","th number pronounced 101"); How to check in mod_say_th back to freeswotch ? Dome C. 2009/6/3 Brian West : > You'll need to set the variable default_language > /b > On Jun 2, 2009, at 2:42 PM, Dome Charoenyost wrote: > > Dear sir, > i create mod_say_th for Thai language. i found some problem > about sound-path. > I have config th.xml in conf/lang/th/ > tts-engine="cepstral" tts-voice="callie"> > ... > > when i try > > Freeswitch still looking sounf file in /sounds/en/us/callie (en > sound-path) > > Someone help me please > > Brian West > br...@freeswitch.org > -- Meet us at ClueCon! http://www.cluecon.com > > > > > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
[Freeswitch-users] How to change sound-path when switch language
Dear sir, i create mod_say_th for Thai language. i found some problem about sound-path. I have config th.xml in conf/lang/th/ ... when i try Freeswitch still looking sounf file in /sounds/en/us/callie (en sound-path) Someone help me please Dome C. ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] RIngback and sample rate
I remove retun error on mod_sndfile and recompile it's work for me. Now i'm testing other feature. i think FS is excellent :) I will add Thai lang support and send back to svn. but may be only me use FS in Thailand :) Dome C. On Tue, Aug 12, 2008 at 3:41 AM, Anthony Minessale <[EMAIL PROTECTED]> wrote: > fixed in tree, try now > > On Sun, Aug 10, 2008 at 11:19 PM, Michael Jerris <[EMAIL PROTECTED]> wrote: >> >> We discussed this a while back and could not come up with any >> compelling use cases where this should happen with the exception of >> configuration error. Do you have one? >> >> Mike >> >> On Aug 10, 2008, at 9:57 PM, "Dome Charoenyost" <[EMAIL PROTECTED]> wrote: >> >> > On Mon, Aug 11, 2008 at 8:27 AM, Brian West <[EMAIL PROTECTED]> >> > wrote: >> >> It should still play it and resample it to 8000. >> >> >> > Thanks. >> > if wav file not found i need FS still make call is posible to do ? >> > now FS hangup >> > >> > >> >> /b >> >> >> >> On Aug 10, 2008, at 8:25 PM, Dome Charoenyost wrote: >> >> >> >>> Dear All, >> >>> Is posible ro play 32000 bit wav for ringback to gsm codec >> >>> channel ? >> >>> I try and got message and shoppy sound >> >>> >> >>> 2008-08-11 08:27:54 [DEBUG] switch_ivr_originate.c:1101 >> >>> switch_ivr_originate() Play Ringback File [/home/ring.wav] >> >>> 2008-08-11 08:27:54 [WARNING] switch_core_file.c:111 >> >>> switch_core_perform_file_open() Sample rate doesn't match >> >>> >> >>> Dome C. >> >> >> >> >> >> ___ >> >> 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 >> >> http://www.freeswitch.org >> >> >> > >> > ___ >> > 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 >> > http://www.freeswitch.org >> >> ___ >> 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 >> http://www.freeswitch.org > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > > AIM: anthm > MSN:[EMAIL PROTECTED] > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED] > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:[EMAIL PROTECTED] > iax:[EMAIL PROTECTED]/888 > googletalk:[EMAIL PROTECTED] > pstn:213-799-1400 > > ___ > 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 > http://www.freeswitch.org > > ___ 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 http://www.freeswitch.org
Re: [Freeswitch-users] RIngback and sample rate
On Mon, Aug 11, 2008 at 8:27 AM, Brian West <[EMAIL PROTECTED]> wrote: > It should still play it and resample it to 8000. > Thanks. if wav file not found i need FS still make call is posible to do ? now FS hangup > /b > > On Aug 10, 2008, at 8:25 PM, Dome Charoenyost wrote: > >> Dear All, >> Is posible ro play 32000 bit wav for ringback to gsm codec >> channel ? >> I try and got message and shoppy sound >> >> 2008-08-11 08:27:54 [DEBUG] switch_ivr_originate.c:1101 >> switch_ivr_originate() Play Ringback File [/home/ring.wav] >> 2008-08-11 08:27:54 [WARNING] switch_core_file.c:111 >> switch_core_perform_file_open() Sample rate doesn't match >> >> Dome C. > > > ___ > 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 > http://www.freeswitch.org > ___ 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 http://www.freeswitch.org
[Freeswitch-users] RIngback and sample rate
Dear All, Is posible ro play 32000 bit wav for ringback to gsm codec channel ? I try and got message and shoppy sound 2008-08-11 08:27:54 [DEBUG] switch_ivr_originate.c:1101 switch_ivr_originate() Play Ringback File [/home/ring.wav] 2008-08-11 08:27:54 [WARNING] switch_core_file.c:111 switch_core_perform_file_open() Sample rate doesn't match Dome C. ___ 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 http://www.freeswitch.org