From msc at freeswitch.org Tue May 4 13:15:23 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 4 May 2010 13:15:23 -0700 Subject: [Freeswitch-dev] Call for assistance: Spanish sound files, translations Message-ID: ?Hola mis amigos! We could use some help with the Spanish sound files that Carlos Reyna has provided. What we need the most is someone to get the latest phrase_es.xml file and compare it to the list of sound files that we actually have recorded. We need a list of sounds that are missing. Also, we need someone to get the latest phrase_en.xml and compare it to phrase_es.xml. There are many new English sound prompts that aren't even in the other language phrase files. We'd like to rectify that. Additionally, if you are able to translate the phrase_en.xml file into other languages that would be very welcome. It would be good to get the existing non-English files updated. Please contact me off list if you are able to assist with any of the items listed above. Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100504/eb351637/attachment.html From msc at freeswitch.org Wed May 5 08:31:07 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 5 May 2010 08:31:07 -0700 Subject: [Freeswitch-dev] FreeSWITCH Community Conference Call May 5 Message-ID: Hello all! Our weekly conference call will be starting in about 90 minutes. (1pm Eastern/10am Pacific) The agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2010_05_05 I have only a few things to discuss so please bring your questions and thoughts. Multilingual community members are especially needed today so that we can talk about translating phrase files. If you have any other things to discuss please by all means bring them. Rupa is traveling this week and won't be available this week for one of his killer presentations. :) Thanks everyone and hope to talk to you in a few... -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100505/d2596682/attachment.html From vetali100 at gmail.com Thu May 6 03:27:29 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Thu, 6 May 2010 13:27:29 +0300 Subject: [Freeswitch-dev] CPU and RAM usage counters access from my module Message-ID: Hi, Is there is a way I can access the current CPU and / or RAM utilization counters from my module "mod_any_module"? I know that FreeSWITCH has this information, how could I get it? This would provide some nice benefits, for example if current CPU utilization > 75% I would force using PCMU codec instead of compressed codecs - just 1 idea... What other hardware-related counters does FreeSWITCH contains? Thank you very much! Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100506/e70439b0/attachment-0001.html From anthony.minessale at gmail.com Thu May 6 08:40:51 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 6 May 2010 10:40:51 -0500 Subject: [Freeswitch-dev] FreeSWITCH 1.2 (Dragon) on the Horizon Branch Maintainers Wanted Message-ID: This month marks 2 years since the release of FreeSWITCH 1.0 (Phoenix) We have added countless features during that time and have held back from updating some or dependancies for stability concerns. The time has come to advance FreeSWITCH to the 1.2 version (Dragon) We would like to branch 1.0 to preserve it but we need volunteers to maintain it. Please contact consulting at freeswitch.org or bug us on IRC if you are interested in helping to maintain the 1.0 branch. -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100506/356df470/attachment.html From anthony.minessale at gmail.com Thu May 6 08:45:59 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 6 May 2010 10:45:59 -0500 Subject: [Freeswitch-dev] CPU and RAM usage counters access from my module In-Reply-To: References: Message-ID: see switch_core.c Line 58 or mod_commands.c Line 1402 On Thu, May 6, 2010 at 5:27 AM, Vitalii Colosov wrote: > Hi, > > Is there is a way I can access the current CPU and / or RAM utilization > counters from my module "mod_any_module"? > I know that FreeSWITCH has this information, how could I get it? > > This would provide some nice benefits, for example if current CPU > utilization > 75% I would force using PCMU codec instead of compressed > codecs - just 1 idea... > > What other hardware-related counters does FreeSWITCH contains? > > Thank you very much! > > Vitalie > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100506/54b280bc/attachment.html From moises.silva at gmail.com Thu May 6 13:35:34 2010 From: moises.silva at gmail.com (Moises Silva) Date: Thu, 6 May 2010 16:35:34 -0400 Subject: [Freeswitch-dev] CPU and RAM usage counters access from my module In-Reply-To: References: Message-ID: May be we could have an "alarm" core event with some subevents about cpu or memory usage, then modules may take nice actions like stop accepting calls to at least try to protect the quality of the current ones. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Thu, May 6, 2010 at 11:45 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > see switch_core.c Line 58 > or > mod_commands.c Line 1402 > > > On Thu, May 6, 2010 at 5:27 AM, Vitalii Colosov wrote: > >> Hi, >> >> Is there is a way I can access the current CPU and / or RAM utilization >> counters from my module "mod_any_module"? >> I know that FreeSWITCH has this information, how could I get it? >> >> This would provide some nice benefits, for example if current CPU >> utilization > 75% I would force using PCMU codec instead of compressed >> codecs - just 1 idea... >> >> What other hardware-related counters does FreeSWITCH contains? >> >> Thank you very much! >> >> Vitalie >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100506/14d3e0fc/attachment.html From anthony.minessale at gmail.com Thu May 6 13:47:00 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 6 May 2010 15:47:00 -0500 Subject: [Freeswitch-dev] CPU and RAM usage counters access from my module In-Reply-To: References: Message-ID: we have the TRAP one that we use to distribute signals etc, that would be a good place for it. On Thu, May 6, 2010 at 3:35 PM, Moises Silva wrote: > May be we could have an "alarm" core event with some subevents about cpu or > memory usage, then modules may take nice actions like stop accepting calls > to at least try to protect the quality of the current ones. > > Moises Silva > Senior Software Engineer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R > 9T3 Canada > t. 1 905 474 1990 x 128 | e. moy at sangoma.com > > > > On Thu, May 6, 2010 at 11:45 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> see switch_core.c Line 58 >> or >> mod_commands.c Line 1402 >> >> >> On Thu, May 6, 2010 at 5:27 AM, Vitalii Colosov wrote: >> >>> Hi, >>> >>> Is there is a way I can access the current CPU and / or RAM utilization >>> counters from my module "mod_any_module"? >>> I know that FreeSWITCH has this information, how could I get it? >>> >>> This would provide some nice benefits, for example if current CPU >>> utilization > 75% I would force using PCMU codec instead of compressed >>> codecs - just 1 idea... >>> >>> What other hardware-related counters does FreeSWITCH contains? >>> >>> Thank you very much! >>> >>> Vitalie >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> 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_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100506/c50777f5/attachment-0001.html From msc at freeswitch.org Fri May 7 22:44:41 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 7 May 2010 22:44:41 -0700 Subject: [Freeswitch-dev] Question about fsctl hupall Message-ID: Guys, I was digging through mod_commands.c to learn more about fsctl hupall syntax. However, I don't see how the proper function ever gets executed. Here's mod_commands.c, starting at line 1478, where "fsctl" arguments are parsed: if (!strcasecmp(argv[0], "hupall")) { arg = 1; switch_core_session_ctl(SCSC_HUPALL, &arg); stream->write_function(stream, "+OK\n"); I don't see where this: switch_core_session_hupall_matching_var(var, val, cause); ...ever gets called. (Same file, line 4086, inside SWITCH_STANDARD_API(hupall_api_function) defintion) Did I perhaps miss something? Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100507/e77c77da/attachment.html From mike at jerris.com Fri May 7 23:18:12 2010 From: mike at jerris.com (Michael Jerris) Date: Sat, 8 May 2010 02:18:12 -0400 Subject: [Freeswitch-dev] Question about fsctl hupall In-Reply-To: References: Message-ID: <0BE01D2C-E3CC-4066-9497-CF9A8F38C7AC@jerris.com> <361>:git grep -n SCSC_HUPALL src/include/switch_types.h:1476: SCSC_HUPALL, src/mod/applications/mod_commands/mod_commands.c:1480: switch_core_session_ctl(SCSC_HUPALL, &arg); src/mod/languages/mod_managed/managed/swig.cs:26990: SCSC_HUPALL, src/switch_core.c:1692: case SCSC_HUPALL: On May 8, 2010, at 1:44 AM, Michael Collins wrote: > Guys, > > I was digging through mod_commands.c to learn more about fsctl hupall syntax. However, I don't see how the proper function ever gets executed. Here's mod_commands.c, starting at line 1478, where "fsctl" arguments are parsed: > > if (!strcasecmp(argv[0], "hupall")) { > arg = 1; > switch_core_session_ctl(SCSC_HUPALL, &arg); > stream->write_function(stream, "+OK\n"); > > > I don't see where this: > > switch_core_session_hupall_matching_var(var, val, cause); > > ...ever gets called. (Same file, line 4086, inside SWITCH_STANDARD_API(hupall_api_function) defintion) > > Did I perhaps miss something? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100508/567414a6/attachment.html From mrene_lists at avgs.ca Fri May 7 23:21:43 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Sat, 8 May 2010 02:21:43 -0400 Subject: [Freeswitch-dev] Question about fsctl hupall In-Reply-To: References: Message-ID: <7038408D-A1D0-48E2-A011-F386F8BE1A42@avgs.ca> fsctl hupall doesnt take any arguments. However, the hupall api function does, see mod_commands.c:4086 Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca SWITCH_STANDARD_API(hupall_api_function) { char *mycmd = NULL, *argv[3] = { 0 }; int argc = 0; char *var = NULL; char *val = NULL; switch_call_cause_t cause = SWITCH_CAUSE_MANAGER_REQUEST; if (!zstr(cmd) && (mycmd = strdup(cmd))) { argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0]))); switch_assert(argv[0]); if ((cause = switch_channel_str2cause(argv[0])) == SWITCH_CAUSE_NONE) { cause = SWITCH_CAUSE_MANAGER_REQUEST; } var = argv[1]; val = argv[2]; } if (!val) { var = NULL; } if (zstr(var)) { switch_core_session_hupall(cause); } else { switch_core_session_hupall_matching_var(var, val, cause); } if (zstr(var)) { stream->write_function(stream, "+OK hangup all channels with cause %s\n", switch_channel_cause2str(cause)); } else { stream->write_function(stream, "+OK hangup all channels matching [%s]=[%s] with cause: %s\n", var, val, switch_channel_cause2str(cause)); } switch_safe_free(mycmd); return SWITCH_STATUS_SUCCESS; } On 2010-05-08, at 1:44 AM, Michael Collins wrote: > Guys, > > I was digging through mod_commands.c to learn more about fsctl hupall syntax. However, I don't see how the proper function ever gets executed. Here's mod_commands.c, starting at line 1478, where "fsctl" arguments are parsed: > > if (!strcasecmp(argv[0], "hupall")) { > arg = 1; > switch_core_session_ctl(SCSC_HUPALL, &arg); > stream->write_function(stream, "+OK\n"); > > > I don't see where this: > > switch_core_session_hupall_matching_var(var, val, cause); > > ...ever gets called. (Same file, line 4086, inside SWITCH_STANDARD_API(hupall_api_function) defintion) > > Did I perhaps miss something? > > Thanks, > MC > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100508/0798cb5d/attachment.html From msc at freeswitch.org Fri May 7 23:59:18 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 7 May 2010 23:59:18 -0700 Subject: [Freeswitch-dev] Question about fsctl hupall In-Reply-To: <7038408D-A1D0-48E2-A011-F386F8BE1A42@avgs.ca> References: <7038408D-A1D0-48E2-A011-F386F8BE1A42@avgs.ca> Message-ID: Ugh. That was a noob oversight if ever there was one. Thanks for the slap upside the head. That's what I get for reading source code while trying to babysit two kids. :) -MC On Fri, May 7, 2010 at 11:21 PM, Mathieu Rene wrote: > fsctl hupall doesnt take any arguments. > > However, the hupall api function does, see mod_commands.c:4086 > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mrene at avgs.ca > > > > SWITCH_STANDARD_API(hupall_api_function) > { > char *mycmd = NULL, *argv[3] = { 0 }; > int argc = 0; > char *var = NULL; > char *val = NULL; > switch_call_cause_t cause = SWITCH_CAUSE_MANAGER_REQUEST; > > if (!zstr(cmd) && (mycmd = strdup(cmd))) { > argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / > sizeof(argv[0]))); > switch_assert(argv[0]); > if ((cause = switch_channel_str2cause(argv[0])) == SWITCH_CAUSE_NONE) { > cause = SWITCH_CAUSE_MANAGER_REQUEST; > } > var = argv[1]; > val = argv[2]; > } > > if (!val) { > var = NULL; > } > > if (zstr(var)) { > switch_core_session_hupall(cause); > } else { > switch_core_session_hupall_matching_var(var, val, cause); > } > > if (zstr(var)) { > stream->write_function(stream, "+OK hangup all channels with cause %s\n", > switch_channel_cause2str(cause)); > } else { > stream->write_function(stream, "+OK hangup all channels matching [%s]=[%s] > with cause: %s\n", var, val, switch_channel_cause2str(cause)); > } > > switch_safe_free(mycmd); > return SWITCH_STATUS_SUCCESS; > } > > On 2010-05-08, at 1:44 AM, Michael Collins wrote: > > Guys, > > I was digging through mod_commands.c to learn more about fsctl hupall > syntax. However, I don't see how the proper function > ever gets executed. Here's mod_commands.c, starting at line 1478, where > "fsctl" arguments are parsed: > > if (!strcasecmp(argv[0], "hupall")) { > arg = 1; > switch_core_session_ctl(SCSC_HUPALL, &arg); > stream->write_function(stream, "+OK\n"); > > > I don't see where this: > > switch_core_session_hupall_matching_var(var, val, cause); > > ...ever gets called. (Same file, line 4086, inside > SWITCH_STANDARD_API(hupall_api_function) defintion) > > Did I perhaps miss something? > > Thanks, > MC > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100507/08be4c80/attachment-0001.html From daniel.neubert at solomo.de Sun May 2 23:35:34 2010 From: daniel.neubert at solomo.de (Daniel Neubert) Date: Mon, 3 May 2010 08:35:34 +0200 Subject: [Freeswitch-dev] Generate EVENT for gateway-ping result Message-ID: <4BDE6EB6.8020508@solomo.de> Hi everybody, is there a possibility to generate an event as a result of a ping request to a gateway? We've set up several gateways and are constantly pinging them from FreeSwitch. It would be very handy if FreeSwitch would sent an event including the gateway name and the ping result. Is there any chance to implent this? -- Best regards / Mit freundlichen Gr??en, Daniel Neubert From sathishbabu07 at gmail.com Wed May 5 04:41:18 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Wed, 5 May 2010 17:11:18 +0530 Subject: [Freeswitch-dev] Play Message after bridge the call Message-ID: Hi, I have received one inbound call and i have made one outbound call using the different trunk and i have connected both that channel using the "bridge" function. Now i need to play the voice file that voice file has to be played on both the parties, ie for inbound and also for outbound caller. How to achieve this. Thanks in advance. Thanks and Regards, Sathish -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100505/4ae890e1/attachment.html From juanito1982 at gmail.com Mon May 10 04:26:52 2010 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Mon, 10 May 2010 13:26:52 +0200 Subject: [Freeswitch-dev] IDE Message-ID: Hello! I'am a newbie in freeswitch development and I'd like to know if there is any IDE which could be used to develop/debug new code. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/15947cfd/attachment.html From mrene_lists at avgs.ca Mon May 10 09:38:32 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 10 May 2010 12:38:32 -0400 Subject: [Freeswitch-dev] Generate EVENT for gateway-ping result In-Reply-To: <4BDE6EB6.8020508@solomo.de> References: <4BDE6EB6.8020508@solomo.de> Message-ID: Hi, I happened to have that in uncommitted changes, update to head and you'll get it. Auch mit freundlichen gruessen, Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 2010-05-03, at 2:35 AM, Daniel Neubert wrote: > Hi everybody, > > is there a possibility to generate an event as a result of a ping > request to a gateway? > > We've set up several gateways and are constantly pinging them from > FreeSwitch. It would be very handy if FreeSwitch would sent an event > including the gateway name and the ping result. > > Is there any chance to implent this? > > -- > Best regards / Mit freundlichen Gr??en, > Daniel Neubert > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From janvb at live.com Mon May 10 09:39:26 2010 From: janvb at live.com (Jan Berger) Date: Mon, 10 May 2010 18:39:26 +0200 Subject: [Freeswitch-dev] IDE In-Reply-To: References: Message-ID: On Windows you can download Visual Studio C++ 2008 Express - it's free. Jan Date: Mon, 10 May 2010 13:26:52 +0200 From: juanito1982 at gmail.com To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] IDE Hello! I'am a newbie in freeswitch development and I'd like to know if there is any IDE which could be used to develop/debug new code. Regards _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/bccb2cc0/attachment-0001.html From anthony.minessale at gmail.com Mon May 10 09:43:15 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 10 May 2010 11:43:15 -0500 Subject: [Freeswitch-dev] IDE In-Reply-To: References: Message-ID: depends on the platform. Win32 has MSVC Mac has Xcode Linux has the shell and probably something like eclipse. 2010/5/10 Juan Antonio Iba?ez Santorum > Hello! > > I'am a newbie in freeswitch development and I'd like to know if there is > any IDE which could be used to develop/debug new code. > > Regards > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/f77bce01/attachment.html From jan.berger at video24.no Mon May 10 09:46:07 2010 From: jan.berger at video24.no (Jan Berger) Date: Mon, 10 May 2010 18:46:07 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop Message-ID: <6BC334A972DE40E18D63204DD92625BA@dell9400> Hi, I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. Does anyone recognise this issue? Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/56767a5d/attachment.html From anthony.minessale at gmail.com Mon May 10 09:50:15 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 10 May 2010 11:50:15 -0500 Subject: [Freeswitch-dev] Build fails on Suse In-Reply-To: <4BD87F92020000F000017D82@firewall.thesummit-grp.com> References: <4BD87F92020000F000017D82@firewall.thesummit-grp.com> Message-ID: it says "usually" in this case the programmer meant to do exactly what was written there to test if a pointer was pointing at a particular string buffer. something is turning up some enhanced warnings in your build server beyond the reasonable level. On Wed, Apr 28, 2010 at 5:33 PM, Matt White wrote: > I'm using the opensuse build service to create rpm's for Suse. > > The build fails with the following error below. I think its due to the > gcc 4.3 used on SLE11 as I can't replicate it in older versions > > > I: Expression compares a char* pointer with a string literal. > > Usually a strcmp() was intended by the programmer > > E: freeswitch stringcompare strings/apr_snprintf.c:1261 > > Any thoughts? I'm using the nightly snapshot. > > -M > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/ea0bd165/attachment.html From andrew at hijacked.us Mon May 10 09:52:14 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Mon, 10 May 2010 12:52:14 -0400 Subject: [Freeswitch-dev] portaudio help In-Reply-To: <4BDBA1F4.3020709@gmail.com> References: <4BDBA1F4.3020709@gmail.com> Message-ID: <20100510165214.GK16481@hijacked.us> On Fri, Apr 30, 2010 at 11:37:24PM -0400, Oleg Khovayko wrote: > Dear Developers, > > Can you help me with portaudio module? > > > On the my machine (FreeBSD OS), > I have active sound card and driver: > What FreeBSD version? What sound card? Do you have something else using the sound card too? Have you enabled vchans so that the OSS device can be shared by multiple programs at once (see: http://www.freebsd.org/doc/en/books/handbook/sound-setup.html ) Andrew From anthony.minessale at gmail.com Mon May 10 09:51:51 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 10 May 2010 11:51:51 -0500 Subject: [Freeswitch-dev] sending custom SDP in 200 OK In-Reply-To: References: Message-ID: if you use anything that needs media before you send 200 it will have to send 183 On Fri, Apr 23, 2010 at 12:28 AM, Raj Kiran Talusani < rajkiran.talusani at gmail.com> wrote: > I have written a application called mod_custom. In this module i would like > to set a user-defined RTP port and IP adress and then send the 200 OK > (answer the call). But i see that, before my application is invoked, 183 > message is sent with SDP. And i didnot find a way to either disable sending > 183 and just send 180 OR modify the SDP to be sent in 200 OK. > > please help. > > Rajk > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/b0007f82/attachment.html From anthony.minessale at gmail.com Mon May 10 09:56:49 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 10 May 2010 11:56:49 -0500 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <6BC334A972DE40E18D63204DD92625BA@dell9400> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> Message-ID: A patch was added that requires it. So we had to add a work-around to support it in HEAD. On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: > Hi, > > > > I have an error on Windows XP Professional that puzzle me ? FreeSwitch > compiles fine after downloading from GIT, but FreeSWITCH.dll generate an > unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) > > > > What puzzle me is that I have a 1.0.5 source tree in parrallell that don?t > have this issue using the same dll, and I fail to find any relevant > difference in the project settings or files. > > > > Does anyone recognise this issue? > > > > Jan > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/ec342bbb/attachment-0001.html From mike at jerris.com Mon May 10 10:58:31 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 10 May 2010 13:58:31 -0400 Subject: [Freeswitch-dev] Play Message after bridge the call In-Reply-To: References: Message-ID: <658E50FB-D870-479F-A056-C4EA9F5660D4@jerris.com> http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast On May 5, 2010, at 7:41 AM, Sathish Babu wrote: > Hi, > > I have received one inbound call and i have made one outbound call using the different trunk and i have connected both that channel using the "bridge" function. > Now i need to play the voice file that voice file has to be played on both the parties, ie for inbound and also for outbound caller. > How to achieve this. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/e2b7266d/attachment.html From mike at jerris.com Mon May 10 10:59:04 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 10 May 2010 13:59:04 -0400 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> Message-ID: <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> This should be fixed now as well. If it is not yet, let us know. Mike On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > A patch was added that requires it. So we had to add a work-around to support it in HEAD. > > > On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: > Hi, > > > I have an error on Windows XP Professional that puzzle me ? FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) > > > What puzzle me is that I have a 1.0.5 source tree in parrallell that don?t have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. > > > Does anyone recognise this issue? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100510/30b5b863/attachment.html From juanito1982 at gmail.com Mon May 10 23:13:16 2010 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Tue, 11 May 2010 08:13:16 +0200 Subject: [Freeswitch-dev] IDE In-Reply-To: References: Message-ID: Thanks! I'll try it! Regards 2010/5/10 Jan Berger > On Windows you can download Visual Studio C++ 2008 Express - it's free. > > Jan > > ------------------------------ > Date: Mon, 10 May 2010 13:26:52 +0200 > From: juanito1982 at gmail.com > To: freeswitch-dev at lists.freeswitch.org > Subject: [Freeswitch-dev] IDE > > > Hello! > > I'am a newbie in freeswitch development and I'd like to know if there is > any IDE which could be used to develop/debug new code. > > Regards > > ------------------------------ > Hotmail: Trusted email with powerful SPAM protection. Sign up now. > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/0c45ea10/attachment.html From daniel.neubert at solomo.de Tue May 11 00:57:17 2010 From: daniel.neubert at solomo.de (Daniel Neubert) Date: Tue, 11 May 2010 09:57:17 +0200 Subject: [Freeswitch-dev] Generate EVENT for gateway-ping result In-Reply-To: References: <4BDE6EB6.8020508@solomo.de> Message-ID: <4BE90DDD.6010301@solomo.de> Thank you for that surprisingly positive answer ;-) I've compiled current version (FreeSWITCH Version 1.0.head (git-1d0ce55 2010-05-11 09-59-33 +0800) in testbed but did not see any event raised? freeswitch at voip-testbed-2.voip.local> 2010-05-11 09:54:36.985060 [WARNING] sofia.c:3629 Ping succeeded voip-testbed-gateway-2 with code 404 - count -1/1/1, state UP Best regards / Mit freundlichen Gr??en, Daniel Neubert On 10.05.2010 18:38, Mathieu Rene wrote: > Hi, > > I happened to have that in uncommitted changes, update to head and you'll get it. > > Auch mit freundlichen gruessen, > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mrene at avgs.ca > > > > > On 2010-05-03, at 2:35 AM, Daniel Neubert wrote: > > >> Hi everybody, >> >> is there a possibility to generate an event as a result of a ping >> request to a gateway? >> >> We've set up several gateways and are constantly pinging them from >> FreeSwitch. It would be very handy if FreeSwitch would sent an event >> including the gateway name and the ping result. >> >> Is there any chance to implent this? >> >> -- >> Best regards / Mit freundlichen Gr??en, >> Daniel Neubert >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From cstomi.levlist at gmail.com Tue May 11 01:18:19 2010 From: cstomi.levlist at gmail.com (Tamas Cseke) Date: Tue, 11 May 2010 10:18:19 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> Message-ID: <4BE912CB.8080504@gmail.com> Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me ? FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don?t have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From jan.berger at video24.no Tue May 11 02:29:24 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 11 May 2010 11:29:24 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <4BE912CB.8080504@gmail.com> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> Message-ID: <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org From juanito1982 at gmail.com Tue May 11 02:49:27 2010 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Tue, 11 May 2010 11:49:27 +0200 Subject: [Freeswitch-dev] Compiling modules Message-ID: Hello! Regarding the creation of a new module, is there any way to compile it without compiling full project? Could you give me any tip about the development of a new module? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/a99d7c70/attachment.html From peter.olsson at visionutveckling.se Tue May 11 02:51:34 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 11 May 2010 11:51:34 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4be924ff32931104210458! From jan.berger at video24.no Tue May 11 03:55:00 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 11 May 2010 12:55:00 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> Message-ID: <5D472632A5AF4D958CB12A61A1650164@dell9400> How do you check out the project using git? I just did a "git clean -f -d -x" from git bash and it compiles fine afterwards - but I still get the ws2_32.dll inet_ntop not found issue. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson Sent: 11. mai 2010 11:52 To: 'freeswitch-dev at lists.freeswitch.org' Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4be924ff32931104210458! _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org From peter.olsson at visionutveckling.se Tue May 11 04:24:59 2010 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 11 May 2010 13:24:59 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <5D472632A5AF4D958CB12A61A1650164@dell9400> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> Well, actually I'm building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code... /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 12:55 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop How do you check out the project using git? I just did a "git clean -f -d -x" from git bash and it compiles fine afterwards - but I still get the ws2_32.dll inet_ntop not found issue. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson Sent: 11. mai 2010 11:52 To: 'freeswitch-dev at lists.freeswitch.org' Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4be9391132931894311582! From rupa at rupa.com Tue May 11 06:12:14 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Tue, 11 May 2010 08:12:14 -0500 Subject: [Freeswitch-dev] Compiling modules In-Reply-To: References: Message-ID: make mod_mymodule make mod_mymodule-install Those targets require you to have the module in modules.conf (I think). also look into using ccache -- that allows you to do a full FS build very fast since it caches all the intermediate compilation steps if the source hasn't changed. 2010/5/11 Juan Antonio Iba?ez Santorum > Hello! > > Regarding the creation of a new module, is there any way to compile it > without compiling full project? Could you give me any tip about the > development of a new module? > > Regards > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- -Rupa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/1b7b7998/attachment.html From anthony.minessale at gmail.com Tue May 11 08:04:40 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 11 May 2010 10:04:40 -0500 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> Message-ID: we can always force it in our code to use the fake one when its windows to make it compat. This function is only used in 1 place (to generate hex version of ipv6 addrs) We can live with a permanent substitute in the case of windows so the code is portable both ways. On Tue, May 11, 2010 at 6:24 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > Well, actually I'm building on Windows 7, but wanted it to work on XP, so I > made some manual hacks in switch_utils.c for this... But if building on XP > it should work with the existing code... > > /Peter > > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > Skickat: den 11 maj 2010 12:55 > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > How do you check out the project using git? > > I just did a "git clean -f -d -x" from git bash and it compiles fine > afterwards - but I still get the ws2_32.dll inet_ntop not found issue. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter > Olsson > Sent: 11. mai 2010 11:52 > To: 'freeswitch-dev at lists.freeswitch.org' > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > I compiled git head on Windows yesterday, and it worked just fine. Did you > make sure to set autocrlf=false in the git config before checking out the > files from the repository? > > Another thing, it must be compiled on XP to support the internal inet_ntop. > If compiled on Windows 7, and then installed on Windows XP it won't work. > > /Peter > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > Skickat: den 11 maj 2010 11:29 > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Welcome to the club :) > > It is a fix for this they say, so if you check out head and re-compile it > should work. But, I gave up last night due to git issues - the head did not > compile. Going to clean out and re-start now to see if I get anywhere. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas > Cseke > Sent: 11. mai 2010 10:18 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Hello, > > It doesn't work on winXP with 2008 express release build. > It compiles. > but if I run FS it says "The procedure entry point inet_ntop cold not be > located in the dynamic link library WS2_32.dll" > > Regards, > Tamas > > > > Michael Jerris wrote: > > This should be fixed now as well. If it is not yet, let us know. > > > > Mike > > > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > > > > >> A patch was added that requires it. So we had to add a work-around to > support it in HEAD. > >> > >> > >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger > wrote: > >> Hi, > >> > >> > >> I have an error on Windows XP Professional that puzzle me - FreeSwitch > compiles fine after downloading from GIT, but FreeSWITCH.dll generate an > unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) > >> > >> > >> What puzzle me is that I have a 1.0.5 source tree in parrallell that > don't have this issue using the same dll, and I fail to find any relevant > difference in the project settings or files. > >> > >> > >> Does anyone recognise this issue? > >> > >> > >> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > !DSPAM:4be9391132931894311582! > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/deb4799c/attachment-0001.html From anthony.minessale at gmail.com Tue May 11 08:27:25 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 11 May 2010 10:27:25 -0500 Subject: [Freeswitch-dev] Compiling modules In-Reply-To: References: Message-ID: it still requires the rest of the project to be pre-compiled. you are linking to those libs. On Tue, May 11, 2010 at 8:12 AM, Rupa Schomaker wrote: > make mod_mymodule > make mod_mymodule-install > > Those targets require you to have the module in modules.conf (I think). > > also look into using ccache -- that allows you to do a full FS build very > fast since it caches all the intermediate compilation steps if the source > hasn't changed. > > 2010/5/11 Juan Antonio Iba?ez Santorum > >> Hello! >> >> Regarding the creation of a new module, is there any way to compile it >> without compiling full project? Could you give me any tip about the >> development of a new module? >> >> Regards >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > -- > -Rupa > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/935866db/attachment.html From jan.berger at video24.no Tue May 11 08:48:59 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 11 May 2010 17:48:59 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> Message-ID: <63EEBF2F652E46EB96B8A563C231E31D@dell9400> Hi, I checked out 1.0.6 and that works, but I am not at head anymore. Part of the issue here is that I am new on git, but took to senses and started using Git Bash and that works just fine. What exactly is the change that break?s it? Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 11. mai 2010 17:05 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop we can always force it in our code to use the fake one when its windows to make it compat. This function is only used in 1 place (to generate hex version of ipv6 addrs) We can live with a permanent substitute in the case of windows so the code is portable both ways. On Tue, May 11, 2010 at 6:24 AM, Peter Olsson wrote: Well, actually I'm building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code... /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 12:55 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop How do you check out the project using git? I just did a "git clean -f -d -x" from git bash and it compiles fine afterwards - but I still get the ws2_32.dll inet_ntop not found issue. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson Sent: 11. mai 2010 11:52 To: 'freeswitch-dev at lists.freeswitch.org' Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4be9391132931894311582! _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/5d4b7724/attachment-0001.html From anthony.minessale at gmail.com Tue May 11 09:03:09 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 11 May 2010 11:03:09 -0500 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <63EEBF2F652E46EB96B8A563C231E31D@dell9400> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> Message-ID: I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. There are complete implementations of that function we could just always load when we know we are on windows to avoid this as apparently windows 7 actually has POSIX support. on the other hand it may also be interesting to drop support for everything else and get rid of some of the half ass emulation of many POSIX function found in all the portability libs mwa ha ha. BTW what is git bash? GIT as a shell? Makes me laugh cos I was joking about that. I call git shit with a g, a new system to learn 200 commands you are unfamiliar with to replace the 200 unix command that are equally hard but you already know. But I am not the build master just the lowly developer so what we C is what we GIT =/ On Tue, May 11, 2010 at 10:48 AM, Jan Berger wrote: > Hi, > > > > I checked out 1.0.6 and that works, but I am not at head anymore. Part of > the issue here is that I am new on git, but took to senses and started using > Git Bash and that works just fine. > > > > What exactly is the change that break?s it? > > > > Jan > > > > > ------------------------------ > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* 11. mai 2010 17:05 > > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > > > we can always force it in our code to use the fake one when its windows to > make it compat. > > This function is only used in 1 place (to generate hex version of ipv6 > addrs) > > > > We can live with a permanent substitute in the case of windows so the code > is portable both ways. > > > > On Tue, May 11, 2010 at 6:24 AM, Peter Olsson < > peter.olsson at visionutveckling.se> wrote: > > Well, actually I'm building on Windows 7, but wanted it to work on XP, so I > made some manual hacks in switch_utils.c for this... But if building on XP > it should work with the existing code... > > > /Peter > > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > > Skickat: den 11 maj 2010 12:55 > > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > How do you check out the project using git? > > I just did a "git clean -f -d -x" from git bash and it compiles fine > afterwards - but I still get the ws2_32.dll inet_ntop not found issue. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter > Olsson > Sent: 11. mai 2010 11:52 > To: 'freeswitch-dev at lists.freeswitch.org' > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > I compiled git head on Windows yesterday, and it worked just fine. Did you > make sure to set autocrlf=false in the git config before checking out the > files from the repository? > > Another thing, it must be compiled on XP to support the internal inet_ntop. > If compiled on Windows 7, and then installed on Windows XP it won't work. > > /Peter > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > Skickat: den 11 maj 2010 11:29 > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Welcome to the club :) > > It is a fix for this they say, so if you check out head and re-compile it > should work. But, I gave up last night due to git issues - the head did not > compile. Going to clean out and re-start now to see if I get anywhere. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas > Cseke > Sent: 11. mai 2010 10:18 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Hello, > > It doesn't work on winXP with 2008 express release build. > It compiles. > but if I run FS it says "The procedure entry point inet_ntop cold not be > located in the dynamic link library WS2_32.dll" > > Regards, > Tamas > > > > Michael Jerris wrote: > > This should be fixed now as well. If it is not yet, let us know. > > > > Mike > > > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > > > > >> A patch was added that requires it. So we had to add a work-around to > support it in HEAD. > >> > >> > >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger > wrote: > >> Hi, > >> > >> > >> I have an error on Windows XP Professional that puzzle me - FreeSwitch > compiles fine after downloading from GIT, but FreeSWITCH.dll generate an > unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) > >> > >> > >> What puzzle me is that I have a 1.0.5 source tree in parrallell that > don't have this issue using the same dll, and I fail to find any relevant > difference in the project settings or files. > >> > >> > >> Does anyone recognise this issue? > >> > >> > >> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > !DSPAM:4be9391132931894311582! > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/234c4bf8/attachment.html From mrene_lists at avgs.ca Tue May 11 09:09:42 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Tue, 11 May 2010 12:09:42 -0400 Subject: [Freeswitch-dev] Generate EVENT for gateway-ping result In-Reply-To: <4BE90DDD.6010301@solomo.de> References: <4BDE6EB6.8020508@solomo.de> <4BE90DDD.6010301@solomo.de> Message-ID: It will only fire events on state change rather than on every ping, which would create a considerate amount of events on a busy server. If you'd prefer the later, you can move "sofia_reg_fire_custom_gateway_state_event(gateway, status, phrase);" outside of the conditional block on lines 3626 and 3644 in sofia.c Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 2010-05-11, at 3:57 AM, Daniel Neubert wrote: > Thank you for that surprisingly positive answer ;-) > > I've compiled current version (FreeSWITCH Version 1.0.head (git-1d0ce55 > 2010-05-11 09-59-33 +0800) in testbed but did not see any event raised? > > freeswitch at voip-testbed-2.voip.local> 2010-05-11 09:54:36.985060 > [WARNING] sofia.c:3629 Ping succeeded voip-testbed-gateway-2 with code > 404 - count -1/1/1, state UP > > Best regards / Mit freundlichen Gr??en, > Daniel Neubert > > > On 10.05.2010 18:38, Mathieu Rene wrote: > >> Hi, >> >> I happened to have that in uncommitted changes, update to head and you'll get it. >> >> Auch mit freundlichen gruessen, >> >> Mathieu Rene >> Avant-Garde Solutions Inc >> Office: + 1 (514) 664-1044 x100 >> Cell: +1 (514) 664-1044 x200 >> mrene at avgs.ca >> >> >> >> >> On 2010-05-03, at 2:35 AM, Daniel Neubert wrote: >> >> >>> Hi everybody, >>> >>> is there a possibility to generate an event as a result of a ping >>> request to a gateway? >>> >>> We've set up several gateways and are constantly pinging them from >>> FreeSwitch. It would be very handy if FreeSwitch would sent an event >>> including the gateway name and the ping result. >>> >>> Is there any chance to implent this? >>> >>> -- >>> Best regards / Mit freundlichen Gr??en, >>> Daniel Neubert >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From mike at jerris.com Tue May 11 10:09:28 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 11 May 2010 13:09:28 -0400 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> Message-ID: <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> [master 5d15dc1] fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista I just pushed the above patch. We were doing build time decision on using the replacement function. I changed it to just always use the replacement function. If anyone has issues with this, we can always change to runtime detection if need be, but I would prefer to avoid the complication. Mike On May 11, 2010, at 12:03 PM, Anthony Minessale wrote: > I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. There are complete implementations of that function we could just always load when we know we are on windows to avoid this as apparently windows 7 actually has POSIX support. > > on the other hand it may also be interesting to drop support for everything else and get rid of some of the half ass emulation of many POSIX function found in all the portability libs mwa ha ha. > > BTW what is git bash? GIT as a shell? Makes me laugh cos I was joking about that. > > I call git shit with a g, a new system to learn 200 commands you are unfamiliar with to replace the 200 unix command that are equally hard but you already know. But I am not the build master just the lowly developer so what we C is what we GIT =/ > > > On Tue, May 11, 2010 at 10:48 AM, Jan Berger wrote: > I checked out 1.0.6 and that works, but I am not at head anymore. Part of the issue here is that I am new on git, but took to senses and started using Git Bash and that works just fine. > > > What exactly is the change that break?s it? > > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale > Sent: 11. mai 2010 17:05 > > > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > we can always force it in our code to use the fake one when its windows to make it compat. > > This function is only used in 1 place (to generate hex version of ipv6 addrs) > > > We can live with a permanent substitute in the case of windows so the code is portable both ways. > > > On Tue, May 11, 2010 at 6:24 AM, Peter Olsson wrote: > > Well, actually I'm building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code? > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > > Skickat: den 11 maj 2010 12:55 > > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > How do you check out the project using git? > > I just did a "git clean -f -d -x" from git bash and it compiles fine > afterwards - but I still get the ws2_32.dll inet_ntop not found issue. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter > Olsson > Sent: 11. mai 2010 11:52 > To: 'freeswitch-dev at lists.freeswitch.org' > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > I compiled git head on Windows yesterday, and it worked just fine. Did you > make sure to set autocrlf=false in the git config before checking out the > files from the repository? > > Another thing, it must be compiled on XP to support the internal inet_ntop. > If compiled on Windows 7, and then installed on Windows XP it won't work. > > /Peter > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger > Skickat: den 11 maj 2010 11:29 > Till: freeswitch-dev at lists.freeswitch.org > ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Welcome to the club :) > > It is a fix for this they say, so if you check out head and re-compile it > should work. But, I gave up last night due to git issues - the head did not > compile. Going to clean out and re-start now to see if I get anywhere. > > Jan > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas > Cseke > Sent: 11. mai 2010 10:18 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop > > Hello, > > It doesn't work on winXP with 2008 express release build. > It compiles. > but if I run FS it says "The procedure entry point inet_ntop cold not be > located in the dynamic link library WS2_32.dll" > > Regards, > Tamas > > > > Michael Jerris wrote: > > This should be fixed now as well. If it is not yet, let us know. > > > > Mike > > > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > > > > >> A patch was added that requires it. So we had to add a work-around to > support it in HEAD. > >> > >> > >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger > wrote: > >> Hi, > >> > >> > >> I have an error on Windows XP Professional that puzzle me - FreeSwitch > compiles fine after downloading from GIT, but FreeSWITCH.dll generate an > unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) > >> > >> > >> What puzzle me is that I have a 1.0.5 source tree in parrallell that > don't have this issue using the same dll, and I fail to find any relevant > difference in the project settings or files. > >> > >> > >> Does anyone recognise this issue? > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/7dde496b/attachment.html From jan.berger at video24.no Tue May 11 10:16:34 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 11 May 2010 19:16:34 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> Message-ID: <5B5669D82C6B42EFA5629D266F866D1B@dell9400> Yes Git Shell ? on the native git installation they add a command line interface. Git is ?ok? Jan From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 11. mai 2010 18:03 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. There are complete implementations of that function we could just always load when we know we are on windows to avoid this as apparently windows 7 actually has POSIX support. on the other hand it may also be interesting to drop support for everything else and get rid of some of the half ass emulation of many POSIX function found in all the portability libs mwa ha ha. BTW what is git bash? GIT as a shell? Makes me laugh cos I was joking about that. I call git shit with a g, a new system to learn 200 commands you are unfamiliar with to replace the 200 unix command that are equally hard but you already know. But I am not the build master just the lowly developer so what we C is what we GIT =/ On Tue, May 11, 2010 at 10:48 AM, Jan Berger wrote: Hi, I checked out 1.0.6 and that works, but I am not at head anymore. Part of the issue here is that I am new on git, but took to senses and started using Git Bash and that works just fine. What exactly is the change that break?s it? Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 11. mai 2010 17:05 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop we can always force it in our code to use the fake one when its windows to make it compat. This function is only used in 1 place (to generate hex version of ipv6 addrs) We can live with a permanent substitute in the case of windows so the code is portable both ways. On Tue, May 11, 2010 at 6:24 AM, Peter Olsson wrote: Well, actually I'm building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code... /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 12:55 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop How do you check out the project using git? I just did a "git clean -f -d -x" from git bash and it compiles fine afterwards - but I still get the ws2_32.dll inet_ntop not found issue. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson Sent: 11. mai 2010 11:52 To: 'freeswitch-dev at lists.freeswitch.org' Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4be9391132931894311582! _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/4faef1fc/attachment-0001.html From jan.berger at video24.no Tue May 11 13:58:47 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 11 May 2010 22:58:47 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> Message-ID: Mick ? how do I verify that I have checked out the correct version? I just did a ?git reset ?hard HEAD? and I still have the same problem. Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 11. mai 2010 19:09 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop [master 5d15dc1] fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista I just pushed the above patch. We were doing build time decision on using the replacement function. I changed it to just always use the replacement function. If anyone has issues with this, we can always change to runtime detection if need be, but I would prefer to avoid the complication. Mike On May 11, 2010, at 12:03 PM, Anthony Minessale wrote: I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. There are complete implementations of that function we could just always load when we know we are on windows to avoid this as apparently windows 7 actually has POSIX support. on the other hand it may also be interesting to drop support for everything else and get rid of some of the half ass emulation of many POSIX function found in all the portability libs mwa ha ha. BTW what is git bash? GIT as a shell? Makes me laugh cos I was joking about that. I call git shit with a g, a new system to learn 200 commands you are unfamiliar with to replace the 200 unix command that are equally hard but you already know. But I am not the build master just the lowly developer so what we C is what we GIT =/ On Tue, May 11, 2010 at 10:48 AM, Jan Berger wrote: I checked out 1.0.6 and that works, but I am not at head anymore. Part of the issue here is that I am new on git, but took to senses and started using Git Bash and that works just fine. What exactly is the change that break?s it? From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 11. mai 2010 17:05 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop we can always force it in our code to use the fake one when its windows to make it compat. This function is only used in 1 place (to generate hex version of ipv6 addrs) We can live with a permanent substitute in the case of windows so the code is portable both ways. On Tue, May 11, 2010 at 6:24 AM, Peter Olsson wrote: Well, actually I'm building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 12:55 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop How do you check out the project using git? I just did a "git clean -f -d -x" from git bash and it compiles fine afterwards - but I still get the ws2_32.dll inet_ntop not found issue. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson Sent: 11. mai 2010 11:52 To: 'freeswitch-dev at lists.freeswitch.org' Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop I compiled git head on Windows yesterday, and it worked just fine. Did you make sure to set autocrlf=false in the git config before checking out the files from the repository? Another thing, it must be compiled on XP to support the internal inet_ntop. If compiled on Windows 7, and then installed on Windows XP it won't work. /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] F?r Jan Berger Skickat: den 11 maj 2010 11:29 Till: freeswitch-dev at lists.freeswitch.org ?mne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Welcome to the club :) It is a fix for this they say, so if you check out head and re-compile it should work. But, I gave up last night due to git issues - the head did not compile. Going to clean out and re-start now to see if I get anywhere. Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: 11. mai 2010 10:18 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Hello, It doesn't work on winXP with 2008 express release build. It compiles. but if I run FS it says "The procedure entry point inet_ntop cold not be located in the dynamic link library WS2_32.dll" Regards, Tamas Michael Jerris wrote: > This should be fixed now as well. If it is not yet, let us know. > > Mike > > On May 10, 2010, at 12:56 PM, Anthony Minessale wrote: > > >> A patch was added that requires it. So we had to add a work-around to support it in HEAD. >> >> >> On Mon, May 10, 2010 at 11:46 AM, Jan Berger wrote: >> Hi, >> >> >> I have an error on Windows XP Professional that puzzle me - FreeSwitch compiles fine after downloading from GIT, but FreeSWITCH.dll generate an unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll) >> >> >> What puzzle me is that I have a 1.0.5 source tree in parrallell that don't have this issue using the same dll, and I fail to find any relevant difference in the project settings or files. >> >> >> Does anyone recognise this issue? >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/7dd63990/attachment.html From mike at jerris.com Tue May 11 15:51:47 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 11 May 2010 18:51:47 -0400 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> Message-ID: Can you get me in remotely to your machine so I can see what is going on here? On May 11, 2010, at 4:58 PM, Jan Berger wrote: > Mick ? how do I verify that I have checked out the correct version? > > I just did a ?git reset ?hard HEAD? and I still have the same problem. > > Jan > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/26f997a8/attachment-0001.html From jan.berger at video24.no Tue May 11 15:59:56 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 12 May 2010 00:59:56 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> Message-ID: No prob - just tell me how you want to do that? Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 12. mai 2010 00:52 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Can you get me in remotely to your machine so I can see what is going on here? On May 11, 2010, at 4:58 PM, Jan Berger wrote: Mick - how do I verify that I have checked out the correct version? I just did a "git reset -hard HEAD" and I still have the same problem. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100512/02750ad0/attachment.html From jan.berger at video24.no Tue May 11 16:33:16 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 12 May 2010 01:33:16 +0200 Subject: [Freeswitch-dev] ws2_32 "missing" inet_ntop In-Reply-To: References: <6BC334A972DE40E18D63204DD92625BA@dell9400> <44DFBCB3-AAC1-458C-8EAE-5A4D2B7C719F@jerris.com> <4BE912CB.8080504@gmail.com> <8D9A3DE9BD984413BB32E5FBCE1BDF17@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C55778773FF@cooper> <5D472632A5AF4D958CB12A61A1650164@dell9400> <549CFEF87AEDE841A38E9D15EAB4C04C5577877454@cooper> <63EEBF2F652E46EB96B8A563C231E31D@dell9400> <035B997A-40EB-4E6B-BDF0-F5FEC0B0168F@jerris.com> Message-ID: <6F565944F707400DAE878DE1217724A6@dell9400> Actually I got it working so it actually compiles and start. _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jan Berger Sent: 12. mai 2010 01:00 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop No prob - just tell me how you want to do that? Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 12. mai 2010 00:52 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop Can you get me in remotely to your machine so I can see what is going on here? On May 11, 2010, at 4:58 PM, Jan Berger wrote: Mick - how do I verify that I have checked out the correct version? I just did a "git reset -hard HEAD" and I still have the same problem. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100512/ea4639e2/attachment.html From msc at freeswitch.org Wed May 12 09:39:35 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 12 May 2010 09:39:35 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Starting Shortly! Message-ID: C'mon down! http://wiki.freeswitch.org/wiki/FS_weekly_2010_05_12 DRK is discussing mod_managed and we have a few other things to talk about. Please bring your questions and your handy tips & tricks! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100512/06b0c5f6/attachment.html From linuxwhy at 163.com Mon May 10 23:05:09 2010 From: linuxwhy at 163.com (=?GB2312?B?zfW66dPA?=) Date: Tue, 11 May 2010 14:05:09 +0800 Subject: [Freeswitch-dev] gcc4.5 compile freeswitch ,error! Message-ID: <20100511140509.1358986e@honiswang-laptop> hi everybody does anyone compile freeswitch by gcc4.5?I do it,but report error. make[1]:?????? `/home/honiswang/ ???/freeswitch-snapshot/libs/srtp' gcc -E /home/honiswang/ ???/freeswitch-snapshot/src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h make: 2>*** [src/include/switch_swigable_cpp.h] ?? 1 ??? ????-IP??? Tue, 11 May 2010 13:52:48 +0800 From mike at jerris.com Thu May 13 09:47:35 2010 From: mike at jerris.com (Michael Jerris) Date: Thu, 13 May 2010 12:47:35 -0400 Subject: [Freeswitch-dev] gcc4.5 compile freeswitch ,error! In-Reply-To: <20100511140509.1358986e@honiswang-laptop> References: <20100511140509.1358986e@honiswang-laptop> Message-ID: <05F49CD5-7D28-4798-87E1-112A0CC8E308@jerris.com> Try with latest git head. Mike On May 11, 2010, at 2:05 AM, ??? wrote: > hi everybody > does anyone compile freeswitch by gcc4.5?I do it,but report error. > > > > make[1]:?????? `/home/honiswang/ > ???/freeswitch-snapshot/libs/srtp' > gcc -E /home/honiswang/ > ???/freeswitch-snapshot/src/include/switch_cpp.h > -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x > -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x > 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h make: > 2>*** [src/include/switch_swigable_cpp.h] ?? 1 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100513/845fdb4a/attachment-0001.html From msc at freeswitch.org Fri May 14 14:35:42 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 14 May 2010 14:35:42 -0700 Subject: [Freeswitch-dev] Call for help: stuff to document Message-ID: Hello all, The FS devs have been busy adding features (as usual) and we need help getting them all documented (as usual). I've added them all to next week's agenda page: http://wiki.freeswitch.org/wiki/FS_weekly_2010_05_19 There are a lot of new things listed under "Items needing documentation" - if you are able to document all of these please feel free to do so. Be sure to update the page by linking to any documentation you create. Thanks! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100514/c7659699/attachment.html From bobc at devassert.com Sun May 16 16:54:39 2010 From: bobc at devassert.com (Bob Coleman) Date: Mon, 17 May 2010 11:54:39 +1200 Subject: [Freeswitch-dev] Inbound Event Socket Message-ID: Hi, Is there a reason why an orginate command typed into the freeswitch console overrides the dialplan socket application() with async eg originate sofia/gateway/????/???? 805 805 being the extension the outbound event socket is fired from. I have noticed that if the {ignore_early_media=true} is set that it behaves correctly and does not override with async. I am using the 1.6 version source compiled locally on a windows box, and a extension of 805 setup with the above outbound socket connection. Regards Bob From anthony.minessale at gmail.com Mon May 17 08:13:37 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 17 May 2010 10:13:37 -0500 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: I read this like 5 times and I could not understand what you are trying to ask. Could you rephrase with more detail? On Sun, May 16, 2010 at 6:54 PM, Bob Coleman wrote: > Hi, > > Is there a reason why an orginate command typed into the freeswitch > console overrides the dialplan socket application( application="socket" data="127.0.0.1:4573 full"/>) with async > eg originate sofia/gateway/????/???? 805 > > 805 being the extension the outbound event socket is fired from. > > I have noticed that if the {ignore_early_media=true} is set that it > behaves correctly and does not override with async. > > I am using the 1.6 version source compiled locally on a windows box, > and a extension of 805 setup with the above outbound socket > connection. > > Regards > > Bob > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100517/14f69e3a/attachment.html From msc at freeswitch.org Mon May 17 08:37:01 2010 From: msc at freeswitch.org (Michael S Collins) Date: Mon, 17 May 2010 08:37:01 -0700 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: Are you trying to originate from a program with inbound event socket and then and also have the same program handle the other call leg (805) using outbound event socket? Same port? Please clarify like Tony said. -MC Sent from my iPhone On May 17, 2010, at 8:13 AM, Anthony Minessale wrote: > I read this like 5 times and I could not understand what you are > trying to ask. > Could you rephrase with more detail? > > > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman > wrote: > Hi, > > Is there a reason why an orginate command typed into the freeswitch > console overrides the dialplan socket application( application="socket" data="127.0.0.1:4573 full"/>) with async > eg originate sofia/gateway/????/???? 805 > > 805 being the extension the outbound event socket is fired from. > > I have noticed that if the {ignore_early_media=true} is set that it > behaves correctly and does not override with async. > > I am using the 1.6 version source compiled locally on a windows box, > and a extension of 805 setup with the above outbound socket > connection. > > Regards > > Bob > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100517/01f48cc2/attachment.html From bobc at devassert.com Mon May 17 14:15:43 2010 From: bobc at devassert.com (Bob Coleman) Date: Tue, 18 May 2010 09:15:43 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: Sorry guys. I might not understand myself. The scenario is I want to make an outbound call(via an inbound socket) and connect it back to an outbound socket for processing. So to test this, I typed into the FreeSWITCH console the originate command, just like I would have via the inbound socket. and was able to make a call to a mobile phone, and have it connect back to an outbound socket, but to my surprise it was now in async mode. I had written the outbound socket to be sync, and there was no async command in the dialplan that handled the extension I had transfered the call too. Once the call is made I am not doing anything else to it via the inbound socket, just letting the call run its course through our callflow app. I guess I am wondering if I am doing this the right way, or I have missed something and there is an easier way. Thanks Bob On Tue, May 18, 2010 at 3:37 AM, Michael S Collins wrote: > Are you trying to originate from a program with inbound event socket and > then and also have the same program handle the other call leg (805) using > outbound event socket? Same port? Please clarify like Tony said. > -MC > > Sent from my iPhone > On May 17, 2010, at 8:13 AM, Anthony Minessale > wrote: > > I read this like 5 times and I could not understand what you are trying to > ask. > Could you rephrase with more detail? > > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman wrote: >> >> Hi, >> >> Is there a reason why an orginate command typed into the freeswitch >> console overrides the dialplan socket application(> application="socket" data="127.0.0.1:4573 full"/>) with async >> eg originate sofia/gateway/????/???? 805 >> >> 805 being the extension the outbound event socket is fired from. >> >> I have noticed that if the {ignore_early_media=true} is set that it >> behaves correctly and does not override with async. >> >> I am using the 1.6 version source compiled locally on a windows box, >> and a extension of 805 setup with the above outbound socket >> connection. >> >> Regards >> >> Bob >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > From anthony.minessale at gmail.com Mon May 17 14:33:06 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 17 May 2010 16:33:06 -0500 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: try actually specifying sync full not just omitting it. how are you determining that you are ending up in async mode? On Mon, May 17, 2010 at 4:15 PM, Bob Coleman wrote: > Sorry guys. I might not understand myself. > > The scenario is I want to make an outbound call(via an inbound socket) > and connect it back to an outbound socket for processing. > > So to test this, I typed into the FreeSWITCH console the originate > command, just like I would have via the inbound socket. and was able > to make a call to a mobile phone, and have it connect back to an > outbound socket, but to my surprise it was now in async mode. I had > written the outbound socket to be sync, and there was no async command > in the dialplan that handled the extension I had transfered the call > too. Once the call is made I am not doing anything else to it via the > inbound socket, just letting the call run its course through our > callflow app. > > I guess I am wondering if I am doing this the right way, or I have > missed something and there is an easier way. > > Thanks > > Bob > > On Tue, May 18, 2010 at 3:37 AM, Michael S Collins > wrote: > > Are you trying to originate from a program with inbound event socket and > > then and also have the same program handle the other call leg (805) using > > outbound event socket? Same port? Please clarify like Tony said. > > -MC > > > > Sent from my iPhone > > On May 17, 2010, at 8:13 AM, Anthony Minessale < > anthony.minessale at gmail.com> > > wrote: > > > > I read this like 5 times and I could not understand what you are trying > to > > ask. > > Could you rephrase with more detail? > > > > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman wrote: > >> > >> Hi, > >> > >> Is there a reason why an orginate command typed into the freeswitch > >> console overrides the dialplan socket application( >> application="socket" data="127.0.0.1:4573 full"/>) with async > >> eg originate sofia/gateway/????/???? 805 > >> > >> 805 being the extension the outbound event socket is fired from. > >> > >> I have noticed that if the {ignore_early_media=true} is set that it > >> behaves correctly and does not override with async. > >> > >> I am using the 1.6 version source compiled locally on a windows box, > >> and a extension of 805 setup with the above outbound socket > >> connection. > >> > >> Regards > >> > >> Bob > >> > >> _______________________________________________ > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> 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_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100517/0c61960d/attachment-0001.html From bobc at devassert.com Mon May 17 14:53:42 2010 From: bobc at devassert.com (Bob Coleman) Date: Tue, 18 May 2010 09:53:42 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: I tried specifying async full to confirm it was giving me the same result, and it does. I put break points into our code where it sends a message to fs, in sync mode it waits for the timeout or until the user presses a key, but in async mode it just returns as expected, immediately. I expected it to be in sync mode, as all our inbound calls come thru in this fashion, and work fine. If ignore_early_media=true is used for the originate it obeys the dialplan, and operates in sync mode. On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale wrote: > try actually specifying sync full not just?omitting?it. > how are you determining that you are ending up in async mode? > > On Mon, May 17, 2010 at 4:15 PM, Bob Coleman wrote: >> >> Sorry guys. I might not understand myself. >> >> The scenario is I want to make an outbound call(via an inbound socket) >> and connect it back to an outbound socket for processing. >> >> So to test this, I typed into the FreeSWITCH console the originate >> command, just like I would have via the inbound socket. and was able >> to make a call to a mobile phone, and have it connect back to an >> outbound socket, but to my surprise it was now in async mode. I had >> written the outbound socket to be sync, and there was no async command >> in the dialplan that handled the extension I had transfered the call >> too. Once the call is made I am not doing anything else to it via the >> inbound socket, just letting the call run its course through our >> callflow app. >> >> I guess I am wondering if I am doing this the right way, or I have >> missed something and there is an easier way. >> >> Thanks >> >> Bob >> >> On Tue, May 18, 2010 at 3:37 AM, Michael S ?Collins >> wrote: >> > Are you trying to originate from a program with inbound event socket and >> > then and also have the same program handle the other call leg (805) >> > using >> > outbound event socket? Same port? Please clarify like Tony said. >> > -MC >> > >> > Sent from my iPhone >> > On May 17, 2010, at 8:13 AM, Anthony Minessale >> > >> > wrote: >> > >> > I read this like 5 times and I could not understand what you are trying >> > to >> > ask. >> > Could you rephrase with more detail? >> > >> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman wrote: >> >> >> >> Hi, >> >> >> >> Is there a reason why an orginate command typed into the freeswitch >> >> console overrides the dialplan socket application(> >> application="socket" data="127.0.0.1:4573 full"/>) with async >> >> eg originate sofia/gateway/????/???? 805 >> >> >> >> 805 being the extension the outbound event socket is fired from. >> >> >> >> I have noticed that if the {ignore_early_media=true} is set that it >> >> behaves correctly and does not override with async. >> >> >> >> I am using the 1.6 version source compiled locally on a windows box, >> >> and a extension of 805 setup with the above outbound socket >> >> connection. >> >> >> >> Regards >> >> >> >> Bob >> >> >> >> _______________________________________________ >> >> FreeSWITCH-dev mailing list >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> 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_minessale at hotmail.com >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> > IRC: irc.freenode.net #freeswitch >> > >> > FreeSWITCH Developer Conference >> > sip:888 at conference.freeswitch.org >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:+19193869900 >> > >> > _______________________________________________ >> > FreeSWITCH-dev mailing list >> > FreeSWITCH-dev at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> > http://www.freeswitch.org >> > >> > _______________________________________________ >> > FreeSWITCH-dev mailing list >> > FreeSWITCH-dev at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> > http://www.freeswitch.org >> > >> > >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > From anthony.minessale at gmail.com Mon May 17 15:18:00 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 17 May 2010 17:18:00 -0500 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: that does not mean if you are in sync mode or async, the reply on the event socket initial message after you enter connect does. If you are doing ivr type things before you have media established its possible it's simply failing. On Mon, May 17, 2010 at 4:53 PM, Bob Coleman wrote: > I tried specifying async full to confirm it was giving me the same > result, and it does. > > I put break points into our code where it sends a message to fs, in > sync mode it waits for the timeout or until the user presses a key, > but in async mode it just returns as expected, immediately. > > I expected it to be in sync mode, as all our inbound calls come thru > in this fashion, and work fine. > > If ignore_early_media=true is used for the originate it obeys the > dialplan, and operates in sync mode. > > On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale > wrote: > > try actually specifying sync full not just omitting it. > > how are you determining that you are ending up in async mode? > > > > On Mon, May 17, 2010 at 4:15 PM, Bob Coleman wrote: > >> > >> Sorry guys. I might not understand myself. > >> > >> The scenario is I want to make an outbound call(via an inbound socket) > >> and connect it back to an outbound socket for processing. > >> > >> So to test this, I typed into the FreeSWITCH console the originate > >> command, just like I would have via the inbound socket. and was able > >> to make a call to a mobile phone, and have it connect back to an > >> outbound socket, but to my surprise it was now in async mode. I had > >> written the outbound socket to be sync, and there was no async command > >> in the dialplan that handled the extension I had transfered the call > >> too. Once the call is made I am not doing anything else to it via the > >> inbound socket, just letting the call run its course through our > >> callflow app. > >> > >> I guess I am wondering if I am doing this the right way, or I have > >> missed something and there is an easier way. > >> > >> Thanks > >> > >> Bob > >> > >> On Tue, May 18, 2010 at 3:37 AM, Michael S Collins > > >> wrote: > >> > Are you trying to originate from a program with inbound event socket > and > >> > then and also have the same program handle the other call leg (805) > >> > using > >> > outbound event socket? Same port? Please clarify like Tony said. > >> > -MC > >> > > >> > Sent from my iPhone > >> > On May 17, 2010, at 8:13 AM, Anthony Minessale > >> > > >> > wrote: > >> > > >> > I read this like 5 times and I could not understand what you are > trying > >> > to > >> > ask. > >> > Could you rephrase with more detail? > >> > > >> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman > wrote: > >> >> > >> >> Hi, > >> >> > >> >> Is there a reason why an orginate command typed into the freeswitch > >> >> console overrides the dialplan socket application( >> >> application="socket" data="127.0.0.1:4573 full"/>) with async > >> >> eg originate sofia/gateway/????/???? 805 > >> >> > >> >> 805 being the extension the outbound event socket is fired from. > >> >> > >> >> I have noticed that if the {ignore_early_media=true} is set that it > >> >> behaves correctly and does not override with async. > >> >> > >> >> I am using the 1.6 version source compiled locally on a windows box, > >> >> and a extension of 805 setup with the above outbound socket > >> >> connection. > >> >> > >> >> Regards > >> >> > >> >> Bob > >> >> > >> >> _______________________________________________ > >> >> FreeSWITCH-dev mailing list > >> >> FreeSWITCH-dev at lists.freeswitch.org > >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> >> 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_minessale at hotmail.com > >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >> > IRC: irc.freenode.net #freeswitch > >> > > >> > FreeSWITCH Developer Conference > >> > sip:888 at conference.freeswitch.org > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:+19193869900 > >> > > >> > _______________________________________________ > >> > FreeSWITCH-dev mailing list > >> > FreeSWITCH-dev at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> > http://www.freeswitch.org > >> > > >> > _______________________________________________ > >> > FreeSWITCH-dev mailing list > >> > FreeSWITCH-dev at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> > http://www.freeswitch.org > >> > > >> > > >> > >> _______________________________________________ > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> 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_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100517/e3fea5c2/attachment.html From bobc at devassert.com Mon May 17 15:26:08 2010 From: bobc at devassert.com (Bob Coleman) Date: Tue, 18 May 2010 10:26:08 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: Ok, will check that. I subscribe to the call answered event and wait for that before doing ivr things, I play a prompt then go to get a key response and it just skips straight past the message sent, no timeout or anything, and obviously not waiting for the user. The user presses a key and it doesnt go anywhere due to the program having completed. On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale wrote: > that does not mean if you are in sync mode or async, the reply on the event > socket initial message after you enter connect does. > If you are doing ivr type things before you have media established its > possible it's simply failing. > > On Mon, May 17, 2010 at 4:53 PM, Bob Coleman wrote: >> >> I tried specifying async full to confirm it was giving me the same >> result, and it does. >> >> I put break points into our code where it sends a message to fs, in >> sync mode it waits for the timeout or until the user presses a key, >> but in async mode it just returns as expected, immediately. >> >> I expected it to be in sync mode, as all our inbound calls come thru >> in this fashion, and work fine. >> >> If ignore_early_media=true is used for the originate it obeys the >> dialplan, and operates in sync mode. >> >> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale >> wrote: >> > try actually specifying sync full not just?omitting?it. >> > how are you determining that you are ending up in async mode? >> > >> > On Mon, May 17, 2010 at 4:15 PM, Bob Coleman wrote: >> >> >> >> Sorry guys. I might not understand myself. >> >> >> >> The scenario is I want to make an outbound call(via an inbound socket) >> >> and connect it back to an outbound socket for processing. >> >> >> >> So to test this, I typed into the FreeSWITCH console the originate >> >> command, just like I would have via the inbound socket. and was able >> >> to make a call to a mobile phone, and have it connect back to an >> >> outbound socket, but to my surprise it was now in async mode. I had >> >> written the outbound socket to be sync, and there was no async command >> >> in the dialplan that handled the extension I had transfered the call >> >> too. Once the call is made I am not doing anything else to it via the >> >> inbound socket, just letting the call run its course through our >> >> callflow app. >> >> >> >> I guess I am wondering if I am doing this the right way, or I have >> >> missed something and there is an easier way. >> >> >> >> Thanks >> >> >> >> Bob >> >> >> >> On Tue, May 18, 2010 at 3:37 AM, Michael S ?Collins >> >> >> >> wrote: >> >> > Are you trying to originate from a program with inbound event socket >> >> > and >> >> > then and also have the same program handle the other call leg (805) >> >> > using >> >> > outbound event socket? Same port? Please clarify like Tony said. >> >> > -MC >> >> > >> >> > Sent from my iPhone >> >> > On May 17, 2010, at 8:13 AM, Anthony Minessale >> >> > >> >> > wrote: >> >> > >> >> > I read this like 5 times and I could not understand what you are >> >> > trying >> >> > to >> >> > ask. >> >> > Could you rephrase with more detail? >> >> > >> >> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman >> >> > wrote: >> >> >> >> >> >> Hi, >> >> >> >> >> >> Is there a reason why an orginate command typed into the freeswitch >> >> >> console overrides the dialplan socket application(> >> >> application="socket" data="127.0.0.1:4573 full"/>) with async >> >> >> eg originate sofia/gateway/????/???? 805 >> >> >> >> >> >> 805 being the extension the outbound event socket is fired from. >> >> >> >> >> >> I have noticed that if the {ignore_early_media=true} is set that it >> >> >> behaves correctly and does not override with async. >> >> >> >> >> >> I am using the 1.6 version source compiled locally on a windows box, >> >> >> and a extension of 805 setup with the above outbound socket >> >> >> connection. >> >> >> >> >> >> Regards >> >> >> >> >> >> Bob >> >> >> >> >> >> _______________________________________________ >> >> >> FreeSWITCH-dev mailing list >> >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> >> 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_minessale at hotmail.com >> >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >> > IRC: irc.freenode.net #freeswitch >> >> > >> >> > FreeSWITCH Developer Conference >> >> > sip:888 at conference.freeswitch.org >> >> > googletalk:conf+888 at conference.freeswitch.org >> >> > pstn:+19193869900 >> >> > >> >> > _______________________________________________ >> >> > FreeSWITCH-dev mailing list >> >> > FreeSWITCH-dev at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> > >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> > http://www.freeswitch.org >> >> > >> >> > _______________________________________________ >> >> > FreeSWITCH-dev mailing list >> >> > FreeSWITCH-dev at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> > >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> > http://www.freeswitch.org >> >> > >> >> > >> >> >> >> _______________________________________________ >> >> FreeSWITCH-dev mailing list >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> 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_minessale at hotmail.com >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> > IRC: irc.freenode.net #freeswitch >> > >> > FreeSWITCH Developer Conference >> > sip:888 at conference.freeswitch.org >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:+19193869900 >> > >> > _______________________________________________ >> > FreeSWITCH-dev mailing list >> > FreeSWITCH-dev at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> > http://www.freeswitch.org >> > >> > >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > From msc at freeswitch.org Mon May 17 16:45:16 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 17 May 2010 16:45:16 -0700 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: I would like to confirm this behavior on a my system. Can you whip up a minimal set of configs to reproduce this? Put it on pastebin.freeswitch.org. We'll see if we can reproduce. Also, please confirm that you are running the latest git-head so that we are doing apples-to-apples comparison. Thanks, MC On Mon, May 17, 2010 at 3:26 PM, Bob Coleman wrote: > Ok, will check that. > > I subscribe to the call answered event and wait for that before doing > ivr things, I play a prompt then go to get a key response and it just > skips straight past the message sent, no timeout or anything, and > obviously not waiting for the user. The user presses a key and it > doesnt go anywhere due to the program having completed. > > On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale > wrote: > > that does not mean if you are in sync mode or async, the reply on the > event > > socket initial message after you enter connect does. > > If you are doing ivr type things before you have media established its > > possible it's simply failing. > > > > On Mon, May 17, 2010 at 4:53 PM, Bob Coleman wrote: > >> > >> I tried specifying async full to confirm it was giving me the same > >> result, and it does. > >> > >> I put break points into our code where it sends a message to fs, in > >> sync mode it waits for the timeout or until the user presses a key, > >> but in async mode it just returns as expected, immediately. > >> > >> I expected it to be in sync mode, as all our inbound calls come thru > >> in this fashion, and work fine. > >> > >> If ignore_early_media=true is used for the originate it obeys the > >> dialplan, and operates in sync mode. > >> > >> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale > >> wrote: > >> > try actually specifying sync full not just omitting it. > >> > how are you determining that you are ending up in async mode? > >> > > >> > On Mon, May 17, 2010 at 4:15 PM, Bob Coleman > wrote: > >> >> > >> >> Sorry guys. I might not understand myself. > >> >> > >> >> The scenario is I want to make an outbound call(via an inbound > socket) > >> >> and connect it back to an outbound socket for processing. > >> >> > >> >> So to test this, I typed into the FreeSWITCH console the originate > >> >> command, just like I would have via the inbound socket. and was able > >> >> to make a call to a mobile phone, and have it connect back to an > >> >> outbound socket, but to my surprise it was now in async mode. I had > >> >> written the outbound socket to be sync, and there was no async > command > >> >> in the dialplan that handled the extension I had transfered the call > >> >> too. Once the call is made I am not doing anything else to it via the > >> >> inbound socket, just letting the call run its course through our > >> >> callflow app. > >> >> > >> >> I guess I am wondering if I am doing this the right way, or I have > >> >> missed something and there is an easier way. > >> >> > >> >> Thanks > >> >> > >> >> Bob > >> >> > >> >> On Tue, May 18, 2010 at 3:37 AM, Michael S Collins > >> >> > >> >> wrote: > >> >> > Are you trying to originate from a program with inbound event > socket > >> >> > and > >> >> > then and also have the same program handle the other call leg (805) > >> >> > using > >> >> > outbound event socket? Same port? Please clarify like Tony said. > >> >> > -MC > >> >> > > >> >> > Sent from my iPhone > >> >> > On May 17, 2010, at 8:13 AM, Anthony Minessale > >> >> > > >> >> > wrote: > >> >> > > >> >> > I read this like 5 times and I could not understand what you are > >> >> > trying > >> >> > to > >> >> > ask. > >> >> > Could you rephrase with more detail? > >> >> > > >> >> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman > >> >> > wrote: > >> >> >> > >> >> >> Hi, > >> >> >> > >> >> >> Is there a reason why an orginate command typed into the > freeswitch > >> >> >> console overrides the dialplan socket application( >> >> >> application="socket" data="127.0.0.1:4573 full"/>) with async > >> >> >> eg originate sofia/gateway/????/???? 805 > >> >> >> > >> >> >> 805 being the extension the outbound event socket is fired from. > >> >> >> > >> >> >> I have noticed that if the {ignore_early_media=true} is set that > it > >> >> >> behaves correctly and does not override with async. > >> >> >> > >> >> >> I am using the 1.6 version source compiled locally on a windows > box, > >> >> >> and a extension of 805 setup with the above outbound socket > >> >> >> connection. > >> >> >> > >> >> >> Regards > >> >> >> > >> >> >> Bob > >> >> >> > >> >> >> _______________________________________________ > >> >> >> FreeSWITCH-dev mailing list > >> >> >> FreeSWITCH-dev at lists.freeswitch.org > >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> >> >> > >> >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> >> >> 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_minessale at hotmail.com > >> >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >> >> > IRC: irc.freenode.net #freeswitch > >> >> > > >> >> > FreeSWITCH Developer Conference > >> >> > sip:888 at conference.freeswitch.org > >> >> > googletalk:conf+888 at conference.freeswitch.org > >> >> > pstn:+19193869900 > >> >> > > >> >> > _______________________________________________ > >> >> > FreeSWITCH-dev mailing list > >> >> > FreeSWITCH-dev at lists.freeswitch.org > >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> >> > > >> >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> >> > http://www.freeswitch.org > >> >> > > >> >> > _______________________________________________ > >> >> > FreeSWITCH-dev mailing list > >> >> > FreeSWITCH-dev at lists.freeswitch.org > >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> >> > > >> >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> >> > http://www.freeswitch.org > >> >> > > >> >> > > >> >> > >> >> _______________________________________________ > >> >> FreeSWITCH-dev mailing list > >> >> FreeSWITCH-dev at lists.freeswitch.org > >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> >> 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_minessale at hotmail.com > >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >> > IRC: irc.freenode.net #freeswitch > >> > > >> > FreeSWITCH Developer Conference > >> > sip:888 at conference.freeswitch.org > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:+19193869900 > >> > > >> > _______________________________________________ > >> > FreeSWITCH-dev mailing list > >> > FreeSWITCH-dev at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> > http://www.freeswitch.org > >> > > >> > > >> > >> _______________________________________________ > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> 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_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100517/b473a36b/attachment.html From bobc at devassert.com Mon May 17 20:02:35 2010 From: bobc at devassert.com (Bob Coleman) Date: Tue, 18 May 2010 15:02:35 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: The setup is simple so will include it. I am running 1.6 downloaded as source and compiled in VS2008, havent tested against the latest, as occasionally there are compiled problems with trunk. Use a stock install, no changes, with this added as a dialplan. Running the compiled freeswitch exe I type the following in the console window originate sofia/gateway// 805 That seems to execute as async after transfering to 805, although based on what Anthony said I might be wrong. If you use the following it behaves as normal ie. sync mode after transfering to 805 originate {ignore_early_media=true}sofia/gateway// 805 Thanks Bob On Tue, May 18, 2010 at 11:45 AM, Michael Collins wrote: > I would like to confirm this behavior on a my system. Can you whip up a > minimal set of configs to reproduce this? Put it on pastebin.freeswitch.org. > We'll see if we can reproduce. Also, please confirm that you are running the > latest git-head so that we are doing apples-to-apples comparison. > > Thanks, > MC > > On Mon, May 17, 2010 at 3:26 PM, Bob Coleman wrote: >> >> Ok, will check that. >> >> I subscribe to the call answered event and wait for that before doing >> ivr things, I play a prompt then go to get a key response and it just >> skips straight past the message sent, no timeout or anything, and >> obviously not waiting for the user. The user presses a key and it >> doesnt go anywhere due to the program having completed. >> >> On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale >> wrote: >> > that does not mean if you are in sync mode or async, the reply on the >> > event >> > socket initial message after you enter connect does. >> > If you are doing ivr type things before you have media established its >> > possible it's simply failing. >> > >> > On Mon, May 17, 2010 at 4:53 PM, Bob Coleman wrote: >> >> >> >> I tried specifying async full to confirm it was giving me the same >> >> result, and it does. >> >> >> >> I put break points into our code where it sends a message to fs, in >> >> sync mode it waits for the timeout or until the user presses a key, >> >> but in async mode it just returns as expected, immediately. >> >> >> >> I expected it to be in sync mode, as all our inbound calls come thru >> >> in this fashion, and work fine. >> >> >> >> If ignore_early_media=true is used for the originate it obeys the >> >> dialplan, and operates in sync mode. >> >> >> >> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale >> >> wrote: >> >> > try actually specifying sync full not just?omitting?it. >> >> > how are you determining that you are ending up in async mode? >> >> > >> >> > On Mon, May 17, 2010 at 4:15 PM, Bob Coleman >> >> > wrote: >> >> >> >> >> >> Sorry guys. I might not understand myself. >> >> >> >> >> >> The scenario is I want to make an outbound call(via an inbound >> >> >> socket) >> >> >> and connect it back to an outbound socket for processing. >> >> >> >> >> >> So to test this, I typed into the FreeSWITCH console the originate >> >> >> command, just like I would have via the inbound socket. and was able >> >> >> to make a call to a mobile phone, and have it connect back to an >> >> >> outbound socket, but to my surprise it was now in async mode. I had >> >> >> written the outbound socket to be sync, and there was no async >> >> >> command >> >> >> in the dialplan that handled the extension I had transfered the call >> >> >> too. Once the call is made I am not doing anything else to it via >> >> >> the >> >> >> inbound socket, just letting the call run its course through our >> >> >> callflow app. >> >> >> >> >> >> I guess I am wondering if I am doing this the right way, or I have >> >> >> missed something and there is an easier way. >> >> >> >> >> >> Thanks >> >> >> >> >> >> Bob >> >> >> >> >> >> On Tue, May 18, 2010 at 3:37 AM, Michael S ?Collins >> >> >> >> >> >> wrote: >> >> >> > Are you trying to originate from a program with inbound event >> >> >> > socket >> >> >> > and >> >> >> > then and also have the same program handle the other call leg >> >> >> > (805) >> >> >> > using >> >> >> > outbound event socket? Same port? Please clarify like Tony said. >> >> >> > -MC >> >> >> > >> >> >> > Sent from my iPhone >> >> >> > On May 17, 2010, at 8:13 AM, Anthony Minessale >> >> >> > >> >> >> > wrote: >> >> >> > >> >> >> > I read this like 5 times and I could not understand what you are >> >> >> > trying >> >> >> > to >> >> >> > ask. >> >> >> > Could you rephrase with more detail? >> >> >> > >> >> >> > On Sun, May 16, 2010 at 6:54 PM, Bob Coleman >> >> >> > wrote: >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> Is there a reason why an orginate command typed into the >> >> >> >> freeswitch >> >> >> >> console overrides the dialplan socket application(> >> >> >> application="socket" data="127.0.0.1:4573 full"/>) with async >> >> >> >> eg originate sofia/gateway/????/???? 805 >> >> >> >> >> >> >> >> 805 being the extension the outbound event socket is fired from. >> >> >> >> >> >> >> >> I have noticed that if the {ignore_early_media=true} is set that >> >> >> >> it >> >> >> >> behaves correctly and does not override with async. >> >> >> >> >> >> >> >> I am using the 1.6 version source compiled locally on a windows >> >> >> >> box, >> >> >> >> and a extension of 805 setup with the above outbound socket >> >> >> >> connection. >> >> >> >> >> >> >> >> Regards >> >> >> >> >> >> >> >> Bob >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> >> FreeSWITCH-dev mailing list >> >> >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> >> >> >> >> >> >> >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> >> >> 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_minessale at hotmail.com >> >> >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >> >> > IRC: irc.freenode.net #freeswitch >> >> >> > >> >> >> > FreeSWITCH Developer Conference >> >> >> > sip:888 at conference.freeswitch.org >> >> >> > googletalk:conf+888 at conference.freeswitch.org >> >> >> > pstn:+19193869900 >> >> >> > >> >> >> > _______________________________________________ >> >> >> > FreeSWITCH-dev mailing list >> >> >> > FreeSWITCH-dev at lists.freeswitch.org >> >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> >> > >> >> >> > >> >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> >> > http://www.freeswitch.org >> >> >> > >> >> >> > _______________________________________________ >> >> >> > FreeSWITCH-dev mailing list >> >> >> > FreeSWITCH-dev at lists.freeswitch.org >> >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> >> > >> >> >> > >> >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> >> > http://www.freeswitch.org >> >> >> > >> >> >> > >> >> >> >> >> >> _______________________________________________ >> >> >> FreeSWITCH-dev mailing list >> >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> >> 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_minessale at hotmail.com >> >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >> > IRC: irc.freenode.net #freeswitch >> >> > >> >> > FreeSWITCH Developer Conference >> >> > sip:888 at conference.freeswitch.org >> >> > googletalk:conf+888 at conference.freeswitch.org >> >> > pstn:+19193869900 >> >> > >> >> > _______________________________________________ >> >> > FreeSWITCH-dev mailing list >> >> > FreeSWITCH-dev at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> > >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> > http://www.freeswitch.org >> >> > >> >> > >> >> >> >> _______________________________________________ >> >> FreeSWITCH-dev mailing list >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> 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_minessale at hotmail.com >> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> > IRC: irc.freenode.net #freeswitch >> > >> > FreeSWITCH Developer Conference >> > sip:888 at conference.freeswitch.org >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:+19193869900 >> > >> > _______________________________________________ >> > FreeSWITCH-dev mailing list >> > FreeSWITCH-dev at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> > http://www.freeswitch.org >> > >> > >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > From msc at freeswitch.org Mon May 17 21:07:57 2010 From: msc at freeswitch.org (Michael S Collins) Date: Mon, 17 May 2010 21:07:57 -0700 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: Message-ID: <3B00AD2A-6BA0-4CE0-9B4B-AB023099686E@freeswitch.org> And what is listening on port 4573? I'd like to see the program that is talking to the event socket. -MC Sent from my iPhone On May 17, 2010, at 8:02 PM, Bob Coleman wrote: > The setup is simple so will include it. > > I am running 1.6 downloaded as source and compiled in VS2008, havent > tested against the latest, as occasionally there are compiled problems > with trunk. > > Use a stock install, no changes, with this added as a dialplan. > > > > > > > > > > > > Running the compiled freeswitch exe I type the following in the > console window > > originate sofia/gateway// 805 > > That seems to execute as async after transfering to 805, although > based on what Anthony said I might be wrong. > > If you use the following it behaves as normal ie. sync mode after > transfering to 805 > > originate {ignore_early_media=true}sofia/gateway// phone> 805 > > Thanks > > Bob > > > On Tue, May 18, 2010 at 11:45 AM, Michael Collins > wrote: >> I would like to confirm this behavior on a my system. Can you whip >> up a >> minimal set of configs to reproduce this? Put it on pastebin.freeswitch.org >> . >> We'll see if we can reproduce. Also, please confirm that you are >> running the >> latest git-head so that we are doing apples-to-apples comparison. >> >> Thanks, >> MC >> >> On Mon, May 17, 2010 at 3:26 PM, Bob Coleman >> wrote: >>> >>> Ok, will check that. >>> >>> I subscribe to the call answered event and wait for that before >>> doing >>> ivr things, I play a prompt then go to get a key response and it >>> just >>> skips straight past the message sent, no timeout or anything, and >>> obviously not waiting for the user. The user presses a key and it >>> doesnt go anywhere due to the program having completed. >>> >>> On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale >>> wrote: >>>> that does not mean if you are in sync mode or async, the reply on >>>> the >>>> event >>>> socket initial message after you enter connect does. >>>> If you are doing ivr type things before you have media >>>> established its >>>> possible it's simply failing. >>>> >>>> On Mon, May 17, 2010 at 4:53 PM, Bob Coleman >>>> wrote: >>>>> >>>>> I tried specifying async full to confirm it was giving me the same >>>>> result, and it does. >>>>> >>>>> I put break points into our code where it sends a message to fs, >>>>> in >>>>> sync mode it waits for the timeout or until the user presses a >>>>> key, >>>>> but in async mode it just returns as expected, immediately. >>>>> >>>>> I expected it to be in sync mode, as all our inbound calls come >>>>> thru >>>>> in this fashion, and work fine. >>>>> >>>>> If ignore_early_media=true is used for the originate it obeys the >>>>> dialplan, and operates in sync mode. >>>>> >>>>> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale >>>>> wrote: >>>>>> try actually specifying sync full not just omitting it. >>>>>> how are you determining that you are ending up in async mode? >>>>>> >>>>>> On Mon, May 17, 2010 at 4:15 PM, Bob Coleman >>>>>> wrote: >>>>>>> >>>>>>> Sorry guys. I might not understand myself. >>>>>>> >>>>>>> The scenario is I want to make an outbound call(via an inbound >>>>>>> socket) >>>>>>> and connect it back to an outbound socket for processing. >>>>>>> >>>>>>> So to test this, I typed into the FreeSWITCH console the >>>>>>> originate >>>>>>> command, just like I would have via the inbound socket. and >>>>>>> was able >>>>>>> to make a call to a mobile phone, and have it connect back to an >>>>>>> outbound socket, but to my surprise it was now in async mode. >>>>>>> I had >>>>>>> written the outbound socket to be sync, and there was no async >>>>>>> command >>>>>>> in the dialplan that handled the extension I had transfered >>>>>>> the call >>>>>>> too. Once the call is made I am not doing anything else to it >>>>>>> via >>>>>>> the >>>>>>> inbound socket, just letting the call run its course through our >>>>>>> callflow app. >>>>>>> >>>>>>> I guess I am wondering if I am doing this the right way, or I >>>>>>> have >>>>>>> missed something and there is an easier way. >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Bob >>>>>>> >>>>>>> On Tue, May 18, 2010 at 3:37 AM, Michael S Collins >>>>>>> >>>>>>> wrote: >>>>>>>> Are you trying to originate from a program with inbound event >>>>>>>> socket >>>>>>>> and >>>>>>>> then and also have the same program handle the other call leg >>>>>>>> (805) >>>>>>>> using >>>>>>>> outbound event socket? Same port? Please clarify like Tony >>>>>>>> said. >>>>>>>> -MC >>>>>>>> >>>>>>>> Sent from my iPhone >>>>>>>> On May 17, 2010, at 8:13 AM, Anthony Minessale >>>>>>>> >>>>>>>> wrote: >>>>>>>> >>>>>>>> I read this like 5 times and I could not understand what you >>>>>>>> are >>>>>>>> trying >>>>>>>> to >>>>>>>> ask. >>>>>>>> Could you rephrase with more detail? >>>>>>>> >>>>>>>> On Sun, May 16, 2010 at 6:54 PM, Bob Coleman >>>>>>> > >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Is there a reason why an orginate command typed into the >>>>>>>>> freeswitch >>>>>>>>> console overrides the dialplan socket application(>>>>>>>> application="socket" data="127.0.0.1:4573 full"/>) with async >>>>>>>>> eg originate sofia/gateway/????/???? 805 >>>>>>>>> >>>>>>>>> 805 being the extension the outbound event socket is fired >>>>>>>>> from. >>>>>>>>> >>>>>>>>> I have noticed that if the {ignore_early_media=true} is set >>>>>>>>> that >>>>>>>>> it >>>>>>>>> behaves correctly and does not override with async. >>>>>>>>> >>>>>>>>> I am using the 1.6 version source compiled locally on a >>>>>>>>> windows >>>>>>>>> box, >>>>>>>>> and a extension of 805 setup with the above outbound socket >>>>>>>>> connection. >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> >>>>>>>>> Bob >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>> >>>>>>>>> >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>>> freeswitch-dev >>>>>>>>> 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_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> >>>>>>>> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>> freeswitch-dev >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> >>>>>>>> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>> freeswitch-dev >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> FreeSWITCH-dev mailing list >>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>> >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>> freeswitch-dev >>>>>>> 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_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> _______________________________________________ >>>>>> FreeSWITCH-dev mailing list >>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>> freeswitch-dev >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> FreeSWITCH-dev mailing list >>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>> freeswitch-dev >>>>> 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_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> _______________________________________________ >>>> FreeSWITCH-dev mailing list >>>> FreeSWITCH-dev at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>> freeswitch-dev >>>> http://www.freeswitch.org >>>> >>>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >>> dev >>> http://www.freeswitch.org >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >> dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From bobc at devassert.com Mon May 17 22:30:22 2010 From: bobc at devassert.com (Bob Coleman) Date: Tue, 18 May 2010 17:30:22 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: <3B00AD2A-6BA0-4CE0-9B4B-AB023099686E@freeswitch.org> References: <3B00AD2A-6BA0-4CE0-9B4B-AB023099686E@freeswitch.org> Message-ID: It is a custom written listener in c# that allows using asterisk fast agi(hopefully never needed :-) ) or freeswitch esl for the same backend ivr application. A little bit hard to post that up, as it is not open source. I could email you off list a sample app, that does enough to demonstrate etc. On Tue, May 18, 2010 at 4:07 PM, Michael S Collins wrote: > And what is listening on port 4573? I'd like to see the program that > is talking to the event socket. > -MC > > Sent from my iPhone > > On May 17, 2010, at 8:02 PM, Bob Coleman wrote: > >> The setup is simple so will include it. >> >> I am running 1.6 downloaded as source and compiled in VS2008, havent >> tested against the latest, as occasionally there are compiled problems >> with trunk. >> >> Use a stock install, no changes, with this added as a dialplan. >> >> >> ? >> ? ? >> ? ? ? ? >> ? ? ? ? >> ? ? ? ? >> ? ? >> ? >> >> >> Running the compiled freeswitch exe I type the following in the >> console window >> >> originate sofia/gateway// 805 >> >> That seems to execute as async after transfering to 805, although >> based on what Anthony said I might be wrong. >> >> If you use the following it behaves as normal ie. sync mode after >> transfering to 805 >> >> originate {ignore_early_media=true}sofia/gateway//> phone> 805 >> >> Thanks >> >> Bob >> >> >> On Tue, May 18, 2010 at 11:45 AM, Michael Collins >> wrote: >>> I would like to confirm this behavior on a my system. Can you whip >>> up a >>> minimal set of configs to reproduce this? Put it on pastebin.freeswitch.org >>> . >>> We'll see if we can reproduce. Also, please confirm that you are >>> running the >>> latest git-head so that we are doing apples-to-apples comparison. >>> >>> Thanks, >>> MC >>> >>> On Mon, May 17, 2010 at 3:26 PM, Bob Coleman >>> wrote: >>>> >>>> Ok, will check that. >>>> >>>> I subscribe to the call answered event and wait for that before >>>> doing >>>> ivr things, I play a prompt then go to get a key response and it >>>> just >>>> skips straight past the message sent, no timeout or anything, and >>>> obviously not waiting for the user. The user presses a key and it >>>> doesnt go anywhere due to the program having completed. >>>> >>>> On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale >>>> wrote: >>>>> that does not mean if you are in sync mode or async, the reply on >>>>> the >>>>> event >>>>> socket initial message after you enter connect does. >>>>> If you are doing ivr type things before you have media >>>>> established its >>>>> possible it's simply failing. >>>>> >>>>> On Mon, May 17, 2010 at 4:53 PM, Bob Coleman >>>>> wrote: >>>>>> >>>>>> I tried specifying async full to confirm it was giving me the same >>>>>> result, and it does. >>>>>> >>>>>> I put break points into our code where it sends a message to fs, >>>>>> in >>>>>> sync mode it waits for the timeout or until the user presses a >>>>>> key, >>>>>> but in async mode it just returns as expected, immediately. >>>>>> >>>>>> I expected it to be in sync mode, as all our inbound calls come >>>>>> thru >>>>>> in this fashion, and work fine. >>>>>> >>>>>> If ignore_early_media=true is used for the originate it obeys the >>>>>> dialplan, and operates in sync mode. >>>>>> >>>>>> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale >>>>>> wrote: >>>>>>> try actually specifying sync full not just omitting it. >>>>>>> how are you determining that you are ending up in async mode? >>>>>>> >>>>>>> On Mon, May 17, 2010 at 4:15 PM, Bob Coleman >>>>>>> wrote: >>>>>>>> >>>>>>>> Sorry guys. I might not understand myself. >>>>>>>> >>>>>>>> The scenario is I want to make an outbound call(via an inbound >>>>>>>> socket) >>>>>>>> and connect it back to an outbound socket for processing. >>>>>>>> >>>>>>>> So to test this, I typed into the FreeSWITCH console the >>>>>>>> originate >>>>>>>> command, just like I would have via the inbound socket. and >>>>>>>> was able >>>>>>>> to make a call to a mobile phone, and have it connect back to an >>>>>>>> outbound socket, but to my surprise it was now in async mode. >>>>>>>> I had >>>>>>>> written the outbound socket to be sync, and there was no async >>>>>>>> command >>>>>>>> in the dialplan that handled the extension I had transfered >>>>>>>> the call >>>>>>>> too. Once the call is made I am not doing anything else to it >>>>>>>> via >>>>>>>> the >>>>>>>> inbound socket, just letting the call run its course through our >>>>>>>> callflow app. >>>>>>>> >>>>>>>> I guess I am wondering if I am doing this the right way, or I >>>>>>>> have >>>>>>>> missed something and there is an easier way. >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> Bob >>>>>>>> >>>>>>>> On Tue, May 18, 2010 at 3:37 AM, Michael S ?Collins >>>>>>>> >>>>>>>> wrote: >>>>>>>>> Are you trying to originate from a program with inbound event >>>>>>>>> socket >>>>>>>>> and >>>>>>>>> then and also have the same program handle the other call leg >>>>>>>>> (805) >>>>>>>>> using >>>>>>>>> outbound event socket? Same port? Please clarify like Tony >>>>>>>>> said. >>>>>>>>> -MC >>>>>>>>> >>>>>>>>> Sent from my iPhone >>>>>>>>> On May 17, 2010, at 8:13 AM, Anthony Minessale >>>>>>>>> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I read this like 5 times and I could not understand what you >>>>>>>>> are >>>>>>>>> trying >>>>>>>>> to >>>>>>>>> ask. >>>>>>>>> Could you rephrase with more detail? >>>>>>>>> >>>>>>>>> On Sun, May 16, 2010 at 6:54 PM, Bob Coleman >>>>>>>> > >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> Is there a reason why an orginate command typed into the >>>>>>>>>> freeswitch >>>>>>>>>> console overrides the dialplan socket application(>>>>>>>>> application="socket" data="127.0.0.1:4573 full"/>) with async >>>>>>>>>> eg originate sofia/gateway/????/???? 805 >>>>>>>>>> >>>>>>>>>> 805 being the extension the outbound event socket is fired >>>>>>>>>> from. >>>>>>>>>> >>>>>>>>>> I have noticed that if the {ignore_early_media=true} is set >>>>>>>>>> that >>>>>>>>>> it >>>>>>>>>> behaves correctly and does not override with async. >>>>>>>>>> >>>>>>>>>> I am using the 1.6 version source compiled locally on a >>>>>>>>>> windows >>>>>>>>>> box, >>>>>>>>>> and a extension of 805 setup with the above outbound socket >>>>>>>>>> connection. >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> >>>>>>>>>> Bob >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>>>> freeswitch-dev >>>>>>>>>> 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_minessale at hotmail.com >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>> >>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>> pstn:+19193869900 >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>> >>>>>>>>> >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>>> freeswitch-dev >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>> >>>>>>>>> >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>>> freeswitch-dev >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>>> freeswitch-dev >>>>>>>> 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_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> _______________________________________________ >>>>>>> FreeSWITCH-dev mailing list >>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>> >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>>> freeswitch-dev >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> FreeSWITCH-dev mailing list >>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>>> freeswitch-dev >>>>>> 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_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> _______________________________________________ >>>>> FreeSWITCH-dev mailing list >>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>> freeswitch-dev >>>>> http://www.freeswitch.org >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> FreeSWITCH-dev mailing list >>>> FreeSWITCH-dev at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >>>> dev >>>> http://www.freeswitch.org >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >>> dev >>> http://www.freeswitch.org >>> >>> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From msc at freeswitch.org Tue May 18 10:26:00 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 18 May 2010 10:26:00 -0700 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: <3B00AD2A-6BA0-4CE0-9B4B-AB023099686E@freeswitch.org> Message-ID: How about writing up a minimal test script that is open source that demonstrates the symptom? -MC On Mon, May 17, 2010 at 10:30 PM, Bob Coleman wrote: > It is a custom written listener in c# that allows using asterisk fast > agi(hopefully never needed :-) ) or freeswitch esl for the same > backend ivr application. > > A little bit hard to post that up, as it is not open source. > > I could email you off list a sample app, that does enough to demonstrate > etc. > > On Tue, May 18, 2010 at 4:07 PM, Michael S Collins > wrote: > > And what is listening on port 4573? I'd like to see the program that > > is talking to the event socket. > > -MC > > > > Sent from my iPhone > > > > On May 17, 2010, at 8:02 PM, Bob Coleman wrote: > > > >> The setup is simple so will include it. > >> > >> I am running 1.6 downloaded as source and compiled in VS2008, havent > >> tested against the latest, as occasionally there are compiled problems > >> with trunk. > >> > >> Use a stock install, no changes, with this added as a dialplan. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> Running the compiled freeswitch exe I type the following in the > >> console window > >> > >> originate sofia/gateway// 805 > >> > >> That seems to execute as async after transfering to 805, although > >> based on what Anthony said I might be wrong. > >> > >> If you use the following it behaves as normal ie. sync mode after > >> transfering to 805 > >> > >> originate {ignore_early_media=true}sofia/gateway// >> phone> 805 > >> > >> Thanks > >> > >> Bob > >> > >> > >> On Tue, May 18, 2010 at 11:45 AM, Michael Collins > >> wrote: > >>> I would like to confirm this behavior on a my system. Can you whip > >>> up a > >>> minimal set of configs to reproduce this? Put it on > pastebin.freeswitch.org > >>> . > >>> We'll see if we can reproduce. Also, please confirm that you are > >>> running the > >>> latest git-head so that we are doing apples-to-apples comparison. > >>> > >>> Thanks, > >>> MC > >>> > >>> On Mon, May 17, 2010 at 3:26 PM, Bob Coleman > >>> wrote: > >>>> > >>>> Ok, will check that. > >>>> > >>>> I subscribe to the call answered event and wait for that before > >>>> doing > >>>> ivr things, I play a prompt then go to get a key response and it > >>>> just > >>>> skips straight past the message sent, no timeout or anything, and > >>>> obviously not waiting for the user. The user presses a key and it > >>>> doesnt go anywhere due to the program having completed. > >>>> > >>>> On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale > >>>> wrote: > >>>>> that does not mean if you are in sync mode or async, the reply on > >>>>> the > >>>>> event > >>>>> socket initial message after you enter connect does. > >>>>> If you are doing ivr type things before you have media > >>>>> established its > >>>>> possible it's simply failing. > >>>>> > >>>>> On Mon, May 17, 2010 at 4:53 PM, Bob Coleman > >>>>> wrote: > >>>>>> > >>>>>> I tried specifying async full to confirm it was giving me the same > >>>>>> result, and it does. > >>>>>> > >>>>>> I put break points into our code where it sends a message to fs, > >>>>>> in > >>>>>> sync mode it waits for the timeout or until the user presses a > >>>>>> key, > >>>>>> but in async mode it just returns as expected, immediately. > >>>>>> > >>>>>> I expected it to be in sync mode, as all our inbound calls come > >>>>>> thru > >>>>>> in this fashion, and work fine. > >>>>>> > >>>>>> If ignore_early_media=true is used for the originate it obeys the > >>>>>> dialplan, and operates in sync mode. > >>>>>> > >>>>>> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale > >>>>>> wrote: > >>>>>>> try actually specifying sync full not just omitting it. > >>>>>>> how are you determining that you are ending up in async mode? > >>>>>>> > >>>>>>> On Mon, May 17, 2010 at 4:15 PM, Bob Coleman > >>>>>>> wrote: > >>>>>>>> > >>>>>>>> Sorry guys. I might not understand myself. > >>>>>>>> > >>>>>>>> The scenario is I want to make an outbound call(via an inbound > >>>>>>>> socket) > >>>>>>>> and connect it back to an outbound socket for processing. > >>>>>>>> > >>>>>>>> So to test this, I typed into the FreeSWITCH console the > >>>>>>>> originate > >>>>>>>> command, just like I would have via the inbound socket. and > >>>>>>>> was able > >>>>>>>> to make a call to a mobile phone, and have it connect back to an > >>>>>>>> outbound socket, but to my surprise it was now in async mode. > >>>>>>>> I had > >>>>>>>> written the outbound socket to be sync, and there was no async > >>>>>>>> command > >>>>>>>> in the dialplan that handled the extension I had transfered > >>>>>>>> the call > >>>>>>>> too. Once the call is made I am not doing anything else to it > >>>>>>>> via > >>>>>>>> the > >>>>>>>> inbound socket, just letting the call run its course through our > >>>>>>>> callflow app. > >>>>>>>> > >>>>>>>> I guess I am wondering if I am doing this the right way, or I > >>>>>>>> have > >>>>>>>> missed something and there is an easier way. > >>>>>>>> > >>>>>>>> Thanks > >>>>>>>> > >>>>>>>> Bob > >>>>>>>> > >>>>>>>> On Tue, May 18, 2010 at 3:37 AM, Michael S Collins > >>>>>>>> > >>>>>>>> wrote: > >>>>>>>>> Are you trying to originate from a program with inbound event > >>>>>>>>> socket > >>>>>>>>> and > >>>>>>>>> then and also have the same program handle the other call leg > >>>>>>>>> (805) > >>>>>>>>> using > >>>>>>>>> outbound event socket? Same port? Please clarify like Tony > >>>>>>>>> said. > >>>>>>>>> -MC > >>>>>>>>> > >>>>>>>>> Sent from my iPhone > >>>>>>>>> On May 17, 2010, at 8:13 AM, Anthony Minessale > >>>>>>>>> > >>>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>> I read this like 5 times and I could not understand what you > >>>>>>>>> are > >>>>>>>>> trying > >>>>>>>>> to > >>>>>>>>> ask. > >>>>>>>>> Could you rephrase with more detail? > >>>>>>>>> > >>>>>>>>> On Sun, May 16, 2010 at 6:54 PM, Bob Coleman >>>>>>>>> > > >>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>> Hi, > >>>>>>>>>> > >>>>>>>>>> Is there a reason why an orginate command typed into the > >>>>>>>>>> freeswitch > >>>>>>>>>> console overrides the dialplan socket application( >>>>>>>>>> application="socket" data="127.0.0.1:4573 full"/>) with async > >>>>>>>>>> eg originate sofia/gateway/????/???? 805 > >>>>>>>>>> > >>>>>>>>>> 805 being the extension the outbound event socket is fired > >>>>>>>>>> from. > >>>>>>>>>> > >>>>>>>>>> I have noticed that if the {ignore_early_media=true} is set > >>>>>>>>>> that > >>>>>>>>>> it > >>>>>>>>>> behaves correctly and does not override with async. > >>>>>>>>>> > >>>>>>>>>> I am using the 1.6 version source compiled locally on a > >>>>>>>>>> windows > >>>>>>>>>> box, > >>>>>>>>>> and a extension of 805 setup with the above outbound socket > >>>>>>>>>> connection. > >>>>>>>>>> > >>>>>>>>>> Regards > >>>>>>>>>> > >>>>>>>>>> Bob > >>>>>>>>>> > >>>>>>>>>> _______________________________________________ > >>>>>>>>>> FreeSWITCH-dev mailing list > >>>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>>>>>> freeswitch-dev > >>>>>>>>>> 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_minessale at hotmail.com > >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >>>>>>>>> IRC: irc.freenode.net #freeswitch > >>>>>>>>> > >>>>>>>>> FreeSWITCH Developer Conference > >>>>>>>>> sip:888 at conference.freeswitch.org > >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org > >>>>>>>>> pstn:+19193869900 > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> FreeSWITCH-dev mailing list > >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>>>>> freeswitch-dev > >>>>>>>>> http://www.freeswitch.org > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> FreeSWITCH-dev mailing list > >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>>>>> freeswitch-dev > >>>>>>>>> http://www.freeswitch.org > >>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>>> _______________________________________________ > >>>>>>>> FreeSWITCH-dev mailing list > >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>>>> > >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>>>> freeswitch-dev > >>>>>>>> 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_minessale at hotmail.com > >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >>>>>>> IRC: irc.freenode.net #freeswitch > >>>>>>> > >>>>>>> FreeSWITCH Developer Conference > >>>>>>> sip:888 at conference.freeswitch.org > >>>>>>> googletalk:conf+888 at conference.freeswitch.org > >>>>>>> pstn:+19193869900 > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> FreeSWITCH-dev mailing list > >>>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>>> > >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>>> freeswitch-dev > >>>>>>> http://www.freeswitch.org > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> FreeSWITCH-dev mailing list > >>>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>>> freeswitch-dev > >>>>>> 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_minessale at hotmail.com > >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > >>>>> IRC: irc.freenode.net #freeswitch > >>>>> > >>>>> FreeSWITCH Developer Conference > >>>>> sip:888 at conference.freeswitch.org > >>>>> googletalk:conf+888 at conference.freeswitch.org > >>>>> pstn:+19193869900 > >>>>> > >>>>> _______________________________________________ > >>>>> FreeSWITCH-dev mailing list > >>>>> FreeSWITCH-dev at lists.freeswitch.org > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ > >>>>> freeswitch-dev > >>>>> http://www.freeswitch.org > >>>>> > >>>>> > >>>> > >>>> _______________________________________________ > >>>> FreeSWITCH-dev mailing list > >>>> FreeSWITCH-dev at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > >>>> dev > >>>> http://www.freeswitch.org > >>> > >>> > >>> _______________________________________________ > >>> FreeSWITCH-dev mailing list > >>> FreeSWITCH-dev at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > >>> dev > >>> http://www.freeswitch.org > >>> > >>> > >> > >> _______________________________________________ > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> http://www.freeswitch.org > > > > _______________________________________________ > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100518/d520619c/attachment-0001.html From bobc at devassert.com Tue May 18 16:01:44 2010 From: bobc at devassert.com (Bob Coleman) Date: Wed, 19 May 2010 11:01:44 +1200 Subject: [Freeswitch-dev] Inbound Event Socket In-Reply-To: References: <3B00AD2A-6BA0-4CE0-9B4B-AB023099686E@freeswitch.org> Message-ID: Ok, sounds good. Will do that Bob On Wed, May 19, 2010 at 5:26 AM, Michael Collins wrote: > How about writing up a minimal test script that is open source that > demonstrates the symptom? > -MC > > On Mon, May 17, 2010 at 10:30 PM, Bob Coleman wrote: >> >> It is a custom written listener in c# that allows using asterisk fast >> agi(hopefully never needed :-) ) or freeswitch esl for the same >> backend ivr application. >> >> A little bit hard to post that up, as it is not open source. >> >> I could email you off list a sample app, that does enough to demonstrate >> etc. >> >> On Tue, May 18, 2010 at 4:07 PM, Michael S ?Collins >> wrote: >> > And what is listening on port 4573? I'd like to see the program that >> > is talking to the event socket. >> > -MC >> > >> > Sent from my iPhone >> > >> > On May 17, 2010, at 8:02 PM, Bob Coleman wrote: >> > >> >> The setup is simple so will include it. >> >> >> >> I am running 1.6 downloaded as source and compiled in VS2008, havent >> >> tested against the latest, as occasionally there are compiled problems >> >> with trunk. >> >> >> >> Use a stock install, no changes, with this added as a dialplan. >> >> >> >> >> >> ? >> >> ? ? >> >> ? ? ? ? >> >> ? ? ? ? >> >> ? ? ? ? >> >> ? ? >> >> ? >> >> >> >> >> >> Running the compiled freeswitch exe I type the following in the >> >> console window >> >> >> >> originate sofia/gateway// 805 >> >> >> >> That seems to execute as async after transfering to 805, although >> >> based on what Anthony said I might be wrong. >> >> >> >> If you use the following it behaves as normal ie. sync mode after >> >> transfering to 805 >> >> >> >> originate {ignore_early_media=true}sofia/gateway//> >> phone> 805 >> >> >> >> Thanks >> >> >> >> Bob >> >> >> >> >> >> On Tue, May 18, 2010 at 11:45 AM, Michael Collins >> >> wrote: >> >>> I would like to confirm this behavior on a my system. Can you whip >> >>> up a >> >>> minimal set of configs to reproduce this? Put it on >> >>> pastebin.freeswitch.org >> >>> . >> >>> We'll see if we can reproduce. Also, please confirm that you are >> >>> running the >> >>> latest git-head so that we are doing apples-to-apples comparison. >> >>> >> >>> Thanks, >> >>> MC >> >>> >> >>> On Mon, May 17, 2010 at 3:26 PM, Bob Coleman >> >>> wrote: >> >>>> >> >>>> Ok, will check that. >> >>>> >> >>>> I subscribe to the call answered event and wait for that before >> >>>> doing >> >>>> ivr things, I play a prompt then go to get a key response and it >> >>>> just >> >>>> skips straight past the message sent, no timeout or anything, and >> >>>> obviously not waiting for the user. The user presses a key and it >> >>>> doesnt go anywhere due to the program having completed. >> >>>> >> >>>> On Tue, May 18, 2010 at 10:18 AM, Anthony Minessale >> >>>> wrote: >> >>>>> that does not mean if you are in sync mode or async, the reply on >> >>>>> the >> >>>>> event >> >>>>> socket initial message after you enter connect does. >> >>>>> If you are doing ivr type things before you have media >> >>>>> established its >> >>>>> possible it's simply failing. >> >>>>> >> >>>>> On Mon, May 17, 2010 at 4:53 PM, Bob Coleman >> >>>>> wrote: >> >>>>>> >> >>>>>> I tried specifying async full to confirm it was giving me the same >> >>>>>> result, and it does. >> >>>>>> >> >>>>>> I put break points into our code where it sends a message to fs, >> >>>>>> in >> >>>>>> sync mode it waits for the timeout or until the user presses a >> >>>>>> key, >> >>>>>> but in async mode it just returns as expected, immediately. >> >>>>>> >> >>>>>> I expected it to be in sync mode, as all our inbound calls come >> >>>>>> thru >> >>>>>> in this fashion, and work fine. >> >>>>>> >> >>>>>> If ignore_early_media=true is used for the originate it obeys the >> >>>>>> dialplan, and operates in sync mode. >> >>>>>> >> >>>>>> On Tue, May 18, 2010 at 9:33 AM, Anthony Minessale >> >>>>>> wrote: >> >>>>>>> try actually specifying sync full not just omitting it. >> >>>>>>> how are you determining that you are ending up in async mode? >> >>>>>>> >> >>>>>>> On Mon, May 17, 2010 at 4:15 PM, Bob Coleman >> >>>>>>> wrote: >> >>>>>>>> >> >>>>>>>> Sorry guys. I might not understand myself. >> >>>>>>>> >> >>>>>>>> The scenario is I want to make an outbound call(via an inbound >> >>>>>>>> socket) >> >>>>>>>> and connect it back to an outbound socket for processing. >> >>>>>>>> >> >>>>>>>> So to test this, I typed into the FreeSWITCH console the >> >>>>>>>> originate >> >>>>>>>> command, just like I would have via the inbound socket. and >> >>>>>>>> was able >> >>>>>>>> to make a call to a mobile phone, and have it connect back to an >> >>>>>>>> outbound socket, but to my surprise it was now in async mode. >> >>>>>>>> I had >> >>>>>>>> written the outbound socket to be sync, and there was no async >> >>>>>>>> command >> >>>>>>>> in the dialplan that handled the extension I had transfered >> >>>>>>>> the call >> >>>>>>>> too. Once the call is made I am not doing anything else to it >> >>>>>>>> via >> >>>>>>>> the >> >>>>>>>> inbound socket, just letting the call run its course through our >> >>>>>>>> callflow app. >> >>>>>>>> >> >>>>>>>> I guess I am wondering if I am doing this the right way, or I >> >>>>>>>> have >> >>>>>>>> missed something and there is an easier way. >> >>>>>>>> >> >>>>>>>> Thanks >> >>>>>>>> >> >>>>>>>> Bob >> >>>>>>>> >> >>>>>>>> On Tue, May 18, 2010 at 3:37 AM, Michael S ?Collins >> >>>>>>>> >> >>>>>>>> wrote: >> >>>>>>>>> Are you trying to originate from a program with inbound event >> >>>>>>>>> socket >> >>>>>>>>> and >> >>>>>>>>> then and also have the same program handle the other call leg >> >>>>>>>>> (805) >> >>>>>>>>> using >> >>>>>>>>> outbound event socket? Same port? Please clarify like Tony >> >>>>>>>>> said. >> >>>>>>>>> -MC >> >>>>>>>>> >> >>>>>>>>> Sent from my iPhone >> >>>>>>>>> On May 17, 2010, at 8:13 AM, Anthony Minessale >> >>>>>>>>> >> >>>>>>>>> wrote: >> >>>>>>>>> >> >>>>>>>>> I read this like 5 times and I could not understand what you >> >>>>>>>>> are >> >>>>>>>>> trying >> >>>>>>>>> to >> >>>>>>>>> ask. >> >>>>>>>>> Could you rephrase with more detail? >> >>>>>>>>> >> >>>>>>>>> On Sun, May 16, 2010 at 6:54 PM, Bob Coleman > >>>>>>>>> > >> >>>>>>>>> wrote: >> >>>>>>>>>> >> >>>>>>>>>> Hi, >> >>>>>>>>>> >> >>>>>>>>>> Is there a reason why an orginate command typed into the >> >>>>>>>>>> freeswitch >> >>>>>>>>>> console overrides the dialplan socket application(> >>>>>>>>>> application="socket" data="127.0.0.1:4573 full"/>) with async >> >>>>>>>>>> eg originate sofia/gateway/????/???? 805 >> >>>>>>>>>> >> >>>>>>>>>> 805 being the extension the outbound event socket is fired >> >>>>>>>>>> from. >> >>>>>>>>>> >> >>>>>>>>>> I have noticed that if the {ignore_early_media=true} is set >> >>>>>>>>>> that >> >>>>>>>>>> it >> >>>>>>>>>> behaves correctly and does not override with async. >> >>>>>>>>>> >> >>>>>>>>>> I am using the 1.6 version source compiled locally on a >> >>>>>>>>>> windows >> >>>>>>>>>> box, >> >>>>>>>>>> and a extension of 805 setup with the above outbound socket >> >>>>>>>>>> connection. >> >>>>>>>>>> >> >>>>>>>>>> Regards >> >>>>>>>>>> >> >>>>>>>>>> Bob >> >>>>>>>>>> >> >>>>>>>>>> _______________________________________________ >> >>>>>>>>>> FreeSWITCH-dev mailing list >> >>>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>>>>>> freeswitch-dev >> >>>>>>>>>> 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_minessale at hotmail.com >> >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >>>>>>>>> IRC: irc.freenode.net #freeswitch >> >>>>>>>>> >> >>>>>>>>> FreeSWITCH Developer Conference >> >>>>>>>>> sip:888 at conference.freeswitch.org >> >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >> >>>>>>>>> pstn:+19193869900 >> >>>>>>>>> >> >>>>>>>>> _______________________________________________ >> >>>>>>>>> FreeSWITCH-dev mailing list >> >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>>>>> freeswitch-dev >> >>>>>>>>> http://www.freeswitch.org >> >>>>>>>>> >> >>>>>>>>> _______________________________________________ >> >>>>>>>>> FreeSWITCH-dev mailing list >> >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>>>>> freeswitch-dev >> >>>>>>>>> http://www.freeswitch.org >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>> >> >>>>>>>> _______________________________________________ >> >>>>>>>> FreeSWITCH-dev mailing list >> >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>>>> >> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>>>> freeswitch-dev >> >>>>>>>> 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_minessale at hotmail.com >> >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >>>>>>> IRC: irc.freenode.net #freeswitch >> >>>>>>> >> >>>>>>> FreeSWITCH Developer Conference >> >>>>>>> sip:888 at conference.freeswitch.org >> >>>>>>> googletalk:conf+888 at conference.freeswitch.org >> >>>>>>> pstn:+19193869900 >> >>>>>>> >> >>>>>>> _______________________________________________ >> >>>>>>> FreeSWITCH-dev mailing list >> >>>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>>> >> >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>>> freeswitch-dev >> >>>>>>> http://www.freeswitch.org >> >>>>>>> >> >>>>>>> >> >>>>>> >> >>>>>> _______________________________________________ >> >>>>>> FreeSWITCH-dev mailing list >> >>>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>>> freeswitch-dev >> >>>>>> 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_minessale at hotmail.com >> >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >>>>> IRC: irc.freenode.net #freeswitch >> >>>>> >> >>>>> FreeSWITCH Developer Conference >> >>>>> sip:888 at conference.freeswitch.org >> >>>>> googletalk:conf+888 at conference.freeswitch.org >> >>>>> pstn:+19193869900 >> >>>>> >> >>>>> _______________________________________________ >> >>>>> FreeSWITCH-dev mailing list >> >>>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> >>>>> freeswitch-dev >> >>>>> http://www.freeswitch.org >> >>>>> >> >>>>> >> >>>> >> >>>> _______________________________________________ >> >>>> FreeSWITCH-dev mailing list >> >>>> FreeSWITCH-dev at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >> >>>> dev >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> _______________________________________________ >> >>> FreeSWITCH-dev mailing list >> >>> FreeSWITCH-dev at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- >> >>> dev >> >>> http://www.freeswitch.org >> >>> >> >>> >> >> >> >> _______________________________________________ >> >> FreeSWITCH-dev mailing list >> >> FreeSWITCH-dev at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> >> http://www.freeswitch.org >> > >> > _______________________________________________ >> > FreeSWITCH-dev mailing list >> > FreeSWITCH-dev at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> > http://www.freeswitch.org >> > >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > From msc at freeswitch.org Wed May 19 09:43:51 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 19 May 2010 09:43:51 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Starting Shortly! Message-ID: C'mon down! http://wiki.freeswitch.org/wiki/FS_weekly_2010_05_19 We have lots of stuff to talk about. :) -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100519/fd3ba317/attachment.html From khovayko at gmail.com Wed May 19 11:46:04 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Wed, 19 May 2010 14:46:04 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT Message-ID: <4BF431EC.4010506@gmail.com> Hi, Please help. My FreeSWITCH has some mobile clients (Sipdroid and Nokia), keeps registration on the FS. See registration record samples: Call-ID: 571195090210 at 14.144.242.244 User: 1019 at 192.168.1.5 Contact: "user" Agent: Sipdroid/1.4.6 beta/T-Mobile G1 Status: Registered(UDP)(unknown) EXP(2010-05-19 16:38:41) Host: olegh.ath.cx IP: 208.54.35.47 Port: 30727 Auth-User: 1019 Auth-Realm: olegh.ath.cx MWI-Account: 1019 at 192.168.1.5 Call-ID: 30IpTq1FoIfJnxJC5ROP1HByEOig2n User: 1015 at 192.168.1.5 Contact: "user" Agent: Nokia RA-6 210.34.75 Status: Registered(TCP-NAT)(unknown) EXP(2010-05-19 15:57:27) Host: olegh.ath.cx IP: 94.71.98.45 Port: 17476 Auth-User: 1015 Auth-Realm: olegh.ath.cx MWI-Account: 1015 at 192.168.1.5 As you can see, for last samle (nokia) "Contact" contains line: sip:1015 at 10.0.0.135. In the real life, this phone NATed, and real IP (gateway's) is 94.71.98.45. Call from that phone is OK. But, when I try to call that phone from local, FS try to use wrong IP for connect: 2010-05-19 14:28:24.156706 [NOTICE] switch_channel.c:669 New Channel sofia/internal/sip:1015 at 10.0.0.135 [62b74c4f-7463-df11-ac63-005004c3cb7e] Of course, connection can not be established. Question: How to fix this problem? Or maybe, need to change FS, and always use REAL IP:PORT for establish outgoing call? Following - header of "sofia status profile internal": ================================================================================================= Name internal Domain Name N/A Auto-NAT true DBName sofia_reg_internal Pres Hosts Dialplan XML Context public Challenge Realm auto_from RTP-IP 192.168.1.5 Ext-RTP-IP 173.73.120.93 SIP-IP 192.168.1.5 Ext-SIP-IP 173.73.120.93 URL sip:mod_sofia at 192.168.1.5:5060 BIND-URL sip:mod_sofia at 192.168.1.5:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM CODECS OUT G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 96 FAILED-CALLS-IN 15 CALLS-OUT 113 FAILED-CALLS-OUT 79 Registrations: ================================================================================================= From brian at freeswitch.org Wed May 19 11:51:16 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 19 May 2010 13:51:16 -0500 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BF431EC.4010506@gmail.com> References: <4BF431EC.4010506@gmail.com> Message-ID: <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> On May 19, 2010, at 1:46 PM, Oleg Khovayko wrote: > Call from that phone is OK. > But, when I try to call that phone from local, FS try to use wrong IP > for connect: No its not... you can't assume the channel name has anything to do with it... the fs_path is where its going. Have you bothered to look at the SIP traces? Also what SVN rev are you using? /b > > > 2010-05-19 14:28:24.156706 [NOTICE] switch_channel.c:669 New Channel > sofia/internal/sip:1015 at 10.0.0.135 [62b74c4f-7463-df11-ac63-005004c3cb7e] > > Of course, connection can not be established. > > > Question: How to fix this problem? > Or maybe, need to change FS, and always use REAL IP:PORT for establish > outgoing call? From khovayko at gmail.com Wed May 19 13:08:03 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Wed, 19 May 2010 16:08:03 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> Message-ID: <4BF44523.60704@gmail.com> > what SVN rev are you using? I use latest official release 1.0.6, not SVN revision. > you can't assume the channel name has anything to do with it... I not assume, I see it. For Nokia record, FS PATH contains: ;fs_path=sip%3A1015%4094.71.98.45%3A17476%3Btransport%3DTCP But, call goes to sip:1015 at 10.0.0.135 - FS PATH is ignored. > the fs_path is where its going. Also, you can see, for Sipdroid, no FS PATH in the Contact line: Contact: "user" Where if going from, when fs_path is missing? > Have you bothered to look at the SIP traces? Excuse me, no. How can I do it? Brian West wrote: > On May 19, 2010, at 1:46 PM, Oleg Khovayko wrote: > > >> Call from that phone is OK. >> But, when I try to call that phone from local, FS try to use wrong IP >> for connect: >> > No its not... you can't assume the channel name has anything to do with it... the fs_path is where its going. Have you bothered to look at the SIP traces? Also what SVN rev are you using? > > /b > > > >> >> 2010-05-19 14:28:24.156706 [NOTICE] switch_channel.c:669 New Channel >> sofia/internal/sip:1015 at 10.0.0.135 [62b74c4f-7463-df11-ac63-005004c3cb7e] >> >> Of course, connection can not be established. >> >> >> Question: How to fix this problem? >> Or maybe, need to change FS, and always use REAL IP:PORT for establish >> outgoing call? >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From brian at freeswitch.org Wed May 19 13:16:26 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 19 May 2010 15:16:26 -0500 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BF44523.60704@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> Message-ID: <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> On May 19, 2010, at 3:08 PM, Oleg Khovayko wrote: > > what SVN rev are you using? > > I use latest official release 1.0.6, not SVN revision. > > > you can't assume the channel name has anything to do with it... > I not assume, I see it. > For Nokia record, FS PATH contains: ;fs_path=sip%3A1015%4094.71.98.45%3A17476%3Btransport%3DTCP > But, call goes to sip:1015 at 10.0.0.135 - FS PATH is ignored. > I really find that one hard to believe. > > the fs_path is where its going. > > Also, you can see, for Sipdroid, no FS PATH in the Contact line: > Contact: "user" > Where if going from, when fs_path is missing? Because sipdroid does stun and is smart enough to figure out its own public IP and registers properly but the Nokia is stupid and doesn't know its public IP. > > > Have you bothered to look at the SIP traces? > > Excuse me, no. How can I do it? sofia profile xxx siptrace on I will be you its NOT ignoring the fs_path you just can't see the packet leaving and since its TCP the far side nat I suspect has closed the nat translation thus you'll need to register more often or enable keep alives on the device. /b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100519/de4fde85/attachment-0001.html From msc at freeswitch.org Wed May 19 13:44:44 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 19 May 2010 13:44:44 -0700 Subject: [Freeswitch-dev] FreeSWITCH Training! Message-ID: We are please to let everyone know that official FreeSWITCH training is now available! More information available here: http://www.freeswitch.org/node/259 Thanks to Darren Schreiber for organizing the first formal FreeSWITCH training course. -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100519/21aed653/attachment.html From edpimentl at gmail.com Wed May 19 14:24:29 2010 From: edpimentl at gmail.com (EdPimentl) Date: Wed, 19 May 2010 17:24:29 -0400 Subject: [Freeswitch-dev] FreeSWITCH Training! In-Reply-To: References: Message-ID: Please consider recording the training session as WebCast and distribute a DVD $$.00 version online. -E http://vCardCloud.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100519/74d1041b/attachment.html From msc at freeswitch.org Wed May 19 16:17:26 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 19 May 2010 16:17:26 -0700 Subject: [Freeswitch-dev] FreeSWITCH Training! In-Reply-To: References: Message-ID: On Wed, May 19, 2010 at 2:24 PM, EdPimentl wrote: > Please consider recording the training session as WebCast and distribute > a DVD $$.00 version online. > Okay, I considered it and decided that the video idea is awesome but the price idea needs a little work. :P -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100519/d7bb7124/attachment.html From sathishbabu07 at gmail.com Thu May 20 00:03:20 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Thu, 20 May 2010 12:33:20 +0530 Subject: [Freeswitch-dev] Play message to the bridged calls Message-ID: Hi I received one inbound call after processing the call i put that call in the fifo queue using the below code in the ruby script. @con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'"). So this caller is hearing the music continuously. After that i am (freeswitch) receiving one call from asterisk after answer that call i am bridging this call with the some other outside number using the below code. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") Now i am patching the outside number with the incoming call which i received early using the uuid_transfer function as shown below. con.sendRecv("api uuid_transfer #{callin_uuid} -bleg callforce_fifo_#{sa_id} XML public") Patching is happening properly. both the parties can hear the voice. Now after patch the both caller, i need to play the voice file(same) to both the caller. How to achieve this? Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/9bce40e8/attachment.html From sathishbabu07 at gmail.com Thu May 20 00:03:48 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Thu, 20 May 2010 12:33:48 +0530 Subject: [Freeswitch-dev] Get the uuid of bridge call Message-ID: Hi, I have received one inbound call and i am patching that call with some outside number using the below code in ruby script. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") Both the call is getting connected and they can able to communicate each other. But how can i get the uuid and other call details of the dialed call (using the bridge). Also if i execute the uuid_transfer(as below) is the freeswitch is generating any new uuid that? con.sendRecv("api uuid_transfer #{callin_uuid} -bleg callforce_fifo_#{sa_id} XML public") Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/98886168/attachment.html From brian at freeswitch.org Thu May 20 00:40:36 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 20 May 2010 02:40:36 -0500 Subject: [Freeswitch-dev] Get the uuid of bridge call In-Reply-To: References: Message-ID: <0286E998-12A0-40B9-9849-7CDAEE447D3F@freeswitch.org> Sent from my iPad On May 20, 2010, at 2:03 AM, Sathish Babu wrote: > But how can i get the uuid and other call details of the dialed call (using the bridge). use uuid_dump you have a few options to get the Other-Leg-uuid > > Also if i execute the uuid_transfer(as below) is the freeswitch is generating any new uuid that? no. /b From brian at freeswitch.org Thu May 20 00:42:45 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 20 May 2010 02:42:45 -0500 Subject: [Freeswitch-dev] Play message to the bridged calls In-Reply-To: References: Message-ID: uuid_broadcast or uuid_displace. also please read the wiki most of this stuff is covered or join irc. /b Sent from my iPad On May 20, 2010, at 2:03 AM, Sathish Babu wrote: > Now after patch the both caller, i need to play the voice file(same) to both the caller. How to achieve this? From sathishbabu07 at gmail.com Thu May 20 03:00:40 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Thu, 20 May 2010 15:30:40 +0530 Subject: [Freeswitch-dev] Get the uuid of bridge call Message-ID: Hi Brian West* *, Thanks for your kind reply. But i could not able to get the uuid of the bridged call i am using the below code but Other-Leg-Unique-ID returns empty. @con.execute("uuid_dump", "#{@uuid}") #Where @uuid is the uuid of the inbound call transfer_info = @con.getInfo(); transfer_uuid = transfer_info.getHeader("unique-id") other_leg_uuid = transfer_info.getHeader("Other-Leg-Unique-ID") @logger.debug "The transfer uuid is #{transfer_uuid} and other leg uuid is #{other_leg_uuid}" while executing the above code other_leg_uuid is empty. Please help me to solve this issue. Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/f9b2db17/attachment.html From vetali100 at gmail.com Thu May 20 03:29:48 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Thu, 20 May 2010 13:29:48 +0300 Subject: [Freeswitch-dev] switch_odbc.c connect "max_tries" variable In-Reply-To: References: Message-ID: Hi dear dev team, Is there a way to check if ODBC connection is alive and database is accessible from my module? For example when I am executing the following in my code and database is down: switch_odbc_handle_callback_exec(*globals.backup_odbc*, sql, my_func_callback, &pdata, NULL) != SWITCH_ODBC_SUCCESS it tries to reconnect 120 times to the database, before it gives up. I have 2 options: 1. Check if the database is alive before executing this code (preferred) 2. Reduce max_tries to , say 3 from 120 (not preferred as it requires change in switch_odbc.c). Could you please hint? Thank you, Vitalie 2010/4/25 Vitalii Colosov > Hi, > > I am using core ODBC for MySQL connect. > > Trying to implement failover using 2 servers - main and backup. > If main server is not responding, it should try to query backup server. > > The following is used in my module: > > if (switch_odbc_handle_callback_exec(*globals.master_odbc*, sql, > my_func_callback, &pdata, NULL) != SWITCH_ODBC_SUCCESS) { > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "(***)Error > running query on master database: [%s]\n", sql); > > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "(***)Trying backup > database: [%s]\n", globals.backup_odbc); > > > if (switch_odbc_handle_callback_exec(*globals.backup_odbc*, > sql, my_func_callback, &pdata, NULL) != SWITCH_ODBC_SUCCESS) { > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "(***)Error > running query on master and backup database: [%s]\n", sql); > } > } > ... > > > > Right now it tries to reconnect to main server 120 times before it gives up > and goes to backup server. > > I found the following in the switch_odbc.c: > int max_tries = 120; > > > Is there is a way to disable this check, so if it will not be able to > connect to master, it will immediate go to backup server? > I know I can change the source, but this will be already "customized core" > - don't want to go in this direction. > > > Or maybe there is a better way to handle database fail over in my module? > > > Thank you, > Vitalie > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/f721a722/attachment-0001.html From edpimentl at gmail.com Thu May 20 05:33:42 2010 From: edpimentl at gmail.com (EdPimentl) Date: Thu, 20 May 2010 08:33:42 -0400 Subject: [Freeswitch-dev] FreeSWITCH Training! In-Reply-To: References: Message-ID: Please note the current DVD Video Certification for CISCO, MCSE, http://www.cbtnuggets.com/webapp/store?op=category&category_id=1 -E On Wed, May 19, 2010 at 7:17 PM, Michael Collins wrote: > > > On Wed, May 19, 2010 at 2:24 PM, EdPimentl wrote: > >> Please consider recording the training session as WebCast and distribute >> a DVD $$.00 version online. >> > Okay, I considered it and decided that the video idea is awesome but the > price idea needs a little work. :P > -MC > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/2963c6c4/attachment.html From brian at freeswitch.org Thu May 20 07:18:26 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 20 May 2010 09:18:26 -0500 Subject: [Freeswitch-dev] Get the uuid of bridge call In-Reply-To: References: Message-ID: Then you're not bridged to another let. /b On May 20, 2010, at 5:00 AM, Sathish Babu wrote: > while executing the above code other_leg_uuid is empty. > > Please help me to solve this issue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/7361c781/attachment.html From sathishbabu07 at gmail.com Fri May 21 03:12:37 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Fri, 21 May 2010 15:42:37 +0530 Subject: [Freeswitch-dev] Get the uuid of bridge call Message-ID: Hi Brian West, I received one incoming and put an fifo (in queue) and playing music continuously using the below code. (Caller A) @con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'") In the another channel i am receiving the incoming call (Caller B) and i have bridged that call with the customer number (Caller C) using the below code. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") . Now Caller B and C are connected and i am transferring the Caller C to Caller A using the uuid_transfer and disconnecting the caller B @con.sendRecv("api uuid_transfer #{@gcallin_uuid} -bleg callforce_fifo_#{@gsa_id} XML public") After executing the above code Caller A and Caller C is connected and Caller B is disconnected. Caller A and Call C both can speak each other. But i need to play the message message to both Caller A and Caller C also i have the uuid of Caller A and Caller B. In order to play the message to the both the caller i tried using the uuid_broadcast and uuid_displace but the message is not played to any one of the caller. Also i could not found any error in the free switch log file. Help me to solve this issue. Tried using the Caller A UUID: @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_A_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working Tried using the Caller B UUID: @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_B_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working I need urgent help from any one to fix this issue. How to identify where is the problem? Thanks in advance Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/bdf190e2/attachment.html From sathishbabu07 at gmail.com Fri May 21 03:13:33 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Fri, 21 May 2010 15:43:33 +0530 Subject: [Freeswitch-dev] Problem in uuid_broadcast and uuid_displace Message-ID: Hi Brian West, I received one incoming and put an fifo (in queue) and playing music continuously using the below code. (Caller A) @con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'") In the another channel i am receiving the incoming call (Caller B) and i have bridged that call with the customer number (Caller C) using the below code. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") . Now Caller B and C are connected and i am transferring the Caller C to Caller A using the uuid_transfer and disconnecting the caller B @con.sendRecv("api uuid_transfer #{@gcallin_uuid} -bleg callforce_fifo_#{@gsa_id} XML public") After executing the above code Caller A and Caller C is connected and Caller B is disconnected. Caller A and Call C both can speak each other. But i need to play the message message to both Caller A and Caller C also i have the uuid of Caller A and Caller B. In order to play the message to the both the caller i tried using the uuid_broadcast and uuid_displace but the message is not played to any one of the caller. Also i could not found any error in the free switch log file. Help me to solve this issue. Tried using the Caller A UUID: @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_A_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working Tried using the Caller B UUID: @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_B_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working I need urgent help from any one to fix this issue. How to identify where is the problem? Thanks in advance Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/6fe30a7c/attachment.html From sathishbabu07 at gmail.com Fri May 21 03:28:27 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Fri, 21 May 2010 15:58:27 +0530 Subject: [Freeswitch-dev] Problem in uuid_broadcast and uuid_displace Message-ID: Hi Brian West, I received one incoming and put an fifo (in queue) and playing music continuously using the below code. (Caller A) @con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'") In the another channel i am receiving the incoming call (Caller B) and i have bridged that call with the customer number (Caller C) using the below code. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") . Now Caller B and C are connected and i am transferring the Caller C to Caller A using the uuid_transfer and disconnecting the caller B @con.sendRecv("api uuid_transfer #{@gcallin_uuid} -bleg callforce_fifo_#{@gsa_id} XML public") After executing the above code Caller A and Caller C is connected and Caller B is disconnected. Caller A and Call C both can speak each other. But i need to play the message message to both Caller A and Caller C also i have the uuid of Caller A and Caller B. In order to play the message to the both the caller i tried using the uuid_broadcast and uuid_displace but the message is not played to any one of the caller. Also i could not found any error in the free switch log file. Help me to solve this issue. Tried using the Caller A UUID: @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_A_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working Tried using the Caller B UUID: @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_C_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working I need urgent help from any one to fix this issue. How to identify where is the problem? Thanks in advance Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/2fb1e43e/attachment-0001.html From brian at freeswitch.org Fri May 21 07:31:10 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 21 May 2010 09:31:10 -0500 Subject: [Freeswitch-dev] Get the uuid of bridge call In-Reply-To: References: Message-ID: If you need urgent help then I highly recommend you get assistance from consulting at freeswitch.org You could also try reading THE SYNTAX of the command on the wiki because I have no clue HOW or where you got the syntax you're using. uuid_broadcast is uuid_broadcast [aleg|bleg|both] freeswitch at taz> uuid_broadcast 45003110-d8e8-4e52-a871-3499617562a7 /usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav +OK Message Sent 2010-05-21 09:26:43.324866 [DEBUG] switch_core_session.c:861 Send signal sofia/gateways/9999999999999 at 192.168.1.113:5062 [BREAK] freeswitch at taz> 2010-05-21 09:26:43.464862 [DEBUG] switch_ivr.c:551 sofia/gateways/9999999999999 at 192.168.1.113:5062 Command Execute playback(/usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav) EXECUTE sofia/gateways/9999999999999 at 192.168.1.113:5062 playback(/usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav) 2010-05-21 09:26:43.504860 [WARNING] switch_core_file.c:176 Sample rate doesn't match 2010-05-21 09:26:43.504860 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16 at 8000hz 1 channels 20ms 2010-05-21 09:26:44.004844 [DEBUG] switch_ivr_play_say.c:1444 done playing file uuid_displace [start|stop] [] [mux] freeswitch at taz> uuid_displace 4cdb1202-e8f1-4fa1-a189-424602720df0 start /usr/local/freeswitch/sounds/en/us/callie/digits/48000/star.wav 2010-05-21 09:28:03.860705 [WARNING] switch_core_file.c:176 Sample rate doesn't match 2010-05-21 09:28:03.860705 [DEBUG] switch_core_media_bug.c:365 Attaching BUG to sofia/gateways/9999999999999 at 192.168.1.113:5062 +OK Success Its an API call not an application to execute. /b On May 21, 2010, at 5:12 AM, Sathish Babu wrote: > Tried using the Caller A UUID: > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working > @con.execute("uuid_displace", "#{Caller_A_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working > > Tried using the Caller B UUID: > @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working > @con.execute("uuid_displace", "#{Caller_B_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working > > I need urgent help from any one to fix this issue. How to identify where is the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/22494d49/attachment.html From brian at freeswitch.org Fri May 21 07:31:58 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 21 May 2010 09:31:58 -0500 Subject: [Freeswitch-dev] Problem in uuid_broadcast and uuid_displace In-Reply-To: References: Message-ID: <50E00756-E001-4311-B730-DFEB11E204C4@freeswitch.org> Please refrain from posting the SAME email in TWO threads. /b On May 21, 2010, at 5:28 AM, Sathish Babu wrote: > Hi Brian West, > > I received one incoming and put an fifo (in queue) and playing music continuously using the below code. (Caller A) > @con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'") > > In the another channel i am receiving the incoming call (Caller B) and i have bridged that call with the customer number (Caller C) using the below code. > @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") . > > Now Caller B and C are connected and i am transferring the Caller C to Caller A using the uuid_transfer and disconnecting the caller B > @con.sendRecv("api uuid_transfer #{@gcallin_uuid} -bleg callforce_fifo_#{@gsa_id} XML public") > > After executing the above code Caller A and Caller C is connected and Caller B is disconnected. Caller A and Call C both can speak each other. > But i need to play the message message to both Caller A and Caller C also i have the uuid of Caller A and Caller B. > > In order to play the message to the both the caller i tried using the uuid_broadcast and uuid_displace but the message is not played to any one of the caller. > > Also i could not found any error in the free switch log file. Help me to solve this issue. > > > Tried using the Caller A UUID: > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_A_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working > @con.execute("uuid_displace", "#{Caller_A_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working > > Tried using the Caller B UUID: > @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working > @con.execute("uuid_broadcast", "#{Caller_C_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working > @con.execute("uuid_displace", "#{Caller_C_UUID} start /opt/freeswitch/sounds/wel_lf1.wav") - Not Working > > I need urgent help from any one to fix this issue. How to identify where is the problem? > > Thanks in advance > > Thanks and Regards, > Sathishbabu From vetali100 at gmail.com Fri May 21 07:57:31 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Fri, 21 May 2010 17:57:31 +0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" Message-ID: Hi group, I would like to create and contribute to the community a module: "mod_cdr_logic" (or whatever name will be proposed). Do you think ***from your experience*** that there is a practical need in such module, or better to concentrate on something else :-) ? In high level: Module will export CDRs directly into the database with failover, applying business rules (with regular expressions) to the values exported More detailed: After the call is finished, module will export selected chanel variables directly into any provided table (odbc used). It will apply business rules to the selected values (based on regular expressions, condition-action dialplan style). Module will produce one CDR per leg (outgoing/incoming, configurable). Also it will support fail over: if the main database is not available, it will try to export into a backup database, and if that will be down as well, it will dump into a local CSV file. In the config file one will provide: 1.Mapping rule - variable name to the corresponding table field name 2.Set of business rules to apply Config file example (will be in regular xml eventually): -------------------------------------------------------------------- #these are the values that are taken directly from channel variables #channel variable-->mapped to the table field calling_number->calling_number destination_number->called_number dialed_dtmf_digits->dialed_digits #these are the new values that will be determined at the business rules stage sales_department_call->sales_department_call technical_department_call->technical_department_call one_more_lost_client->one_more_lost_client one_more_happy_client->one_more_happy_client -------------------------------------------------------------------- Would be glad to hear your opinion regarding usefulness or useless of such module in the contrib dir. Thank you, Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/b3cc8bfb/attachment.html From msc at freeswitch.org Fri May 21 15:27:51 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 21 May 2010 15:27:51 -0700 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: I can vouch for the fact that some folks keep showing up and asking for this kind of feature. We're not big fans of the straight-to-db paradigm, but others certainly are. I think the devs would be agreeable to have this in contrib for people to play with at their own risk. As long as the core devs & company don't have to answer questions about your buggy module ;) then it should be okay. Just be ready to offer support for your module because everyone who uses it will come asking for advice. -MC On Fri, May 21, 2010 at 7:57 AM, Vitalii Colosov wrote: > Hi group, > > I would like to create and contribute to the community a module: > "mod_cdr_logic" (or whatever name will be proposed). > Do you think ***from your experience*** that there is a practical need in > such module, or better to concentrate on something else :-) ? > > > In high level: > Module will export CDRs directly into the database with failover, applying > business rules (with regular expressions) to the values exported > > More detailed: > After the call is finished, module will export selected chanel variables > directly into any provided table (odbc used). > It will apply business rules to the selected values (based on regular > expressions, condition-action dialplan style). > Module will produce one CDR per leg (outgoing/incoming, configurable). > Also it will support fail over: if the main database is not available, it > will try to export into a backup database, and if that will be down as well, > it will dump into a local CSV file. > > > > In the config file one will provide: > 1.Mapping rule - variable name to the corresponding table field name > 2.Set of business rules to apply > Config file example (will be in regular xml eventually): > -------------------------------------------------------------------- > #these are the values that are taken directly from channel variables > > #channel variable-->mapped to the table field > calling_number->calling_number > destination_number->called_number > dialed_dtmf_digits->dialed_digits > > > > #these are the new values that will be determined at the business rules > stage > > sales_department_call->sales_department_call > technical_department_call->technical_department_call > one_more_lost_client->one_more_lost_client > one_more_happy_client->one_more_happy_client > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > Would be glad to hear your opinion regarding usefulness or useless of such > module in the contrib dir. > > > Thank you, > Vitalie > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/6d6c99fc/attachment-0001.html From jmesquita at freeswitch.org Fri May 21 19:21:06 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Fri, 21 May 2010 23:21:06 -0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: As I have been advised back in the days, if you happen to do this, copy the vars from the session thread and launch a new one, otherwise you are going to lock sessions no matter what. JM On Fri, May 21, 2010 at 7:27 PM, Michael Collins wrote: > I can vouch for the fact that some folks keep showing up and asking for > this kind of feature. We're not big fans of the straight-to-db paradigm, but > others certainly are. I think the devs would be agreeable to have this in > contrib for people to play with at their own risk. As long as the core devs > & company don't have to answer questions about your buggy module ;) then it > should be okay. Just be ready to offer support for your module because > everyone who uses it will come asking for advice. > > -MC > > On Fri, May 21, 2010 at 7:57 AM, Vitalii Colosov wrote: > >> Hi group, >> >> I would like to create and contribute to the community a module: >> "mod_cdr_logic" (or whatever name will be proposed). >> Do you think ***from your experience*** that there is a practical need in >> such module, or better to concentrate on something else :-) ? >> >> >> In high level: >> Module will export CDRs directly into the database with failover, applying >> business rules (with regular expressions) to the values exported >> >> More detailed: >> After the call is finished, module will export selected chanel variables >> directly into any provided table (odbc used). >> It will apply business rules to the selected values (based on regular >> expressions, condition-action dialplan style). >> Module will produce one CDR per leg (outgoing/incoming, configurable). >> Also it will support fail over: if the main database is not available, it >> will try to export into a backup database, and if that will be down as well, >> it will dump into a local CSV file. >> >> >> >> In the config file one will provide: >> 1.Mapping rule - variable name to the corresponding table field name >> 2.Set of business rules to apply >> Config file example (will be in regular xml eventually): >> -------------------------------------------------------------------- >> #these are the values that are taken directly from channel variables >> >> #channel variable-->mapped to the table field >> calling_number->calling_number >> destination_number->called_number >> dialed_dtmf_digits->dialed_digits >> >> >> >> #these are the new values that will be determined at the business rules >> stage >> >> sales_department_call->sales_department_call >> technical_department_call->technical_department_call >> one_more_lost_client->one_more_lost_client >> one_more_happy_client->one_more_happy_client >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------------------------------------------------------------------- >> >> >> Would be glad to hear your opinion regarding usefulness or useless of such >> module in the contrib dir. >> >> >> Thank you, >> Vitalie >> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/4b5d8bc0/attachment.html From jan.berger at video24.no Fri May 21 21:47:47 2010 From: jan.berger at video24.no (Jan Berger) Date: Sat, 22 May 2010 06:47:47 +0200 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: Hi, 1 - You will need to store CDR's temporary to a local file and have a daemon that read and archive these. Do it any other way and you will loose CDR records on regular basis if database or network hicks up. 2 - A CDR contains some standard variables like a unique call-id, start-time, duration, DDI, CLI etc. But, an iVR will typically want to add custom parameters that are specific for the business/application. 3. Some IVR applications require Audit logs, meaning you record action points in the application. In a phone-banking etc the CDR should show money transfers and other operations the user performed. This is often used in for auditing, but also for analysing/optimising the IVR. So in short - if you changed your module to be a stand-alone archive module that reads CDR files and convert it to some target archive format it could be useful. Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Vitalii Colosov Sent: 21. mai 2010 16:58 To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" Hi group, I would like to create and contribute to the community a module: "mod_cdr_logic" (or whatever name will be proposed). Do you think ***from your experience*** that there is a practical need in such module, or better to concentrate on something else :-) ? In high level: Module will export CDRs directly into the database with failover, applying business rules (with regular expressions) to the values exported More detailed: After the call is finished, module will export selected chanel variables directly into any provided table (odbc used). It will apply business rules to the selected values (based on regular expressions, condition-action dialplan style). Module will produce one CDR per leg (outgoing/incoming, configurable). Also it will support fail over: if the main database is not available, it will try to export into a backup database, and if that will be down as well, it will dump into a local CSV file. In the config file one will provide: 1.Mapping rule - variable name to the corresponding table field name 2.Set of business rules to apply Config file example (will be in regular xml eventually): -------------------------------------------------------------------- #these are the values that are taken directly from channel variables #channel variable-->mapped to the table field calling_number->calling_number destination_number->called_number dialed_dtmf_digits->dialed_digits #these are the new values that will be determined at the business rules stage sales_department_call->sales_department_call technical_department_call->technical_department_call one_more_lost_client->one_more_lost_client one_more_happy_client->one_more_happy_client -------------------------------------------------------------------- Would be glad to hear your opinion regarding usefulness or useless of such module in the contrib dir. Thank you, Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100522/71839ebc/attachment-0001.html From vetali100 at gmail.com Sat May 22 09:35:13 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Sat, 22 May 2010 19:35:13 +0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: Hi Jan, Thanks for your inputs. Basically what you described here makes me plan to create completely different thing that I was planning initially. It should be "mod_cdr_mediation" - it must read the CDRs prepared by mod_cdr_csv, apply business rules, insert into the database and move successfully processed CDRs into archive directory. If to go in this direction, I would also give the possibility to invoke a Lua/JS script before exporting CDRs, so user will create complex business logic to apply on the CDR values. It will give a lot of flexibility, for example user can decide whether to skip some CDRs from inserting into the database, can enhance the values, etc... Lua/FS script will receive selected CDR fields from the session variables, and enhanced / new values will be sent back to the mod_cdr_mediation for exporting. Do you think this idea reflects what you described? Thank you, Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100522/2a126bec/attachment.html From jan.berger at video24.no Sat May 22 13:53:15 2010 From: jan.berger at video24.no (Jan Berger) Date: Sat, 22 May 2010 22:53:15 +0200 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: <190B5793A3794EEFAB15B5C5260D7354@dell9400> Firstly I would find out what's already here because FS do have some CDR support. A generic CDR daemon could be useful, though you should take into consideration that a distributed telecom system might need to write parts of a CDR on different computers. _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Vitalii Colosov Sent: 22. mai 2010 18:35 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" Hi Jan, Thanks for your inputs. Basically what you described here makes me plan to create completely different thing that I was planning initially. It should be "mod_cdr_mediation" - it must read the CDRs prepared by mod_cdr_csv, apply business rules, insert into the database and move successfully processed CDRs into archive directory. If to go in this direction, I would also give the possibility to invoke a Lua/JS script before exporting CDRs, so user will create complex business logic to apply on the CDR values. It will give a lot of flexibility, for example user can decide whether to skip some CDRs from inserting into the database, can enhance the values, etc... Lua/FS script will receive selected CDR fields from the session variables, and enhanced / new values will be sent back to the mod_cdr_mediation for exporting. Do you think this idea reflects what you described? Thank you, Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100522/322c1273/attachment.html From vetali100 at gmail.com Sat May 22 14:04:21 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Sun, 23 May 2010 00:04:21 +0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: <190B5793A3794EEFAB15B5C5260D7354@dell9400> References: <190B5793A3794EEFAB15B5C5260D7354@dell9400> Message-ID: Well, big telcos will anyway use big mediation systems (whether they really need them or not :-) ), but for most other implementations one consolidated table for CDRs might be enough for all practical purposes. 2010/5/22 Jan Berger > Firstly I would find out what?s already here because FS do have some CDR > support. > > > > A generic CDR daemon could be useful, though you should take into > consideration that a distributed telecom system might need to write parts of > a CDR on different computers. > > > ------------------------------ > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Vitalii > Colosov > *Sent:* 22. mai 2010 18:35 > > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Would like to create and contribute a > module "mod_cdr_logic" > > > > Hi Jan, > > > > Thanks for your inputs. > > > > Basically what you described here makes me plan to create completely > different thing that I was planning initially. > > > > It should be "mod_cdr_mediation" - it must read the CDRs prepared by > mod_cdr_csv, apply business rules, insert into the database and move > successfully processed CDRs into archive directory. > > > > If to go in this direction, I would also give the possibility to invoke a > Lua/JS script before exporting CDRs, so user will create complex business > logic to apply on the CDR values. > > > > It will give a lot of flexibility, for example user can decide whether to > skip some CDRs from inserting into the database, can enhance the values, > etc... > > > > Lua/FS script will receive selected CDR fields from the session variables, > and enhanced / new values will be sent back to the mod_cdr_mediation for > exporting. > > > > Do you think this idea reflects what you described? > > > > Thank you, > > Vitalie > > > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100523/ba5272cd/attachment.html From msc at freeswitch.org Sat May 22 19:39:50 2010 From: msc at freeswitch.org (Michael Collins) Date: Sat, 22 May 2010 19:39:50 -0700 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: <190B5793A3794EEFAB15B5C5260D7354@dell9400> Message-ID: On Sat, May 22, 2010 at 2:04 PM, Vitalii Colosov wrote: > Well, big telcos will anyway use big mediation systems (whether they really > need them or not :-) ), but for most other implementations one consolidated > table for CDRs might be enough for all practical purposes. > > You also need to decide if you really want to limit yourself to CSV's. The mod_xml_cdr module is extremely powerful and maybe lend itself to the whole "CDR daemon" concept. You could have your daemon listen for POSTs from xml_cdr or you could just have it scoop up the .xml files from freeswitch/log/xml-cdr/ and process them. (Either way would work but if you have it use the HTTP POST method you could more easily build a distributed model.) I'm partial to mod_xm_cdr because it gives a very complete picture of what happened on the call. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100522/d8e413bf/attachment-0001.html From jmesquita at freeswitch.org Sat May 22 20:56:45 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Sun, 23 May 2010 00:56:45 -0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: <190B5793A3794EEFAB15B5C5260D7354@dell9400> Message-ID: I am really in favor of separating things here. The switch's job is to reliably generate CDRs and not to deal with the business logic. FreeSWITCH does the first part for you, the second part really is up to you or some other software like the ones discussed here. Mixing these 2 roles into the core could lead to several problems in which I have already ran into in the past. FreeSWITCH even takes one step further which is posting the files to you on a web server if you want, so.... JM On Sat, May 22, 2010 at 11:39 PM, Michael Collins wrote: > > > On Sat, May 22, 2010 at 2:04 PM, Vitalii Colosov wrote: > >> Well, big telcos will anyway use big mediation systems (whether they >> really need them or not :-) ), but for most other implementations one >> consolidated table for CDRs might be enough for all practical purposes. >> >> You also need to decide if you really want to limit yourself to CSV's. The > mod_xml_cdr module is extremely powerful and maybe lend itself to the whole > "CDR daemon" concept. You could have your daemon listen for POSTs from > xml_cdr or you could just have it scoop up the .xml files from > freeswitch/log/xml-cdr/ and process them. (Either way would work but if you > have it use the HTTP POST method you could more easily build a distributed > model.) > > I'm partial to mod_xm_cdr because it gives a very complete picture of what > happened on the call. > -MC > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100523/dd0d988a/attachment.html From khovayko at gmail.com Sun May 23 10:01:49 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Sun, 23 May 2010 13:01:49 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> Message-ID: <4BF95F7D.1030003@gmail.com> Brian West wrote: > > > I really find that one hard to believe. > Hard to believe, but this is true: I have made PURE experiment. My friend has registered SIP-phone behind NAT in Ukraine. His registration: Call-ID: 4a978b30 at 192.168.10.103 User: 1012 at 192.168.1.5 Contact: "user" Agent: AcctonVoIP/2.5 Status: Registered(UDP)(unknown) EXP(2010-05-23 14:27:20) Host: olegh.ath.cx IP: 91.207.244.1 Port: 1024 Auth-User: 1012 Auth-Realm: olegh.ath.cx MWI-Account: 1012 at 192.168.1.5 I tried call 1001 -> 1012, fs_cli prints: 2010-05-23 12:37:01.593320 [NOTICE] switch_channel.c:669 New Channel sofia/internal/sip:1012 at 192.168.1.136:1024 [2b79d969-8966-df11-ac63-005004c3cb7e] I sniffed network traffic, FS tries connect to his LAN address from "Contact", not his real address: olegh# tcpdump host'(192.168.1.136 or 91.207.244.1)' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes 12:40:55.044208 arp who-has 192.168.1.136 tell deskpro.khovayko.com 12:40:55.544711 arp who-has 192.168.1.136 tell deskpro.khovayko.com 12:40:56.545145 arp who-has 192.168.1.136 tell deskpro.khovayko.com 12:40:58.546827 arp who-has 192.168.1.136 tell deskpro.khovayko.com > sofia profile xxx siptrace on > > I will be you its NOT ignoring the fs_path you just can't see the > packet leaving and since its TCP the far side nat I suspect has closed > the nat translation thus you'll need to register more often or enable > keep alives on the device. > > /b > I tried to do this -- results as same as with tcpdump. My local phone has number 1001, IP=192.168.1.130, try to call 1012 (behind NAT, see registration above): freeswitch at internal> freeswitch at internal> freeswitch at internal> recv 950 bytes from udp/[192.168.1.130]:5060 at 16:55:30.811681: ------------------------------------------------------------------------ INVITE sip:1012 at 192.168.1.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bKe2ba0d5f00302 From: 1001 Cabinet;tag=4df567c4 To: 1012 Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166667 INVITE Max-Forwards: 70 Contact: 1001 Cabinet P-Preferred-Identity: 1001 Cabinet User-Agent: AcctonVoIP/2.5 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, SUBSCRIBE, REFER, NOTIFY, PRACK, UPDATE, MESSAGE, SERVICE, INFO, PING Allow-Events: refer Supported: 100rel, replaces Content-Length: 322 Content-Type: application/sdp v=0 o=- 608413784 756898537 IN IP4 192.168.1.130 s=Voice call e=you at yourcompany.com c=IN IP4 192.168.1.130 t=0 0 a=sendrecv m=audio 5000 RTP/AVP 0 8 18 100 a=ptime:20 a=maxptime:30 a=sendrecv a=rtpmap:0 pcmu/8000 a=rtpmap:8 pcma/8000 a=rtpmap:18 g729/8000 a=rtpmap:100 telephone-event/8000 a=fmtp:100 0-15 ------------------------------------------------------------------------ send 307 bytes to udp/[192.168.1.130]:5060 at 16:55:30.815843: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bKe2ba0d5f00302 From: 1001 Cabinet;tag=4df567c4 To: 1012 Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166667 INVITE User-Agent: FreeSWITCH-mod_sofia/1.0.6-svn-exported Content-Length: 0 ------------------------------------------------------------------------ send 788 bytes to udp/[192.168.1.130]:5060 at 16:55:30.842061: ------------------------------------------------------------------------ SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bKe2ba0d5f00302 From: 1001 Cabinet;tag=4df567c4 To: 1012 ;tag=Za0U6NHjK7H6S Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166667 INVITE User-Agent: FreeSWITCH-mod_sofia/1.0.6-svn-exported Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Allow-Events: talk, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Proxy-Authenticate: Digest realm="192.168.1.5", nonce="4f2df2fe-8b66-df11-ac63-005004c3cb7e", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 329 bytes from udp/[192.168.1.130]:5060 at 16:55:30.907144: ------------------------------------------------------------------------ ACK sip:1012 at 192.168.1.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bKe2ba0d5f00302 From: 1001 Cabinet;tag=4df567c4 To: 1012;tag=Za0U6NHjK7H6S Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166667 ACK Max-Forwards: 70 User-Agent: AcctonVoIP/2.5 Content-Length: 0 ------------------------------------------------------------------------ recv 1177 bytes from udp/[192.168.1.130]:5060 at 16:55:30.913127: ------------------------------------------------------------------------ INVITE sip:1012 at 192.168.1.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK69429b9100303 From: 1001 Cabinet;tag=4df567c4 To: 1012 Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166668 INVITE Max-Forwards: 70 Contact: 1001 Cabinet P-Preferred-Identity: 1001 Cabinet User-Agent: AcctonVoIP/2.5 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, SUBSCRIBE, REFER, NOTIFY, PRACK, UPDATE, MESSAGE, SERVICE, INFO, PING Allow-Events: refer Supported: 100rel, replaces Proxy-Authorization: Digest username="1001", realm="192.168.1.5", uri="sip:1012 at 192.168.1.5", nonce="4f2df2fe-8b66-df11-ac63-005004c3cb7e", qop=auth, cnonce="2f9b946d", nc=00000001, response="32cf7ea1d398bce1e1c8f53380a6bcea" Content-Length: 322 Content-Type: application/sdp v=0 o=- 608413784 756898537 IN IP4 192.168.1.130 s=Voice call e=you at yourcompany.com c=IN IP4 192.168.1.130 t=0 0 a=sendrecv m=audio 5000 RTP/AVP 0 8 18 100 a=ptime:20 a=maxptime:30 a=sendrecv a=rtpmap:0 pcmu/8000 a=rtpmap:8 pcma/8000 a=rtpmap:18 g729/8000 a=rtpmap:100 telephone-event/8000 a=fmtp:100 0-15 ------------------------------------------------------------------------ send 307 bytes to udp/[192.168.1.130]:5060 at 16:55:30.919399: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK69429b9100303 From: 1001 Cabinet;tag=4df567c4 To: 1012 Call-ID: 78fdee2b-17 at 192.168.1.130 CSeq: 1380166668 INVITE User-Agent: FreeSWITCH-mod_sofia/1.0.6-svn-exported Content-Length: 0 ------------------------------------------------------------------------ send 1302 bytes to udp/[192.168.1.136]:1024 at 16:55:31.703579: ------------------------------------------------------------------------ INVITE sip:1012 at 192.168.1.136:1024 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.5;rport;branch=z9hG4bK2ajD0jFj617vN Max-Forwards: 69 From: "Extension 1001" ;tag=1vjDacKSDSyBH To: Call-ID: d6d76003-e12e-122d-728c-2fb53066047d CSeq: 131198529 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.0.6-svn-exported Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Allow-Events: talk, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Privacy: none Content-Type: application/sdp Content-Disposition: session Content-Length: 425 X-FS-Support: update_display P-Asserted-Identity: "Extension 1001" v=0 o=FreeSWITCH 1274609641 1274609642 IN IP4 192.168.1.5 s=FreeSWITCH c=IN IP4 192.168.1.5 t=0 0 m=audio 24090 RTP/AVP 0 115 107 9 8 3 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:115 G7221/32000 a=fmtp:115 bitrate=48000 a=rtpmap:107 G7221/16000 a=fmtp:107 bitrate=32000 a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100523/004e55f1/attachment-0001.html From mike at jerris.com Sun May 23 12:42:55 2010 From: mike at jerris.com (Michael Jerris) Date: Sun, 23 May 2010 15:42:55 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BF95F7D.1030003@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> Message-ID: <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> It's not ignoring the fs_path, it doesn't have one. Check your nat related settings in your sip profile, specifically your ext-sip-ip, nat-acl and localnet-acl settings. You would see the fspath in the contact and nat in the status if this was set correctly. Mike On May 23, 2010, at 1:01 PM, Oleg Khovayko wrote: > Brian West wrote: >> >> >> >> I really find that one hard to believe. >> > Hard to believe, but this is true: > > > I have made PURE experiment. > My friend has registered SIP-phone behind NAT in Ukraine. > His registration: > > Call-ID: 4a978b30 at 192.168.10.103 > User: 1012 at 192.168.1.5 > Contact: "user" > Agent: AcctonVoIP/2.5 > Status: Registered(UDP)(unknown) EXP(2010-05-23 14:27:20) > Host: olegh.ath.cx > IP: 91.207.244.1 > Port: 1024 > Auth-User: 1012 > Auth-Realm: olegh.ath.cx > MWI-Account: 1012 at 192.168.1.5 > > > I tried call 1001 -> 1012, fs_cli prints: > > > 2010-05-23 12:37:01.593320 [NOTICE] switch_channel.c:669 New Channel sofia/internal/sip:1012 at 192.168.1.136:1024 [2b79d969-8966-df11-ac63-005004c3cb7e] > > I sniffed network traffic, FS tries connect to his LAN address from "Contact", not his real address: > > olegh# tcpdump host'(192.168.1.136 or 91.207.244.1)' > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes > 12:40:55.044208 arp who-has 192.168.1.136 tell deskpro.khovayko.com > 12:40:55.544711 arp who-has 192.168.1.136 tell deskpro.khovayko.com > 12:40:56.545145 arp who-has 192.168.1.136 tell deskpro.khovayko.com > 12:40:58.546827 arp who-has 192.168.1.136 tell deskpro.khovayko.com > > >> sofia profile xxx siptrace on >> >> I will be you its NOT ignoring the fs_path you just can't see the packet leaving and since its TCP the far side nat I suspect has closed the nat translation thus you'll need to register more often or enable keep alives on the device. >> >> /b >> > > I tried to do this -- results as same as with tcpdump. > My local phone has number 1001, IP=192.168.1.130, try to call 1012 (behind NAT, see registration above): > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100523/4dfdb1b0/attachment.html From khovayko at gmail.com Sun May 23 16:07:16 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Sun, 23 May 2010 19:07:16 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> Message-ID: <4BF9B524.6070303@gmail.com> Michael Jerris wrote: > It's not ignoring the fs_path, it doesn't have one. Check your nat > related settings in your sip profile, specifically your ext-sip-ip, > nat-acl and localnet-acl settings. You would see the fspath in the > contact and nat in the status if this was set correctly. Everything exactly as same as in default configuration, everywhere is auto-nat: [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep ext-sip-ip internal.xml [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep t-acl internal.xml and you see, no localnet-acl settings in there. //////////////////////////////////////////////////////////////////////////////// There is output of "sofia status profile internal", external Ext-RTP-IP/Ext-SIP-IP both correct: Name internal Domain Name N/A Auto-NAT true DBName sofia_reg_internal Pres Hosts Dialplan XML Context public Challenge Realm auto_from RTP-IP 192.168.1.5 Ext-RTP-IP 173.73.120.93 SIP-IP 192.168.1.5 Ext-SIP-IP 173.73.120.93 URL sip:mod_sofia at 192.168.1.5:5060 BIND-URL sip:mod_sofia at 192.168.1.5:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM CODECS OUT G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 168 FAILED-CALLS-IN 32 CALLS-OUT 98 FAILED-CALLS-OUT 59 ///////////////////////////////////////////////// freeswitch at internal> sofia status internal profile sip:mod_sofia at 192.168.1.5:5060 RUNNING (0) 192.168.1.5 alias internal ALIASED Really, with debug print, I see debug messages for Originarot's phone during call: 2010-05-23 18:55:57.399958 [DEBUG] sofia.c:5847 IP 192.168.1.130 Rejected by acl "domains". Falling back to Digest auth. 2010-05-23 18:55:57.501841 [DEBUG] sofia.c:5847 IP 192.168.1.130 Rejected by acl "domains". Falling back to Digest auth. But, it works OK no LAN, despite these messages. And, you right, after upgrade FS to 1.0.6, all fs_path-es gone. How to restore it? Thanks, Oleg > > Mike > > On May 23, 2010, at 1:01 PM, Oleg Khovayko wrote: > >> Brian West wrote: >>> >>> >>> I really find that one hard to believe. >>> >> Hard to believe, but this is true: >> >> >> I have made PURE experiment. >> My friend has registered SIP-phone behind NAT in Ukraine. >> His registration: >> >> Call-ID: 4a978b30 at 192.168.10.103 >> User: 1012 at 192.168.1.5 >> Contact: "user" >> Agent: AcctonVoIP/2.5 >> Status: Registered(UDP)(unknown) EXP(2010-05-23 14:27:20) >> Host: olegh.ath.cx >> IP: 91.207.244.1 >> Port: 1024 >> Auth-User: 1012 >> Auth-Realm: olegh.ath.cx >> MWI-Account: 1012 at 192.168.1.5 >> >> >> I tried call 1001 -> 1012, fs_cli prints: >> >> >> 2010-05-23 12:37:01.593320 [NOTICE] switch_channel.c:669 New Channel >> sofia/internal/sip:1012 at 192.168.1.136:1024 >> [2b79d969-8966-df11-ac63-005004c3cb7e] >> >> I sniffed network traffic, FS tries connect to his LAN address from >> "Contact", not his real address: >> >> olegh# tcpdump host'(192.168.1.136 or 91.207.244.1)' >> tcpdump: verbose output suppressed, use -v or -vv for full protocol >> decode >> listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes >> 12:40:55.044208 arp who-has 192.168.1.136 tell deskpro.khovayko.com >> >> 12:40:55.544711 arp who-has 192.168.1.136 tell deskpro.khovayko.com >> >> 12:40:56.545145 arp who-has 192.168.1.136 tell deskpro.khovayko.com >> >> 12:40:58.546827 arp who-has 192.168.1.136 tell deskpro.khovayko.com >> >> >> >>> sofia profile xxx siptrace on >>> >>> I will be you its NOT ignoring the fs_path you just can't see the >>> packet leaving and since its TCP the far side nat I suspect has >>> closed the nat translation thus you'll need to register more often >>> or enable keep alives on the device. >>> >>> /b >>> >> >> I tried to do this -- results as same as with tcpdump. >> My local phone has number 1001, IP=192.168.1.130, try to call 1012 >> (behind NAT, see registration above): >> > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100523/95a4cfdd/attachment.html From mike at jerris.com Sun May 23 18:12:38 2010 From: mike at jerris.com (Michael Jerris) Date: Sun, 23 May 2010 21:12:38 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BF9B524.6070303@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> Message-ID: <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> On May 23, 2010, at 7:07 PM, Oleg Khovayko wrote: > Michael Jerris wrote: >> >> It's not ignoring the fs_path, it doesn't have one. Check your nat related settings in your sip profile, specifically your ext-sip-ip, nat-acl and localnet-acl settings. You would see the fspath in the contact and nat in the status if this was set correctly. > Everything exactly as same as in default configuration, everywhere is auto-nat: > > [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep ext-sip-ip internal.xml > > > [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep t-acl internal.xml > > > and you see, no localnet-acl settings in there. So you removed the local-network-acl from the default config? Mike From khovayko at gmail.com Sun May 23 18:33:17 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Sun, 23 May 2010 21:33:17 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> Message-ID: <4BF9D75D.3080307@gmail.com> Michael Jerris wrote: > On May 23, 2010, at 7:07 PM, Oleg Khovayko wrote: > > >> Michael Jerris wrote: >> >>> It's not ignoring the fs_path, it doesn't have one. Check your nat related settings in your sip profile, specifically your ext-sip-ip, nat-acl and localnet-acl settings. You would see the fspath in the contact and nat in the status if this was set correctly. >>> >> Everything exactly as same as in default configuration, everywhere is auto-nat: >> >> [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep ext-sip-ip internal.xml >> >> >> [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep t-acl internal.xml >> >> >> and you see, no localnet-acl settings in there. >> > > So you removed the local-network-acl from the default config? > > Mike No, I did not removed. See value: [root at olegh /usr/local/freeswitch/conf/sip_profiles]# grep local-network-acl internal.xml [root at olegh /usr/local/freeswitch/conf/sip_profiles]# Just in the prev. message you asked about "localnet-acl", and I did not found exactly this tag in the config. Now, when you correctly wrote tag name, I have found it, and it has default value. From khovayko at gmail.com Mon May 24 12:20:13 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Mon, 24 May 2010 15:20:13 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> Message-ID: <4BFAD16D.1030004@gmail.com> Hi, Michael After some personal investigation, I've found param aggressive-nat-detection, and uncommented it in the profile internal: ./sip_profiles/internal.xml: After this step, I can see fs_path for remote sipdroid phone: Call-ID: 845794751536 at 14.18.161.240 User: 1019 at 192.168.1.5 Contact: "user" Agent: Sipdroid/1.4.6 beta/T-Mobile G1 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-24 17:13:49) Host: olegh.ath.cx IP: 208.54.45.78 Port: 16146 Auth-User: 1019 Auth-Realm: olegh.ath.cx MWI-Account: 1019 at 192.168.1.5 Call goes OK, phone works! Thank you for help, Oleg From brian at freeswitch.org Mon May 24 12:32:51 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 24 May 2010 14:32:51 -0500 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BFAD16D.1030004@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> Message-ID: <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> You shouldn't have to turn on aggressive nat detection. in the end your busted sipdroid should learn to overcome nat on its own. /b On May 24, 2010, at 2:20 PM, Oleg Khovayko wrote: > Hi, Michael > > After some personal investigation, I've found param > aggressive-nat-detection, and uncommented it in the profile internal: > > ./sip_profiles/internal.xml: value="true"/> > > After this step, I can see fs_path for remote sipdroid phone: > > Call-ID: 845794751536 at 14.18.161.240 > User: 1019 at 192.168.1.5 > Contact: "user" > > Agent: Sipdroid/1.4.6 beta/T-Mobile G1 > Status: Registered(UDP-NAT)(unknown) EXP(2010-05-24 17:13:49) > Host: olegh.ath.cx > IP: 208.54.45.78 > Port: 16146 > Auth-User: 1019 > Auth-Realm: olegh.ath.cx > MWI-Account: 1019 at 192.168.1.5 > > > Call goes OK, phone works! > Thank you for help, > > Oleg > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From trixter at 0xdecafbad.com Mon May 24 12:55:52 2010 From: trixter at 0xdecafbad.com (Trixter aka Bret McDanel) Date: Mon, 24 May 2010 12:55:52 -0700 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> Message-ID: <5562CEA4-BFA0-4833-9911-A056C55CD7C6@0xdecafbad.com> On May 24, 2010, at 12:32 PM, Brian West wrote: > in the end your busted sipdroid should learn to overcome nat on its own. > Ideally yes, everything will be proper in what it sends, however there is: The Robustness Principle: "Be liberal in what you accept, and conservative in what you send" is particularly important in the Internet layer, where one misbehaving host can deny Internet service to many other hosts. (from RFC1122 and this principle originated in RFC790 and is a Jon Postel founding principle). It is easy to just say that the other end should be fixed, there are enough software titles that do that already and end up not working well. I bring this up because I am chasing down the exposure of a bug in other VoIP software that used to not be present in a them->FS exchange but tightening of the FS code on what it accepts exposed the bug. So when it starts to get discussed that the other side should fix itself, I feel it important to bring this internet founding principle up. -- Trixter aka Bret McDanel http://www.0xdecafbad.com From nazim.aghabayov at gmail.com Mon May 24 13:01:56 2010 From: nazim.aghabayov at gmail.com (Nazim Aghabayov) Date: Tue, 25 May 2010 01:01:56 +0500 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: References: Message-ID: <4BFADB34.6030505@gmail.com> Hello Vitalie I've made a thingy which can implement complex business logic. It's a FastCGI daemon that works together with mod_xml_cdr to process CDR records. Right now xmlcdrd can store CDR fields into MySQL tables and/or run custom Lua scripts against fields retrieved with XPATH expressions from CDR body. Functionality of xmlcdrd could be extended by writing plugins for other databases or different script languages. Despite I'm running it in production, it needs some polish. Please have a look at: http://wiki.freeswitch.org/wiki/Xmlcdrd for full description. Sorry, my English is terrible, much worse than my Russian ) If you are interested, we could cooperate. Best Regards, Nazim On 05/22/2010 09:35 PM, Vitalii Colosov wrote: > Hi Jan, > > Thanks for your inputs. > > Basically what you described here makes me plan to create completely > different thing that I was planning initially. > > It should be "mod_cdr_mediation" - it must read the CDRs prepared by > mod_cdr_csv, apply business rules, insert into the database and move > successfully processed CDRs into archive directory. > > If to go in this direction, I would also give the possibility to > invoke a Lua/JS script before exporting CDRs, so user will create > complex business logic to apply on the CDR values. > > It will give a lot of flexibility, for example user can decide whether > to skip some CDRs from inserting into the database, can enhance the > values, etc... > > Lua/FS script will receive selected CDR fields from the session > variables, and enhanced / new values will be sent back to the > mod_cdr_mediation for exporting. > > Do you think this idea reflects what you described? > > Thank you, > Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100525/b90dce51/attachment.html From dswardstrom at remotelink.com Fri May 21 08:58:37 2010 From: dswardstrom at remotelink.com (David Swardstrom) Date: Fri, 21 May 2010 10:58:37 -0500 (CDT) Subject: [Freeswitch-dev] Implement Javascript setGlobalVariable() optional third parameter In-Reply-To: <1606769824.35.1274457101619.JavaMail.root@srvr12.remotelinkml.com> Message-ID: <764826796.41.1274457517056.JavaMail.root@srvr12.remotelinkml.com> I am developing FreeSwitch Javascript capability to emulate some functionality that is currently provided by a Dialogic based proprietary system running on Microsoft Windows, originally using ISDN interfaces and then ported to Sip based VoIP capability. This system uses external post-processing code that processes "event" type data for billing and other purposes and I need to provide equivalent event data. As part of this effort, I need a counter that is guarantied unique when there is a possibility that multiple calls may access the counter. The proprietary code, this unique counter is provided by using InterlockedIncrement(). Looking at the available JavaScript code, it appears that using getGlobalVariable() and setGlobalVariable() as described in the SetGlobalVar Wiki page would allow me to do this as long as I was willing to allow holes in the count. However, I decided to look at the code to see exactly what was being done to implement this. I found was that there was no code at all to implement the 3rd optional parameter. I would like to implement this capability but extend the capability to truly provide a unique counter. To accomplish this, support must be provided by the switch core. I would like to provide a new routine into switch_core.c: /*! \brief Conditionally add a global variable to the core \param varname the name of the variable \param value the value of the variable \param val2 the value of the variable to verify against \ If the global did not exist and val2=="", add global with value, return true \ If the global exists with the value of val2, replace it, return true \ If the global exists with a value other than val2, return false */ SWITCH_DECLARE(switch_bool_t) switch_core_set_var_conditional(_In_z_ const char *varname, _In_opt_z_ const char *value, _In_opt_z_ const char *val2); Then the code in mod_spidermonkey.c can be modified to use this new switch core capability. Note: I have implemented this in my local version and have tested it. From khovayko at gmail.com Mon May 24 13:24:59 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Mon, 24 May 2010 16:24:59 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> Message-ID: <4BFAE09B.2090602@gmail.com> Brian West wrote: > You shouldn't have to turn on aggressive nat detection. in the end your busted sipdroid should learn to overcome nat on its own. > > Maybe.. but, when I turn ON, I see fs_path-es for outer clients. If it is OFF, I never see fs_pathes. Can you suggest, how to enforce "fs_path-es without aggressive-nat-detection"? Also, I see another problem: My friend in the Ukraine, uses phone behind NAT, too (situation like to Sipdroid - he also behind NAT). There is his registration record: Call-ID: c4e76211 at 192.168.10.103 User: 1012 at 192.168.1.5 Contact: "user" Agent: AcctonVoIP/2.5 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-24 17:49:15) Host: olegh.ath.cx IP: 91.207.244.1 Port: 1024 Auth-User: 1012 Auth-Realm: olegh.ath.cx MWI-Account: 1012 at 192.168.1.5 When he calls me, everything is OK, we can talk each to other. But, when I call him (from LAN), he receives RING signal, pick up handset -- and we both heard nothing. Can you suggest, where to search? > /b > > On May 24, 2010, at 2:20 PM, Oleg Khovayko wrote: > > >> Hi, Michael >> >> After some personal investigation, I've found param >> aggressive-nat-detection, and uncommented it in the profile internal: >> >> ./sip_profiles/internal.xml:> value="true"/> >> >> After this step, I can see fs_path for remote sipdroid phone: >> >> Call-ID: 845794751536 at 14.18.161.240 >> User: 1019 at 192.168.1.5 >> Contact: "user" >> >> Agent: Sipdroid/1.4.6 beta/T-Mobile G1 >> Status: Registered(UDP-NAT)(unknown) EXP(2010-05-24 17:13:49) >> Host: olegh.ath.cx >> IP: 208.54.45.78 >> Port: 16146 >> Auth-User: 1019 >> Auth-Realm: olegh.ath.cx >> MWI-Account: 1019 at 192.168.1.5 >> >> >> Call goes OK, phone works! >> Thank you for help, >> >> Oleg >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From brian at freeswitch.org Mon May 24 13:44:28 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 24 May 2010 15:44:28 -0500 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <5562CEA4-BFA0-4833-9911-A056C55CD7C6@0xdecafbad.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> <5562CEA4-BFA0-4833-9911-A056C55CD7C6@0xdecafbad.com> Message-ID: <5A3B0568-3B3A-47B9-9D38-B26A2B514098@freeswitch.org> It still doesn't negate the fact that agressive-nat shouldn't be used it breaks may may things. If it wasn't being detected properly then the local-network-acl or the inbound-nat-acl was wrong. /b On May 24, 2010, at 2:55 PM, Trixter aka Bret McDanel wrote: > It is easy to just say that the other end should be fixed, there are enough software titles that do that already and end up not working well. I bring this up because I am chasing down the exposure of a bug in other VoIP software that used to not be present in a them->FS exchange but tightening of the FS code on what it accepts exposed the bug. So when it starts to get discussed that the other side should fix itself, I feel it important to bring this internet founding principle up. From anthony.minessale at gmail.com Mon May 24 13:44:34 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 24 May 2010 15:44:34 -0500 Subject: [Freeswitch-dev] Implement Javascript setGlobalVariable() optional third parameter In-Reply-To: <764826796.41.1274457517056.JavaMail.root@srvr12.remotelinkml.com> References: <1606769824.35.1274457101619.JavaMail.root@srvr12.remotelinkml.com> <764826796.41.1274457517056.JavaMail.root@srvr12.remotelinkml.com> Message-ID: this is typically done by opening a new feature issue under FSCORE at http://jira.freeswitch.org with a diff generated from an up-to-date git checkout. On Fri, May 21, 2010 at 10:58 AM, David Swardstrom < dswardstrom at remotelink.com> wrote: > I am developing FreeSwitch Javascript capability to emulate some > functionality that is currently provided by a Dialogic based proprietary > system running on Microsoft Windows, originally using ISDN interfaces and > then ported to Sip based VoIP capability. > This system uses external post-processing code that processes "event" type > data for billing and other purposes and I need to provide equivalent event > data. > As part of this effort, I need a counter that is guarantied unique when > there is a possibility that multiple calls may access the counter. The > proprietary code, this unique counter is provided by using > InterlockedIncrement(). > > Looking at the available JavaScript code, it appears that using > getGlobalVariable() and setGlobalVariable() as described in the SetGlobalVar > Wiki page would allow me to do this as long as I was willing to allow holes > in the count. > > However, I decided to look at the code to see exactly what was being done > to implement this. I found was that there was no code at all to implement > the 3rd optional parameter. > > I would like to implement this capability but extend the capability to > truly provide a unique counter. To accomplish this, support must be provided > by the switch core. > > I would like to provide a new routine into switch_core.c: > > /*! > \brief Conditionally add a global variable to the core > \param varname the name of the variable > \param value the value of the variable > \param val2 the value of the variable to verify against > \ If the global did not exist and val2=="", add global with value, > return true > \ If the global exists with the value of val2, replace it, return true > \ If the global exists with a value other than val2, return false > */ > SWITCH_DECLARE(switch_bool_t) switch_core_set_var_conditional(_In_z_ const > char *varname, _In_opt_z_ const char *value, _In_opt_z_ const char *val2); > > Then the code in mod_spidermonkey.c can be modified to use this new switch > core capability. > > Note: I have implemented this in my local version and have tested it. > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100524/e37732d6/attachment-0001.html From brian at freeswitch.org Mon May 24 13:47:27 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 24 May 2010 15:47:27 -0500 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BFAE09B.2090602@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> <4BFAE09B.2090602@gmail.com> Message-ID: <9F370DAF-5C46-45A9-85E8-802277A81BCB@freeswitch.org> Well I think you might have to compose your ACL's by hand and not use any of the auto ones.. Aggressive nat will break 302 processing along with transfers. Can you paste your profile into the email you have now and email it to the list please. /b On May 24, 2010, at 3:24 PM, Oleg Khovayko wrote: > Maybe.. but, when I turn ON, I see fs_path-es for outer clients. If it is OFF, I never see fs_pathes. > Can you suggest, how to enforce "fs_path-es without aggressive-nat-detection"? > > Also, I see another problem: > My friend in the Ukraine, uses phone behind NAT, too (situation like to Sipdroid - he also behind NAT). > > There is his registration record: > > Call-ID: c4e76211 at 192.168.10.103 > User: 1012 at 192.168.1.5 > Contact: "user" > Agent: AcctonVoIP/2.5 > Status: Registered(UDP-NAT)(unknown) EXP(2010-05-24 17:49:15) > Host: olegh.ath.cx > IP: 91.207.244.1 > Port: 1024 > Auth-User: 1012 > Auth-Realm: olegh.ath.cx > MWI-Account: 1012 at 192.168.1.5 > > > When he calls me, everything is OK, we can talk each to other. > But, when I call him (from LAN), he receives RING signal, pick up handset -- and we both heard nothing. > > Can you suggest, where to search? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100524/d48b4bd9/attachment.html From jan.berger at video24.no Tue May 25 13:16:28 2010 From: jan.berger at video24.no (Jan Berger) Date: Tue, 25 May 2010 22:16:28 +0200 Subject: [Freeswitch-dev] FreeSWITCH Architecture Message-ID: hi, I would like to address some changes to FreeSWITCH, but the challenge I face is that I am not sure where and how I should do this. The objective with this phase is to throw some ideas around and get feedback before I consolidate the architecture and move on coding. In an ordinary project it would be a few engineers that made a draft, made a presentation and evolved the draft through the discussions that followed until a majority accepted the draft. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100525/8be2330a/attachment.html From moises.silva at gmail.com Tue May 25 13:24:00 2010 From: moises.silva at gmail.com (Moises Silva) Date: Tue, 25 May 2010 16:24:00 -0400 Subject: [Freeswitch-dev] FreeSWITCH Architecture In-Reply-To: References: Message-ID: I guess you can start by explaining in this list what is what you're trying to do and then you will get the feedback needed, then repeat until a point is reached where coding can start ( when the project leaders give you the ok). Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Tue, May 25, 2010 at 4:16 PM, Jan Berger wrote: > hi, > > > > I would like to address some changes to FreeSWITCH, but the challenge I > face is that I am not sure where and how I should do this. The objective > with this phase is to throw some ideas around and get feedback before I > consolidate the architecture and move on coding. > > > > In an ordinary project it would be a few engineers that made a draft, made > a presentation and evolved the draft through the discussions that followed > until a majority accepted the draft. > > > > Jan > > > > > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100525/a9548033/attachment.html From anthony.minessale at gmail.com Tue May 25 13:46:29 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 25 May 2010 15:46:29 -0500 Subject: [Freeswitch-dev] FreeSWITCH Architecture In-Reply-To: References: Message-ID: You could talk to us tomorrow at the weekly conference call as well. Maybe if you make your proposal by then we can discuss it. On Tue, May 25, 2010 at 3:24 PM, Moises Silva wrote: > I guess you can start by explaining in this list what is what you're trying > to do and then you will get the feedback needed, then repeat until a point > is reached where coding can start ( when the project leaders give you the > ok). > > Moises Silva > Senior Software Engineer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R > 9T3 Canada > t. 1 905 474 1990 x 128 | e. moy at sangoma.com > > > On Tue, May 25, 2010 at 4:16 PM, Jan Berger wrote: > >> hi, >> >> >> >> I would like to address some changes to FreeSWITCH, but the challenge I >> face is that I am not sure where and how I should do this. The objective >> with this phase is to throw some ideas around and get feedback before I >> consolidate the architecture and move on coding. >> >> >> >> In an ordinary project it would be a few engineers that made a draft, made >> a presentation and evolved the draft through the discussions that followed >> until a majority accepted the draft. >> >> >> >> Jan >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100525/491a5f06/attachment-0001.html From jan.berger at video24.no Tue May 25 15:14:11 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 26 May 2010 00:14:11 +0200 Subject: [Freeswitch-dev] FreeSWITCH Architecture In-Reply-To: References: Message-ID: <58A2243731F14F5D82BCF4118A415187@dell9400> Hi Moises, Actually I just did. My first objective is to address how we deal with architecture/work of some size in planning - or more exactly to see if I can get the community involved. But, I don't want to spam everyone's mails box as my work cover a few docs on early HLD level. Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Moises Silva Sent: 25. mai 2010 22:24 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] FreeSWITCH Architecture I guess you can start by explaining in this list what is what you're trying to do and then you will get the feedback needed, then repeat until a point is reached where coding can start ( when the project leaders give you the ok). Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Tue, May 25, 2010 at 4:16 PM, Jan Berger wrote: hi, I would like to address some changes to FreeSWITCH, but the challenge I face is that I am not sure where and how I should do this. The objective with this phase is to throw some ideas around and get feedback before I consolidate the architecture and move on coding. In an ordinary project it would be a few engineers that made a draft, made a presentation and evolved the draft through the discussions that followed until a majority accepted the draft. Jan _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/d63e0ed8/attachment.html From jan.berger at video24.no Tue May 25 15:25:36 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 26 May 2010 00:25:36 +0200 Subject: [Freeswitch-dev] FreeSWITCH Architecture In-Reply-To: References: Message-ID: <0AE4BE7767DB4062A94DDBF7A88DD4E9@dell9400> I can't tomorrow - sorry + it's a bit early for me yet :-) _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 25. mai 2010 22:46 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] FreeSWITCH Architecture You could talk to us tomorrow at the weekly conference call as well. Maybe if you make your proposal by then we can discuss it. On Tue, May 25, 2010 at 3:24 PM, Moises Silva wrote: I guess you can start by explaining in this list what is what you're trying to do and then you will get the feedback needed, then repeat until a point is reached where coding can start ( when the project leaders give you the ok). Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com On Tue, May 25, 2010 at 4:16 PM, Jan Berger wrote: hi, I would like to address some changes to FreeSWITCH, but the challenge I face is that I am not sure where and how I should do this. The objective with this phase is to throw some ideas around and get feedback before I consolidate the architecture and move on coding. In an ordinary project it would be a few engineers that made a draft, made a presentation and evolved the draft through the discussions that followed until a majority accepted the draft. Jan _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/902c8c58/attachment-0001.html From khovayko at gmail.com Tue May 25 22:08:35 2010 From: khovayko at gmail.com (Oleg Khovayko) Date: Wed, 26 May 2010 01:08:35 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <5438E0DB-334B-49D6-90E1-FA144BF326CA@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> <4BFAE09B.2090602@gmail.com> <9F370DAF-5C46-45A9-85E8-802277A81BCB@freeswitch.org> <4BFB01A4.4010109@gmail.com> <4BFB082B.1070208@gmail.com> <7442A6CA-0949-4DFD-9556-6F4B1920031F@freeswitch.org> <4BFB1DC8.4000806@gmail.com> <4BFB2169.6010608@gmail.com> <5438E0DB-334B-49D6-90E1-FA144BF326CA@freeswitch.org> Message-ID: <4BFCACD3.2010904@gmail.com> Hi, I little narrowed problem with NATed client. There is his registration: Call-ID: 41f120d4 at 192.168.1.146 User: 1012 at 192.168.1.5 Contact: "user" Agent: AcctonVoIP/2.5 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-26 02:45:48) Host: olegh.ath.cx IP: 91.207.244.1 Port: 5060 Auth-User: 1012 Auth-Realm: olegh.ath.cx MWI-Account: 1012 at 192.168.1.5 When he calls me, conversation is OK. When I (from the local phone) call him (he is so far, and behind NAT), ring is OK, but when he picked up handset -- we both heard nothing. Looks like FS try to establish connection to IP address, assigned him behind his NAT: 192.168.1.146. FS sends ARP request to resolve this address: 6191 packets received by filter 0 packets dropped by kernel [root at olegh /usr/local/freeswitch/conf]# tcpdump host '(91.207.244.1 or 192.168.1.146)' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes 00:49:27.911731 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, length: 1339 00:49:28.299781 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, length: 349 00:49:28.317358 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, length: 403 00:49:40.420237 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, length: 829 00:49:40.451060 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, length: 368 00:49:40.691549 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:41.107754 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:42.105717 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:43.107377 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:44.106215 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:45.107216 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:46.105957 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:47.105975 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:48.105804 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:49.107058 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:50.107512 arp who-has 192.168.1.146 tell deskpro.khovayko.com 00:49:50.533533 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, length: 626 00:49:50.794874 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, length: 355 About SIP trace: I do not know, how to save trace to file from fs_cli. On the sccreen, there is too many text lines, they very fast gone... Brian West wrote: > You don't hav eto do this if you have upnp freeswitch will do this for you even for the media ports... I am not sure what your problem is grab the default config and use it... I know it works if you really do have upnp. > /b > > On May 24, 2010, at 8:01 PM, Oleg Khovayko wrote: > > >> It is behind UPNP, and I forwarded ports 5060-5060 (both TCP+UDP) to server. >> Also, I have forwarded ports 20000~30000, and for FS setup in the >> file autoload_configs/switch.conf.xml >> >> >> >> > From msc at freeswitch.org Tue May 25 22:48:19 2010 From: msc at freeswitch.org (Michael S Collins) Date: Tue, 25 May 2010 22:48:19 -0700 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <4BFCACD3.2010904@gmail.com> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> <4BFAE09B.2090602@gmail.com> <9F370DAF-5C46-45A9-85E8-802277A81BCB@freeswitch.org> <4BFB01A4.4010109@gmail.com> <4BFB082B.1070208@gmail.com> <7442A6CA-0949-4DFD-9556-6F4B1920031F@freeswitch.org> <4BFB1DC8.4000806@gmail.com> <4BFB2169.6010608@gmail.com> <5438E0DB-334B-49D6-90E1-FA144BF326CA@freeswitch.org> <4BFCACD3.2010904@gmail.com> Message-ID: <938D8332-18D9-4883-A367-DF423CE67FF0@freeswitch.org> If you have a web server then use tcpdump to make a pcap file that we can download and analyze with Wireshark. Check out this page: http://wiki.freeswitch.org/wiki/Packet_Capture For some hints on how to collect pcaps in a FreeSWITCH environment. It can be difficult to do a siptrace on the conole. Also, you can rotate log files with "fsctl send_sighup" which can help isolate log data. Alternatively you can use logger.pl script in the source support directory. -MC Sent from my iPhone On May 25, 2010, at 10:08 PM, Oleg Khovayko wrote: > Hi, > > I little narrowed problem with NATed client. > There is his registration: > > Call-ID: 41f120d4 at 192.168.1.146 > User: 1012 at 192.168.1.5 > Contact: "user" > %3A1012%4091.207.244.1%3A5060> > Agent: AcctonVoIP/2.5 > Status: Registered(UDP-NAT)(unknown) EXP(2010-05-26 02:45:48) > Host: olegh.ath.cx > IP: 91.207.244.1 > Port: 5060 > Auth-User: 1012 > Auth-Realm: olegh.ath.cx > MWI-Account: 1012 at 192.168.1.5 > > > When he calls me, conversation is OK. > > When I (from the local phone) call him (he is so far, and behind NAT), > ring is OK, > but when he picked up handset -- we both heard nothing. > > Looks like FS try to establish connection to IP address, assigned him > behind his NAT: 192.168.1.146. > FS sends ARP request to resolve this address: > > > 6191 packets received by filter > 0 packets dropped by kernel > [root at olegh /usr/local/freeswitch/conf]# tcpdump host '(91.207.244.1 > or > 192.168.1.146)' > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes > 00:49:27.911731 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, > length: 1339 > 00:49:28.299781 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, > length: 349 > 00:49:28.317358 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, > length: 403 > 00:49:40.420237 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, > length: 829 > 00:49:40.451060 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, > length: 368 > 00:49:40.691549 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:41.107754 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:42.105717 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:43.107377 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:44.106215 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:45.107216 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:46.105957 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:47.105975 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:48.105804 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:49.107058 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:50.107512 arp who-has 192.168.1.146 tell deskpro.khovayko.com > 00:49:50.533533 IP deskpro.khovayko.com.sip > 91.207.244.1.sip: SIP, > length: 626 > 00:49:50.794874 IP 91.207.244.1.sip > deskpro.khovayko.com.sip: SIP, > length: 355 > > > About SIP trace: I do not know, how to save trace to file from fs_cli. > On the sccreen, there is too many text lines, they very fast gone... > > > > > > > Brian West wrote: >> You don't hav eto do this if you have upnp freeswitch will do this >> for you even for the media ports... I am not sure what your problem >> is grab the default config and use it... I know it works if you >> really do have upnp. >> /b >> >> On May 24, 2010, at 8:01 PM, Oleg Khovayko wrote: >> >> >>> It is behind UPNP, and I forwarded ports 5060-5060 (both TCP+UDP) >>> to server. >>> Also, I have forwarded ports 20000~30000, and for FS setup in the >>> file autoload_configs/switch.conf.xml >>> >>> >>> >>> >> > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From steveayre at gmail.com Wed May 26 02:55:06 2010 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 26 May 2010 10:55:06 +0100 Subject: [Freeswitch-dev] FreeSWITCH Architecture In-Reply-To: <0AE4BE7767DB4062A94DDBF7A88DD4E9@dell9400> References: <0AE4BE7767DB4062A94DDBF7A88DD4E9@dell9400> Message-ID: Why not use the list then, and for any large documents use pastebin? There's IRC on Freenode too, which'll have the plenty of the developers online daily to discuss ideas. -Steve On 25 May 2010 23:25, Jan Berger wrote: > I can?t tomorrow ? sorry + it?s a bit early for me yet J > > > ------------------------------ > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* 25. mai 2010 22:46 > > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] FreeSWITCH Architecture > > > > You could talk to us tomorrow at the weekly conference call as well. > > Maybe if you make your proposal by then we can discuss it. > > > > On Tue, May 25, 2010 at 3:24 PM, Moises Silva > wrote: > > I guess you can start by explaining in this list what is what you're trying > to do and then you will get the feedback needed, then repeat until a point > is reached where coding can start ( when the project leaders give you the > ok). > > Moises Silva > Senior Software Engineer > Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R > 9T3 Canada > t. 1 905 474 1990 x 128 | e. moy at sangoma.com > > On Tue, May 25, 2010 at 4:16 PM, Jan Berger > wrote: > > hi, > > > > I would like to address some changes to FreeSWITCH, but the challenge I > face is that I am not sure where and how I should do this. The objective > with this phase is to throw some ideas around and get feedback before I > consolidate the architecture and move on coding. > > > > In an ordinary project it would be a few engineers that made a draft, made > a presentation and evolved the draft through the discussions that followed > until a majority accepted the draft. > > > > Jan > > > > > > > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > 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_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/1779dfd5/attachment.html From vetali100 at gmail.com Wed May 26 03:00:09 2010 From: vetali100 at gmail.com (Vitalii Colosov) Date: Wed, 26 May 2010 13:00:09 +0300 Subject: [Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic" In-Reply-To: <4BFADB34.6030505@gmail.com> References: <4BFADB34.6030505@gmail.com> Message-ID: Hi Nazim, mod_xml_cdr is able to send CDR to apache server, and I was using it successfully until I created the module that writes CDRs directly into the database. I thought to add some business logic ability and share with the community. I am sure your idea will also find many grateful users. Personally from my side, I wanted to completely avoid using any HTTP servers (many reasons, bottom line - it's just not REALLY needed for such task in many implementations). I think I will continue working in this direction and it will find some users (like me) who will also use it. The only problem here I see is performance - maybe it will not be suitable for really LARGE implementations. Vitalie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/29904b26/attachment-0001.html From mike at jerris.com Wed May 26 09:50:15 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 26 May 2010 12:50:15 -0400 Subject: [Freeswitch-dev] Call to registered phone behind NAT In-Reply-To: <938D8332-18D9-4883-A367-DF423CE67FF0@freeswitch.org> References: <4BF431EC.4010506@gmail.com> <60FA51F8-EC8C-4F2A-A16D-959269BD4985@freeswitch.org> <4BF44523.60704@gmail.com> <06E75670-DFEC-404F-A1EA-C22CE66D7F2B@freeswitch.org> <4BF95F7D.1030003@gmail.com> <5D8EE14A-2174-482D-B01B-83E25315A0DA@jerris.com> <4BF9B524.6070303@gmail.com> <4557ACB0-018C-42CE-86A0-E826AC14ED0F@jerris.com> <4BFAD16D.1030004@gmail.com> <435024A3-A548-4E2C-B3C3-7129E00C34B6@freeswitch.org> <4BFAE09B.2090602@gmail.com> <9F370DAF-5C46-45A9-85E8-802277A81BCB@freeswitch.org> <4BFB01A4.4010109@gmail.com> <4BFB082B.1070208@gmail.com> <7442A6CA-0949-4DFD-9556-6F4B1920031F@freeswitch.org> <4BFB1DC8.4000806@gmail.com> <4BFB2169.6010608@gmail.com> <5438E0DB-334B-49D6-90E1-FA144BF326CA@freeswitch.org> <4BFCACD3.2010904@gmail.com> <938D8332-18D9-4883-A367-DF423CE67FF0@freeswitch.org> Message-ID: This really isn't the right list for this tread. If this thread continues, lets take it to the user list please. Mike On May 26, 2010, at 1:48 AM, Michael S Collins wrote: > If you have a web server then use tcpdump to make a pcap file that we > can download and analyze with Wireshark. Check out this page: > http://wiki.freeswitch.org/wiki/Packet_Capture > > For some hints on how to collect pcaps in a FreeSWITCH environment. It > can be difficult to do a siptrace on the conole. Also, you can rotate > log files with "fsctl send_sighup" which can help isolate log data. > Alternatively you can use logger.pl script in the source support > directory. > > -MC > > Sent from my iPhone > > On May 25, 2010, at 10:08 PM, Oleg Khovayko wrote: > >> Hi, >> >> I little narrowed problem with NATed client. ?. From msc at freeswitch.org Wed May 26 09:59:37 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 26 May 2010 09:59:37 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Starting Now! Message-ID: C'mon over: http://wiki.freeswitch.org/wiki/FS_weekly_2010_05_26 -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/569a3cae/attachment.html From jan.berger at video24.no Wed May 26 12:48:00 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 26 May 2010 21:48:00 +0200 Subject: [Freeswitch-dev] ACD/CallCenter Message-ID: Hi, Is anyone doing work on ACD or CallCenter aided for open source/FS ? Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/4f942081/attachment.html From brian at freeswitch.org Wed May 26 12:52:15 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 26 May 2010 14:52:15 -0500 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: References: Message-ID: OpenACD /b On May 26, 2010, at 2:48 PM, Jan Berger wrote: > Hi, > > Is anyone doing work on ACD or CallCenter aided for open source/FS ? > > Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/ba27887a/attachment.html From jan.berger at video24.no Wed May 26 13:14:26 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 26 May 2010 22:14:26 +0200 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: References: Message-ID: <9C1AE691D9B44813A69BDDC8C7DAC554@dell9400> Thanks - worth a look, but can't find any downloads there yet. As for programming languages - I am totally convinced that we use more languages than we have developers :-) Jan _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: 26. mai 2010 21:52 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ACD/CallCenter OpenACD /b On May 26, 2010, at 2:48 PM, Jan Berger wrote: Hi, Is anyone doing work on ACD or CallCenter aided for open source/FS ? Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100526/8bffcff4/attachment.html From andrew at hijacked.us Wed May 26 13:18:54 2010 From: andrew at hijacked.us (Andrew Thompson) Date: Wed, 26 May 2010 16:18:54 -0400 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: <9C1AE691D9B44813A69BDDC8C7DAC554@dell9400> References: <9C1AE691D9B44813A69BDDC8C7DAC554@dell9400> Message-ID: <20100526201853.GE20836@hijacked.us> On Wed, May 26, 2010 at 10:14:26PM +0200, Jan Berger wrote: > Thanks - worth a look, but can't find any downloads there yet. > > I've been meaning to roll a release, but I never seem to get around to it. Git checkout is the way to go right now. > > As for programming languages - I am totally convinced that we use more > languages than we have developers :-) > Just picking the best tool for the job. ;) Andrew From jan.berger at video24.no Wed May 26 14:30:30 2010 From: jan.berger at video24.no (Jan Berger) Date: Wed, 26 May 2010 23:30:30 +0200 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: <20100526201853.GE20836@hijacked.us> References: <9C1AE691D9B44813A69BDDC8C7DAC554@dell9400> <20100526201853.GE20836@hijacked.us> Message-ID: <76A6B9A9E4A54D68814C77B001587C41@dell9400> Hi Andrew, Good your in here :) - that looks promising from the doc. I have a few questions. 1. What is the status on this work? 2. I can't find real-time statistics mentioned? 3. Do you have API describing the interaction between the ACD, Agent and FS or something like that? Jan -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Andrew Thompson Sent: 26. mai 2010 22:19 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] ACD/CallCenter On Wed, May 26, 2010 at 10:14:26PM +0200, Jan Berger wrote: > Thanks - worth a look, but can't find any downloads there yet. > > I've been meaning to roll a release, but I never seem to get around to it. Git checkout is the way to go right now. > > As for programming languages - I am totally convinced that we use more > languages than we have developers :-) > Just picking the best tool for the job. ;) Andrew _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org From dujinfang at gmail.com Wed May 26 17:48:48 2010 From: dujinfang at gmail.com (Seven Du) Date: Thu, 27 May 2010 08:48:48 +0800 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: <76A6B9A9E4A54D68814C77B001587C41@dell9400> References: <9C1AE691D9B44813A69BDDC8C7DAC554@dell9400> <20100526201853.GE20836@hijacked.us> <76A6B9A9E4A54D68814C77B001587C41@dell9400> Message-ID: I found that interestng and had tried that before, but didn't figure out how to connect to FS though I have some other projects working well with Erlang and FreeSWITCH. Will try more when I have time. 2010/5/27 Jan Berger : > Hi Andrew, > > Good your in here :) - that looks promising from the doc. > > I have a few questions. > > 1. What is the status on this work? > 2. I can't find real-time statistics mentioned? > 3. Do you have API describing the interaction between the ACD, Agent and FS > or something like that? > > Jan > > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org > [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Andrew > Thompson > Sent: 26. mai 2010 22:19 > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] ACD/CallCenter > > On Wed, May 26, 2010 at 10:14:26PM +0200, Jan Berger wrote: >> Thanks - worth a look, but can't find any downloads there yet. >> >> > I've been meaning to roll a release, but I never seem to get around to > it. Git checkout is the way to go right now. >> >> As for programming languages - I am totally convinced that we use more >> languages than we have developers :-) >> > Just picking the best tool for the job. ;) > > Andrew > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn From douglas at hubler.us Wed May 26 18:54:06 2010 From: douglas at hubler.us (Douglas Hubler) Date: Wed, 26 May 2010 21:54:06 -0400 Subject: [Freeswitch-dev] ACD/CallCenter In-Reply-To: References: Message-ID: On Wed, May 26, 2010 at 3:52 PM, Brian West wrote: > OpenACD Discussion http://groups.google.com/group/openacd From bottleman at icf.org.ru Thu May 27 12:06:53 2010 From: bottleman at icf.org.ru (Georgiewskiy Yuriy) Date: Thu, 27 May 2010 23:06:53 +0400 (MSD) Subject: [Freeswitch-dev] GIT Access Message-ID: Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. C ????????? With Best Regards ???????????? ????. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 ???? +7 4872 711143 fax +7 4872 711143 ???????? ??? "?? ?? ??????" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE From brian at freeswitch.org Thu May 27 12:09:49 2010 From: brian at freeswitch.org (Brian West) Date: Thu, 27 May 2010 14:09:49 -0500 Subject: [Freeswitch-dev] GIT Access In-Reply-To: References: Message-ID: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> You would need to get us an ssh key so we can add you... we did send out an email requesting those before the transition to git. /b On May 27, 2010, at 2:06 PM, Georgiewskiy Yuriy wrote: > > Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. > > C ????????? With Best Regards > ???????????? ????. Georgiewskiy Yuriy > +7 4872 711666 +7 4872 711666 > ???? +7 4872 711143 fax +7 4872 711143 > ???????? ??? "?? ?? ??????" IT Service Ltd > http://nkoort.ru http://nkoort.ru > JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru > YG129-RIPE YG129-RIPE_______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org From bottleman at icf.org.ru Thu May 27 12:17:46 2010 From: bottleman at icf.org.ru (Georgiewskiy Yuriy) Date: Thu, 27 May 2010 23:17:46 +0400 (MSD) Subject: [Freeswitch-dev] GIT Access In-Reply-To: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> References: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> Message-ID: On 2010-05-27 14:09 -0500, Brian West wrote freeswitch-dev at lists.freeswitch.org: BW>You would need to get us an ssh key so we can add you... we did send out an email requesting those before the transition to git. Seems i miss this email. BW> BW>/b BW> BW>On May 27, 2010, at 2:06 PM, Georgiewskiy Yuriy wrote: BW> BW>> BW>> Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. BW>> BW>> C ????????? With Best Regards BW>> ???????????? ????. Georgiewskiy Yuriy BW>> +7 4872 711666 +7 4872 711666 BW>> ???? +7 4872 711143 fax +7 4872 711143 BW>> ???????? ??? "?? ?? ??????" IT Service Ltd BW>> http://nkoort.ru http://nkoort.ru BW>> JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru BW>> YG129-RIPE YG129-RIPE_______________________________________________ BW>> FreeSWITCH-dev mailing list BW>> FreeSWITCH-dev at lists.freeswitch.org BW>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev BW>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev BW>> http://www.freeswitch.org BW> BW> BW>_______________________________________________ BW>FreeSWITCH-dev mailing list BW>FreeSWITCH-dev at lists.freeswitch.org BW>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev BW>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev BW>http://www.freeswitch.org BW> C ????????? With Best Regards ???????????? ????. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 ???? +7 4872 711143 fax +7 4872 711143 ???????? ??? "?? ?? ??????" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE From msc at freeswitch.org Thu May 27 12:28:53 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 27 May 2010 12:28:53 -0700 Subject: [Freeswitch-dev] Get on IRC day!! Message-ID: Okay everyone, please join #freeswitch on IRC! We want everyone to come hang out with us. Also, we have many new ones coming in asking for advice. Please join up and help spread the knowledge. See you online! -Michael (IRC: mercutioviz) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100527/8e967431/attachment.html From bottleman at icf.org.ru Thu May 27 13:23:46 2010 From: bottleman at icf.org.ru (Georgiewskiy Yuriy) Date: Fri, 28 May 2010 00:23:46 +0400 (MSD) Subject: [Freeswitch-dev] GIT Access In-Reply-To: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> References: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> Message-ID: On 2010-05-27 14:09 -0500, Brian West wrote freeswitch-dev at lists.freeswitch.org: BW>You would need to get us an ssh key so we can add you... we did send out an email requesting those before the transition to git. Key in attachment BW> BW>/b BW> BW>On May 27, 2010, at 2:06 PM, Georgiewskiy Yuriy wrote: BW> BW>> BW>> Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. BW>> BW>> C ????????? With Best Regards BW>> ???????????? ????. Georgiewskiy Yuriy BW>> +7 4872 711666 +7 4872 711666 BW>> ???? +7 4872 711143 fax +7 4872 711143 BW>> ???????? ??? "?? ?? ??????" IT Service Ltd BW>> http://nkoort.ru http://nkoort.ru BW>> JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru BW>> YG129-RIPE YG129-RIPE_______________________________________________ BW>> FreeSWITCH-dev mailing list BW>> FreeSWITCH-dev at lists.freeswitch.org BW>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev BW>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev BW>> http://www.freeswitch.org BW> BW> BW>_______________________________________________ BW>FreeSWITCH-dev mailing list BW>FreeSWITCH-dev at lists.freeswitch.org BW>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev BW>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev BW>http://www.freeswitch.org BW> C ????????? With Best Regards ???????????? ????. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 ???? +7 4872 711143 fax +7 4872 711143 ???????? ??? "?? ?? ??????" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE -------------- next part -------------- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0ZEIdJmXNtizT2sd+MSUnml88VeIl8y362CgEkIrG4rpL+f2puRDQr4uRdFWgPlMu7Pfz95ZCAtKY5MIJN5m5g/IiVnijpwBfP+vGBgca/dslz+sxKQKHw7dBlfZ0mhiRrYzdIX2Iy/JeTZc+hXJCTLQb2uKKbYLWCkBCfiaNNzpBc746pNan4Jd+KQ2RkzVg7Tar1G3vuvt60Nu80ITqaYPzYiOVqqdmaOF1rahsGbEYQSb3/Q+u7d+sprJ5bVgnXUGn7ZBnjFgLX/pBQIcUTAJWIhoPwEfbK2381A0aBZ4ud/DnCway2bMI7uEVpBKnb4sFKZplTUqUcyvX3mYmQ== root at mosch From intralanman at freeswitch.org Thu May 27 13:34:09 2010 From: intralanman at freeswitch.org (Raymond Chandler) Date: Thu, 27 May 2010 16:34:09 -0400 Subject: [Freeswitch-dev] GIT Access In-Reply-To: References: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> Message-ID: <4BFED741.2080409@freeswitch.org> ok, you should be all set now -Ray On 5/27/10 4:23 PM, Georgiewskiy Yuriy wrote: > On 2010-05-27 14:09 -0500, Brian West wrote freeswitch-dev at lists.freeswitch.org: > > BW>You would need to get us an ssh key so we can add you... we did send out an email requesting those before the transition to git. > > Key in attachment > > BW> > BW>/b > BW> > BW>On May 27, 2010, at 2:06 PM, Georgiewskiy Yuriy wrote: > BW> > BW>> > BW>> Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. > BW>> > BW>> C ????????? With Best Regards > BW>> ???????????? ????. Georgiewskiy Yuriy > BW>> +7 4872 711666 +7 4872 711666 > BW>> ???? +7 4872 711143 fax +7 4872 711143 > BW>> ???????? ??? "?? ?? ??????" IT Service Ltd > BW>> http://nkoort.ru http://nkoort.ru > BW>> JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru > BW>> YG129-RIPE YG129-RIPE_______________________________________________ > BW>> FreeSWITCH-dev mailing list > BW>> FreeSWITCH-dev at lists.freeswitch.org > BW>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > BW>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > BW>> http://www.freeswitch.org > BW> > BW> > BW>_______________________________________________ > BW>FreeSWITCH-dev mailing list > BW>FreeSWITCH-dev at lists.freeswitch.org > BW>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > BW>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > BW>http://www.freeswitch.org > BW> > > C ????????? With Best Regards > ???????????? ????. Georgiewskiy Yuriy > +7 4872 711666 +7 4872 711666 > ???? +7 4872 711143 fax +7 4872 711143 > ???????? ??? "?? ?? ??????" IT Service Ltd > http://nkoort.ru http://nkoort.ru > JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru > YG129-RIPE YG129-RIPE > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100527/540b8241/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: intralanman.vcf Type: text/x-vcard Size: 141 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100527/540b8241/attachment-0001.vcf From bottleman at icf.org.ru Thu May 27 13:44:20 2010 From: bottleman at icf.org.ru (Georgiewskiy Yuriy) Date: Fri, 28 May 2010 00:44:20 +0400 (MSD) Subject: [Freeswitch-dev] GIT Access In-Reply-To: <4BFED741.2080409@freeswitch.org> References: <8CAD8F71-DEF1-4C5F-A073-530A330A847F@freeswitch.org> <4BFED741.2080409@freeswitch.org> Message-ID: On 2010-05-27 16:34 -0400, Raymond Chandler wrote freeswitch-dev at lists.free...: RC>ok, you should be all set now Ok, Thx. RC> RC>-Ray RC> RC>On 5/27/10 4:23 PM, Georgiewskiy Yuriy wrote: RC>> On 2010-05-27 14:09 -0500, Brian West wrote RC>> freeswitch-dev at lists.freeswitch.org: RC>> RC>> BW>You would need to get us an ssh key so we can add you... we did send out RC>> an email requesting those before the transition to git. RC>> RC>> Key in attachment RC>> RC>> BW> RC>> BW>/b RC>> BW> RC>> BW>On May 27, 2010, at 2:06 PM, Georgiewskiy Yuriy wrote: RC>> BW> RC>> BW>> RC>> BW>> Hi, where i can get ssh key to acces GIT? I am autor of mod_h323. RC>> BW>> RC>> BW>> C ????????? With Best Regards RC>> BW>> ???????????? ????. Georgiewskiy Yuriy RC>> BW>> +7 4872 711666 +7 4872 711666 RC>> BW>> ???? +7 4872 711143 fax +7 4872 711143 RC>> BW>> ???????? ??? "?? ?? ??????" IT Service Ltd RC>> BW>> http://nkoort.ru http://nkoort.ru RC>> BW>> JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru RC>> BW>> YG129-RIPE RC>> YG129-RIPE_______________________________________________ RC>> BW>> FreeSWITCH-dev mailing list RC>> BW>> FreeSWITCH-dev at lists.freeswitch.org RC>> BW>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev RC>> BW>> RC>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev RC>> BW>> http://www.freeswitch.org RC>> BW> RC>> BW> RC>> BW>_______________________________________________ RC>> BW>FreeSWITCH-dev mailing list RC>> BW>FreeSWITCH-dev at lists.freeswitch.org RC>> BW>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev RC>> BW>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev RC>> BW>http://www.freeswitch.org RC>> BW> RC>> RC>> C ????????? With Best Regards RC>> ???????????? ????. Georgiewskiy Yuriy RC>> +7 4872 711666 +7 4872 711666 RC>> ???? +7 4872 711143 fax +7 4872 711143 RC>> ???????? ??? "?? ?? ??????" IT Service Ltd RC>> http://nkoort.ru http://nkoort.ru RC>> JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru RC>> YG129-RIPE YG129-RIPE RC>> RC>> RC>> _______________________________________________ RC>> FreeSWITCH-dev mailing list RC>> FreeSWITCH-dev at lists.freeswitch.org RC>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev RC>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev RC>> http://www.freeswitch.org RC>> C ????????? With Best Regards ???????????? ????. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 ???? +7 4872 711143 fax +7 4872 711143 ???????? ??? "?? ?? ??????" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE From dswardstrom at remotelink.com Fri May 28 08:04:36 2010 From: dswardstrom at remotelink.com (David Swardstrom) Date: Fri, 28 May 2010 10:04:36 -0500 (CDT) Subject: [Freeswitch-dev] Freeswitch-dev archive - nabble version In-Reply-To: <1269231153.65.1275058999160.JavaMail.root@srvr12.remotelinkml.com> Message-ID: <816767672.69.1275059076906.JavaMail.root@srvr12.remotelinkml.com> Is there a nabble version of the freeswitch-dev archives? Someone sent me a link to the freeswitch-users one. Perhaps these links should be made available in the pages: http://lists.freeswitch.org/mailman/listinfo/freeswitch-??? For example in page: http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev Regards, Paul David Swardstrom From marketing at cluecon.com Fri May 28 17:24:58 2010 From: marketing at cluecon.com (Michael Collins) Date: Fri, 28 May 2010 17:24:58 -0700 Subject: [Freeswitch-dev] Register On-Line For ClueCon! Message-ID: Hey there! We just wanted to let everyone know that our Web site has been updated: http://www.cluecon.com You may now click the link to get registered. Remember that you need to create a user for the ClueCon Web site or use the same username/password that you used last year. Feel free to contact us if you have any concerns or questions. Looking forward to Chicago! The ClueCon Team http://www.cluecon.com 877.742.CLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100528/93cf9f54/attachment.html From d at d-man.org Sat May 29 12:55:33 2010 From: d at d-man.org (Darren Schreiber) Date: Sat, 29 May 2010 12:55:33 -0700 Subject: [Freeswitch-dev] 4 WEEKS LEFT! FreeSWITCH Official Training Course - June 28th-30th in San Francisco, CA Message-ID: <8A034A3098ED3C4990F7D9DE40F5585F17DB0D1A64@EXVMBX020-3.exch020.serverdata.net> Hi folks, In case you haven't heard, we're pleased to offer the first ever Official FreeSWITCH Training course, held June 28th-30th in San Francisco, CA. The class has been filling up (and airline tickets will go up, too) so if you are thinking of attending we *strongly* encourage you to sign-up now. The training is different then a basic PBX training - we'll be diving a bit deeper into cool features within FreeSWITCH. Since we're designing the course from scratch we can also customize it so you learn what you want to learn. So far, topics requested have focused more along the lines of specific modules and carrier-style switching services, so we're going to try and focus on those topics. The training is also hands-on. You'll be working with FreeSWITCH on individual workstations during the course - doing labs, etc. We'll try and keep it as interactive as we can. And of course, if you like saving money... We have two deals going right now: 1. If you send two or more people we are now offering a good discount. It will vary based on the number of people you send. Please contact me directly if you are interested in this option. 2. If you sign up for the Training + ClueCon option you save ~$300! Flood yourself with FreeSWITCH knowledge and contacts by attending both events. This is a really good deal! For more information, please visit the website at http://www.voipkb.com/ or drop me a note. Thanks much and I look forward to seeing you at the training! Sincerely, Darren Schreiber From s_thirupathikumar at yahoo.com Mon May 24 23:10:03 2010 From: s_thirupathikumar at yahoo.com (Thirupathi) Date: Mon, 24 May 2010 23:10:03 -0700 (PDT) Subject: [Freeswitch-dev] Record in Freeswitch Message-ID: <678850.5774.qm@web50306.mail.re2.yahoo.com> Hi, i am using record function to record the user information through channel into the voice file. @con.execute("record", "#{record_file_path} #{record_duration} #{silence_threshold}") I have specified the full path with the record_file_path variable. But i got the below error 2010-05-24 12:53:32.917541 [ERR] mod_sndfile.c:194 Error Opening File [/opt/freeswitch/sounds/123.wav] [System error : No such file or directory.] Is there any record function available in the freeswitch so that it will create the file automatically in the specified record_file_path parameter. Thanks and Regards, Thirupathi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100524/5b8fcff5/attachment.html From sathishbabu07 at gmail.com Wed May 26 21:43:32 2010 From: sathishbabu07 at gmail.com (Sathish Babu) Date: Thu, 27 May 2010 10:13:32 +0530 Subject: [Freeswitch-dev] Outbound call Status Message-ID: Hi, I have inbound call on one channel after process that call i am calling the below function to make outbound and get connected with the inbound. @con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") It is working perfectly. But i need to know whether the outbound call has been ringing or answered else it is failed. Is there any way to get the event about the newly made call status? Thanks and Regards, Sathishbabu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100527/48fe9927/attachment.html From bobc at devassert.com Sun May 30 19:26:22 2010 From: bobc at devassert.com (Bob Coleman) Date: Mon, 31 May 2010 14:26:22 +1200 Subject: [Freeswitch-dev] Record in Freeswitch In-Reply-To: <678850.5774.qm@web50306.mail.re2.yahoo.com> References: <678850.5774.qm@web50306.mail.re2.yahoo.com> Message-ID: I think you only have to specify it relative to the sounds directory, no need for full path. Test it by just specifying the name without a path. On Tue, May 25, 2010 at 6:10 PM, Thirupathi wrote: > Hi, > > i am using record function to record the user information through channel > into the voice file. > > @con.execute("record", "#{record_file_path} #{record_duration} > #{silence_threshold}") > > I have specified the full path with the record_file_path variable. But i > got the below error > 2010-05-24 12:53:32.917541 [ERR] mod_sndfile.c:194 Error Opening File > [/opt/freeswitch/sounds/123.wav] [System error : No such file or directory.] > > Is there any record function available in the freeswitch so that it will > create the file automatically in the specified record_file_path parameter. > > Thanks and Regards, > Thirupathi > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100531/17dc53a3/attachment.html From dujinfang at gmail.com Sun May 30 19:34:50 2010 From: dujinfang at gmail.com (Seven Du) Date: Mon, 31 May 2010 10:34:50 +0800 Subject: [Freeswitch-dev] Record in Freeswitch In-Reply-To: References: <678850.5774.qm@web50306.mail.re2.yahoo.com> Message-ID: It should work with absolute path, I would suggest to try @con.execute("record", "/opt/freeswitch/sounds/123.wav", ......... and make sure the dir exists 2010/5/31 Bob Coleman > I think you only have to specify it relative to the sounds directory, no > need for full path. > > Test it by just specifying the name without a path. > > On Tue, May 25, 2010 at 6:10 PM, Thirupathi wrote: > >> Hi, >> >> i am using record function to record the user information through channel >> into the voice file. >> >> @con.execute("record", "#{record_file_path} #{record_duration} >> #{silence_threshold}") >> >> I have specified the full path with the record_file_path variable. But i >> got the below error >> 2010-05-24 12:53:32.917541 [ERR] mod_sndfile.c:194 Error Opening File >> [/opt/freeswitch/sounds/123.wav] [System error : No such file or directory.] >> >> Is there any record function available in the freeswitch so that it will >> create the file automatically in the specified record_file_path parameter. >> >> Thanks and Regards, >> Thirupathi >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100531/f7b58002/attachment-0001.html From s_thirupathikumar at yahoo.com Mon May 31 04:24:28 2010 From: s_thirupathikumar at yahoo.com (Thirupathi) Date: Mon, 31 May 2010 04:24:28 -0700 (PDT) Subject: [Freeswitch-dev] Bridge Call Status Message-ID: <238797.22415.qm@web50305.mail.re2.yahoo.com> Hi, I am receiving the inbound call and i am bridging that call with some other number. But i need to know whether the bridged call (dial out call) has been ringing or answering. I am using the ESL connection method to communicate with the Freeswitch. Here is the snapshot of my code. Receiving inbound call : ??????? @sd = s ??? ??? @con = ESL::ESLconnection.new(s.to_i) ??? ??? @con.execute("linger") ??? ??? @con.setEventLock("true") ??????? @con.sendRecv("myevents") ??? ??? @con.execute("answer") ????????? ... ????????? .... After that i am playing and receiving input from the caller then i am bridging the call with some other number. Bridge Call: ?@con.execute("bridge", "sofia/gateway/junctionnetworks//#{@destination_number}")??? and waiting for the bridge event WaitForBridgeEvent: def waitForBridge ??? ??? while @con.connected ??? ??? ??? e = @con.recvEvent() ??? ??? ??? next if e == nil ??? ??? ??? printEventData(e) ??? ??? ??? handleHangup if hangupOccurred(e) ??? ??? ??? if e.getHeader("Event-Name") == "CHANNEL_BRIDGE" && ??? ??? ??? ??? e.getHeader("Channel-State") == "CS_EXECUTE" ??? ??? ??? ??? answer_state = e.getHeader("Answer-State") ??? ??? ??? ??? if answer_state == "answered" ??? ??? ??? ??? ??? call_answer_time = e.getHeader("answered_time") ??? ??? ??? ??? ??? end_point_disp = e.getHeader("endpoint_disposition") ??? ??? ??? ??? ??? var_end_point_disp = e.getHeader("var_endpoint_dispoisition") ??? ??? ??? ??? ??? return call_answer_time, end_point_disp, var_end_point_disp ??? ??? ??? ??? end ??? ??? ??? end ??? ??? end end In this code the answer_state is always returning the answered. Also there is always no value for call_answer_time, end_point_disp, var_end_point_disp. Bridging is happening and i have no problem with bridging the call. Please let me know whether the answer-state is returned in this case is for the inbound call or outbound call. (because i am wondering how it is always answered?). Also please help me to get the bridged call status (whether answered, ringing or others) Thanks and Regards, Thirupathi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100531/ba5a4a9f/attachment.html