[Freeswitch-users] Nibble bill in B Leg
Dear sir, I found some problem when try to enable nibblebill in B-Leg My Dialplan action application=bridge 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
Re: [Freeswitch-users] freeswitch on blackfin
hi mark, please go to the freeswitch web site (http://www.freeswitch.org and open Download / Install Guide. this contin a step by step guide to cross compil Freeswitch for Embedded system thanks; mark morreny wrote: Hi, Have anyone tried getting freeswitch to work on uclinux/blackfin platform? Is there any info out there on how that can be done? Thanks for any info. Best Regards, Mark ___ 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 __ Information from ESET NOD32 Antivirus, version of virus signature database 4256 (20090718) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4256 (20090718) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.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
Re: [Freeswitch-users] freeswitch on blackfin
On Sat, 2009-07-18 at 09:25 +, Meftah Tayeb wrote: please go to the freeswitch web site (http://www.freeswitch.org and open Download / Install Guide. this contin a step by step guide to cross compil Freeswitch for Embedded system That's not for blackfin. hads -- http://nicegear.co.nz New Zealand's Open Source Hardware Supplier ___ 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_conference: behavior when the conference is torn down before 31seconds
Hello Luis, are you using encrypted TLS instead on SIP on this phone? I experienced a similar behaviour with 31 seocnds on TLS. Best regards Peter Luis F Urrea schrieb: Hi all, I am experiencing a behavior that I cannot clearly understand. Basically I autocall a few phones into a conference with the sip_auto_answer set to true, as follows: extension name=extension-intercom condition field=destination_number expression=^773$ action application=set data=conference_auto_outcall_prefix={sip_auto_answer=true}/ action application=conference_set_auto_outcall data=user/305/ action application=conference_set_auto_outcall data=user/303/ action application=conference_set_auto_outcall data=user/201/ action application=conference data=412+flags{endconf|deaf}/ action application=conference data=412 kick all/ /condition /extension The conference establishes just fine and everyone can hear just fine. The strange behavior comes when the person calling to ext 773 hangs up before 31 seconds have passed, the rest of the phones stay up until they reach second 31 into the conference. I am using snom phones and I see the BYE message arriving at the phones exactly at second 31 after the call establishes. The conference itself however does not exist after the person calling 773 hangs up (doing conference list on CLI shows NO active conferences). If the conference stays up more than 31 seconds, then when the person calling 773 hangs up, the rest of the phones hang up immediately as desired. Here's the log for a page that lasts less than 31 seconds: http://pastebin.freeswitch.org/9773 Here's the log of the phone for a page that lasts less than 31 seconds: http://pastebin.freeswitch.org/9774 Your inout is appreciated. Regards, Luis ___ 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] FsGUI
Thanks, I have found the sources in contrib/jmesquita/fsgui Any recommendatioins how to compile it under Linux? Best regards Peter João Mesquita schrieb: Dear folks, Even tho it might be premature, I would like to already spread the word. Check out FsGUI and feel free give feedback if this is a wanted tool and what direction it should take. Beware that the code is still contrib code and might now be yet mature for production use. http://wiki.freeswitch.org/wiki/Fsgui Thanks, João Mesquita ___ 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_managed users?
Sorry for replying late. I have tried mod_managed again on same machine (Lenovo 3000 N200), same OS (Ubuntu-9.04) and Mono version 2.0.1 but with latest FS revision 14249. It compiles correctly this time but gives following error upon make install, = making install mod_managed make[5]: *** No rule to make target `/usr/local/freeswitch/mod/mod_managed.so', needed by `local_install'. Stop. make[4]: *** [install] Error 1 make[3]: *** [mod_managed-install] Error 1 make[2]: *** [install-recursive] Error 1 = Here is compilation log when executing make, if it could of any help. = making all mod_managed Compiling freeswitch_managed.cpp... g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o freeswitch_managed.o freeswitch_managed.cpp Compiling freeswitch_wrap.cpp... g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o freeswitch_wrap.o freeswitch_wrap.cpp Demo.cs(58,14): warning CS0169: The private method `FreeSWITCH.Demo.AppDemo.hangupHook()' is never used Compilation succeeded - 1 warning(s) Compiling mod_managed.cpp... /usr/src/svn-src/freeswitch/libtool --mode=compile --tag=CXX g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o mod_managed.lo mod_managed.cpp libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -fPIC -DPIC -o .libs/mod_managed.o mod_managed.cpp: In function ‘void InitManagedSession(ManagedSession*, char* (*)(void*, switch_input_type_t), void (*)())’: mod_managed.cpp:97: warning: deprecated conversion from string constant to ‘char*’ libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -o mod_managed.o /dev/null 21 Creating mod_managed.la... cat: .libs/mod_managed.log: No such file or directory = Thank you. On Fri, Jul 17, 2009 at 10:59 AM, Muhammad Shahzad shaherya...@googlemail.com wrote: I tried to install mod_managed on ubuntu-9.04, mono framework version 2.0. It gave me a lots of errors in Loader.cs, which seems to be SWIG related. Since i am not a expert in SWIG so i disabled this module. This happend long ago, i think FS svn revision 136xx. Let me try to compile it from latest FS revision and see if it works. I will let you know the results. Thank you. On Fri, Jul 17, 2009 at 3:54 AM, Diego Toro dft...@yahoo.com wrote: Hey, I am here :) I am working with mod_managed on Windows 2003 and Windows Vista with sucessfull. I noted on user list the issue with LoadFile on Loader.cs when a assembly had reference to others assemblies, I change LoadFile by LoadFrom and the load is made fine. I use c# application and sqlserver 2005, using FS and mod_managed. Diego --- On *Thu, 7/16/09, Michael Giagnocavo m...@giagnocavo.net* wrote: From: Michael Giagnocavo m...@giagnocavo.net Subject: [Freeswitch-users] mod_managed users? To: freeswitch-users@lists.freeswitch.org freeswitch-users@lists.freeswitch.org Date: Thursday, July 16, 2009, 4:43 PM Hey, if there are any mod_managed users on this list, I’d love it if you were able to let me know. I’d like to get feedback, positive or negative, on what worked, what didn’t, and how mod_managed can improve for you. Feel free to write on list or directly to me: mgg at giagnocavo.net Thanks! -Michael -Inline Attachment Follows- ___ FreeSWITCH-users mailing list
Re: [Freeswitch-users] FsGUI
Added to the wiki: http://wiki.freeswitch.org/wiki/Fsgui#Ubuntu jmesquita On Sat, Jul 18, 2009 at 9:06 AM, Peter P GMX prometheus...@gmx.net wrote: Thanks, I have found the sources in contrib/jmesquita/fsgui Any recommendatioins how to compile it under Linux? Best regards Peter João Mesquita schrieb: Dear folks, Even tho it might be premature, I would like to already spread the word. Check out FsGUI and feel free give feedback if this is a wanted tool and what direction it should take. Beware that the code is still contrib code and might now be yet mature for production use. http://wiki.freeswitch.org/wiki/Fsgui Thanks, João Mesquita ___ 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] FsGUI
Thanks guys! Can't wait to check it out. Would you mind adding some screenshots to the wiki? -- Darin 2009/7/18 João Mesquita jmesqu...@gmail.com Added to the wiki: http://wiki.freeswitch.org/wiki/Fsgui#Ubuntu jmesquita On Sat, Jul 18, 2009 at 9:06 AM, Peter P GMX prometheus...@gmx.netwrote: Thanks, I have found the sources in contrib/jmesquita/fsgui Any recommendatioins how to compile it under Linux? Best regards Peter João Mesquita schrieb: Dear folks, Even tho it might be premature, I would like to already spread the word. Check out FsGUI and feel free give feedback if this is a wanted tool and what direction it should take. Beware that the code is still contrib code and might now be yet mature for production use. http://wiki.freeswitch.org/wiki/Fsgui Thanks, João Mesquita ___ 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 -- ) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d...@unwire.ithttp://unwire.it ___ 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] FsGUI
DOH! Sorry... I just noticed the link at the bottom of the page to the graphic. Thanks! On Sat, Jul 18, 2009 at 10:04 AM, Darin Weeks d...@unwire.it wrote: Thanks guys! Can't wait to check it out. Would you mind adding some screenshots to the wiki? -- Darin 2009/7/18 João Mesquita jmesqu...@gmail.com Added to the wiki: http://wiki.freeswitch.org/wiki/Fsgui#Ubuntu jmesquita On Sat, Jul 18, 2009 at 9:06 AM, Peter P GMX prometheus...@gmx.netwrote: Thanks, I have found the sources in contrib/jmesquita/fsgui Any recommendatioins how to compile it under Linux? Best regards Peter João Mesquita schrieb: Dear folks, Even tho it might be premature, I would like to already spread the word. Check out FsGUI and feel free give feedback if this is a wanted tool and what direction it should take. Beware that the code is still contrib code and might now be yet mature for production use. http://wiki.freeswitch.org/wiki/Fsgui Thanks, João Mesquita ___ 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 -- ) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d...@unwire.ithttp://unwire.it -- ) ) ) ) ) ) ) ) ) UNWIRE.IT ( ( ( ( ( ( ( ( ( broadband internet for west hollywood d...@unwire.ithttp://unwire.it ___ 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_managed users?
Thanks for this report. I’ll look into the linux build shortly and perhaps be able to help get it working. From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Muhammad Shahzad Sent: Saturday, July 18, 2009 6:58 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] mod_managed users? Sorry for replying late. I have tried mod_managed again on same machine (Lenovo 3000 N200), same OS (Ubuntu-9.04) and Mono version 2.0.1 but with latest FS revision 14249. It compiles correctly this time but gives following error upon make install, = making install mod_managed make[5]: *** No rule to make target `/usr/local/freeswitch/mod/mod_managed.so', needed by `local_install'. Stop. make[4]: *** [install] Error 1 make[3]: *** [mod_managed-install] Error 1 make[2]: *** [install-recursive] Error 1 = Here is compilation log when executing make, if it could of any help. = making all mod_managed Compiling freeswitch_managed.cpp... g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o freeswitch_managed.o freeswitch_managed.cpp Compiling freeswitch_wrap.cpp... g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o freeswitch_wrap.o freeswitch_wrap.cpp Demo.cs(58,14): warning CS0169: The private method `FreeSWITCH.Demo.AppDemo.hangupHook()' is never used Compilation succeeded - 1 warning(s) Compiling mod_managed.cpp... /usr/src/svn-src/freeswitch/libtool --mode=compile --tag=CXX g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c -o mod_managed.lo mod_managed.cpp libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -fPIC -DPIC -o .libs/mod_managed.o mod_managed.cpp: In function ‘void InitManagedSession(ManagedSession*, char* (*)(void*, switch_input_type_t), void (*)())’: mod_managed.cpp:97: warning: deprecated conversion from string constant to ‘char*’ libtool: compile: g++ -I/usr/src/svn-src/freeswitch/src/include -I/usr/src/svn-src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -pthread -I/usr/include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -c mod_managed.cpp -o mod_managed.o /dev/null 21 Creating mod_managed.la... cat: .libs/mod_managed.log: No such file or directory = Thank you. On Fri, Jul 17, 2009 at 10:59 AM, Muhammad Shahzad shaherya...@googlemail.commailto:shaherya...@googlemail.com wrote: I tried to install mod_managed on ubuntu-9.04, mono framework version 2.0. It gave me a lots of errors in Loader.cs, which seems to be SWIG related. Since i am not a expert in SWIG so i disabled this module. This happend long ago, i think FS svn revision 136xx. Let me try to compile it from latest FS revision and see if it works. I will let you know the results. Thank you. On Fri, Jul 17, 2009 at 3:54 AM, Diego Toro dft...@yahoo.commailto:dft...@yahoo.com wrote: Hey, I am here :) I am working with mod_managed on Windows 2003 and Windows Vista with sucessfull. I noted on user list the issue with LoadFile on Loader.cs when a assembly had reference to others assemblies, I change LoadFile by LoadFrom and the load is made fine. I use c# application and sqlserver 2005, using FS and mod_managed. Diego --- On Thu, 7/16/09, Michael Giagnocavo m...@giagnocavo.netmailto:m...@giagnocavo.net wrote: From: Michael Giagnocavo m...@giagnocavo.netmailto:m...@giagnocavo.net Subject: [Freeswitch-users] mod_managed users? To: freeswitch-users@lists.freeswitch.orgmailto:freeswitch-users@lists.freeswitch.org
Re: [Freeswitch-users] 302 redirects and continue_on_fail=true
You can set continue_on_fail to the major (or all) causes that you want to handle and don't include 302 in those so it will continue to execute the extension, for example: continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION,CALL_REJECTED,USER_NOT_REGISTERED You can know more about the hangup causes here: http://wiki.freeswitch.org/wiki/Hangup_causes Regards, Raul On Sat, 2009-07-18 at 13:49 +1000, Jay Binks wrote: I have an upstream provider that utilizes a load balancer that spits back 302 redirects with contact headers SIP/2.0 302 Moved Temporarily Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5080;rport=5080;branch=z9hG4bKB6peFDvXZ5S2F;received=xxx.xxx.xxx.xxx From: test sip:xxx...@xxx.xxx.xxx.xxx;tag=ByFF2244HHvmj To: sip:61xx...@yyy.yyy.yyy.yy1;tag=1288540-274799759-385876096-321652 Call-ID: f6dc8d30-edd7-122c-c98e-000e7f301839 CSeq: 117820807 INVITE Contact: sip:61xx...@yyy.yyy.yyy.yy1:5062 Server: MERA MVTS3G v.3.10.2-49-Release Content-Length: 0 in my dialplan I have multiple upstream suppliers in a failover setup so I setup some vars and sip headers then attempt the bridge. if it fails I then go on to do the same thing for a few other suppliers ( setup headers, attempt bridge ) so because of this I use continue_on_fail=true it appears Freeswitch sees the 302 as a temp failure and does not follow the redirect, and instead moves on to the next upstream and bridges there. ive read that I can selectively exclude temporary failures from continue_on_fail but im not sure thats exact enough for this situation. I do wish for continue_on_fail to ignore 302 moved temporarily but not ALL temporary failures ( for which there are probably many more causes ) any help would be greatly appreciated as Im not sure the best way to resolve this. Jay ___ 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] 302 redirects and continue_on_fail=true
Sure however my concern is that NORMAL_TEMPORARY_FAILURE is a generic failure and not only from 302 redirects. I'm not sure I'm game to do this, unless Im being completly paranoid which is possible. Can I get advice on this from a few Other users ? Jay On 19/07/2009, at 8:29 AM, Raul Fragoso r...@etellicom.com wrote: You can set continue_on_fail to the major (or all) causes that you want to handle and don't include 302 in those so it will continue to execute the extension, for example: continue_on_fail= NORMAL_TEMPORARY_FAILURE, USER_BUSY, NO_ANSWER, TIMEOUT,NO_ROUTE_DESTINATION,CALL_REJECTED,USER_NOT_REGISTERED You can know more about the hangup causes here: http://wiki.freeswitch.org/wiki/Hangup_causes Regards, Raul On Sat, 2009-07-18 at 13:49 +1000, Jay Binks wrote: I have an upstream provider that utilizes a load balancer that spits back 302 redirects with contact headers SIP/2.0 302 Moved Temporarily Via: SIP/2.0/UDP xxx.xxx.xxx.xxx: 5080;rport=5080;branch=z9hG4bKB6peFDvXZ5S2F;received=xxx.xxx.xxx.xxx From: test sip:xxx...@xxx.xxx.xxx.xxx;tag=ByFF2244HHvmj To: sip:61xx...@yyy.yyy.yyy.yy1;tag=1288540-274799759-385876096-321652 Call-ID: f6dc8d30-edd7-122c-c98e-000e7f301839 CSeq: 117820807 INVITE Contact: sip:61xx...@yyy.yyy.yyy.yy1:5062 Server: MERA MVTS3G v.3.10.2-49-Release Content-Length: 0 in my dialplan I have multiple upstream suppliers in a failover setup so I setup some vars and sip headers then attempt the bridge. if it fails I then go on to do the same thing for a few other suppliers ( setup headers, attempt bridge ) so because of this I use continue_on_fail=true it appears Freeswitch sees the 302 as a temp failure and does not follow the redirect, and instead moves on to the next upstream and bridges there. ive read that I can selectively exclude temporary failures from continue_on_fail but im not sure thats exact enough for this situation. I do wish for continue_on_fail to ignore 302 moved temporarily but not ALL temporary failures ( for which there are probably many more causes ) any help would be greatly appreciated as Im not sure the best way to resolve this. Jay ___ 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