From solko at gcdf.pl Wed Apr 1 03:23:37 2009 From: solko at gcdf.pl (Szymon Olko) Date: Wed, 01 Apr 2009 12:23:37 +0200 Subject: [Freeswitch-dev] Mod conference, dial commad dont work without default profile + patch In-Reply-To: <191c3a030903251125o5ba30c8ajccf4df7e228c0498@mail.gmail.com> References: <49CA1096.5000001@gcdf.pl> <191c3a030903251125o5ba30c8ajccf4df7e228c0498@mail.gmail.com> Message-ID: <49D340A9.3060007@gcdf.pl> Anthony Minessale pisze: > The best way to submit patches is to file it on jia so it gets a ticket > number and is properly reviewed. > http://jira.freeswitch.org > I did it as you proposed. You fixed that your way, which of course is better. I know You are busy so no time to educate me, but I would be very graceful for short comment to my patch. Changing subject... I really like FS idea and design. I would like to make some code for FS in my free time. I know I have to learn a lot, I looked at FS code but the best to know it is to make real development. Is there any TODO list with modules that are requested/needed to be done? I could start with simple not urgent module and this way get knowledge to make more advanced things. Regards Szymon Olko > > 2009/3/25 Szymon Olko > > Hello, > > I deleted default profile from conference.conf.xml and from that > time I could not connect second outgoing channel to conference. > > I located problem in searching for conference with > 'switch_core_hash_find' function. Only name of conference is stored > in hash so > looking for something like 'name at profile' did not find any. In my > opinion it always used second attempt to dial when conference > was not found, and it successes only if default profile is available. > > There is also bgdial problem which do not allow to call to not > existing conference, but in function conf_api_sub_bgdial it looks > like it was meant to work. I have to know freeswitch code better to > fix it. > > I created patch to solve first problem. This is my first patch so > please give me comments so next time I do it better. I choose > this way to learn how freeswitch modules are made. I would also like > if someone could review my patch and tell me if this is a way > mod_conference should work. I assumed that looking for conference is > for connecting members to existing conference, and that it's > should work like that. Previously it did not find conference if > profile was given in command. > > Szymon Olko > > _______________________________________________ > 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/ > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Wed Apr 1 06:07:58 2009 From: mike at jerris.com (Michael Jerris) Date: Wed, 1 Apr 2009 09:07:58 -0400 Subject: [Freeswitch-dev] Mod conference, dial commad dont work without default profile + patch In-Reply-To: <49D340A9.3060007@gcdf.pl> References: <49CA1096.5000001@gcdf.pl> <191c3a030903251125o5ba30c8ajccf4df7e228c0498@mail.gmail.com> <49D340A9.3060007@gcdf.pl> Message-ID: The best way would be to join the #freeswitch-dev irc channel and discuss your skill level and interest with us so we can give some real time direction on things you could handle. Mike On Apr 1, 2009, at 6:23 AM, Szymon Olko wrote: > Anthony Minessale pisze: >> The best way to submit patches is to file it on jia so it gets a >> ticket >> number and is properly reviewed. >> http://jira.freeswitch.org >> > I did it as you proposed. You fixed that your way, which of course > is better. I know You are busy so no time to educate me, but I > would be very graceful for short comment to my patch. > > Changing subject... > I really like FS idea and design. I would like to make some code for > FS in my free time. I know I have to learn a lot, I looked at > FS code but the best to know it is to make real development. Is > there any TODO list with modules that are requested/needed to be > done? I could start with simple not urgent module and this way get > knowledge to make more advanced things. > > Regards > Szymon Olko >> >> 2009/3/25 Szymon Olko >> >> Hello, >> >> I deleted default profile from conference.conf.xml and from that >> time I could not connect second outgoing channel to conference. >> >> I located problem in searching for conference with >> 'switch_core_hash_find' function. Only name of conference is >> stored >> in hash so >> looking for something like 'name at profile' did not find any. In my >> opinion it always used second attempt to dial when conference >> was not found, and it successes only if default profile is >> available. >> >> There is also bgdial problem which do not allow to call to not >> existing conference, but in function conf_api_sub_bgdial it looks >> like it was meant to work. I have to know freeswitch code better >> to >> fix it. >> >> I created patch to solve first problem. This is my first patch so >> please give me comments so next time I do it better. I choose >> this way to learn how freeswitch modules are made. I would also >> like >> if someone could review my patch and tell me if this is a way >> mod_conference should work. I assumed that looking for >> conference is >> for connecting members to existing conference, and that it's >> should work like that. Previously it did not find conference if >> profile was given in command. >> >> Szymon Olko >> >> _______________________________________________ >> 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/ >> >> 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 >> >> iax:guest at conference.freeswitch.org/888 >> >> googletalk:conf+888 at conference.freeswitch.org >> >> pstn:213-799-1400 >> >> >> --- >> --------------------------------------------------------------------- >> >> _______________________________________________ >> 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 Wed Apr 1 06:23:16 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 1 Apr 2009 08:23:16 -0500 Subject: [Freeswitch-dev] Mod conference, dial commad dont work without default profile + patch In-Reply-To: <49D340A9.3060007@gcdf.pl> References: <49CA1096.5000001@gcdf.pl> <191c3a030903251125o5ba30c8ajccf4df7e228c0498@mail.gmail.com> <49D340A9.3060007@gcdf.pl> Message-ID: <191c3a030904010623m22ebb73ey3ab18397a8ec8556@mail.gmail.com> I examined your patch and then learned we can survive with no profile so i changed the code around. Then i found the real issue with the bgapi and fixed that too. Your patch still was very useful to help demonstrate the problem. Thank you. On Wed, Apr 1, 2009 at 5:23 AM, Szymon Olko wrote: > Anthony Minessale pisze: > > The best way to submit patches is to file it on jia so it gets a ticket > > number and is properly reviewed. > > http://jira.freeswitch.org > > > I did it as you proposed. You fixed that your way, which of course is > better. I know You are busy so no time to educate me, but I > would be very graceful for short comment to my patch. > > Changing subject... > I really like FS idea and design. I would like to make some code for FS in > my free time. I know I have to learn a lot, I looked at > FS code but the best to know it is to make real development. Is there any > TODO list with modules that are requested/needed to be > done? I could start with simple not urgent module and this way get > knowledge to make more advanced things. > > Regards > Szymon Olko > > > > 2009/3/25 Szymon Olko > > > > Hello, > > > > I deleted default profile from conference.conf.xml and from that > > time I could not connect second outgoing channel to conference. > > > > I located problem in searching for conference with > > 'switch_core_hash_find' function. Only name of conference is stored > > in hash so > > looking for something like 'name at profile' did not find any. In my > > opinion it always used second attempt to dial when conference > > was not found, and it successes only if default profile is available. > > > > There is also bgdial problem which do not allow to call to not > > existing conference, but in function conf_api_sub_bgdial it looks > > like it was meant to work. I have to know freeswitch code better to > > fix it. > > > > I created patch to solve first problem. This is my first patch so > > please give me comments so next time I do it better. I choose > > this way to learn how freeswitch modules are made. I would also like > > if someone could review my patch and tell me if this is a way > > mod_conference should work. I assumed that looking for conference is > > for connecting members to existing conference, and that it's > > should work like that. Previously it did not find conference if > > profile was given in command. > > > > Szymon Olko > > > > _______________________________________________ > > 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/ > > > > 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 > > > > > > iax:guest at conference.freeswitch.org/888 > > > > googletalk:conf+888 at conference.freeswitch.org > > > > > > pstn:213-799-1400 > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090401/342220c6/attachment-0001.html From msc at freeswitch.org Wed Apr 1 09:49:47 2009 From: msc at freeswitch.org (Michael Collins) Date: Wed, 1 Apr 2009 09:49:47 -0700 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre3 Now Available Message-ID: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> The FreeSWITCH team would like to let everyone know that the latest version is available. More information can be found here: http://www.freeswitch.org/node/172 By all means download, upgrade, test, and report back! Your feedback helps us make FreeSWITCH even better! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090401/deb90856/attachment.html From brian at freeswitch.org Wed Apr 1 09:53:38 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 1 Apr 2009 11:53:38 -0500 Subject: [Freeswitch-dev] [Freeswitch-users] ANNOUNCEMENT: FreeSWITCH 1.0.4pre3 Now Available In-Reply-To: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> References: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> Message-ID: Which btw this is NOT an april fools joke! Its really 1.0.4 pre3 ;) /b On Apr 1, 2009, at 11:49 AM, Michael Collins wrote: > The FreeSWITCH team would like to let everyone know that the latest > version is available. More information can be found here: > http://www.freeswitch.org/node/172 > > By all means download, upgrade, test, and report back! Your feedback > helps us make FreeSWITCH even better! > -MC > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090401/23c6155a/attachment.html From dujinfang at gmail.com Wed Apr 1 20:07:41 2009 From: dujinfang at gmail.com (seven) Date: Thu, 2 Apr 2009 11:07:41 +0800 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre3 Now Available In-Reply-To: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> References: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> Message-ID: <3801A8F9-92A5-46CB-A309-7A79ADE4D783@gmail.com> Great, but it would be better if you can tell what the trunk version it based on :) On Apr 2, 2009, at 12:49 AM, Michael Collins wrote: > The FreeSWITCH team would like to let everyone know that the latest > version is available. More information can be found here: > http://www.freeswitch.org/node/172 > > By all means download, upgrade, test, and report back! Your feedback > helps us make FreeSWITCH even better! > -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/20090402/763a48a5/attachment.html From brian at freeswitch.org Wed Apr 1 20:18:26 2009 From: brian at freeswitch.org (Brian West) Date: Wed, 1 Apr 2009 22:18:26 -0500 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre3 Now Available In-Reply-To: <3801A8F9-92A5-46CB-A309-7A79ADE4D783@gmail.com> References: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> <3801A8F9-92A5-46CB-A309-7A79ADE4D783@gmail.com> Message-ID: its all about the SVN trunk ;) /b On Apr 1, 2009, at 10:07 PM, seven wrote: > Great, but it would be better if you can tell what the trunk version > it based on :) From dujinfang at gmail.com Wed Apr 1 20:48:31 2009 From: dujinfang at gmail.com (seven) Date: Thu, 2 Apr 2009 11:48:31 +0800 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre3 Now Available In-Reply-To: References: <87f2f3b90904010949x4d3fc2f8ia9feda2581956f68@mail.gmail.com> <3801A8F9-92A5-46CB-A309-7A79ADE4D783@gmail.com> Message-ID: Yeah I know, I still think the version number should be mentioned somewhere so days later ppl can figure out what has been improved since 1.0.4pre3. I think the number 12880 is more accurate than April 1st :) take into account that we all live in different time zones On Apr 2, 2009, at 11:18 AM, Brian West wrote: > its all about the SVN trunk ;) > > /b > > On Apr 1, 2009, at 10:07 PM, seven wrote: > >> Great, but it would be better if you can tell what the trunk version >> it based on :) > > > _______________________________________________ > 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 gmaruzz at celliax.org Thu Apr 2 01:35:21 2009 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Thu, 2 Apr 2009 10:35:21 +0200 Subject: [Freeswitch-dev] Skype interaction commands on skypiax Message-ID: <7b197bef0904020135j6b56662dy5a0dd2862ac4f35d@mail.gmail.com> Hi all, background: mod_skypiax is Skype compatible endpoint that allows incoming and outbound calls to/from the Skype network and SkypeOut service. It's seen by FS like other endpoints, so you can originate from sofia, bridge to skypiax, and connect the call to a landline number via SkypeOut service, for eg. skypiax endpoint use a Skype client to interact with the Skype network (see the wiki page for more details http://wiki.freeswitch.org/wiki/Skypiax). The news are: now you can send commands to the skype client related to a skyiax interface, both from the FS command line and programmatically (socket/API/esl/whatever) http://wiki.freeswitch.org/wiki/Skypiax#API_and_CLI_Commands This allow you to use directly the entire power of the Skype API ( https://developer.skype.com/Docs/ApiDoc ), for eg to send chat messages, interact with the buddy list, etc etc. Typing "console loglevel 9" at the FS command line allows you to see the Skype API answers from the Skype client instance. So, in short: you bring loglevel to 9 (so you can see the Skype API messages going back and forth), you use "sk" or "skypiax" to send Skype API commands to the Skype client instance. This way you can prototype extensions to the current mod_skypiax, that can then be implemented in C directly into the mod_skypiax source code. Please, let me know of extensions you would like to be integrated into the mod_skypiax code ;-). Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 From dujinfang at gmail.com Thu Apr 2 05:21:37 2009 From: dujinfang at gmail.com (dujinfang) Date: Thu, 2 Apr 2009 20:21:37 +0800 Subject: [Freeswitch-dev] Skype interaction commands on skypiax In-Reply-To: <7b197bef0904020135j6b56662dy5a0dd2862ac4f35d@mail.gmail.com> References: <7b197bef0904020135j6b56662dy5a0dd2862ac4f35d@mail.gmail.com> Message-ID: Greate Giovanni. I compiled 12835 a few days ago, now I just found the commands are just there. :) It works well for me, however, I would like to see some other commands like this: sk detach skypiax1 #by name sk attach skypiax1 sk detach 1 #by id sk attach 1 sk reattach/restart 1 so it is possible to restart one skype instance and re-attach to freeswitch if it run into problem. There's a jira related to skypiax still not assigned to you: http://jira.freeswitch.org/browse/MODENDP-208 Another feature, in addition to the ANY interface, can you add another interface RR which would do a round robin select on call out? I had though to implement it because I think it must be need a mutex to avoid race condition. It would be a good feature and you know the other day my 3rd skype instance run into problem so I cannot do more than 2 calls by using the ANY interface, but if there is a RR interface, only one call will cause problem on one loop without affecting the others. Thanks a lot :) On Apr 2, 2009, at 4:35 PM, Giovanni Maruzzelli wrote: > Hi all, > > background: > mod_skypiax is Skype compatible endpoint that allows incoming and > outbound calls to/from the Skype network and SkypeOut service. It's > seen by FS like other endpoints, so you can originate from sofia, > bridge to skypiax, and connect the call to a landline number via > SkypeOut service, for eg. > skypiax endpoint use a Skype client to interact with the Skype network > (see the wiki page for more details > http://wiki.freeswitch.org/wiki/Skypiax). > > The news are: > now you can send commands to the skype client related to a skyiax > interface, both from the FS command line and programmatically > (socket/API/esl/whatever) > http://wiki.freeswitch.org/wiki/Skypiax#API_and_CLI_Commands > > This allow you to use directly the entire power of the Skype API ( > https://developer.skype.com/Docs/ApiDoc ), for eg to send chat > messages, interact with the buddy list, etc etc. > Typing "console loglevel 9" at the FS command line allows you to see > the Skype API answers from the Skype client instance. > > So, in short: you bring loglevel to 9 (so you can see the Skype API > messages going back and forth), you use "sk" or "skypiax" to send > Skype API commands to the Skype client instance. > > This way you can prototype extensions to the current mod_skypiax, that > can then be implemented in C directly into the mod_skypiax source > code. > > Please, let me know of extensions you would like to be integrated into > the mod_skypiax code ;-). > > > Sincerely, > > Giovanni Maruzzelli > ========================================= > www.celliax.org > via Pierlombardo 9, 20135 Milano > Italy > gmaruzz at celliax dot org > Cell : +39-347-2665618 > Fax : +39-02-87390039 > > _______________________________________________ > 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 rjcajax at gmail.com Thu Apr 2 08:10:03 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Thu, 2 Apr 2009 11:10:03 -0400 Subject: [Freeswitch-dev] Audio To Buffer Message-ID: All, Is there anyway to take what would be read/written to/from a session such as streamFile/recordFile and place them in a memory buffer rather than a file allowing sudo-real time for manipulation by an application? Bob From anthony.minessale at gmail.com Thu Apr 2 09:08:46 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 2 Apr 2009 11:08:46 -0500 Subject: [Freeswitch-dev] Audio To Buffer In-Reply-To: References: Message-ID: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> yes you could write a function in C to use switch_buffer obj to read from the channel in SLN and save it to the buffer. On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton wrote: > All, > > Is there anyway to take what would be read/written to/from a session > such as streamFile/recordFile and place them in a memory buffer rather > than a file allowing sudo-real time for manipulation by an > application? > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090402/b2beeb8e/attachment-0001.html From rjcajax at gmail.com Thu Apr 2 11:41:15 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Thu, 2 Apr 2009 14:41:15 -0400 Subject: [Freeswitch-dev] Audio To Buffer In-Reply-To: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> References: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> Message-ID: Is that a C API that I could hook with mod_managed? 2009/4/2 Anthony Minessale : > yes you could write a function in C to use switch_buffer obj to read from > the channel in SLN and save it to the buffer. > > > On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton wrote: >> >> All, >> >> Is there anyway to take what would be read/written to/from a session >> such as streamFile/recordFile and place them in a memory buffer rather >> than a file allowing sudo-real time for manipulation by an >> application? >> >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 Thu Apr 2 11:47:51 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 2 Apr 2009 13:47:51 -0500 Subject: [Freeswitch-dev] Audio To Buffer In-Reply-To: References: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> Message-ID: <191c3a030904021147mabb8133vc7d2b06108953ba2@mail.gmail.com> probably, I am not positive but it's called switch_buffer, it works a lot like a file you create it, pick a size and a block size to grow by and a limit if desired when you create it then you can read and write to it like a file (it's not thread safe on it's own, it needs mutexes to protect it) On Thu, Apr 2, 2009 at 1:41 PM, Robert Clayton wrote: > Is that a C API that I could hook with mod_managed? > > 2009/4/2 Anthony Minessale : > > yes you could write a function in C to use switch_buffer obj to read from > > the channel in SLN and save it to the buffer. > > > > > > On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton > wrote: > >> > >> All, > >> > >> Is there anyway to take what would be read/written to/from a session > >> such as streamFile/recordFile and place them in a memory buffer rather > >> than a file allowing sudo-real time for manipulation by an > >> application? > >> > >> 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/ > > > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090402/f2391402/attachment.html From rjcajax at gmail.com Thu Apr 2 11:54:07 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Thu, 2 Apr 2009 14:54:07 -0400 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> References: <87f2f3b90903271129t1d41c5a7s35e009eb1c1793c6@mail.gmail.com> <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> Message-ID: Anthony, I did not want you to think I did not appreciate this addition. I just have not been able to grab a clean build yet to test yet. But when I grab a clean build I will test it. Bob 2009/3/30 Anthony Minessale : > try this, > > go to latest trunk, > > set the terminators to both # and * "#*" then when it stops check the > variable read_terminator_used to see if it was # or * > then you can continue in your loop > > i added the channel var read_terminator_used which should contain > > On Mon, Mar 30, 2009 at 10:42 AM, Robert Clayton wrote: >> >> Anthony, >> >> Yes and no. The original regex was a little more complex, it only got >> simplified in the thread while trying to discover what was going >> wrong. >> Where we got "\\*|\\d{6}" to match either a "*" or "123456" the >> original problem. It also allowed any entry if a single (or multiple) >> asterisk were entered at any position in the entry string. Which would >> be an incorrect action. >> >> Correct: * and 123456 and does not match 1234 >> Incorrect: **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> Regardless, this was an interim step. What I need is two actions, the >> first FS easily allows, the second the complicating factor. >> 1) Enter either a numeric string (either a defined length or undefined >> length followed by a "#") >> 2) Enter an asterisk at anytime to allow reentry from the beginning >> (returning without requiring a following terminator) >> >> I tried to use the callback and filter the input myself but since (I >> think) the callback only functions while the recording is playing that >> could not be done unless I was sure either the user responded during >> the recording or the recording was paused. Is there anyway for the the >> callback to delay and not return at the end of the recording? >> >> Bob >> >> 2009/3/30 Anthony Minessale : >> > how about leave the regex blank if you can't figure one out and just >> > collect >> > 6 digits and look for * yourself? >> > The one I told you saturday works for what you asked about.? the one you >> > came back and asked about would require a | (or) >> > with 2 expressions. >> > >> > On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton >> > wrote: >> >> >> >> Well, I hope that this thread has not died as it seems there has been >> >> no solution. >> >> Also, it seems there is not a solid understanding as to the >> >> interaction between Lua and FS. >> >> >> >> Does this suggest that I should abandon Lua for another scripting >> >> implementation such as JavaScript? >> >> >> >> 2009/3/28 Anthony Minessale : >> >> > try >> >> > >> >> > /^([\d*]{6})$/ >> >> > >> >> > \d is shorthand for 0-9 and anything in a [] is a set of chars so >> >> > [\d*] >> >> > means 0-9 and * >> >> > [\d*]{6} means exactly 6 from the previous set and wrap the whole >> >> > thing >> >> > in >> >> > ^$ means exact match >> >> > from beginning to end of the string. >> >> > >> >> > >> >> > 2009/3/28 Robert Clayton >> >> >> >> >> >> Michael, >> >> >> >> >> >> Good start! We are getting warmer. >> >> >> >> >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything I >> >> >> can >> >> >> think of. >> >> >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 >> >> >> So far so good. >> >> >> BUT, if an asterisk(s) are entered in a combination with numbers >> >> >> anything >> >> >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. >> >> >> >> >> >> Bob >> >> >> >> >> >> >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins >> >> >> >> >> >> wrote: >> >> >>> >> >> >>> 2009/3/27 Robert Clayton : >> >> >>> > Michael, >> >> >>> > >> >> >>> > Also note the error message reprints the expression without the >> >> >>> > escape. >> >> >>> > >> >> >>> > Bob >> >> >>> > >> >> >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins >> >> >>> > >> >> >>> > wrote: >> >> >>> >> >> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the >> >> >>> backslash is getting dropped off between Lua and FreeSWITCH. >> >> >>> >> >> >>> -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 >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Anthony Minessale II >> >> > >> >> > FreeSWITCH http://www.freeswitch.org/ >> >> > ClueCon http://www.cluecon.com/ >> >> > >> >> > 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 >> >> > iax:guest at conference.freeswitch.org/888 >> >> > googletalk:conf+888 at conference.freeswitch.org >> >> > pstn:213-799-1400 >> >> > >> >> > _______________________________________________ >> >> > 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/ >> > >> > 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:213-799-1400 >> > >> > _______________________________________________ >> > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 Thu Apr 2 11:56:02 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 2 Apr 2009 13:56:02 -0500 Subject: [Freeswitch-dev] Lua session:playAndGetDigits regex In-Reply-To: References: <87f2f3b90903271454u4bf31554mae295d2e9f7e936e@mail.gmail.com> <191c3a030903280514x97579f9l58ff8eea25b5fd76@mail.gmail.com> <191c3a030903300623l75daa2e7h9832a6688043b589@mail.gmail.com> <191c3a030903300952r3f7b01eeq5ce2b699b3bafefd@mail.gmail.com> Message-ID: <191c3a030904021156h1200f11et70ea54a682fbaae7@mail.gmail.com> let me know if it works On Thu, Apr 2, 2009 at 1:54 PM, Robert Clayton wrote: > Anthony, > > I did not want you to think I did not appreciate this addition. I just > have not been able to grab a clean build yet to test yet. But when I > grab a clean build I will test it. > > Bob > > 2009/3/30 Anthony Minessale : > > try this, > > > > go to latest trunk, > > > > set the terminators to both # and * "#*" then when it stops check the > > variable read_terminator_used to see if it was # or * > > then you can continue in your loop > > > > i added the channel var read_terminator_used which should contain > > > > On Mon, Mar 30, 2009 at 10:42 AM, Robert Clayton > wrote: > >> > >> Anthony, > >> > >> Yes and no. The original regex was a little more complex, it only got > >> simplified in the thread while trying to discover what was going > >> wrong. > >> Where we got "\\*|\\d{6}" to match either a "*" or "123456" the > >> original problem. It also allowed any entry if a single (or multiple) > >> asterisk were entered at any position in the entry string. Which would > >> be an incorrect action. > >> > >> Correct: * and 123456 and does not match 1234 > >> Incorrect: **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > >> > >> Regardless, this was an interim step. What I need is two actions, the > >> first FS easily allows, the second the complicating factor. > >> 1) Enter either a numeric string (either a defined length or undefined > >> length followed by a "#") > >> 2) Enter an asterisk at anytime to allow reentry from the beginning > >> (returning without requiring a following terminator) > >> > >> I tried to use the callback and filter the input myself but since (I > >> think) the callback only functions while the recording is playing that > >> could not be done unless I was sure either the user responded during > >> the recording or the recording was paused. Is there anyway for the the > >> callback to delay and not return at the end of the recording? > >> > >> Bob > >> > >> 2009/3/30 Anthony Minessale : > >> > how about leave the regex blank if you can't figure one out and just > >> > collect > >> > 6 digits and look for * yourself? > >> > The one I told you saturday works for what you asked about. the one > you > >> > came back and asked about would require a | (or) > >> > with 2 expressions. > >> > > >> > On Mon, Mar 30, 2009 at 7:20 AM, Robert Clayton > >> > wrote: > >> >> > >> >> Well, I hope that this thread has not died as it seems there has been > >> >> no solution. > >> >> Also, it seems there is not a solid understanding as to the > >> >> interaction between Lua and FS. > >> >> > >> >> Does this suggest that I should abandon Lua for another scripting > >> >> implementation such as JavaScript? > >> >> > >> >> 2009/3/28 Anthony Minessale : > >> >> > try > >> >> > > >> >> > /^([\d*]{6})$/ > >> >> > > >> >> > \d is shorthand for 0-9 and anything in a [] is a set of chars so > >> >> > [\d*] > >> >> > means 0-9 and * > >> >> > [\d*]{6} means exactly 6 from the previous set and wrap the whole > >> >> > thing > >> >> > in > >> >> > ^$ means exact match > >> >> > from beginning to end of the string. > >> >> > > >> >> > > >> >> > 2009/3/28 Robert Clayton > >> >> >> > >> >> >> Michael, > >> >> >> > >> >> >> Good start! We are getting warmer. > >> >> >> > >> >> >> Where "(\\*|\\d{6})" will not match either * or 123456 or anything > I > >> >> >> can > >> >> >> think of. > >> >> >> "\\*|\\d{6}" does match * and 123456 and does not match 1234 > >> >> >> So far so good. > >> >> >> BUT, if an asterisk(s) are entered in a combination with numbers > >> >> >> anything > >> >> >> goes **, *123, 123 *, 12*24, 12**34, 1*2*3, etc. > >> >> >> > >> >> >> Bob > >> >> >> > >> >> >> > >> >> >> On Fri, Mar 27, 2009 at 5:54 PM, Michael Collins > >> >> >> > >> >> >> wrote: > >> >> >>> > >> >> >>> 2009/3/27 Robert Clayton : > >> >> >>> > Michael, > >> >> >>> > > >> >> >>> > Also note the error message reprints the expression without the > >> >> >>> > escape. > >> >> >>> > > >> >> >>> > Bob > >> >> >>> > > >> >> >>> > On Fri, Mar 27, 2009 at 2:29 PM, Michael Collins > >> >> >>> > > >> >> >>> > wrote: > >> >> >>> > >> >> >>> That just hit me. Try "\\*" instead of "\*" to see if maybe the > >> >> >>> backslash is getting dropped off between Lua and FreeSWITCH. > >> >> >>> > >> >> >>> -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 > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Anthony Minessale II > >> >> > > >> >> > FreeSWITCH http://www.freeswitch.org/ > >> >> > ClueCon http://www.cluecon.com/ > >> >> > > >> >> > 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 > >> >> > iax:guest at conference.freeswitch.org/888 > >> >> > googletalk:conf+888 at conference.freeswitch.org > >> >> > pstn:213-799-1400 > >> >> > > >> >> > _______________________________________________ > >> >> > 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/ > >> > > >> > 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 > >> > iax:guest at conference.freeswitch.org/888 > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:213-799-1400 > >> > > >> > _______________________________________________ > >> > 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/ > > > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090402/6a0dc3ae/attachment-0001.html From rjcajax at gmail.com Thu Apr 2 12:20:17 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Thu, 2 Apr 2009 15:20:17 -0400 Subject: [Freeswitch-dev] Audio To Buffer In-Reply-To: <191c3a030904021147mabb8133vc7d2b06108953ba2@mail.gmail.com> References: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> <191c3a030904021147mabb8133vc7d2b06108953ba2@mail.gmail.com> Message-ID: Do you know of any good reference for the SLN format? Am I correct that it is: headerless, 16 bit signed (little-endian) PCM. little-endian 2009/4/2 Anthony Minessale : > probably, I am not positive but it's called switch_buffer, it works a lot > like a file > you create it, pick a size and a block size to grow by and a limit if > desired when you create it > then you can read and write to it like a file (it's not thread safe on it's > own, it needs mutexes to protect it) > > > On Thu, Apr 2, 2009 at 1:41 PM, Robert Clayton wrote: >> >> Is that a C API that I could hook with mod_managed? >> >> 2009/4/2 Anthony Minessale : >> > yes you could write a function in C to use switch_buffer obj to read >> > from >> > the channel in SLN and save it to the buffer. >> > >> > >> > On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton >> > wrote: >> >> >> >> All, >> >> >> >> Is there anyway to take what would be read/written to/from a session >> >> such as streamFile/recordFile and place them in a memory buffer rather >> >> than a file allowing sudo-real time for manipulation by an >> >> application? >> >> >> >> 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/ >> > >> > 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 >> > iax:guest at conference.freeswitch.org/888 >> > googletalk:conf+888 at conference.freeswitch.org >> > pstn:213-799-1400 >> > >> > _______________________________________________ >> > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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 Thu Apr 2 12:28:08 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 2 Apr 2009 14:28:08 -0500 Subject: [Freeswitch-dev] Audio To Buffer In-Reply-To: References: <191c3a030904020908y3fc7b3dbqc7d77a17a660030c@mail.gmail.com> <191c3a030904021147mabb8133vc7d2b06108953ba2@mail.gmail.com> Message-ID: <191c3a030904021228q5ef01e94w4f11b80f0005480b@mail.gmail.com> yes, that's it if you init an L16 codec and assign it to a session as it's read codec it will start to deliver you raw PCM audio when you are done you set the codec to NULL which will restore it's original value. On Thu, Apr 2, 2009 at 2:20 PM, Robert Clayton wrote: > Do you know of any good reference for the SLN format? > Am I correct that it is: > headerless, 16 bit signed (little-endian) PCM. > little-endian > > 2009/4/2 Anthony Minessale : > > probably, I am not positive but it's called switch_buffer, it works a lot > > like a file > > you create it, pick a size and a block size to grow by and a limit if > > desired when you create it > > then you can read and write to it like a file (it's not thread safe on > it's > > own, it needs mutexes to protect it) > > > > > > On Thu, Apr 2, 2009 at 1:41 PM, Robert Clayton > wrote: > >> > >> Is that a C API that I could hook with mod_managed? > >> > >> 2009/4/2 Anthony Minessale : > >> > yes you could write a function in C to use switch_buffer obj to read > >> > from > >> > the channel in SLN and save it to the buffer. > >> > > >> > > >> > On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton > >> > wrote: > >> >> > >> >> All, > >> >> > >> >> Is there anyway to take what would be read/written to/from a session > >> >> such as streamFile/recordFile and place them in a memory buffer > rather > >> >> than a file allowing sudo-real time for manipulation by an > >> >> application? > >> >> > >> >> 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/ > >> > > >> > 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 > >> > iax:guest at conference.freeswitch.org/888 > >> > googletalk:conf+888 at conference.freeswitch.org > >> > pstn:213-799-1400 > >> > > >> > _______________________________________________ > >> > 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/ > > > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090402/abfd1bda/attachment.html From malhar at fusioninformatics.com Fri Apr 3 02:55:38 2009 From: malhar at fusioninformatics.com (Malhar Chudasama) Date: Fri, 3 Apr 2009 15:25:38 +0530 Subject: [Freeswitch-dev] Error On TLS Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/bb423016/attachment.html From msc at freeswitch.org Fri Apr 3 09:33:08 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 3 Apr 2009 09:33:08 -0700 Subject: [Freeswitch-dev] Error On TLS In-Reply-To: References: Message-ID: <87f2f3b90904030933w29a38958m350596bff50e1aa4@mail.gmail.com> On Fri, Apr 3, 2009 at 2:55 AM, Malhar Chudasama < malhar at fusioninformatics.com> wrote: > Hi, All, > > I tried on the opensip on linux box but my requirement of the window sip > server lead me to the freeSwitch. I have intalled the msi version to window. > And turn on the TLS after generating the certificates.Without turning TLS on > I can register on UDP and all works fine but after enabling TLS server is > not restarting and in sofia status internal profile is not starting with the > errror in log > > 2009-04-03 12:14:48 [ERR] sofia.c:738 sofia_profile_thread_run() Error > Creating SIP UA for profile: internal > > What can be reason here? > > > Regards, > M.C. > Unfortunately no one has been able to achieve this on Windows. If you figure it out we'd love to know about it, but we haven't got hours of dev time to devote to this endeavor. -MC (the other MC! :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/ed3f0427/attachment.html From anthony.minessale at gmail.com Fri Apr 3 09:45:24 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 3 Apr 2009 11:45:24 -0500 Subject: [Freeswitch-dev] Error On TLS In-Reply-To: <87f2f3b90904030933w29a38958m350596bff50e1aa4@mail.gmail.com> References: <87f2f3b90904030933w29a38958m350596bff50e1aa4@mail.gmail.com> Message-ID: <191c3a030904030945ieb329a0r9b608f217c420dd9@mail.gmail.com> Does MC stand for Mister Custodian? ;) On Fri, Apr 3, 2009 at 11:33 AM, Michael Collins wrote: > On Fri, Apr 3, 2009 at 2:55 AM, Malhar Chudasama < > malhar at fusioninformatics.com> wrote: > >> Hi, All, >> >> I tried on the opensip on linux box but my requirement of the window sip >> server lead me to the freeSwitch. I have intalled the msi version to window. >> And turn on the TLS after generating the certificates.Without turning TLS on >> I can register on UDP and all works fine but after enabling TLS server is >> not restarting and in sofia status internal profile is not starting with the >> errror in log >> >> 2009-04-03 12:14:48 [ERR] sofia.c:738 sofia_profile_thread_run() Error >> Creating SIP UA for profile: internal >> >> What can be reason here? >> >> >> Regards, >> M.C. >> > > Unfortunately no one has been able to achieve this on Windows. If you > figure it out we'd love to know about it, but we haven't got hours of dev > time to devote to this endeavor. > > -MC (the other 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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/084a0e05/attachment-0001.html From brian at freeswitch.org Fri Apr 3 10:04:57 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 3 Apr 2009 12:04:57 -0500 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 Message-ID: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> Does anyone else seem to be getting tons of calls from this evil IP? They keep ringing me via SIP over and over again. Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/e692a43d/attachment.html From grevenx at me.com Fri Apr 3 10:35:07 2009 From: grevenx at me.com (=?ISO-8859-1?Q?Even_Andr=E9_Fiskvik?=) Date: Fri, 03 Apr 2009 19:35:07 +0200 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> Message-ID: <60D443E4-6DBA-47CA-BD93-2E9059646B99@me.com> Absolutely, I googled them before. Seems to be some kind of statistics software? Best regards, Even Andr? Fiskvik On 3. april. 2009, at 19.04, Brian West wrote: > Does anyone else seem to be getting tons of calls from this evil > IP? They keep ringing me via SIP over and over again. > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! http://www.cluecon.com > > > > _______________________________________________ > 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/20090403/c07923dc/attachment.html From brian at freeswitch.org Fri Apr 3 10:41:03 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 3 Apr 2009 12:41:03 -0500 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <60D443E4-6DBA-47CA-BD93-2E9059646B99@me.com> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> <60D443E4-6DBA-47CA-BD93-2E9059646B99@me.com> Message-ID: Then why are they trying to call Yugoslavia? On Apr 3, 2009, at 12:35 PM, Even Andr? Fiskvik wrote: > Absolutely, I googled them before. Seems to be some kind of > statistics software? > > Best regards, > Even Andr? Fiskvik Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/2e55449d/attachment.html From sramsey at sipinterchange.com Fri Apr 3 10:20:42 2009 From: sramsey at sipinterchange.com (Shelby Ramsey) Date: Fri, 3 Apr 2009 12:20:42 -0500 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> Message-ID: <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> That's funny .... here is their web site --> http://www.meucci-solutions.com/ The funny part is that they seem to be in the VoIP fraud detection business. On Apr 3, 2009, at 12:04 PM, Brian West wrote: > Does anyone else seem to be getting tons of calls from this evil > IP? They keep ringing me via SIP over and over again. > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! http://www.cluecon.com > > > > _______________________________________________ > 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/20090403/adc20a42/attachment.html From melcon at gmail.com Fri Apr 3 10:49:29 2009 From: melcon at gmail.com (Melcon Moraes) Date: Fri, 3 Apr 2009 14:49:29 -0300 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> Message-ID: Check this... http://www.meucci-solutions.com/complaints.asp?id=1 - MM On Fri, Apr 3, 2009 at 2:20 PM, Shelby Ramsey wrote: > That's funny .... here is their web site > -->?http://www.meucci-solutions.com/ > The funny part is that they seem to be in the VoIP fraud detection business. > > On Apr 3, 2009, at 12:04 PM, Brian West wrote: > > Does anyone else seem to be getting tons of calls from this evil IP? ?They > keep ringing me via SIP over and over again. > Brian West > brian at freeswitch.org > -- Meet us a ClueCon! ?http://www.cluecon.com > > > > _______________________________________________ > 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 gkuri at ieee.org Fri Apr 3 10:53:53 2009 From: gkuri at ieee.org (Gabriel Kuri) Date: Fri, 03 Apr 2009 10:53:53 -0700 Subject: [Freeswitch-dev] [Freeswitch-users] MeucciSolutions@66.96.218.5 In-Reply-To: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> Message-ID: <49D64D31.2060904@ieee.org> I heard about this a few days ago, they claim it's not them, but someone trying to "harm their reputation" ... http://www.meucci-solutions.com/complaints.asp?id=1 Gabe Brian West wrote: > Does anyone else seem to be getting tons of calls from this evil IP? > They keep ringing me via SIP over and over again. > > Brian West > brian at freeswitch.org > > -- Meet us a ClueCon! http://www.cluecon.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From shoney at noblesys.com Fri Apr 3 11:01:00 2009 From: shoney at noblesys.com (Saji Honey) Date: Fri, 3 Apr 2009 14:01:00 -0400 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> Message-ID: <9172B9E6E8964895A39F9DAF360C4A5F@noblesys.com> It looks like some one else is making these calls in their name. http://www.meucci-solutions.com/complaints.asp?id=1 _____ From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Shelby Ramsey Sent: Friday, April 03, 2009 1:21 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] MeucciSolutions at 66.96.218.5 That's funny .... here is their web site --> http://www.meucci-solutions.com/ The funny part is that they seem to be in the VoIP fraud detection business. On Apr 3, 2009, at 12:04 PM, Brian West wrote: Does anyone else seem to be getting tons of calls from this evil IP? They keep ringing me via SIP over and over again. Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com _______________________________________________ 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 CONFIDENTIAL NOTICE: If you have received this email in error, please immediately notify the sender by email at the address shown above. This email may contain confidential or legally privileged information that is intended only for the use of the individual or entity named in this email. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or reliance upon the contents of this email is strictly prohibited. Please delete from your files if you are not the intended recipient. Thank you for your compliance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/34974c1e/attachment-0001.html From brian at freeswitch.org Fri Apr 3 11:39:53 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 3 Apr 2009 13:39:53 -0500 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <9172B9E6E8964895A39F9DAF360C4A5F@noblesys.com> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> <9172B9E6E8964895A39F9DAF360C4A5F@noblesys.com> Message-ID: I could care less who is doing it... I wanna beat who ever is doing this with a baseball bat! On Apr 3, 2009, at 1:01 PM, Saji Honey wrote: > It looks like some one else is making these calls in their name. > > http://www.meucci-solutions.com/complaints.asp?id=1 Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/bc742bac/attachment.html From brian at freeswitch.org Fri Apr 3 13:03:48 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 3 Apr 2009 15:03:48 -0500 Subject: [Freeswitch-dev] MeucciSolutions@66.96.218.5 In-Reply-To: <9172B9E6E8964895A39F9DAF360C4A5F@noblesys.com> References: <0957E2DD-030F-40AF-9E4E-CF155AF739B5@freeswitch.org> <42F13486-10B6-424E-8375-1BC5B35D72A9@sipinterchange.com> <9172B9E6E8964895A39F9DAF360C4A5F@noblesys.com> Message-ID: <01571E46-EAEF-4C1E-8704-BB0A2EB5755C@freeswitch.org> deny ip host 66.96.218.5 any Works wonders! /b On Apr 3, 2009, at 1:01 PM, Saji Honey wrote: > It looks like some one else is making these calls in their name. > > http://www.meucci-solutions.com/complaints.asp?id=1 > > /mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org Brian West brian at freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090403/78478fc6/attachment.html From seven at idapted.com Mon Apr 6 07:35:13 2009 From: seven at idapted.com (seven du) Date: Mon, 6 Apr 2009 22:35:13 +0800 Subject: [Freeswitch-dev] Codes I don't understand Message-ID: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> Hi, can someone explain this to me? In switch_core_media_bug.c, around line 173: for (x = 0; x < blen; x++) { int32_t z = 0; if (x < rlen) { z += (int32_t) *(fp + x); //what's difference here with z = (int32_t) *(fp + x) ? } if (x < wlen) { z += (int32_t) *(dp + x); } switch_normalize_to_16bit(z); *(fp + x) = (int16_t) z / 2; } And for switch_normalize_to_16bit, according to switch_utils.h, #define SWITCH_SMAX 32767 #define SWITCH_SMIN -32768 #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; Then switch_normalize_to_16bit( 32768 ), z = 32767/2, and (int16_t) z / 2 = 32767/4 switch_normalize_to_16bit( 32766) , z = 32766, and (int16_t) z / 2 = 32766/2 Does that make sense? I guess it should be like this: #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; else n = n / 2; switch_normalize_to_16bit(z); *(fp + x) = (int16_t) z; Thank you. From anthony.minessale at gmail.com Mon Apr 6 08:16:33 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 6 Apr 2009 10:16:33 -0500 Subject: [Freeswitch-dev] Codes I don't understand In-Reply-To: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> Message-ID: <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> what ? I don't know what your question is. On Mon, Apr 6, 2009 at 9:35 AM, seven du wrote: > Hi, can someone explain this to me? > > In switch_core_media_bug.c, around line 173: > > > > for (x = 0; x < blen; x++) { > int32_t z = 0; > > if (x < rlen) { > z += (int32_t) *(fp + x); //what's > difference here with z = > (int32_t) *(fp + x) ? > } > if (x < wlen) { > z += (int32_t) *(dp + x); > } > switch_normalize_to_16bit(z); > *(fp + x) = (int16_t) z / 2; > } > > And for switch_normalize_to_16bit, according to switch_utils.h, > > #define SWITCH_SMAX 32767 > #define SWITCH_SMIN -32768 > #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = > SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; > > Then > switch_normalize_to_16bit( 32768 ), z = 32767/2, and (int16_t) z / 2 = > 32767/4 > switch_normalize_to_16bit( 32766) , z = 32766, and (int16_t) z / 2 = > 32766/2 > > Does that make sense? I guess it should be like this: > > #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = > SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; else n > = n / 2; > > switch_normalize_to_16bit(z); > *(fp + x) = (int16_t) z; > > > Thank you. > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/cdc8bb85/attachment.html From seven at idapted.com Mon Apr 6 08:44:06 2009 From: seven at idapted.com (seven du) Date: Mon, 6 Apr 2009 23:44:06 +0800 Subject: [Freeswitch-dev] Codes I don't understand In-Reply-To: <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> Message-ID: Well, Thank you Anthony. 3 questions In summary, 1) in > if (x < rlen) { > z += (int32_t) *(fp + x); Any difference if change the "+=" to "=" since z is 0? It just confused me. 2) If n1 = 32768, n2 = 32766, after use MACRO switch_normalize_to_16bit(n1) switch_normalize_to_16bit(n2) the result will be: n1 = 32767/2 = 16383 n2 = 32766 is that the expected result? 3) Is there any chance rlen and wlen both > 0? On Apr 6, 2009, at 11:16 PM, Anthony Minessale wrote: > what ? > > I don't know what your question is. > > > On Mon, Apr 6, 2009 at 9:35 AM, seven du wrote: > Hi, can someone explain this to me? > > In switch_core_media_bug.c, around line 173: > > > > for (x = 0; x < blen; x++) { > int32_t z = 0; > > if (x < rlen) { > z += (int32_t) *(fp + x); // > what's difference here with z = > (int32_t) *(fp + x) ? > > } > if (x < wlen) { > z += (int32_t) *(dp + x); > } > switch_normalize_to_16bit(z); > *(fp + x) = (int16_t) z / 2; > } > > And for switch_normalize_to_16bit, according to switch_utils.h, > > #define SWITCH_SMAX 32767 > #define SWITCH_SMIN -32768 > #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = > SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; > > Then > switch_normalize_to_16bit( 32768 ), z = 32767/2, and (int16_t) z / 2 = > 32767/4 > switch_normalize_to_16bit( 32766) , z = 32766, and (int16_t) z / 2 = > 32766/2 > > Does that make sense? I guess it should be like this: > > #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = > SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; else n > = n / 2; > > switch_normalize_to_16bit(z); > *(fp + x) = (int16_t) z; > > > Thank you. > > _______________________________________________ > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > _______________________________________________ > 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/20090406/50c9b665/attachment-0001.html From anthony.minessale at gmail.com Mon Apr 6 09:21:09 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 6 Apr 2009 11:21:09 -0500 Subject: [Freeswitch-dev] Codes I don't understand In-Reply-To: References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> Message-ID: <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> 1) no the += or = makes no difference to me. 2) the macro is designed to fight clipping: When a sample exceeds the max size of the datatype we set it to the max value then cut the volume in half of that sample so it does not make too much noise. if we divide everything by 2 then all the volume would be reduced even on samples that fell inside the proper range. 3) rlen and wlen are often both > 0. the point is we only manupulate the data that is real rlen is how many bytes on the read channel and wlen the write, we normalize it so if one of the other is a difference size we only change samples that are in the range where actual audio occured. On Mon, Apr 6, 2009 at 10:44 AM, seven du wrote: > Well, Thank you Anthony. 3 questions In summary, > > 1) in > > if (x < rlen) { > z += (int32_t) *(fp + x); > > > Any difference if change the "+=" to "=" since z is 0? It just confused me. > > 2) If n1 = 32768, n2 = 32766, after use MACRO > switch_normalize_to_16bit(n1) > switch_normalize_to_16bit(n2) > > the result will be: > n1 = 32767/2 = 16383 > n2 = 32766 > > is that the expected result? > > 3) Is there any chance rlen and wlen both > 0? > > On Apr 6, 2009, at 11:16 PM, Anthony Minessale wrote: > > what ? > > I don't know what your question is. > > > > On Mon, Apr 6, 2009 at 9:35 AM, seven du wrote: > >> Hi, can someone explain this to me? >> >> In switch_core_media_bug.c, around line 173: >> >> >> >> for (x = 0; x < blen; x++) { >> int32_t z = 0; >> >> if (x < rlen) { >> z += (int32_t) *(fp + x); //what's >> difference here with z = >> (int32_t) *(fp + x) ? > > >> } >> if (x < wlen) { >> z += (int32_t) *(dp + x); >> } >> switch_normalize_to_16bit(z); >> *(fp + x) = (int16_t) z / 2; >> } >> >> And for switch_normalize_to_16bit, according to switch_utils.h, >> >> #define SWITCH_SMAX 32767 >> #define SWITCH_SMIN -32768 >> #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = >> SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; >> >> Then >> switch_normalize_to_16bit( 32768 ), z = 32767/2, and (int16_t) z / 2 = >> 32767/4 >> switch_normalize_to_16bit( 32766) , z = 32766, and (int16_t) z / 2 = >> 32766/2 >> >> Does that make sense? I guess it should be like this: >> >> #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = >> SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; else n >> = n / 2; >> >> switch_normalize_to_16bit(z); >> *(fp + x) = (int16_t) z; >> >> >> Thank you. >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/e86a8bcc/attachment.html From mbrancaleoni at voismart.it Mon Apr 6 08:26:34 2009 From: mbrancaleoni at voismart.it (Matteo) Date: Mon, 6 Apr 2009 17:26:34 +0200 (CEST) Subject: [Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules In-Reply-To: <1238764813.23024.102.camel@rivendell.windmill.it> Message-ID: <2046040026.38431239031594807.JavaMail.root@mx.voismart.com> Hello, I'm forwarding the message from my friend since is better suited for -dev ML. In addition, we changed the codec_init to ask only for DECODE on read and for ENCODE on write in sofia and skypiax and everything seems to work... there's a reason for that? are we going to break up things? regards, Matteo. ----- Messaggio inoltrato ----- Da: "Lele Forzani" A: freeswitch-users at lists.freeswitch.org Inviato: Venerd?, 3 aprile 2009 15:20:13 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna Oggetto: [Freeswitch-users] codecs initialization flags in endpoint modules Hello, I've been experimenting with the use of mod_dahdi_codec and other ways to perform external transcoding for codecs, and came up with noticing that transcoding resources seemed to be used up twice what I expected. That is and 2x the number of call legs, ending up to two encoder and two decoder instances per leg. So, I looked at the code and noticed almost every endpoint module does something like this (excerpt from mod_sofia, sofia_glue.c:~1800): if (switch_core_codec_init(&tech_pvt->read_codec, tech_pvt->iananame, tech_pvt->rm_fmtp, tech_pvt->rm_rate, tech_pvt->codec_ms, 1, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE | tech_pvt->profile->codec_flags, NULL, switch_core_session_get_pool(tech_pvt->session)) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't load codec?\n"); switch_goto_status(SWITCH_STATUS_FALSE, end); } if (switch_core_codec_init(&tech_pvt->write_codec, tech_pvt->iananame, tech_pvt->rm_fmtp, tech_pvt->rm_rate, tech_pvt->codec_ms, 1, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE | tech_pvt->profile->codec_flags, NULL, switch_core_session_get_pool(tech_pvt->session)) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't load codec?\n"); switch_goto_status(SWITCH_STATUS_FALSE, end); } The flags being SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE seems to be causing the apparent 'double' allocation of transcoding resources, and I fail to understand the need for both, in both cases. Could someone please spend a minute to explain? thanks lele _______________________________________________ Freeswitch-users mailing list Freeswitch-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From seven at idapted.com Mon Apr 6 09:40:37 2009 From: seven at idapted.com (seven du) Date: Tue, 7 Apr 2009 00:40:37 +0800 Subject: [Freeswitch-dev] Codes I don't understand In-Reply-To: <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> Message-ID: <3152176D-CD9A-4F28-990D-28508F88B85A@idapted.com> Thank you for the quick and detailed explain, It had confused me for a while. :) On Apr 7, 2009, at 12:21 AM, Anthony Minessale wrote: > 1) no the += or = makes no difference to me. > > 2) the macro is designed to fight clipping: > When a sample exceeds the max size of the datatype we set it to > the max value then cut the volume in half of that sample so it does > not make too much noise. if we divide everything by 2 then all the > volume would be reduced even on samples that fell inside the proper > range. > > 3) rlen and wlen are often both > 0. the point is we only manupulate > the data that is real rlen is how many bytes on the read channel and > wlen the write, we normalize it so if one of the other is a > difference size we only change samples that are in the range where > actual audio occured. > > > > > On Mon, Apr 6, 2009 at 10:44 AM, seven du wrote: > Well, Thank you Anthony. 3 questions In summary, > > 1) in >> if (x < rlen) { >> z += (int32_t) *(fp + x); > > Any difference if change the "+=" to "=" since z is 0? It just > confused me. > > 2) If n1 = 32768, n2 = 32766, after use MACRO > switch_normalize_to_16bit(n1) > switch_normalize_to_16bit(n2) > > the result will be: > n1 = 32767/2 = 16383 > n2 = 32766 > > is that the expected result? > > 3) Is there any chance rlen and wlen both > 0? > > On Apr 6, 2009, at 11:16 PM, Anthony Minessale wrote: >> what ? >> >> I don't know what your question is. >> >> >> On Mon, Apr 6, 2009 at 9:35 AM, seven du wrote: >> Hi, can someone explain this to me? >> >> In switch_core_media_bug.c, around line 173: >> >> >> >> for (x = 0; x < blen; x++) { >> int32_t z = 0; >> >> if (x < rlen) { >> z += (int32_t) *(fp + x); // >> what's difference here with z = >> (int32_t) *(fp + x) ? >> >> } >> if (x < wlen) { >> z += (int32_t) *(dp + x); >> } >> switch_normalize_to_16bit(z); >> *(fp + x) = (int16_t) z / 2; >> } >> >> And for switch_normalize_to_16bit, according to switch_utils.h, >> >> #define SWITCH_SMAX 32767 >> #define SWITCH_SMIN -32768 >> #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = >> SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; >> >> Then >> switch_normalize_to_16bit( 32768 ), z = 32767/2, and (int16_t) z / >> 2 = >> 32767/4 >> switch_normalize_to_16bit( 32766) , z = 32766, and (int16_t) z / 2 = >> 32766/2 >> >> Does that make sense? I guess it should be like this: >> >> #define switch_normalize_to_16bit(n) if (n > SWITCH_SMAX) n = >> SWITCH_SMAX / 2; else if (n < SWITCH_SMIN) n = SWITCH_SMIN / 2; >> else n >> = n / 2; >> >> switch_normalize_to_16bit(z); >> *(fp + x) = (int16_t) z; >> >> >> Thank you. >> >> _______________________________________________ >> 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/ >> >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:213-799-1400 >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > _______________________________________________ > 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/20090407/2f7339ae/attachment-0001.html From anthony.minessale at gmail.com Mon Apr 6 10:10:07 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 6 Apr 2009 12:10:07 -0500 Subject: [Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules In-Reply-To: <2046040026.38431239031594807.JavaMail.root@mx.voismart.com> References: <1238764813.23024.102.camel@rivendell.windmill.it> <2046040026.38431239031594807.JavaMail.root@mx.voismart.com> Message-ID: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> did you test it in scenarios where the ptime is mismatched, every combination of sample rate transcoding, eavesdroping on a channel in all the above situations? It would require a full suite of testing to confirm. switch_core_io.c:432 does use read_codec for encode i think cases arise where it does need both but we could change the code to delay when it inits until the first time it needs it instead so it would only take place when necessary. it would require changing all the codec modules in the if (encoding) if (decoding) so instead they were functions we would call the first time encode or decode was actually called. On Mon, Apr 6, 2009 at 10:26 AM, Matteo wrote: > Hello, > > I'm forwarding the message from my friend since is better suited > for -dev ML. > > In addition, we changed the codec_init to ask only for DECODE on read > and for ENCODE on write in sofia and skypiax and everything seems to > work... > > there's a reason for that? > > are we going to break up things? > > regards, > Matteo. > > ----- Messaggio inoltrato ----- > Da: "Lele Forzani" > A: freeswitch-users at lists.freeswitch.org > Inviato: Venerd?, 3 aprile 2009 15:20:13 GMT +01:00 > Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna > Oggetto: [Freeswitch-users] codecs initialization flags in endpoint modules > > > Hello, > I've been experimenting with the use of mod_dahdi_codec and other ways > to perform external transcoding for codecs, and came up with noticing > that transcoding resources seemed to be used up twice what I expected. > That is and 2x the number of call legs, ending up to two encoder and two > decoder instances per leg. > > > So, I looked at the code and noticed almost every endpoint module does > something like this (excerpt from mod_sofia, sofia_glue.c:~1800): > > if (switch_core_codec_init(&tech_pvt->read_codec, > tech_pvt->iananame, > tech_pvt->rm_fmtp, > tech_pvt->rm_rate, > tech_pvt->codec_ms, > 1, > SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE | > tech_pvt->profile->codec_flags, > NULL, switch_core_session_get_pool(tech_pvt->session)) != > SWITCH_STATUS_SUCCESS) { > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't load > codec?\n"); > switch_goto_status(SWITCH_STATUS_FALSE, end); > } > > if (switch_core_codec_init(&tech_pvt->write_codec, > tech_pvt->iananame, > tech_pvt->rm_fmtp, > tech_pvt->rm_rate, > tech_pvt->codec_ms, > 1, > SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE | > tech_pvt->profile->codec_flags, > NULL, switch_core_session_get_pool(tech_pvt->session)) != > SWITCH_STATUS_SUCCESS) { > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't load > codec?\n"); > switch_goto_status(SWITCH_STATUS_FALSE, end); > } > > > The flags being SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE > seems to be causing the apparent 'double' allocation of transcoding > resources, and I fail to understand the need for both, in both cases. > > Could someone please spend a minute to explain? > > > thanks > lele > > > > > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _______________________________________________ > Freeswitch-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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/3e6f55bd/attachment.html From mbrancaleoni at voismart.it Mon Apr 6 11:20:26 2009 From: mbrancaleoni at voismart.it (Matteo) Date: Mon, 6 Apr 2009 20:20:26 +0200 (CEST) Subject: [Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules In-Reply-To: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> Message-ID: <744318184.39421239042026926.JavaMail.root@mx.voismart.com> Hi, ----- "Anthony Minessale" ha scritto: > did you test it in scenarios where the ptime is mismatched, every > combination of sample rate transcoding, eavesdroping on a channel in > all the above situations? no, not at all > It would require a full suite of testing to confirm. I agree. > switch_core_io.c:432 does use read_codec for encode > > i think cases arise where it does need both but we could change the > code to delay when it inits until the > first time it needs it instead so it would only take place when > necessary. the question arose investigating the wrong resource usage of dadhi codec, since it allocs 2 resources for every call. maybe the issue is somewhere else? regards, matteo From anthony.minessale at gmail.com Mon Apr 6 11:43:03 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 6 Apr 2009 13:43:03 -0500 Subject: [Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules In-Reply-To: <744318184.39421239042026926.JavaMail.root@mx.voismart.com> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> Message-ID: <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> yes it's a valid concern. We should work towards a patch like the one i proposed to init the resources only when they are first called upon so if a paticular call never needs the read codec to do encode and decode then it would only allocate them the first time they actually tried it. then most calls would only use one of each until some of the more crazy scenarios kicked in On Mon, Apr 6, 2009 at 1:20 PM, Matteo wrote: > Hi, > > ----- "Anthony Minessale" ha scritto: > > did you test it in scenarios where the ptime is mismatched, every > > combination of sample rate transcoding, eavesdroping on a channel in > > all the above situations? > > no, not at all > > > It would require a full suite of testing to confirm. > > I agree. > > > switch_core_io.c:432 does use read_codec for encode > > > > i think cases arise where it does need both but we could change the > > code to delay when it inits until the > > first time it needs it instead so it would only take place when > > necessary. > > the question arose investigating the wrong resource usage of > dadhi codec, since it allocs 2 resources for every call. > > maybe the issue is somewhere else? > > regards, > matteo > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/acbf0b30/attachment.html From egghunt at gmail.com Mon Apr 6 19:11:52 2009 From: egghunt at gmail.com (Arnaldo de Moraes Pereira) Date: Mon, 6 Apr 2009 23:11:52 -0300 Subject: [Freeswitch-dev] mod_spidermonkey fails to load on ubuntu Message-ID: Hi, On ubuntu 8.10, libtool 2.2, FreeSWITCH rev 12933, mod_spidermonkey builds but won't load. Error: **/usr/local/freeswitch/mod/mod_spidermonkey.so: undefined symbol: PR_LocalTimeParameters** This seems to be fixed on FSBUILD-41 ( http://jira.freeswitch.org/browse/FSBUILD-41), but I see exactly the same symptom. libs/js/nsprpub/pr/src/libnspr4.{a,so} has the symbol defined and the makefile seems to read it. Any hint? -- Arnaldo M Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/0e83f973/attachment.html From seven at idapted.com Mon Apr 6 19:23:25 2009 From: seven at idapted.com (seven) Date: Tue, 7 Apr 2009 10:23:25 +0800 Subject: [Freeswitch-dev] mod_spidermonkey fails to load on ubuntu In-Reply-To: References: Message-ID: Follow this thread, maybe related to that. http://lists.freeswitch.org/pipermail/freeswitch-users/2009-April/013147.html On Apr 7, 2009, at 10:11 AM, Arnaldo de Moraes Pereira wrote: > Hi, > > On ubuntu 8.10, libtool 2.2, FreeSWITCH rev 12933, mod_spidermonkey > builds but won't load. Error: **/usr/local/freeswitch/mod/ > mod_spidermonkey.so: undefined symbol: PR_LocalTimeParameters** > > This seems to be fixed on FSBUILD-41 (http://jira.freeswitch.org/browse/FSBUILD-41 > ), but I see exactly the same symptom. libs/js/nsprpub/pr/src/ > libnspr4.{a,so} has the symbol defined and the makefile seems to > read it. > > Any hint? > > -- > Arnaldo M Pereira > _______________________________________________ > 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/20090407/32d2b4b9/attachment-0001.html From egghunt at gmail.com Mon Apr 6 19:35:36 2009 From: egghunt at gmail.com (Arnaldo de Moraes Pereira) Date: Mon, 6 Apr 2009 23:35:36 -0300 Subject: [Freeswitch-dev] mod_spidermonkey fails to load on ubuntu In-Reply-To: References: Message-ID: Maybe it is related, but I couldn't figure anything helpful from the thread, nor the patch. On Mon, Apr 6, 2009 at 11:23 PM, seven wrote: > Follow this thread, maybe related to that. > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-April/013147.html > > > On Apr 7, 2009, at 10:11 AM, Arnaldo de Moraes Pereira wrote: > > Hi, > > On ubuntu 8.10, libtool 2.2, FreeSWITCH rev 12933, mod_spidermonkey builds > but won't load. Error: **/usr/local/freeswitch/mod/mod_spidermonkey.so: > undefined symbol: PR_LocalTimeParameters** > > This seems to be fixed on FSBUILD-41 ( > http://jira.freeswitch.org/browse/FSBUILD-41), but I see exactly the same > symptom. libs/js/nsprpub/pr/src/libnspr4.{a,so} has the symbol defined and > the makefile seems to read it. > > Any hint? > > -- > Arnaldo M Pereira > _______________________________________________ > 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 > > -- Arnaldo M Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090406/fbcc16cb/attachment.html From mike at jerris.com Mon Apr 6 20:14:30 2009 From: mike at jerris.com (Michael Jerris) Date: Mon, 6 Apr 2009 23:14:30 -0400 Subject: [Freeswitch-dev] mod_spidermonkey fails to load on ubuntu In-Reply-To: References: Message-ID: Is this also the case with a totally fresh checkout? If so, please contact me on irc tomorrow so I can log into the box and take a look. Mike On Apr 6, 2009, at 10:35 PM, Arnaldo de Moraes Pereira wrote: > Maybe it is related, but I couldn't figure anything helpful from the > thread, nor the patch. > > On Mon, Apr 6, 2009 at 11:23 PM, seven wrote: > Follow this thread, maybe related to that. > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-April/013147.html > > > On Apr 7, 2009, at 10:11 AM, Arnaldo de Moraes Pereira wrote: >> Hi, >> >> On ubuntu 8.10, libtool 2.2, FreeSWITCH rev 12933, mod_spidermonkey >> builds but won't load. Error: **/usr/local/freeswitch/mod/ >> mod_spidermonkey.so: undefined symbol: PR_LocalTimeParameters** >> >> This seems to be fixed on FSBUILD-41 (http://jira.freeswitch.org/browse/FSBUILD-41 >> ), but I see exactly the same symptom. libs/js/nsprpub/pr/src/ >> libnspr4.{a,so} has the symbol defined and the makefile seems to >> read it. >> >> Any hint? >> >> -- >> Arnaldo M Pereira >> _______________________________________________ >> 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 > > > > > -- > Arnaldo M Pereira > _______________________________________________ > 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/20090406/2256b3e2/attachment.html From egghunt at gmail.com Mon Apr 6 20:26:01 2009 From: egghunt at gmail.com (Arnaldo de Moraes Pereira) Date: Tue, 7 Apr 2009 00:26:01 -0300 Subject: [Freeswitch-dev] mod_spidermonkey fails to load on ubuntu In-Reply-To: References: Message-ID: On Tue, Apr 7, 2009 at 12:14 AM, Michael Jerris wrote: > Is this also the case with a totally fresh checkout? If so, please contact > me on irc tomorrow so I can log into the box and take a look. > It's a fresh checkout and build. Talk to you tomorrow, then. > > Mike > > > On Apr 6, 2009, at 10:35 PM, Arnaldo de Moraes Pereira > wrote: > > Maybe it is related, but I couldn't figure anything helpful from the > thread, nor the patch. > > On Mon, Apr 6, 2009 at 11:23 PM, seven < > seven at idapted.com> wrote: > >> Follow this thread, maybe related to that. >> >> >> http://lists.freeswitch.org/pipermail/freeswitch-users/2009-April/013147.html >> >> >> On Apr 7, 2009, at 10:11 AM, Arnaldo de Moraes Pereira wrote: >> >> Hi, >> >> On ubuntu 8.10, libtool 2.2, FreeSWITCH rev 12933, mod_spidermonkey builds >> but won't load. Error: **/usr/local/freeswitch/mod/mod_spidermonkey.so: >> undefined symbol: PR_LocalTimeParameters** >> >> This seems to be fixed on FSBUILD-41 ( >> http://jira.freeswitch.org/browse/FSBUILD-41), but I see exactly the same >> symptom. libs/js/nsprpub/pr/src/libnspr4.{a,so} has the symbol defined and >> the makefile seems to read it. >> >> Any hint? >> >> -- >> Arnaldo M Pereira >> _______________________________________________ >> 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 >> >> > > > -- > Arnaldo M Pereira > > _______________________________________________ > 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 > > -- Arnaldo M Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090407/55e98324/attachment.html From nicb-lists at vadacom.co.nz Mon Apr 6 21:15:04 2009 From: nicb-lists at vadacom.co.nz (Nic Bellamy) Date: Tue, 07 Apr 2009 16:15:04 +1200 Subject: [Freeswitch-dev] Audio hard-limiting vs. switch_normalize_to_16bit (was: Re: Codes I don't understand) In-Reply-To: <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> Message-ID: <49DAD348.3040201@vadacom.co.nz> Anthony Minessale wrote: > 2) the macro is designed to fight clipping: > When a sample exceeds the max size of the datatype we set it to > the max value then cut the volume in half of that sample so it does > not make too much noise. if we divide everything by 2 then all the > volume would be reduced even on samples that fell inside the proper range. Hi Anthony, all, this is, in my opinion, actually going to give you far far uglier audio artefacts than simply hard limiting the samples. Rather than try and describe the resulting distortion, it's easier to just listen to it in action... Each of the following files is about 100kb. Original file (extracted from freeswitch-sounds-en-us-callie-8000-1.0.7.tar.gz): http://www.vadacom.co.nz/engineering/ivr-sample_submenu.wav After 30dB gain and hard limiting samples to between -32768 and 32767: http://www.vadacom.co.nz/engineering/ivr-sample_submenu-hardlimited.wav After 30dB gain and switch_normalize_to_16bit(): http://www.vadacom.co.nz/engineering/ivr-sample_submenu-switch_normalize_to_16bit.wav Cheers, Nic. -- Nic Bellamy, Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ From ceino.no at gmail.com Tue Apr 7 02:50:49 2009 From: ceino.no at gmail.com (Ceino) Date: Tue, 07 Apr 2009 11:50:49 +0200 Subject: [Freeswitch-dev] GDB doesn't catching breakpoints in module Message-ID: <49DB21F9.4030402@gmail.com> Hi all, I try to use breakpoints in mod_dialplan_xml.c but it doesn't get catched (the program work). This did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6. Inside gdb I use the following command: break mod_dialplan_xml.c:dialplan_hunt Best Regars Lars Sivertsen From mike at jerris.com Tue Apr 7 06:52:48 2009 From: mike at jerris.com (Michael Jerris) Date: Tue, 7 Apr 2009 09:52:48 -0400 Subject: [Freeswitch-dev] GDB doesn't catching breakpoints in module In-Reply-To: <49DB21F9.4030402@gmail.com> References: <49DB21F9.4030402@gmail.com> Message-ID: <0E4F01D4-9C76-4D83-A104-E68625320CEC@jerris.com> On Apr 7, 2009, at 5:50 AM, Ceino wrote: > Hi all, I try to use breakpoints in mod_dialplan_xml.c but it doesn't > get catched (the program work). This > did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6. > > Inside gdb I use the following command: > > break mod_dialplan_xml.c:dialplan_hunt This should work fine still, could you please try to track down what changes you think caused this issue. Mike From seven at idapted.com Tue Apr 7 07:42:27 2009 From: seven at idapted.com (seven du) Date: Tue, 7 Apr 2009 22:42:27 +0800 Subject: [Freeswitch-dev] Audio hard-limiting vs. switch_normalize_to_16bit (was: Re: Codes I don't understand) In-Reply-To: <49DAD348.3040201@vadacom.co.nz> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> <49DAD348.3040201@vadacom.co.nz> Message-ID: And, actually the value to be normalized is 32bit and which generally is a sum of two 16bit values( read and write ), so it's probably easy to exceed 32767 if both end speaking at the same time. On Apr 7, 2009, at 12:15 PM, Nic Bellamy wrote: > Anthony Minessale wrote: >> 2) the macro is designed to fight clipping: >> When a sample exceeds the max size of the datatype we set it to >> the max value then cut the volume in half of that sample so it does >> not make too much noise. if we divide everything by 2 then all the >> volume would be reduced even on samples that fell inside the proper >> range. > Hi Anthony, all, > this is, in my opinion, actually going to give you far far uglier > audio artefacts than simply hard limiting the samples. Rather than try > and describe the resulting distortion, it's easier to just listen to > it > in action... > > Each of the following files is about 100kb. > > Original file (extracted from > freeswitch-sounds-en-us-callie-8000-1.0.7.tar.gz): > http://www.vadacom.co.nz/engineering/ivr-sample_submenu.wav > > > After 30dB gain and hard limiting samples to between -32768 and 32767: > http://www.vadacom.co.nz/engineering/ivr-sample_submenu- > hardlimited.wav > > > After 30dB gain and switch_normalize_to_16bit(): > http://www.vadacom.co.nz/engineering/ivr-sample_submenu-switch_normalize_to_16bit.wav > > > Cheers, > Nic. > > -- > Nic Bellamy, > Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ > > > _______________________________________________ > 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 Tue Apr 7 08:02:43 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 7 Apr 2009 10:02:43 -0500 Subject: [Freeswitch-dev] Audio hard-limiting vs. switch_normalize_to_16bit (was: Re: Codes I don't understand) In-Reply-To: References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> <49DAD348.3040201@vadacom.co.nz> Message-ID: <191c3a030904070802q5057d64cj5649d86dc0c53891@mail.gmail.com> if everyone has such good ideas on how to improve it, I can't wait to see the patch. On Tue, Apr 7, 2009 at 9:42 AM, seven du wrote: > And, actually the value to be normalized is 32bit and which generally > is a sum of two 16bit values( read and write ), so it's probably easy > to exceed 32767 if both end speaking at the same time. > > On Apr 7, 2009, at 12:15 PM, Nic Bellamy wrote: > > > Anthony Minessale wrote: > >> 2) the macro is designed to fight clipping: > >> When a sample exceeds the max size of the datatype we set it to > >> the max value then cut the volume in half of that sample so it does > >> not make too much noise. if we divide everything by 2 then all the > >> volume would be reduced even on samples that fell inside the proper > >> range. > > Hi Anthony, all, > > this is, in my opinion, actually going to give you far far uglier > > audio artefacts than simply hard limiting the samples. Rather than try > > and describe the resulting distortion, it's easier to just listen to > > it > > in action... > > > > Each of the following files is about 100kb. > > > > Original file (extracted from > > freeswitch-sounds-en-us-callie-8000-1.0.7.tar.gz): > > http://www.vadacom.co.nz/engineering/ivr-sample_submenu.wav > > > > > > After 30dB gain and hard limiting samples to between -32768 and 32767: > > http://www.vadacom.co.nz/engineering/ivr-sample_submenu- > > hardlimited.wav > > > > > > After 30dB gain and switch_normalize_to_16bit(): > > > http://www.vadacom.co.nz/engineering/ivr-sample_submenu-switch_normalize_to_16bit.wav > > > > > > Cheers, > > Nic. > > > > -- > > Nic Bellamy, > > Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ > > > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090407/2e50ef3a/attachment.html From mrene_lists at avgs.ca Tue Apr 7 08:26:59 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Tue, 7 Apr 2009 11:26:59 -0400 Subject: [Freeswitch-dev] GDB doesn't catching breakpoints in module In-Reply-To: <49DB21F9.4030402@gmail.com> References: <49DB21F9.4030402@gmail.com> Message-ID: Try with the line number? Math On 7-Apr-09, at 5:50 AM, Ceino wrote: > Hi all, I try to use breakpoints in mod_dialplan_xml.c but it doesn't > get catched (the program work). This > did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6. > > Inside gdb I use the following command: > > break mod_dialplan_xml.c:dialplan_hunt > > Best Regars > > Lars Sivertsen > > _______________________________________________ > 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 Tue Apr 7 08:30:39 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 7 Apr 2009 10:30:39 -0500 Subject: [Freeswitch-dev] Audio hard-limiting vs. switch_normalize_to_16bit (was: Re: Codes I don't understand) In-Reply-To: <191c3a030904070802q5057d64cj5649d86dc0c53891@mail.gmail.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> <49DAD348.3040201@vadacom.co.nz> <191c3a030904070802q5057d64cj5649d86dc0c53891@mail.gmail.com> Message-ID: <191c3a030904070830w7ffe3ea0u9af0895c920a14ef@mail.gmail.com> we used to use libresample which generated a lot of samples over the limit and that / 2 supressed the static it was causing. We use the speex resampler now and it's much better, so i took the / 2 out in tree. On Tue, Apr 7, 2009 at 10:02 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > if everyone has such good ideas on how to improve it, I can't wait to see > the patch. > > > > On Tue, Apr 7, 2009 at 9:42 AM, seven du wrote: > >> And, actually the value to be normalized is 32bit and which generally >> is a sum of two 16bit values( read and write ), so it's probably easy >> to exceed 32767 if both end speaking at the same time. >> >> On Apr 7, 2009, at 12:15 PM, Nic Bellamy wrote: >> >> > Anthony Minessale wrote: >> >> 2) the macro is designed to fight clipping: >> >> When a sample exceeds the max size of the datatype we set it to >> >> the max value then cut the volume in half of that sample so it does >> >> not make too much noise. if we divide everything by 2 then all the >> >> volume would be reduced even on samples that fell inside the proper >> >> range. >> > Hi Anthony, all, >> > this is, in my opinion, actually going to give you far far uglier >> > audio artefacts than simply hard limiting the samples. Rather than try >> > and describe the resulting distortion, it's easier to just listen to >> > it >> > in action... >> > >> > Each of the following files is about 100kb. >> > >> > Original file (extracted from >> > freeswitch-sounds-en-us-callie-8000-1.0.7.tar.gz): >> > http://www.vadacom.co.nz/engineering/ivr-sample_submenu.wav >> > >> > >> > After 30dB gain and hard limiting samples to between -32768 and 32767: >> > http://www.vadacom.co.nz/engineering/ivr-sample_submenu- >> > hardlimited.wav >> > >> > >> > After 30dB gain and switch_normalize_to_16bit(): >> > >> http://www.vadacom.co.nz/engineering/ivr-sample_submenu-switch_normalize_to_16bit.wav >> > >> > >> > Cheers, >> > Nic. >> > >> > -- >> > Nic Bellamy, >> > Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ >> > >> > >> > _______________________________________________ >> > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090407/d93ea7d7/attachment-0001.html From nicb-lists at vadacom.co.nz Tue Apr 7 15:58:48 2009 From: nicb-lists at vadacom.co.nz (Nic Bellamy) Date: Wed, 08 Apr 2009 10:58:48 +1200 Subject: [Freeswitch-dev] Audio hard-limiting vs. switch_normalize_to_16bit In-Reply-To: <191c3a030904070802q5057d64cj5649d86dc0c53891@mail.gmail.com> References: <7818BCFD-7A16-4286-82B4-6D7E890D2E81@idapted.com> <191c3a030904060816s6d29fd01o2b9b65ed5579e796@mail.gmail.com> <191c3a030904060921u2e6fa43fmf7465032986f0639@mail.gmail.com> <49DAD348.3040201@vadacom.co.nz> <191c3a030904070802q5057d64cj5649d86dc0c53891@mail.gmail.com> Message-ID: <49DBDAA8.9020101@vadacom.co.nz> Anthony Minessale wrote: > if everyone has such good ideas on how to improve it, I can't wait to > see the patch. By the time I'd gotten out of bed this morning you'd already committed r12935, which is the exact patch I would have done anyway ;-) Cheers, Nic. -- Nic Bellamy, Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/ From ceino.no at gmail.com Wed Apr 8 01:42:16 2009 From: ceino.no at gmail.com (Ceino) Date: Wed, 08 Apr 2009 10:42:16 +0200 Subject: [Freeswitch-dev] GDB doesn't catching breakpoints in module In-Reply-To: <0E4F01D4-9C76-4D83-A104-E68625320CEC@jerris.com> References: <49DB21F9.4030402@gmail.com> <0E4F01D4-9C76-4D83-A104-E68625320CEC@jerris.com> Message-ID: <49DC6368.6080300@gmail.com> I found the solution after many hours of debugging: I notice the following message at the starup of fs (I overlook it for a long time): "Error: stacksize 240 is too large: run ulimit -s 240 or run /opt/freeswitch-1.0.4_svn_12914/bin/bin/freeswitch -waste. auto-adjusting stack size for optimal performance...." So I just increase the stack size (the stack size was big enough for fs 1.0.3 with GDB so I didn't got any problem with that version) and GDB with breakpoints works fine. Lars Sivertsen Michael Jerris wrote: > On Apr 7, 2009, at 5:50 AM, Ceino wrote: > > >> Hi all, I try to use breakpoints in mod_dialplan_xml.c but it doesn't >> get catched (the program work). This >> did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6. >> >> Inside gdb I use the following command: >> >> break mod_dialplan_xml.c:dialplan_hunt >> > > This should work fine still, could you please try to track down what > changes you think caused this issue. > > Mike > > > _______________________________________________ > 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 mrene_lists at avgs.ca Wed Apr 8 10:18:23 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Wed, 8 Apr 2009 13:18:23 -0400 Subject: [Freeswitch-dev] GDB doesn't catching breakpoints in module In-Reply-To: <49DC6368.6080300@gmail.com> References: <49DB21F9.4030402@gmail.com> <0E4F01D4-9C76-4D83-A104-E68625320CEC@jerris.com> <49DC6368.6080300@gmail.com> Message-ID: <235EE4D1-2AF4-41E5-A870-5A1FD2645C74@avgs.ca> Oh yeah... you can do "run -vg" or "run -waste" so it doesnt fork Math On 8-Apr-09, at 4:42 AM, Ceino wrote: > I found the solution after many hours of debugging: I notice the > following message > at the starup of fs (I overlook it for a long time): "Error: stacksize > 240 is too large: run ulimit -s 240 or run > /opt/freeswitch-1.0.4_svn_12914/bin/bin/freeswitch -waste. > auto-adjusting stack size for optimal performance...." > > So I just increase the stack size (the stack size was big enough for > fs > 1.0.3 with GDB so I didn't got any problem with that version) > and GDB with breakpoints works fine. > > > > Lars Sivertsen > > > Michael Jerris wrote: >> On Apr 7, 2009, at 5:50 AM, Ceino wrote: >> >> >>> Hi all, I try to use breakpoints in mod_dialplan_xml.c but it >>> doesn't >>> get catched (the program work). This >>> did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6. >>> >>> Inside gdb I use the following command: >>> >>> break mod_dialplan_xml.c:dialplan_hunt >>> >> >> This should work fine still, could you please try to track down what >> changes you think caused this issue. >> >> Mike >> >> >> _______________________________________________ >> 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 Thu Apr 9 10:41:33 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 9 Apr 2009 12:41:33 -0500 Subject: [Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules In-Reply-To: <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> Message-ID: <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> please try now with latest code that should delay the init of the resources until they are in use so cases where they are not used both ways will not cost a hw resource. On Mon, Apr 6, 2009 at 1:43 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > yes it's a valid concern. > > We should work towards a patch like the one i proposed to init the > resources only when they are first called upon so if a paticular call never > needs the read codec to do encode and decode then it would only allocate > them the first time they actually tried it. then most calls would only use > one of each until some of the more crazy scenarios kicked in > > > > On Mon, Apr 6, 2009 at 1:20 PM, Matteo wrote: > >> Hi, >> >> ----- "Anthony Minessale" ha scritto: >> > did you test it in scenarios where the ptime is mismatched, every >> > combination of sample rate transcoding, eavesdroping on a channel in >> > all the above situations? >> >> no, not at all >> >> > It would require a full suite of testing to confirm. >> >> I agree. >> >> > switch_core_io.c:432 does use read_codec for encode >> > >> > i think cases arise where it does need both but we could change the >> > code to delay when it inits until the >> > first time it needs it instead so it would only take place when >> > necessary. >> >> the question arose investigating the wrong resource usage of >> dadhi codec, since it allocs 2 resources for every call. >> >> maybe the issue is somewhere else? >> >> regards, >> matteo >> >> _______________________________________________ >> 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090409/ee8f6ac6/attachment.html From lele at windmill.it Fri Apr 10 07:53:58 2009 From: lele at windmill.it (Lele Forzani) Date: Fri, 10 Apr 2009 16:53:58 +0200 Subject: [Freeswitch-dev] codecs initialization flags in endpoint modules In-Reply-To: <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> Message-ID: <1239375238.16887.7.camel@rivendell.windmill.it> On Thu, 2009-04-09 at 12:41 -0500, Anthony Minessale wrote: > please try now with latest code that should delay the init of the > resources until they are in use so cases where they are not used both > ways will not cost a hw resource. > Thanks a lot Anthony, there is still a minor typo in mod_dahdi_codec, that was already there, but not causing as much harm as now, since encoders and decoders were always initialized in pairs. I'm pasting the diff in the mail body since it's a two letters change. --- src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c- 2009-04-11 18:24:04.000000000 +0200 +++ src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c 2009-04-11 18:24:11.000000000 +0200 @@ -126,7 +126,7 @@ fmts.dstfmt = (codec->implementation->ianacode == CODEC_G729_IANA_CODE) ? DAHDI_FORMAT_G729A : DAHDI_FORMAT_G723_1; context->encoding_fd = switch_dahdi_get_transcoder(&fmts); - if (context->decoding_fd < 0) { + if (context->encoding_fd < 0) { #ifdef DEBUG_DAHDI_CODEC switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "encoding requested and denied with %d/%d.\n", fmts.srcfmt, fmts.dstfmt); Other than that, it seems working, and the resource usage is what it was expected. Thanks, l. From anthony.minessale at gmail.com Fri Apr 10 10:40:25 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 10 Apr 2009 12:40:25 -0500 Subject: [Freeswitch-dev] codecs initialization flags in endpoint modules In-Reply-To: <1239375238.16887.7.camel@rivendell.windmill.it> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> <1239375238.16887.7.camel@rivendell.windmill.it> Message-ID: <191c3a030904101040o605b1150hab30894b364bf9b@mail.gmail.com> fixed, thx On Fri, Apr 10, 2009 at 9:53 AM, Lele Forzani wrote: > On Thu, 2009-04-09 at 12:41 -0500, Anthony Minessale wrote: > > > please try now with latest code that should delay the init of the > > resources until they are in use so cases where they are not used both > > ways will not cost a hw resource. > > > > Thanks a lot Anthony, > > there is still a minor typo in mod_dahdi_codec, that was already there, > but not causing as much harm as now, since encoders and decoders were > always initialized in pairs. > > I'm pasting the diff in the mail body since it's a two letters change. > > --- src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c- 2009-04-11 > 18:24:04.000000000 +0200 > +++ src/mod/codecs/mod_dahdi_codec/mod_dahdi_codec.c 2009-04-11 > 18:24:11.000000000 +0200 > @@ -126,7 +126,7 @@ > fmts.dstfmt = (codec->implementation->ianacode == > CODEC_G729_IANA_CODE) > ? DAHDI_FORMAT_G729A : DAHDI_FORMAT_G723_1; > context->encoding_fd = switch_dahdi_get_transcoder(&fmts); > - if (context->decoding_fd < 0) { > + if (context->encoding_fd < 0) { > #ifdef DEBUG_DAHDI_CODEC > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, > "encoding requested and denied with %d/%d.\n", > fmts.srcfmt, fmts.dstfmt); > > > Other than that, it seems working, and the resource usage is what it was > expected. > > Thanks, > l. > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090410/c3af1182/attachment-0001.html From lele at windmill.it Fri Apr 10 12:21:40 2009 From: lele at windmill.it (Lele Forzani) Date: Fri, 10 Apr 2009 21:21:40 +0200 Subject: [Freeswitch-dev] codecs initialization flags in endpoint modules In-Reply-To: <191c3a030904101040o605b1150hab30894b364bf9b@mail.gmail.com> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> <1239375238.16887.7.camel@rivendell.windmill.it> <191c3a030904101040o605b1150hab30894b364bf9b@mail.gmail.com> Message-ID: <1239391300.16887.10.camel@rivendell.windmill.it> On Fri, 2009-04-10 at 12:40 -0500, Anthony Minessale wrote: > fixed, thx Sorry, I missed this earlier: context->codec_r is used in the decode path also. patch attached (hope it's ok) thanks l. -------------- next part -------------- A non-text attachment was scrubbed... Name: dahdi.diff Type: text/x-patch Size: 893 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090410/3e24d9a4/attachment.bin From rupa at rupa.com Sat Apr 11 00:36:12 2009 From: rupa at rupa.com (Rupa Schomaker) Date: Sat, 11 Apr 2009 02:36:12 -0500 Subject: [Freeswitch-dev] setting profile->caller_id_name Message-ID: One normally sets caller_id_name after the fact by setting effective_caller_id variable. This works great when bridging to legb but if I want applications like: show calls show channels conference list to show the updated caller_id_name I have to set the variable myself. Am I asking for trouble if I simply do a profile->caller_id_name = newname; ? It seems to work fine for me, but.... is it acceptable? -- -Rupa From anthony.minessale at gmail.com Mon Apr 13 09:15:43 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 13 Apr 2009 11:15:43 -0500 Subject: [Freeswitch-dev] codecs initialization flags in endpoint modules In-Reply-To: <1239391300.16887.10.camel@rivendell.windmill.it> References: <191c3a030904061010o2af7dde4q6646efc22398c5b0@mail.gmail.com> <744318184.39421239042026926.JavaMail.root@mx.voismart.com> <191c3a030904061143uf859cb0s698b7a8ea957741a@mail.gmail.com> <191c3a030904091041j152051a8g5127cfaf5ac03d43@mail.gmail.com> <1239375238.16887.7.camel@rivendell.windmill.it> <191c3a030904101040o605b1150hab30894b364bf9b@mail.gmail.com> <1239391300.16887.10.camel@rivendell.windmill.it> Message-ID: <191c3a030904130915r75c5beaetef54d8795a020be7@mail.gmail.com> done On Fri, Apr 10, 2009 at 2:21 PM, Lele Forzani wrote: > On Fri, 2009-04-10 at 12:40 -0500, Anthony Minessale wrote: > > fixed, thx > > Sorry, I missed this earlier: context->codec_r is used in the decode > path also. > > patch attached (hope it's ok) > > thanks > l. > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090413/3847de83/attachment.html From msc at freeswitch.org Tue Apr 14 10:25:34 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 14 Apr 2009 10:25:34 -0700 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre4 Now Available Message-ID: <87f2f3b90904141025h4df3320ai60d9710ab6449f26@mail.gmail.com> The FreeSWITCH team is pleased to announce the immediate availability of version 1.0.4pre4. Details are available here: http://www.freeswitch.org/node/173 All are encouraged to upgrade as soon as possible. Thanks to everyone for their feedback, ideas, and bug reports. Please keep them coming. -Michael http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090414/16f9e5b0/attachment.html From mitul at enterux.com Wed Apr 15 00:22:50 2009 From: mitul at enterux.com (Mitul Limbani) Date: Wed, 15 Apr 2009 03:22:50 -0400 Subject: [Freeswitch-dev] Entire Wiki.FreeSwitch.org on Single PDF ? Message-ID: <27149.1239780170@enterux.com> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hello there, In my previous encounter with FreeSwitch, I had found that Bret had posted on the Mailing List somewhere about availability of the entire FreeSwitch Wiki Documentation on a single PDF, this is useful coz at the offset apart from Wiki there is no other offline media to learn it. Is the same PDF available looking at the growth of Wiki pages and the updation. I look forward to hear from you guys, Thanks & Regards, Mitul Limbani, Founder & CEO, Enterux Solutions, The Enterprise Linux Company (TM), www.enterux.com +91-9820332422 ------------------------- Msg sent via Enterux Enterprise Email Server : http://www.enterux.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090415/20372f3f/attachment.html From anthony.minessale at gmail.com Wed Apr 15 06:20:09 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 15 Apr 2009 08:20:09 -0500 Subject: [Freeswitch-dev] Entire Wiki.FreeSwitch.org on Single PDF ? In-Reply-To: <27149.1239780170@enterux.com> References: <27149.1239780170@enterux.com> Message-ID: <191c3a030904150620h1ed7dbbbh46b9d868afc1b214@mail.gmail.com> I am not sure that is being maintained anymore. On Wed, Apr 15, 2009 at 2:22 AM, Mitul Limbani wrote: > Hello there, > > In my previous encounter with FreeSwitch, I had found that Bret had posted > on the Mailing List somewhere about availability of the entire FreeSwitch > Wiki Documentation on a single PDF, this is useful coz at the offset apart > from Wiki there is no other offline media to learn it. > > Is the same PDF available looking at the growth of Wiki pages and the > updation. > > I look forward to hear from you guys, > > Thanks & Regards, > Mitul Limbani, > Founder & CEO, > Enterux Solutions, > The Enterprise Linux Company (TM), > www.enterux.com > +91-9820332422 > > ------------------------------ > Msg sent via Enterux Enterprise Email Server : http://www.enterux.com/ > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090415/518eeee7/attachment.html From parveen.jain at one97.net Wed Apr 15 06:59:04 2009 From: parveen.jain at one97.net (Parveen Kumar Jain) Date: Wed, 15 Apr 2009 19:29:04 +0530 Subject: [Freeswitch-dev] how many simultaneous calls support in freeswitch Message-ID: <4f5bece40904150659p5ad450dft1b7695bc7ec09099@mail.gmail.com> Hi Developers, I need to develop an IVR application which makes an outbound calls and then plays the some audio file for the user. For this I was trying to evaluate Freeswitch under following criteria: - Does freeswitch have outbound calls support(is there any conf file file avilabel where I just can put some series of no. and freeswitch just calls those no. sequentially)? - If yes, how many simultaneous calls are possible on a simple pentium-4 using G711U as a codec(1 GB RAM, 2.2 GHz machine) machine?(I had checked the switch.conf file and it says that by default it can support upto 1000 calls , is it true for a small machine also)? In other terms is Freeswitch is scalable if I need to add more users to call from here? - Does freeswitch have the support of CDR(call data record) after succesfull calls ? It will be great help if any of you can comment on these question and it can save my several hours of testing before I can make my conclusion :) Best Regards, Parveen Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090415/edd4d780/attachment.html From wasim at convergence.pk Wed Apr 15 07:31:48 2009 From: wasim at convergence.pk (Wasim Baig) Date: Wed, 15 Apr 2009 19:31:48 +0500 Subject: [Freeswitch-dev] how many simultaneous calls support in freeswitch In-Reply-To: <4f5bece40904150659p5ad450dft1b7695bc7ec09099@mail.gmail.com> References: <4f5bece40904150659p5ad450dft1b7695bc7ec09099@mail.gmail.com> Message-ID: On Wed, Apr 15, 2009 at 6:59 PM, Parveen Kumar Jain wrote: Hi Developers, This question would be more appropriate on the -users list. > I need to develop an IVR application which makes an outbound calls and then > plays the some audio file for the user. For this I was trying to evaluate > Freeswitch under following criteria: > > - Does freeswitch have outbound calls support(is there any conf file file > avilabel where I just can put some series of no. and freeswitch just calls > those no. sequentially)? Yes. There isn't a conf file as such, but there are a myriad easy ways to go about this. > - If yes, how many simultaneous calls are possible on a simple pentium-4 > using G711U as a codec(1 GB RAM, 2.2 GHz machine) machine?(I had checked the > switch.conf file and it says that by default it can support upto 1000 calls > , is it true for a small machine also)? In other terms is Freeswitch is > scalable if I need to add more users to call from here? It depends on the protocol, codec etc. But, yes, FS is very scalable. > - Does freeswitch have the support of CDR(call data record) after > succesfull calls ? Indeed it does. > It will be great help if any of you can comment on these question and it > can save my several hours of testing before I can make my conclusion :) Most of your questions can be answered by spending a little time on http://wiki.freeswitch.org/wiki/ -- wasim h. baig | principal consultant | convergence pk | +92 300 8508070 | peace be upon you ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090415/adf9ad0c/attachment-0001.html From mitul at enterux.com Fri Apr 17 00:58:26 2009 From: mitul at enterux.com (Mitul Limbani) Date: Fri, 17 Apr 2009 03:58:26 -0400 Subject: [Freeswitch-dev] Entire Wiki.FreeSwitch.org on Single PDF ? Message-ID: <28681.1239955106@enterux.com> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I would like to learn from the previous guys who maintained it, This certainly can be built up as a Book similar to Future of Telephony - II :) I am willing to spend some time reviving the same, are there any other guys interested to do the same ? Thanks & Regards, Mitul Limbani, Founder & CEO, Enterux Solutions, The Enterprise Linux Company (TM), www.enterux.com +91-9820332422 On Wed 15/04/09 18:50 , Anthony Minessale anthony.minessale at gmail.com sent: I am not sure that is being maintained anymore. On Wed, Apr 15, 2009 at 2:22 AM, Mitul Limbani wrote: Hello there, In my previous encounter with FreeSwitch, I had found that Bret had posted on the Mailing List somewhere about availability of the entire FreeSwitch Wiki Documentation on a single PDF, this is useful coz at the offset apart from Wiki there is no other offline media to learn it. Is the same PDF available looking at the growth of Wiki pages and the updation. I look forward to hear from you guys, Thanks & Regards, Mitul Limbani, Founder & CEO, Enterux Solutions, The Enterprise Linux Company (TM), www.enterux.com [2] +91-9820332422 ------------------------- Msg sent via Enterux Enterprise Email Server : http://www.enterux.com/ [3] _______________________________________________ Freeswitch-dev mailing list http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [5] UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev [6] http://www.freeswitch.org [7] -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ [8] ClueCon http://www.cluecon.com/ [9] AIM: anthm GTALK/JABBER/ IRC: irc.freenode.net [12] #freeswitch FreeSWITCH Developer Conference iax:guest at conference.freeswitch.org/888 [14] pstn:213-799-1400 ------------------------- Msg sent via Enterux Enterprise Email Server : http://www.enterux.com/ Links: ------ [2] http://www.enterux.com [3] http://www.enterux.com/ [5] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [6] http://lists.freeswitch.org/mailman/options/freeswitch-dev [7] http://www.freeswitch.org [8] http://www.freeswitch.org/ [9] http://www.cluecon.com/ [12] http://irc.freenode.net [14] http://iax:guest at conference.freeswitch.org/888 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090417/70c19127/attachment.html From frank at impactfax.com Fri Apr 17 10:34:03 2009 From: frank at impactfax.com (Frank @ Impact) Date: Fri, 17 Apr 2009 13:34:03 -0400 Subject: [Freeswitch-dev] monitor_exec functionality ? Message-ID: <020901c9bf82$b38807a0$33014c0a@ws4> Is there any equivalent functionality to Asterisk's monitor_exec that we can use with record_session in the xml dial plan? Some post call processing of the recorded call files after the call is down and the files are closed? From brian at freeswitch.org Fri Apr 17 10:37:07 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 17 Apr 2009 12:37:07 -0500 Subject: [Freeswitch-dev] monitor_exec functionality ? In-Reply-To: <020901c9bf82$b38807a0$33014c0a@ws4> References: <020901c9bf82$b38807a0$33014c0a@ws4> Message-ID: using the api_hangup_hook http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook /b On Apr 17, 2009, at 12:34 PM, Frank @ Impact wrote: > > Is there any equivalent functionality to Asterisk's monitor_exec > that we > can use with record_session in the xml dial plan? > > Some post call processing of the recorded call files after the call is > down and the files are closed? > Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090417/4c0e7e9e/attachment.html From msc at freeswitch.org Fri Apr 17 10:50:48 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 17 Apr 2009 10:50:48 -0700 Subject: [Freeswitch-dev] monitor_exec functionality ? In-Reply-To: References: <020901c9bf82$b38807a0$33014c0a@ws4> Message-ID: <87f2f3b90904171050i1aebb86jf1b8ed15471c764e@mail.gmail.com> FYI, I added this to the Rosetta Stone page: http://wiki.freeswitch.org/wiki/Rosetta_stone -MC On Fri, Apr 17, 2009 at 10:37 AM, Brian West wrote: > using the api_hangup_hook > http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook > > /b > > On Apr 17, 2009, at 12:34 PM, Frank @ Impact wrote: > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090417/352ae929/attachment.html From sshen at oa.com.au Mon Apr 20 18:17:31 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 21 Apr 2009 11:17:31 +1000 Subject: [Freeswitch-dev] FIFO call park has about 2 seconds delay Message-ID: <4462DF002246D44CB823FA4F98553994131B8025B3@oa-exchange1.oa.com.au> user 101 dials into 50000, and user 102 dials into 60000, no problem, they get connected. Now, log into Event Socket, and type "bgapi uuid_park whatever_the_user_101_uuid_get_from_show_channels" User 102 gets disconnected only after about 2 seconds, Why is this delay? How to fix it? BTW, if user 101 directly connects to 102 ( eg. 101 dials 102 directly ), then the same uuid_park happens immediately Thanks & Regards Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090421/61c6b0c5/attachment-0001.html From anthony.minessale at gmail.com Mon Apr 20 19:22:27 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 20 Apr 2009 21:22:27 -0500 Subject: [Freeswitch-dev] FIFO call park has about 2 seconds delay In-Reply-To: <4462DF002246D44CB823FA4F98553994131B8025B3@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F98553994131B8025B3@oa-exchange1.oa.com.au> Message-ID: <191c3a030904201922k64eeac92y702d71d6ffa78593@mail.gmail.com> see if r13094 works better the issue is it was waiting for the wrapup time even when it was in nowait mode. On Mon, Apr 20, 2009 at 8:17 PM, Scott Shen wrote: > > > > > expression="^50000$"> > > > > > > > > > > > > > > expression="^60000$"> > > > > > > > > > > > > user 101 dials into 50000, and user 102 dials into 60000, no problem, they > get connected. > > > > Now, log into Event Socket, and type > > > > ?bgapi uuid_park whatever_the_user_101_uuid_get_from_show_channels? > > > > > > User 102 gets disconnected only after about 2 seconds, Why is this delay? > How to fix it? > > > > > > > > > > > > BTW, if user 101 directly connects to 102 ( eg. 101 dials 102 directly ), > then the same uuid_park happens immediately > > > > Thanks & Regards > > Scott > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090420/fc72aa26/attachment.html From sshen at oa.com.au Mon Apr 20 22:52:15 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 21 Apr 2009 15:52:15 +1000 Subject: [Freeswitch-dev] FIFO call park has about 2 seconds delay In-Reply-To: <191c3a030904201922k64eeac92y702d71d6ffa78593@mail.gmail.com> Message-ID: <4462DF002246D44CB823FA4F98553994131B8025B4@oa-exchange1.oa.com.au> Tried r13096, the delay is gone, thanks. However, noticed that the Events Order is different now, I used to have PARK before HANGUP, but now PARK comes after HANGUP. -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, 21 April 2009 12:22 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] FIFO call park has about 2 seconds delay see if r13094 works better the issue is it was waiting for the wrapup time even when it was in nowait mode. On Mon, Apr 20, 2009 at 8:17 PM, Scott Shen > wrote: user 101 dials into 50000, and user 102 dials into 60000, no problem, they get connected. Now, log into Event Socket, and type "bgapi uuid_park whatever_the_user_101_uuid_get_from_show_channels" User 102 gets disconnected only after about 2 seconds, Why is this delay? How to fix it? BTW, if user 101 directly connects to 102 ( eg. 101 dials 102 directly ), then the same uuid_park happens immediately Thanks & Regards Scott _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090421/aa3d3503/attachment.html From anthony.minessale at gmail.com Tue Apr 21 10:50:16 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 21 Apr 2009 12:50:16 -0500 Subject: [Freeswitch-dev] FIFO call park has about 2 seconds delay In-Reply-To: <4462DF002246D44CB823FA4F98553994131B8025B4@oa-exchange1.oa.com.au> References: <191c3a030904201922k64eeac92y702d71d6ffa78593@mail.gmail.com> <4462DF002246D44CB823FA4F98553994131B8025B4@oa-exchange1.oa.com.au> Message-ID: <191c3a030904211050v508a3617o1b32957cf3e09305@mail.gmail.com> that's because it's hanging up faster now....... the one parking and the one hanging up are 2 different channels, you can never rely on the order if you are, you are in for all kinds of problems in your application. On Tue, Apr 21, 2009 at 12:52 AM, Scott Shen wrote: > Tried r13096, the delay is gone, thanks. However, noticed that the Events > Order is different now, I used to have PARK before HANGUP, but now PARK > comes after HANGUP. > > > > -----Original Message----- > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Tuesday, 21 April 2009 12:22 PM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] FIFO call park has about 2 seconds delay > > > > see if r13094 works better > > the issue is it was waiting for the wrapup time even when it was in nowait > mode. > > > On Mon, Apr 20, 2009 at 8:17 PM, Scott Shen wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > user 101 dials into 50000, and user 102 dials into 60000, no problem, they > get connected. > > > > Now, log into Event Socket, and type > > > > ?bgapi uuid_park whatever_the_user_101_uuid_get_from_show_channels? > > > > > > User 102 gets disconnected only after about 2 seconds, Why is this delay? > How to fix it? > > > > > > > > > > > > BTW, if user 101 directly connects to 102 ( eg. 101 dials 102 directly ), > then the same uuid_park happens immediately > > > > Thanks & Regards > > Scott > > > _______________________________________________ > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090421/4c1d1f96/attachment-0001.html From rjcajax at gmail.com Tue Apr 21 21:46:07 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Wed, 22 Apr 2009 00:46:07 -0400 Subject: [Freeswitch-dev] DialPlan and Mod_Managed Message-ID: All, I am sure this is a simple error, but in using mod_managed to call the Demo.cs class AppDemo, what is improper with this dialplan entry? This seems to match the documentation but has a routing problem. 2009-04-22 00:34:03 [INFO] switch_core_state_machine.c:136 switch_core_standard_on_routing() No Route, Aborting Are there any working contributions? Bob From mike at jerris.com Tue Apr 21 22:11:23 2009 From: mike at jerris.com (Michael Jerris) Date: Wed, 22 Apr 2009 01:11:23 -0400 Subject: [Freeswitch-dev] DialPlan and Mod_Managed In-Reply-To: References: Message-ID: No Route means you are not matching anything in the dialplan. You are either not calling 9009 or in the wrong context or dialplan. You can turn up the debug (F8 in the default config) to see the dialplan matching criteria. Mike On Apr 22, 2009, at 12:46 AM, Robert Clayton wrote: > All, > > I am sure this is a simple error, but in using mod_managed to call the > Demo.cs class AppDemo, what is improper with this dialplan entry? > > > > > > > > This seems to match the documentation but has a routing problem. > > 2009-04-22 00:34:03 [INFO] switch_core_state_machine.c:136 > switch_core_standard_on_routing() No Route, Aborting > > Are there any working contributions? From dftoro at yahoo.com Wed Apr 22 09:08:57 2009 From: dftoro at yahoo.com (Diego Toro) Date: Wed, 22 Apr 2009 09:08:57 -0700 (PDT) Subject: [Freeswitch-dev] mod_managed loader loadfile Message-ID: <685277.3629.qm@web33505.mail.mud.yahoo.com> I have assembly that references others assembly in my managed AppFunction, when FS start it fail with error message: can't load reference assembly... ? I?checked Loader code and i changed next line: System.Reflection.Assembly.LoadFile(f) in loadAssemblies(string managedDir) method by System.Reflection.Assembly.LoadFrom(f); (LoadFile by LoadFrom) and FS start with no problem. ? Is possible use LoadFrom instead of LoadFile in Loader.cs code ? Information about LoadFrom and LoadFile: http://blogs.msdn.com/suzcook/archive/2003/09/19/loadfile-vs-loadfrom.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090422/6fa99746/attachment.html From mgg at giagnocavo.net Wed Apr 22 09:29:52 2009 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 22 Apr 2009 12:29:52 -0400 Subject: [Freeswitch-dev] mod_managed loader loadfile In-Reply-To: <685277.3629.qm@web33505.mail.mud.yahoo.com> References: <685277.3629.qm@web33505.mail.mud.yahoo.com> Message-ID: <6E8D2069C08AA84A83D336E996AE4C67025E0FB7D0@mse17be1.mse17.exchange.ms> There's actually a bit patch I have yet to apply to mod_managed that will fix loading as well as add shadow copying so in-use files can be replaced on Windows. From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Diego Toro Sent: Wednesday, April 22, 2009 10:09 AM To: freeswitch-dev at lists.freeswitch.org Subject: [Freeswitch-dev] mod_managed loader loadfile I have assembly that references others assembly in my managed AppFunction, when FS start it fail with error message: can't load reference assembly... I checked Loader code and i changed next line: System.Reflection.Assembly.LoadFile(f) in loadAssemblies(string managedDir) method by System.Reflection.Assembly.LoadFrom(f); (LoadFile by LoadFrom) and FS start with no problem. Is possible use LoadFrom instead of LoadFile in Loader.cs code ? Information about LoadFrom and LoadFile: http://blogs.msdn.com/suzcook/archive/2003/09/19/loadfile-vs-loadfrom.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090422/219de0e3/attachment.html From nicholas at montrealconsultoria.com.br Wed Apr 22 15:37:54 2009 From: nicholas at montrealconsultoria.com.br (Nicholas Amorim) Date: Wed, 22 Apr 2009 19:37:54 -0300 Subject: [Freeswitch-dev] Entire Wiki.FreeSwitch.org on Single PDF ? In-Reply-To: <28681.1239955106@enterux.com> References: <28681.1239955106@enterux.com> Message-ID: <8171bb3b0904221537h4e3fabf9v93f20ca979d59ea@mail.gmail.com> Isn't easy to use some html2pdf tool ? A script would run through all entries in wiki and put it all on a single pdf. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090422/bb80eaf8/attachment.html From msc at freeswitch.org Wed Apr 22 15:58:43 2009 From: msc at freeswitch.org (Michael Collins) Date: Wed, 22 Apr 2009 15:58:43 -0700 Subject: [Freeswitch-dev] Entire Wiki.FreeSwitch.org on Single PDF ? In-Reply-To: <8171bb3b0904221537h4e3fabf9v93f20ca979d59ea@mail.gmail.com> References: <28681.1239955106@enterux.com> <8171bb3b0904221537h4e3fabf9v93f20ca979d59ea@mail.gmail.com> Message-ID: <87f2f3b90904221558j33e20aa5ka660dfd7178ec515@mail.gmail.com> If it were easy I believe this thread would be moot. :) There are decisions that a script writer has to make, such as which links to follow from the main page and in what order. Still, it should be doable - Trixter did it for several years. -MC On Wed, Apr 22, 2009 at 3:37 PM, Nicholas Amorim < nicholas at montrealconsultoria.com.br> wrote: > Isn't easy to use some html2pdf tool ? A script would run through all > entries in wiki and put it all on a single pdf. > > _______________________________________________ > 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/20090422/c3f9e5b9/attachment.html From rjcajax at gmail.com Wed Apr 22 21:33:09 2009 From: rjcajax at gmail.com (Robert Clayton) Date: Thu, 23 Apr 2009 00:33:09 -0400 Subject: [Freeswitch-dev] switch_buffer(s) Message-ID: All, I was thinking of taking a defined channel's audio input, manipulating the audio, and feeding the result back to the caller as requested by dtmf. I was hoping to use C# and mod_managed. Assuming the functions can be called, in some way, using C#. Anthony gave a brief suggestion of reading raw audio data from switch_buffer, in a way similar to reading from a file. (Which I yet do not understand). Again I would need to be able to both read and write audio to a channel. Can anyone provide me a high level overview of audio buffering in FS. Are two audio buffers created, one for the audio input of a channel and one for Audio output? Are they blocking if not read? What portion of the code would I best reference to understand how this could be accomplished? Is the state of any such buffer(s) defined in channel variables? Etc. Bob From msc at freeswitch.org Thu Apr 23 08:48:14 2009 From: msc at freeswitch.org (Michael Collins) Date: Thu, 23 Apr 2009 08:48:14 -0700 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH 1.0.4pre5 Now Available Message-ID: <87f2f3b90904230848y7dc924c0u91bca8e94fd79e9a@mail.gmail.com> The FreeSWITCH team is pleased to announce the immediate availability of version 1.0.4pre5. More information is available at the main site: http://www.freeswitch.org/node/174 The development team would like to let everyone know that they have done a great job with giving feedback and suggesting additions and improvements. Please keep up the good work and definitely spread the word about what a cool project FreeSWITCH really is! -Michael Collins Send your telephony developer to Cluecon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090423/58e045ec/attachment.html From sshen at oa.com.au Thu Apr 23 18:20:33 2009 From: sshen at oa.com.au (Scott Shen) Date: Fri, 24 Apr 2009 11:20:33 +1000 Subject: [Freeswitch-dev] uuid_park timeout Message-ID: <4462DF002246D44CB823FA4F98553994135DBDF00E@oa-exchange1.oa.com.au> Is there a parameter which can be used to specify the timeout seconds for uuid_park command? After the timeout expires, then release the parked call. Prefer not to use fifo, I need the "CHANNEL_PARK" event. Thanks & Regards Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/79b94dc7/attachment-0001.html From anthony.minessale at gmail.com Thu Apr 23 19:01:29 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 23 Apr 2009 21:01:29 -0500 Subject: [Freeswitch-dev] uuid_park timeout In-Reply-To: <4462DF002246D44CB823FA4F98553994135DBDF00E@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F98553994135DBDF00E@oa-exchange1.oa.com.au> Message-ID: <191c3a030904231901m408f05cemd80d6583355a5e6f@mail.gmail.com> in fact it's called "park_timeout" its in seconds and if you are parked for that many seconds it will hangup. On Thu, Apr 23, 2009 at 8:20 PM, Scott Shen wrote: > Is there a parameter which can be used to specify the timeout seconds for > uuid_park command? After the timeout expires, then release the parked > call. > > > > Prefer not to use fifo, I need the ?CHANNEL_PARK? event. > > > > Thanks & Regards > > Scott > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090423/2c6e21d2/attachment.html From solko at gcdf.pl Fri Apr 24 05:41:08 2009 From: solko at gcdf.pl (Szymon Olko) Date: Fri, 24 Apr 2009 14:41:08 +0200 Subject: [Freeswitch-dev] ignore_early_media in mod_conference Message-ID: <49F1B364.7040000@gcdf.pl> Hello, What is the purpose of ignore_early_media in conference dial command? It's only set in case when conference does not exist. 'bgdial' command does not work like that. It's like that: dial: conference does not exist = ignore_early_media=true conference exist = nothing bgdial conference does not exist = nothing conference exist = nothing I want to use dial command with bgapi and receive later BACKGROUND_JOB event. Is it possible to remove that 'ignore_early_media=true' from conference mod and let users set it if they want? Second thing regarding variables attached to dial string is that when setting the same variable few times last occurrence is set in events. Below example produces variable_camle1=nietest. conference test dial {camel1=test,camel2=test2,camel1=nietest}sofia/internal/1001%192.168.77.248 When I make 'conference dial' command I cannot change behavior of ignore_early_media, but value in event is changed. For example (conference does not exist): conference test dial {ignore_early_media=false}sofia/gateway/429956/80504318131 at 10.0.0.12 blocks and ignores early media, debug output is like that: 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 switch_ivr_originate() variable string 0 = [ignore_early_media=true] 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 switch_ivr_originate() variable string 1 = [ignore_early_media=false] But CHANNEL_ORIGINATE event looks like that: variable_ignore_early_media: false variable_originate_early_media: false It would be good to have the same like with custom variables, that the last value is used, so I can override what is set in code. Best regards Szymon Olko From anthony.minessale at gmail.com Fri Apr 24 05:55:47 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 24 Apr 2009 07:55:47 -0500 Subject: [Freeswitch-dev] ignore_early_media in mod_conference In-Reply-To: <49F1B364.7040000@gcdf.pl> References: <49F1B364.7040000@gcdf.pl> Message-ID: <191c3a030904240555k726407e8ta948669a05c927ce@mail.gmail.com> you can just not use the conference bgdial if you need it to work different. bgapi originate sofia/default/100 at domain.com conference:myconf inline On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko wrote: > Hello, > > What is the purpose of ignore_early_media in conference dial command? > It's only set in case when conference does not exist. > 'bgdial' command does not work like that. It's like that: > > dial: > conference does not exist = ignore_early_media=true > conference exist = nothing > bgdial > conference does not exist = nothing > conference exist = nothing > > I want to use dial command with bgapi and receive later BACKGROUND_JOB > event. Is it possible to remove that > 'ignore_early_media=true' from conference mod and let users set it if they > want? > > Second thing regarding variables attached to dial string is that when > setting the same variable few times last occurrence is set > in events. Below example produces variable_camle1=nietest. > > conference test dial > {camel1=test,camel2=test2,camel1=nietest}sofia/internal/1001%192.168.77.248 > > > When I make 'conference dial' command I cannot change behavior of > ignore_early_media, but value in event is changed. > For example (conference does not exist): > conference test dial {ignore_early_media=false}sofia/gateway/429956/ > 80504318131 at 10.0.0.12 > blocks and ignores early media, debug output is like that: > > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > switch_ivr_originate() variable string 0 = [ignore_early_media=true] > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > switch_ivr_originate() variable string 1 = [ignore_early_media=false] > > But CHANNEL_ORIGINATE event looks like that: > > variable_ignore_early_media: false > variable_originate_early_media: false > > It would be good to have the same like with custom variables, that the last > value is used, so I can override what is set in code. > > > Best regards > Szymon Olko > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/56e73934/attachment.html From msc at freeswitch.org Fri Apr 24 09:53:05 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 24 Apr 2009 09:53:05 -0700 Subject: [Freeswitch-dev] COMMUNITY REQUEST: ClueCon links on your websites Message-ID: <87f2f3b90904240953q7cff5f7aqb70f2ed4382f4bc5@mail.gmail.com> FreeSWITCHers, It's that time of year: ramping up for ClueCon this August 4-6! ( www.cluecon.com) To that end we would like to ask that anyone out there who has a website to please put up a link to the ClueCon website. We have banner graphics of various shapes and sizes and I am able to create custom sizes if need be. The graphics can be found here: http://files.freeswitch.org/cluecon_2009/image/. The link address is simply http://www.cluecon.com. Please ask your boss/manager/corporate overlord to support FOSS by adding a link to ClueCon! Email me off list if you are able to help. I'd like to keep track of all those who assist us. Many thanks to you all for being the greatest FOSS community on the planet! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/51d3fa61/attachment.html From msc at freeswitch.org Fri Apr 24 16:02:17 2009 From: msc at freeswitch.org (Michael Collins) Date: Fri, 24 Apr 2009 16:02:17 -0700 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH Wiki Upgraded, Relocated Message-ID: <87f2f3b90904241602w339714c3j7dcab04d5cb201b2@mail.gmail.com> FYI, The FreeSWITCH wiki site has been upgraded to MediWiki version 1.14. Also, we've migrated the web host and back-end database to our new infrastructure. All users and edits have been preserved. However, if you notice anything unusual about the new site please email me off list and we'll get it all taken care of. Thanks for your help! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/0ffb9222/attachment.html From charlieb at cot.net Fri Apr 24 15:40:41 2009 From: charlieb at cot.net (Charles Boening) Date: Fri, 24 Apr 2009 15:40:41 -0700 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> I'm wondering about a possible memory leak in the latest versions. For each FS process, the resident size seems to be incrementing by 8k at a slow, but fairly steady rate. Sometimes there are a few quick "bursts" in the increase and sometimes it seems to take longer to see a "bump" in usage. There are no calls being processed. I just started FS and have been watching it. After upgrading from 1.0.1 to 1.0.4pre4, my FS process died after a few hours. I'm thinking this was due to a memory leak and the service running out of memory. If it makes a difference, I upgraded from 1.0.1 to 1.0.4pre4 (saw memory leak there too) and then on to 1.0.4pre5 without wiping the instadirectory and starting over. Please let me know what other information I can provide that will help find the reason for the ever increasing memory usage. Thanks, Charlie +OK log level [7] freeswitch at internal> version FreeSWITCH Version 1.0.4pre5 (hacked) <-- not sure what "hacked" is about. :) Linux conference1 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux CentOS release 5.3 (Final) Output from htop: VIRT RES SHR S CPU% MEM% TIME+ Command 27104 12544 5104 S 0.0 1.2 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.09 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.08 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.02 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.22 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.24 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc VIRT RES SHR S CPU% MEM% TIME+ Command 28188 13620 5104 S 0.0 1.3 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.06 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.14 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 R 0.0 1.3 0:00.12 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.31 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.28 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.07 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc 28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc VIRT RES SHR S CPU% MEM% TIME+ Command 30092 15436 5120 S 0.0 1.5 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:03.30 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.11 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.21 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:06.80 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.19 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:07.05 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:08.72 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.14 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc 30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc From brian at freeswitch.org Fri Apr 24 16:26:05 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 24 Apr 2009 18:26:05 -0500 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> Message-ID: <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> The numbers you posted are very low... can you elaborate on what exactly you're doing? If you have gigs and gigs of ram used then you have a leak... I suspect you do not. /b On Apr 24, 2009, at 5:40 PM, Charles Boening wrote: > I'm wondering about a possible memory leak in the latest versions. > > For each FS process, the resident size seems to be incrementing by > 8k at a slow, but fairly steady rate. Sometimes there are a few > quick "bursts" in the increase and sometimes it seems to take longer > to see a "bump" in usage. There are no calls being processed. I > just started FS and have been watching it. > > After upgrading from 1.0.1 to 1.0.4pre4, my FS process died after a > few hours. I'm thinking this was due to a memory leak and the > service running out of memory. > > If it makes a difference, I upgraded from 1.0.1 to 1.0.4pre4 (saw > memory leak there too) and then on to 1.0.4pre5 without wiping the > instadirectory and starting over. > > Please let me know what other information I can provide that will > help find the reason for the ever increasing memory usage. > > > Thanks, > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/692201a7/attachment.html From charlieb at cot.net Fri Apr 24 16:36:39 2009 From: charlieb at cot.net (Charles Boening) Date: Fri, 24 Apr 2009 16:36:39 -0700 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> Brian, Thanks for the quick reply. I'm using FS for a conference server. We have just one conference room for internal use. It is connected via a SIP registration to our MetaSwitch. That registration allows multiple calls on the same registration. I could do a SIP trunk but this was quick and easy to setup. I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) and that's how I got to poking around. Sounds like maybe I'm being a little alarmist. It's just harsh when the boss asks why the conference room isn't working. :) I'll see if I can get something setup to monitor memory usage over time. I'm just concerned that over time memory will keep increasing and increasing and that's what caused the process to crash. What would you suggest to try and track down why the FS process would suddenly stop working (not in process list even)? Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:26 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 The numbers you posted are very low... can you elaborate on what exactly you're doing? If you have gigs and gigs of ram used then you have a leak... I suspect you do not. /b On Apr 24, 2009, at 5:40 PM, Charles Boening wrote: I'm wondering about a possible memory leak in the latest versions. For each FS process, the resident size seems to be incrementing by 8k at a slow, but fairly steady rate. Sometimes there are a few quick "bursts" in the increase and sometimes it seems to take longer to see a "bump" in usage. There are no calls being processed. I just started FS and have been watching it. After upgrading from 1.0.1 to 1.0.4pre4, my FS process died after a few hours. I'm thinking this was due to a memory leak and the service running out of memory. If it makes a difference, I upgraded from 1.0.1 to 1.0.4pre4 (saw memory leak there too) and then on to 1.0.4pre5 without wiping the instadirectory and starting over. Please let me know what other information I can provide that will help find the reason for the ever increasing memory usage. Thanks, Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/7957ea69/attachment.html From brian at freeswitch.org Fri Apr 24 16:44:41 2009 From: brian at freeswitch.org (Brian West) Date: Fri, 24 Apr 2009 18:44:41 -0500 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> Message-ID: If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I?m using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I?m concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that?s how I got to poking around. Sounds like maybe I?m being > a little alarmist. It?s just harsh when the boss asks why the > conference room isn?t working. :) > > I?ll see if I can get something setup to monitor memory usage over > time. I?m just concerned that over time memory will keep increasing > and increasing and that?s what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com From charlieb at cot.net Fri Apr 24 17:16:52 2009 From: charlieb at cot.net (Charles Boening) Date: Fri, 24 Apr 2009 17:16:52 -0700 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> Brian, Sounds good. I'll keep an eye on it. I appreciate the tips. I'll see about joining the IRC channel. :) Charlie -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:45 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I'm using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that's how I got to poking around. Sounds like maybe I'm being > a little alarmist. It's just harsh when the boss asks why the > conference room isn't working. :) > > I'll see if I can get something setup to monitor memory usage over > time. I'm just concerned that over time memory will keep increasing > and increasing and that's what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com _______________________________________________ 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 Fri Apr 24 17:48:19 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 24 Apr 2009 19:48:19 -0500 Subject: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> Message-ID: <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> if it already crashed, you would already have core files now you could trace. did you witness any crash or find any core files? mention to the boss if he emails consulting at freeswitch.org he could purchase a support contract from FreeSWITCH Solutions and we can make sure his box is stable. On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening wrote: > Brian, > > Sounds good. I'll keep an eye on it. > > I appreciate the tips. I'll see about joining the IRC channel. :) > > > Charlie > > > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West > Sent: Friday, April 24, 2009 4:45 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 > > If you can please refer to the wiki for debugging procedures... I also > recommend you join us on IRC. We run conference.freeswitch.org with > many participants in a conference all day long without any problems > and we usually keep it up to date every few days when we remember to > do so. We do not see any memory leaks. > > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > If freeswitch exits like you say it'll have a core file which you can > run gdb on and it will tell us why it crashed usually. > > /b > > > On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > > > Brian, > > > > Thanks for the quick reply. > > > > I'm using FS for a conference server. We have just one conference > > room for internal use. It is connected via a SIP registration to > > our MetaSwitch. That registration allows multiple calls on the same > > registration. I could do a SIP trunk but this was quick and easy to > > setup. > > > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > > and that's how I got to poking around. Sounds like maybe I'm being > > a little alarmist. It's just harsh when the boss asks why the > > conference room isn't working. :) > > > > I'll see if I can get something setup to monitor memory usage over > > time. I'm just concerned that over time memory will keep increasing > > and increasing and that's what caused the process to crash. > > > > What would you suggest to try and track down why the FS process > > would suddenly stop working (not in process list even)? > > > > Charlie > > Brian West > brian at freeswitch.org > > -- Meet us at ClueCon! http://www.cluecon.com > > > > > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/5c54ba64/attachment.html From dujinfang at gmail.com Fri Apr 24 21:31:29 2009 From: dujinfang at gmail.com (dujinfang) Date: Sat, 25 Apr 2009 12:31:29 +0800 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH Wiki Upgraded, Relocated In-Reply-To: <87f2f3b90904241602w339714c3j7dcab04d5cb201b2@mail.gmail.com> References: <87f2f3b90904241602w339714c3j7dcab04d5cb201b2@mail.gmail.com> Message-ID: <1DFF1A1C-4E18-46ED-9EC2-5ED89AA3B6B9@gmail.com> Great! Then I guess the Multilang extension would be available soon. :) On Apr 25, 2009, at 7:02 AM, Michael Collins wrote: > FYI, > > The FreeSWITCH wiki site has been upgraded to MediWiki version 1.14. > Also, we've migrated the web host and back-end database to our new > infrastructure. All users and edits have been preserved. However, if > you notice anything unusual about the new site please email me off > list and we'll get it all taken care of. > > Thanks for your help! > -Michael > _______________________________________________ > 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 seven at idapted.com Fri Apr 24 21:32:10 2009 From: seven at idapted.com (seven du) Date: Sat, 25 Apr 2009 12:32:10 +0800 Subject: [Freeswitch-dev] ANNOUNCEMENT: FreeSWITCH Wiki Upgraded, Relocated In-Reply-To: <87f2f3b90904241602w339714c3j7dcab04d5cb201b2@mail.gmail.com> References: <87f2f3b90904241602w339714c3j7dcab04d5cb201b2@mail.gmail.com> Message-ID: <6CB091C6-2091-4739-B33B-D750A75885F8@idapted.com> Great! Then I guess the Mutilang extension will be available soon. On Apr 25, 2009, at 7:02 AM, Michael Collins wrote: > FYI, > > The FreeSWITCH wiki site has been upgraded to MediWiki version 1.14. > Also, we've migrated the web host and back-end database to our new > infrastructure. All users and edits have been preserved. However, if > you notice anything unusual about the new site please email me off > list and we'll get it all taken care of. > > Thanks for your help! > -Michael > _______________________________________________ > 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 charlieb at cot.net Sat Apr 25 00:31:08 2009 From: charlieb at cot.net (Charles Boening) Date: Sat, 25 Apr 2009 00:31:08 -0700 Subject: [Freeswitch-dev] [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: text/plain; charset=utf-8 References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> I don't see any core files. However, I talked with one of my other guys this evening and found out he put in a cron job that was supposed to kill FS and restart it every day at 3am. I think there was something wrong with how he did it and FS wasn't restarting properly. I've removed that job and we'll see how long we last. I'm still concerned about the ever increasing memory usage though. I would think that if it doesn't level off, eventually something has to give. Here's what I have for a memory usage graph so far. As you can see, memory usage is constantly climbing. I wouldn't think this would be normal. Since I updated to 1.0.4pre5, I've made a couple test calls to make sure the IVR was working correctly. Other than that, the system hasn't been used since the update about 11 hours ago. [cid:image002.png at 01C9C53D.1CB487C0] From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, April 24, 2009 5:48 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low if it already crashed, you would already have core files now you could trace. did you witness any crash or find any core files? mention to the boss if he emails consulting at freeswitch.org he could purchase a support contract from FreeSWITCH Solutions and we can make sure his box is stable. On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening > wrote: Brian, Sounds good. I'll keep an eye on it. I appreciate the tips. I'll see about joining the IRC channel. :) Charlie -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:45 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I'm using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that's how I got to poking around. Sounds like maybe I'm being > a little alarmist. It's just harsh when the boss asks why the > conference room isn't working. :) > > I'll see if I can get something setup to monitor memory usage over > time. I'm just concerned that over time memory will keep increasing > and increasing and that's what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/477520e6/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 14707 bytes Desc: image002.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/477520e6/attachment-0001.png From solko at gcdf.pl Sat Apr 25 03:22:01 2009 From: solko at gcdf.pl (Szymon Olko) Date: Sat, 25 Apr 2009 12:22:01 +0200 Subject: [Freeswitch-dev] ignore_early_media in mod_conference In-Reply-To: <191c3a030904240555k726407e8ta948669a05c927ce@mail.gmail.com> References: <49F1B364.7040000@gcdf.pl> <191c3a030904240555k726407e8ta948669a05c927ce@mail.gmail.com> Message-ID: <49F2E449.3060005@gcdf.pl> Anthony Minessale pisze: > you can just not use the conference bgdial if you need it to work different. > > bgapi originate sofia/default/100 at domain.com conference:myconf inline Thx. Is there a difference between this command? bgapi originate ofia/default/100 at domain.com &conference(myconf) As I understand, inline defines DIALPLAN in command. Is there a difference in performance or something else? Szymon O. > > > On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko wrote: > > Hello, > > What is the purpose of ignore_early_media in conference dial > command? It's only set in case when conference does not exist. > 'bgdial' command does not work like that. It's like that: > > dial: > conference does not exist = ignore_early_media=true > conference exist = nothing > bgdial > conference does not exist = nothing > conference exist = nothing > > I want to use dial command with bgapi and receive later > BACKGROUND_JOB event. Is it possible to remove that > 'ignore_early_media=true' from conference mod and let users set it > if they want? > > Second thing regarding variables attached to dial string is that > when setting the same variable few times last occurrence is set > in events. Below example produces variable_camle1=nietest. > > conference test dial > {camel1=test,camel2=test2,camel1=nietest}sofia/internal/1001%192.168.77.248 > > > When I make 'conference dial' command I cannot change behavior > of ignore_early_media, but value in event is changed. > For example (conference does not exist): > conference test dial > {ignore_early_media=false}sofia/gateway/429956/80504318131 at 10.0.0.12 > > blocks and ignores early media, debug output is like that: > > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > switch_ivr_originate() variable string 0 = [ignore_early_media=true] > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > switch_ivr_originate() variable string 1 = [ignore_early_media=false] > > But CHANNEL_ORIGINATE event looks like that: > > variable_ignore_early_media: false > variable_originate_early_media: false > > It would be good to have the same like with custom variables, that > the last value is used, so I can override what is set in code. > > > Best regards > Szymon Olko > > _______________________________________________ > 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/ > > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:213-799-1400 > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Sat Apr 25 05:04:21 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 25 Apr 2009 07:04:21 -0500 Subject: [Freeswitch-dev] ignore_early_media in mod_conference In-Reply-To: <49F2E449.3060005@gcdf.pl> References: <49F1B364.7040000@gcdf.pl> <191c3a030904240555k726407e8ta948669a05c927ce@mail.gmail.com> <49F2E449.3060005@gcdf.pl> Message-ID: <191c3a030904250504s7285e25fgceee5db5850ebc7b@mail.gmail.com> no difference besides the inline dialplan lets you specify more than one application bgapi originate sofia/default/100 at domain.complayback:hello.wav,conference:myconf inline On Sat, Apr 25, 2009 at 5:22 AM, Szymon Olko wrote: > Anthony Minessale pisze: > > you can just not use the conference bgdial if you need it to work > different. > > > > bgapi originate sofia/default/100 at domain.com conference:myconf inline > > Thx. > Is there a difference between this command? > > bgapi originate ofia/default/100 at domain.com &conference(myconf) > > As I understand, inline defines DIALPLAN in command. Is there a difference > in performance or something else? > > Szymon O. > > > > > > > On Fri, Apr 24, 2009 at 7:41 AM, Szymon Olko wrote: > > > > Hello, > > > > What is the purpose of ignore_early_media in conference dial > > command? It's only set in case when conference does not exist. > > 'bgdial' command does not work like that. It's like that: > > > > dial: > > conference does not exist = ignore_early_media=true > > conference exist = nothing > > bgdial > > conference does not exist = nothing > > conference exist = nothing > > > > I want to use dial command with bgapi and receive later > > BACKGROUND_JOB event. Is it possible to remove that > > 'ignore_early_media=true' from conference mod and let users set it > > if they want? > > > > Second thing regarding variables attached to dial string is that > > when setting the same variable few times last occurrence is set > > in events. Below example produces variable_camle1=nietest. > > > > conference test dial > > > {camel1=test,camel2=test2,camel1=nietest}sofia/internal/1001%192.168.77.248 > > > > > > When I make 'conference dial' command I cannot change behavior > > of ignore_early_media, but value in event is changed. > > For example (conference does not exist): > > conference test dial > > {ignore_early_media=false}sofia/gateway/429956/80504318131 at 10.0.0.12 > > > > blocks and ignores early media, debug output is like that: > > > > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > > switch_ivr_originate() variable string 0 = [ignore_early_media=true] > > 2009-04-24 12:34:38 [DEBUG] switch_ivr_originate.c:1077 > > switch_ivr_originate() variable string 1 = [ignore_early_media=false] > > > > But CHANNEL_ORIGINATE event looks like that: > > > > variable_ignore_early_media: false > > variable_originate_early_media: false > > > > It would be good to have the same like with custom variables, that > > the last value is used, so I can override what is set in code. > > > > > > Best regards > > Szymon Olko > > > > _______________________________________________ > > 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/ > > > > 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 > > > > > > iax:guest at conference.freeswitch.org/888 > > > > googletalk:conf+888 at conference.freeswitch.org > > > > > > pstn:213-799-1400 > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/f2c15488/attachment.html From anthony.minessale at gmail.com Sat Apr 25 05:09:59 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 25 Apr 2009 07:09:59 -0500 Subject: [Freeswitch-dev] [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> Message-ID: <191c3a030904250509i395ecbfdqede75dc098b8194@mail.gmail.com> freeswitch uses memory pooling and so do some of it's individual components. you can expect it to build up to several hundered megs of ram and save it for reuse. I bet the email app you are using to write this email is using more ram than that chart depicts. On Sat, Apr 25, 2009 at 2:31 AM, Charles Boening wrote: > I don?t see any core files. However, I talked with one of my other guys > this evening and found out he put in a cron job that was supposed to kill FS > and restart it every day at 3am. I think there was something wrong with how > he did it and FS wasn?t restarting properly. I?ve removed that job and > we?ll see how long we last. I?m still concerned about the ever increasing > memory usage though. I would think that if it doesn?t level off, eventually > something has to give. > > > > Here?s what I have for a memory usage graph so far. As you can see, memory > usage is constantly climbing. I wouldn?t think this would be normal. Since > I updated to 1.0.4pre5, I?ve made a couple test calls to make sure the IVR > was working correctly. Other than that, the system hasn?t been used since > the update about 11 hours ago. > > > > > > > > > > > > > > > > > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Friday, April 24, 2009 5:48 PM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version > 1.0.4pre5 > *Importance:* Low > > > > if it already crashed, you would already have core files now you could > trace. > did you witness any crash or find any core files? > > mention to the boss if he emails consulting at freeswitch.org he could > purchase a support contract from > FreeSWITCH Solutions and we can make sure his box is stable. > > On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening > wrote: > > Brian, > > Sounds good. I'll keep an eye on it. > > I appreciate the tips. I'll see about joining the IRC channel. :) > > > Charlie > > > > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West > > Sent: Friday, April 24, 2009 4:45 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 > > If you can please refer to the wiki for debugging procedures... I also > recommend you join us on IRC. We run conference.freeswitch.org with > many participants in a conference all day long without any problems > and we usually keep it up to date every few days when we remember to > do so. We do not see any memory leaks. > > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > If freeswitch exits like you say it'll have a core file which you can > run gdb on and it will tell us why it crashed usually. > > /b > > > On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > > > Brian, > > > > Thanks for the quick reply. > > > > I'm using FS for a conference server. We have just one conference > > room for internal use. It is connected via a SIP registration to > > our MetaSwitch. That registration allows multiple calls on the same > > registration. I could do a SIP trunk but this was quick and easy to > > setup. > > > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > > and that's how I got to poking around. Sounds like maybe I'm being > > a little alarmist. It's just harsh when the boss asks why the > > conference room isn't working. :) > > > > I'll see if I can get something setup to monitor memory usage over > > time. I'm just concerned that over time memory will keep increasing > > and increasing and that's what caused the process to crash. > > > > What would you suggest to try and track down why the FS process > > would suddenly stop working (not in process list even)? > > > > Charlie > > Brian West > brian at freeswitch.org > > -- Meet us at ClueCon! http://www.cluecon.com > > > > > > _______________________________________________ > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/98ab2045/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 14707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/98ab2045/attachment-0001.png From charlieb at cot.net Sat Apr 25 13:14:34 2009 From: charlieb at cot.net (Charles Boening) Date: Sat, 25 Apr 2009 13:14:34 -0700 Subject: [Freeswitch-dev] [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: text/plain; charset=utf-8 References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> <191c3a030904250509i395ecbfdqede75dc098b8194@mail.gmail.com> Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BE@exchange.calore.local> I'm sure the email app uses way more. It's Outlook after all. :) So what you're saying is the FS will continue to consume memory for future use even if nothing is going on? Thanks for the information and taking the time to address my concerns. Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Saturday, April 25, 2009 5:10 AM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low freeswitch uses memory pooling and so do some of it's individual components. you can expect it to build up to several hundered megs of ram and save it for reuse. I bet the email app you are using to write this email is using more ram than that chart depicts. On Sat, Apr 25, 2009 at 2:31 AM, Charles Boening > wrote: I don't see any core files. However, I talked with one of my other guys this evening and found out he put in a cron job that was supposed to kill FS and restart it every day at 3am. I think there was something wrong with how he did it and FS wasn't restarting properly. I've removed that job and we'll see how long we last. I'm still concerned about the ever increasing memory usage though. I would think that if it doesn't level off, eventually something has to give. Here's what I have for a memory usage graph so far. As you can see, memory usage is constantly climbing. I wouldn't think this would be normal. Since I updated to 1.0.4pre5, I've made a couple test calls to make sure the IVR was working correctly. Other than that, the system hasn't been used since the update about 11 hours ago. [cid:image001.png at 01C9C5A7.3F1B16C0] From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, April 24, 2009 5:48 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low if it already crashed, you would already have core files now you could trace. did you witness any crash or find any core files? mention to the boss if he emails consulting at freeswitch.org he could purchase a support contract from FreeSWITCH Solutions and we can make sure his box is stable. On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening > wrote: Brian, Sounds good. I'll keep an eye on it. I appreciate the tips. I'll see about joining the IRC channel. :) Charlie -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:45 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I'm using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that's how I got to poking around. Sounds like maybe I'm being > a little alarmist. It's just harsh when the boss asks why the > conference room isn't working. :) > > I'll see if I can get something setup to monitor memory usage over > time. I'm just concerned that over time memory will keep increasing > and increasing and that's what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/c0b0b759/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 14707 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/c0b0b759/attachment-0001.png From anthony.minessale at gmail.com Sat Apr 25 16:14:07 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 25 Apr 2009 18:14:07 -0500 Subject: [Freeswitch-dev] [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BE@exchange.calore.local> References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> <191c3a030904250509i395ecbfdqede75dc098b8194@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BE@exchange.calore.local> Message-ID: <191c3a030904251614m63f99279wfc9e07669fabe84f@mail.gmail.com> it may for some time but it will eventually level off anywhere from 20 to 700 megs is within normal parameters even on an idle box. On Sat, Apr 25, 2009 at 3:14 PM, Charles Boening wrote: > I?m sure the email app uses way more. It?s Outlook after all. :) > > > > So what you?re saying is the FS will continue to consume memory for future > use even if nothing is going on? > > > > Thanks for the information and taking the time to address my concerns. > > > > > > Charlie > > > > > > > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Saturday, April 25, 2009 5:10 AM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* [BULK] Re: [Freeswitch-dev] [BULK] Re: Memory Leak? - > FreeSWITCH Version 1.0.4pre5 > *Importance:* Low > > > > freeswitch uses memory pooling and so do some of it's individual > components. > you can expect it to build up to several hundered megs of ram and save it > for reuse. > > I bet the email app you are using to write this email is using more ram > than that chart depicts. > > > > On Sat, Apr 25, 2009 at 2:31 AM, Charles Boening > wrote: > > I don?t see any core files. However, I talked with one of my other guys > this evening and found out he put in a cron job that was supposed to kill FS > and restart it every day at 3am. I think there was something wrong with how > he did it and FS wasn?t restarting properly. I?ve removed that job and > we?ll see how long we last. I?m still concerned about the ever increasing > memory usage though. I would think that if it doesn?t level off, eventually > something has to give. > > > > Here?s what I have for a memory usage graph so far. As you can see, memory > usage is constantly climbing. I wouldn?t think this would be normal. Since > I updated to 1.0.4pre5, I?ve made a couple test calls to make sure the IVR > was working correctly. Other than that, the system hasn?t been used since > the update about 11 hours ago. > > > > > > > > > > > > > > > > > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Friday, April 24, 2009 5:48 PM > > > *To:* freeswitch-dev at lists.freeswitch.org > > *Subject:* [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version > 1.0.4pre5 > *Importance:* Low > > > > if it already crashed, you would already have core files now you could > trace. > did you witness any crash or find any core files? > > mention to the boss if he emails consulting at freeswitch.org he could > purchase a support contract from > FreeSWITCH Solutions and we can make sure his box is stable. > > On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening wrote: > > Brian, > > Sounds good. I'll keep an eye on it. > > I appreciate the tips. I'll see about joining the IRC channel. :) > > > Charlie > > > > > -----Original Message----- > From: freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West > > Sent: Friday, April 24, 2009 4:45 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 > > If you can please refer to the wiki for debugging procedures... I also > recommend you join us on IRC. We run conference.freeswitch.org with > many participants in a conference all day long without any problems > and we usually keep it up to date every few days when we remember to > do so. We do not see any memory leaks. > > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > If freeswitch exits like you say it'll have a core file which you can > run gdb on and it will tell us why it crashed usually. > > /b > > > On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > > > Brian, > > > > Thanks for the quick reply. > > > > I'm using FS for a conference server. We have just one conference > > room for internal use. It is connected via a SIP registration to > > our MetaSwitch. That registration allows multiple calls on the same > > registration. I could do a SIP trunk but this was quick and easy to > > setup. > > > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > > and that's how I got to poking around. Sounds like maybe I'm being > > a little alarmist. It's just harsh when the boss asks why the > > conference room isn't working. :) > > > > I'll see if I can get something setup to monitor memory usage over > > time. I'm just concerned that over time memory will keep increasing > > and increasing and that's what caused the process to crash. > > > > What would you suggest to try and track down why the FS process > > would suddenly stop working (not in process list even)? > > > > Charlie > > Brian West > brian at freeswitch.org > > -- Meet us at ClueCon! http://www.cluecon.com > > > > > > _______________________________________________ > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > > _______________________________________________ > 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/ > > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/f2bfdefb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 14707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/f2bfdefb/attachment-0001.png From charlieb at cot.net Sat Apr 25 18:09:56 2009 From: charlieb at cot.net (Charles Boening) Date: Sat, 25 Apr 2009 18:09:56 -0700 Subject: [Freeswitch-dev] [BULK] Re: [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: text/plain; charset=utf-8 References: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B0@exchange.calore.local> <452B8D4B-8AD3-4BEA-A0DE-E4BF24A3D061@freeswitch.org> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6B6@exchange.calore.local> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BB@exchange.calore.local> <191c3a030904241748g67291d70o7ed5ff8a6c81c042@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BD@exchange.calore.local> <191c3a030904250509i395ecbfdqede75dc098b8194@mail.gmail.com> <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6BE@exchange.calore.local> <191c3a030904251614m63f99279wfc9e07669fabe84f@mail.gmail.com> Message-ID: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6C4@exchange.calore.local> That's good to know. Thank you again for the rapid responses and such. It is greatly appreciated. :) Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Saturday, April 25, 2009 4:14 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low it may for some time but it will eventually level off anywhere from 20 to 700 megs is within normal parameters even on an idle box. On Sat, Apr 25, 2009 at 3:14 PM, Charles Boening > wrote: I'm sure the email app uses way more. It's Outlook after all. :) So what you're saying is the FS will continue to consume memory for future use even if nothing is going on? Thanks for the information and taking the time to address my concerns. Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Saturday, April 25, 2009 5:10 AM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low freeswitch uses memory pooling and so do some of it's individual components. you can expect it to build up to several hundered megs of ram and save it for reuse. I bet the email app you are using to write this email is using more ram than that chart depicts. On Sat, Apr 25, 2009 at 2:31 AM, Charles Boening > wrote: I don't see any core files. However, I talked with one of my other guys this evening and found out he put in a cron job that was supposed to kill FS and restart it every day at 3am. I think there was something wrong with how he did it and FS wasn't restarting properly. I've removed that job and we'll see how long we last. I'm still concerned about the ever increasing memory usage though. I would think that if it doesn't level off, eventually something has to give. Here's what I have for a memory usage graph so far. As you can see, memory usage is constantly climbing. I wouldn't think this would be normal. Since I updated to 1.0.4pre5, I've made a couple test calls to make sure the IVR was working correctly. Other than that, the system hasn't been used since the update about 11 hours ago. [cid:image001.png at 01C9C5D1.0A3A4F00] From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, April 24, 2009 5:48 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low if it already crashed, you would already have core files now you could trace. did you witness any crash or find any core files? mention to the boss if he emails consulting at freeswitch.org he could purchase a support contract from FreeSWITCH Solutions and we can make sure his box is stable. On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening > wrote: Brian, Sounds good. I'll keep an eye on it. I appreciate the tips. I'll see about joining the IRC channel. :) Charlie -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:45 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I'm using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that's how I got to poking around. Sounds like maybe I'm being > a little alarmist. It's just harsh when the boss asks why the > conference room isn't working. :) > > I'll see if I can get something setup to monitor memory usage over > time. I'm just concerned that over time memory will keep increasing > and increasing and that's what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/0a70f3f4/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 14707 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/0a70f3f4/attachment-0001.png From krice at freeswitch.org Sat Apr 25 19:06:27 2009 From: krice at freeswitch.org (Ken Rice) Date: Sat, 25 Apr 2009 21:06:27 -0500 Subject: [Freeswitch-dev] [BULK] Re: [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 In-Reply-To: <4FB2938B89459C41860C4DB9B1821D6FB3D87FD6C4@exchange.calore.local> Message-ID: Just to be clear on this... FreeSWITCH pools memory. This is done for performance reasons, once memory is allocated, its not nessecarily free()?d when a call dies. It is normal for the box to increase in memory usage and then level off at some point... example: its not unusual to see a very busy box during the daytime using 2G of ram, then at night use that same 2G of ram since FS will recycle it later. This is actually a good thing since we arent calling malloc() all the time... You can use the fsctl reclaim_mem command ona busy box to get fs to go thru and free() some of that memory but don?t expect it to free it all as it will keep some around. There are also session limits, sps limits, and in sofia limits to concurrent dialogs, this settings are there you help you control how much traffic the box will handle and thus either limit the resources it will use or keep it from melting down on itself K From: Charles Boening Reply-To: "freeswitch-dev at lists.freeswitch.org" Date: Sat, 25 Apr 2009 18:09:56 -0700 To: "'freeswitch-dev at lists.freeswitch.org'" Subject: Re: [Freeswitch-dev] [BULK] Re: [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 That?s good to know. Thank you again for the rapid responses and such. It is greatly appreciated. :) Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Saturday, April 25, 2009 4:14 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] [BULK] Re: [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low it may for some time but it will eventually level off anywhere from 20 to 700 megs is within normal parameters even on an idle box. On Sat, Apr 25, 2009 at 3:14 PM, Charles Boening wrote: I?m sure the email app uses way more. It?s Outlook after all. :) So what you?re saying is the FS will continue to consume memory for future use even if nothing is going on? Thanks for the information and taking the time to address my concerns. Charlie From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Saturday, April 25, 2009 5:10 AM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] [BULK] Re: Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low freeswitch uses memory pooling and so do some of it's individual components. you can expect it to build up to several hundered megs of ram and save it for reuse. I bet the email app you are using to write this email is using more ram than that chart depicts. On Sat, Apr 25, 2009 at 2:31 AM, Charles Boening wrote: I don?t see any core files. However, I talked with one of my other guys this evening and found out he put in a cron job that was supposed to kill FS and restart it every day at 3am. I think there was something wrong with how he did it and FS wasn?t restarting properly. I?ve removed that job and we?ll see how long we last. I?m still concerned about the ever increasing memory usage though. I would think that if it doesn?t level off, eventually something has to give. Here?s what I have for a memory usage graph so far. As you can see, memory usage is constantly climbing. I wouldn?t think this would be normal. Since I updated to 1.0.4pre5, I?ve made a couple test calls to make sure the IVR was working correctly. Other than that, the system hasn?t been used since the update about 11 hours ago. From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, April 24, 2009 5:48 PM To: freeswitch-dev at lists.freeswitch.org Subject: [BULK] Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 Importance: Low if it already crashed, you would already have core files now you could trace. did you witness any crash or find any core files? mention to the boss if he emails consulting at freeswitch.org he could purchase a support contract from FreeSWITCH Solutions and we can make sure his box is stable. On Fri, Apr 24, 2009 at 7:16 PM, Charles Boening wrote: Brian, Sounds good. I'll keep an eye on it. I appreciate the tips. I'll see about joining the IRC channel. :) Charlie -----Original Message----- From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 24, 2009 4:45 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5 If you can please refer to the wiki for debugging procedures... I also recommend you join us on IRC. We run conference.freeswitch.org with many participants in a conference all day long without any problems and we usually keep it up to date every few days when we remember to do so. We do not see any memory leaks. http://wiki.freeswitch.org/wiki/Reporting_Bugs If freeswitch exits like you say it'll have a core file which you can run gdb on and it will tell us why it crashed usually. /b On Apr 24, 2009, at 6:36 PM, Charles Boening wrote: > Brian, > > Thanks for the quick reply. > > I'm using FS for a conference server. We have just one conference > room for internal use. It is connected via a SIP registration to > our MetaSwitch. That registration allows multiple calls on the same > registration. I could do a SIP trunk but this was quick and easy to > setup. > > I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) > and that's how I got to poking around. Sounds like maybe I'm being > a little alarmist. It's just harsh when the boss asks why the > conference room isn't working. :) > > I'll see if I can get something setup to monitor memory usage over > time. I'm just concerned that over time memory will keep increasing > and increasing and that's what caused the process to crash. > > What would you suggest to try and track down why the FS process > would suddenly stop working (not in process list even)? > > Charlie Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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/20090425/815946cd/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 14707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090425/815946cd/attachment-0001.png From malhar at fusioninformatics.com Mon Apr 27 05:21:15 2009 From: malhar at fusioninformatics.com (Malhar Chudasama) Date: Mon, 27 Apr 2009 17:51:15 +0530 Subject: [Freeswitch-dev] Adding New User In User Directory Message-ID: <1059C03A20054ED98F40AA38CDC98658.MAI@fusioninformatics.net> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090427/91e91244/attachment.html From solko at gcdf.pl Mon Apr 27 05:34:11 2009 From: solko at gcdf.pl (Szymon Olko) Date: Mon, 27 Apr 2009 14:34:11 +0200 Subject: [Freeswitch-dev] Adding New User In User Directory In-Reply-To: <1059C03A20054ED98F40AA38CDC98658.MAI@fusioninformatics.net> References: <1059C03A20054ED98F40AA38CDC98658.MAI@fusioninformatics.net> Message-ID: <49F5A643.602@gcdf.pl> Malhar Chudasama pisze: > Hi, All > > Hey I have installed the windows version of the freeswitch. Generally > its works great. But I have one silly question: "How Can I add new user > to user directory" each time I add the user the user can register but in > calling its says no user find. Should I have to add something extra. I > just copy the file of 1001.xml and make it 1020.xml and change the file > data according to the 1020 and result the call is not working. only user > 1000 to 1015 is working. What can be reason behind that? > First of all it's wrong group, put this question in freeswitch-users. Second, describe how you call them, or how they make a call, what is your dialplan and are you sending commands or you just want to make outbounds calls? What kinds of software/hadrware phones are you using? > > Regards, > M.C. > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 sshen at oa.com.au Mon Apr 27 16:39:53 2009 From: sshen at oa.com.au (Scott Shen) Date: Tue, 28 Apr 2009 09:39:53 +1000 Subject: [Freeswitch-dev] FS r13096 error Message-ID: <4462DF002246D44CB823FA4F9855399413AFB068F3@oa-exchange1.oa.com.au> I am using FS r13096, occasionally getting following errors when doing uuid_bridge switch_core_session.c:303 switch_core_session_outgoing_channel() Could not locate channel type 1007 switch_ivr_originate.c:1486 switch_ivr_originate() Cannot create outgoing channel of type [1007] cause: [CHAN_NOT_IMPLEMENTED] Uually the error will disappear if try the second time, never witnessed the similar error on previous version of FS. Thanks & Regards Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/f560ed45/attachment.html From brian at freeswitch.org Mon Apr 27 17:03:33 2009 From: brian at freeswitch.org (Brian West) Date: Mon, 27 Apr 2009 19:03:33 -0500 Subject: [Freeswitch-dev] FS r13096 error In-Reply-To: <4462DF002246D44CB823FA4F9855399413AFB068F3@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F9855399413AFB068F3@oa-exchange1.oa.com.au> Message-ID: It just means you're dialing wrong... you're dialing without a channel type ie We have no channel type called '1007' user/1007 vs just 1007 /b On Apr 27, 2009, at 6:39 PM, Scott Shen wrote: > I am using FS r13096, occasionally getting following errors when > doing uuid_bridge > > switch_core_session.c:303 switch_core_session_outgoing_channel() > Could not locate channel type 1007 > switch_ivr_originate.c:1486 switch_ivr_originate() Cannot create > outgoing channel of type [1007] cause: [CHAN_NOT_IMPLEMENTED] > > Uually the error will disappear if try the second time, never > witnessed the similar error on previous version of FS. > > Thanks & Regards > Scott Brian West brian at freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090427/c2edd85a/attachment.html From santosh_tripathi at datamatics.com Tue Apr 28 01:15:12 2009 From: santosh_tripathi at datamatics.com (Santosh) Date: Tue, 28 Apr 2009 13:45:12 +0530 Subject: [Freeswitch-dev] Compiling the FreeSwitch on Windows XP References: <005001c9c729$a9ab4450$1805a8c0@tes.datamatics.com> Message-ID: <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> Hi, I am compiling the FreeSwitch 1.0.3 on Windows machine and getting hundreds of error.I guess this has something to do with Visual studio Settings.Can you please help me with this.I am attaching the Error file also(in which there are some missing files too).Can you send me a working FreeSwitch code for windows? Regards, Santosh Disclaimer: The information contained in this e-mail and attachments if any are privileged and confidential and are intended for the individual(s) or entity(ies) named in this e-mail. If the reader or recipient is not the intended recipient, or employee or agent responsible for delivering to the intended recipient, you are hereby notified that dissemination, distribution or copying of this communication or attachments thereof is strictly prohibited. IF YOU RECEIVE this communication in error, please immediately notify the sender and return the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/614d4639/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: FreeSwitch Error List.txt Url: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/614d4639/attachment-0001.txt From david-mailinglists at tecdev.com Tue Apr 28 05:52:30 2009 From: david-mailinglists at tecdev.com (David A. Horner) Date: Tue, 28 Apr 2009 08:52:30 -0400 Subject: [Freeswitch-dev] Compiling the FreeSwitch on Windows XP In-Reply-To: <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> References: <005001c9c729$a9ab4450$1805a8c0@tes.datamatics.com> <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> Message-ID: <722ef36c0904280552q60a997a9mfb571dc06b4bed40@mail.gmail.com> Start with installing the windows sdk..... error C2143: syntax error : missing ']' before 'constant' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ras.h http://msdn.microsoft.com/en-us/windows/bb980924.aspx --dave http://dave.thehorners.com/tech-talk/programming On Tue, Apr 28, 2009 at 4:15 AM, Santosh wrote: > Hi, > I am compiling the FreeSwitch 1.0.3 on Windows machine and getting hundreds > of error.I guess this has something to do with Visual studio Settings.Can > you please help me with this.I am attaching the Error file also(in which > there are some missing files too).Can you send me a working FreeSwitch code > for windows? > > Regards, > Santosh > > > > > Disclaimer: The information contained in this e-mail and attachments if any > are privileged and confidential and are intended for the individual(s) or > entity(ies) named in this e-mail. If the reader or recipient is not the > intended recipient, or employee or agent responsible for delivering to the > intended recipient, you are hereby notified that dissemination, distribution > or copying of this communication or attachments thereof is strictly > prohibited. IF YOU RECEIVE this communication in error, please immediately > notify the sender and return the original message. > > > > _______________________________________________ > 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 david-mailinglists at tecdev.com Tue Apr 28 05:56:08 2009 From: david-mailinglists at tecdev.com (David A. Horner) Date: Tue, 28 Apr 2009 08:56:08 -0400 Subject: [Freeswitch-dev] Compiling the FreeSwitch on Windows XP In-Reply-To: <722ef36c0904280552q60a997a9mfb571dc06b4bed40@mail.gmail.com> References: <005001c9c729$a9ab4450$1805a8c0@tes.datamatics.com> <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> <722ef36c0904280552q60a997a9mfb571dc06b4bed40@mail.gmail.com> Message-ID: <722ef36c0904280556t234338eq304f3cfcb980b839@mail.gmail.com> Actually, you might have it.... it doesn't look like the download scripts are working....could be file permissions or strange data. I'd delete the directory and do a fresh checkout build too. --dave http://dave.thehorners.com/tech-talk/programming On Tue, Apr 28, 2009 at 8:52 AM, David A. Horner wrote: > Start with installing the windows sdk..... > error C2143: syntax error : missing ']' before 'constant' ? ? ? C:\Program > Files\Microsoft SDKs\Windows\v6.0A\include\ras.h > > http://msdn.microsoft.com/en-us/windows/bb980924.aspx > > --dave > http://dave.thehorners.com/tech-talk/programming > > On Tue, Apr 28, 2009 at 4:15 AM, Santosh > wrote: >> Hi, >> I am compiling the FreeSwitch 1.0.3 on Windows machine and getting hundreds >> of error.I guess this has something to do with Visual studio Settings.Can >> you please help me with this.I am attaching the Error file also(in which >> there are some missing files too).Can you send me a working FreeSwitch code >> for windows? >> >> Regards, >> Santosh >> >> >> >> >> Disclaimer: The information contained in this e-mail and attachments if any >> are privileged and confidential and are intended for the individual(s) or >> entity(ies) named in this e-mail. If the reader or recipient is not the >> intended recipient, or employee or agent responsible for delivering to the >> intended recipient, you are hereby notified that dissemination, distribution >> or copying of this communication or attachments thereof is strictly >> prohibited. IF YOU RECEIVE this communication in error, please immediately >> notify the sender and return the original message. >> >> >> >> _______________________________________________ >> 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 Apr 28 09:27:21 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 28 Apr 2009 09:27:21 -0700 Subject: [Freeswitch-dev] FreeSWITCH In Blogosphere Message-ID: <87f2f3b90904280927s456ba9f6o90f94d41a0e4b71d@mail.gmail.com> I just wanted to let everyone know that there are a few blog posts out there that you FreeSWITCHers might find interesting. Please check out these two stories on the main FreeSWITCH page: Another Interesting Use For FreeSWITCH: OpenSim DIDX Interview With Anthony Minessale and Brian West Be sure to leave comments where appropriate. I will followup with digg links shortly. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/51b09a69/attachment.html From santosh_tripathi at datamatics.com Tue Apr 28 09:09:40 2009 From: santosh_tripathi at datamatics.com (Santosh) Date: Tue, 28 Apr 2009 21:39:40 +0530 Subject: [Freeswitch-dev] Configuring the Freeswitch References: <005001c9c729$a9ab4450$1805a8c0@tes.datamatics.com><002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> <722ef36c0904280552q60a997a9mfb571dc06b4bed40@mail.gmail.com> Message-ID: <000601c9c81b$bc998660$1805a8c0@tes.datamatics.com> Hi , I need help for : 1) Configuring the FreeSwitch in windows. 2) How to stop external call or allow a range of number for a USER(End client who is using my FreeSwitch SIP Server) 3) How can I make bill for the user using CDR(Call Detail Record).Can I use MS Sql for it or each time will have to read from file only. Thanks for all you support in advance and Please help me. Best Regards, Santosh. Disclaimer: The information contained in this e-mail and attachments if any are privileged and confidential and are intended for the individual(s) or entity(ies) named in this e-mail. If the reader or recipient is not the intended recipient, or employee or agent responsible for delivering to the intended recipient, you are hereby notified that dissemination, distribution or copying of this communication or attachments thereof is strictly prohibited. IF YOU RECEIVE this communication in error, please immediately notify the sender and return the original message. From peter.olsson at visionutveckling.se Tue Apr 28 09:32:48 2009 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 28 Apr 2009 18:32:48 +0200 Subject: [Freeswitch-dev] FreeSWITCH on Windows crashing when doing deflect/REFER Message-ID: <549CFEF87AEDE841A38E9D15EAB4C04C4BB619B728@cooper> I have a problem with FreeSWITCH (r13175) when using REFER. If running inside Visual Studio, everytime (during the REFER) I get a "...has triggered a breakpoint". It's possible to click continue to go on, but eventually (another 2-3 calls) FreeSWITCH crasches completely. When running outside Visual Studio I get a crasch after maybe 10 calls. Another interesting scenario is when running outside the debugger and I enable siptracing it's much more stable - even though it crasches eventually - this is what makes me wonder about mutexes... I've tracked it down to calls to malloc() and calloc() which in 100% of the cases is in the top of the call stack. My thought is that it might be related to a mutex issue somewhere. Below I've copied the call stack from two times it's happened to me. These are the most common traces, but sometimes it's a malloc being called from the sqlite lib. But so far I always think it's been related to a malloc/calloc. These things have occured in a couple of other places as well, for instance when a SIP registration fails (registering to an external server) with error 404 I also get a breakpoint triggered, but I don't think that has caused any crasches yet. I've tried to debug this on my own, but so far I didn't find anything, so that's why I'm asking you guys :) I think I'm going to try the same on Linux as well, and see if it works differently there. If you need more info, please let me know, I'll try to help out as much as possible. I thought I'd post this here first, if you have any ideas. If not I'll file a Jira for the issue. ----- ntdll.dll!DbgBreakPoint() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!RtlpNtMakeTemporaryKey() + 0x3eee bytes ntdll.dll!RtlTimeToElapsedTimeFields() + 0xd8c3 bytes ntdll.dll!RtlTryEnterCriticalSection() + 0x66f bytes ntdll.dll!RtlpNtMakeTemporaryKey() + 0x4785 bytes ntdll.dll!RtlTimeToElapsedTimeFields() + 0xd6f1 bytes ntdll.dll!RtlTryEnterCriticalSection() + 0x66f bytes > msvcr90d.dll!_heap_alloc_base(unsigned int size=41) Line 105 + 0x28 bytes C msvcr90d.dll!_heap_alloc_dbg_impl(unsigned int nSize=5, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x0739f498) Line 427 + 0x9 bytes C++ msvcr90d.dll!_nh_malloc_dbg_impl(unsigned int nSize=5, int nhFlag=0, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x0739f498) Line 239 + 0x19 bytes C++ msvcr90d.dll!_nh_malloc_dbg(unsigned int nSize=5, int nhFlag=0, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0) Line 296 + 0x1d bytes C++ msvcr90d.dll!malloc(unsigned int nSize=5) Line 56 + 0x15 bytes C++ FreeSwitch.dll!my_dup(const char * s=0x035724c8) Line 95 + 0xc bytes C FreeSwitch.dll!switch_event_add_header_string(switch_event * event=0x0370fe00, switch_stack_t stack=SWITCH_STACK_BOTTOM, const char * header_name=0x0739f50c, const char * data=0x035724c8) Line 785 + 0x9 bytes C FreeSwitch.dll!switch_channel_event_set_extended_data(switch_channel * channel=0x05d86ab0, switch_event * event=0x0370fe00) Line 1365 C FreeSwitch.dll!switch_channel_event_set_data(switch_channel * channel=0x05d86ab0, switch_event * event=0x0370fe00) Line 1378 C FreeSwitch.dll!switch_core_session_exec(switch_core_session * session=0x05d82538, const switch_application_interface * application_interface=0x0357c258, const char * arg=0x05d2b8b0) Line 1472 C FreeSwitch.dll!switch_core_session_execute_application(switch_core_session * session=0x05d82538, const char * app=0x05d2b8a8, const char * arg=0x05d2b8b0) Line 1392 C FreeSwitch.dll!switch_core_standard_on_execute(switch_core_session * session=0x05d82538) Line 168 + 0x16 bytes C FreeSwitch.dll!switch_core_session_run(switch_core_session * session=0x05d82538) Line 490 + 0x204 bytes C FreeSwitch.dll!switch_core_session_thread(apr_thread_t * thread=0x05ca71f8, void * obj=0x05d82538) Line 1060 C libapr.dll!dummy_worker(void * opaque=0x05ca71f8) Line 80 C msvcr90d.dll!_callthreadstartex() Line 348 + 0xf bytes C msvcr90d.dll!_threadstartex(void * ptd=0x03574318) Line 331 C kernel32.dll!BaseThreadInitThunk() + 0x12 bytes ntdll.dll!RtlInitializeExceptionChain() + 0x63 bytes ntdll.dll!RtlInitializeExceptionChain() + 0x36 bytes ---------------- ntdll.dll!DbgBreakPoint() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!RtlpNtMakeTemporaryKey() + 0x3eee bytes ntdll.dll!RtlTimeToElapsedTimeFields() + 0xd8c3 bytes ntdll.dll!RtlTryEnterCriticalSection() + 0x66f bytes ntdll.dll!RtlpNtMakeTemporaryKey() + 0x4785 bytes ntdll.dll!RtlTimeToElapsedTimeFields() + 0xd6f1 bytes ntdll.dll!RtlTryEnterCriticalSection() + 0x66f bytes > msvcr90d.dll!_heap_alloc_base(unsigned int size=544) Line 105 + 0x28 bytes C msvcr90d.dll!_heap_alloc_dbg_impl(unsigned int nSize=508, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x042df664) Line 427 + 0x9 bytes C++ msvcr90d.dll!_nh_malloc_dbg_impl(unsigned int nSize=508, int nhFlag=0, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x042df664) Line 239 + 0x19 bytes C++ msvcr90d.dll!_calloc_dbg_impl(unsigned int nNum=1, unsigned int nSize=508, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * errno_tmp=0x042df664) Line 593 + 0x20 bytes C++ msvcr90d.dll!_calloc_dbg(unsigned int nNum=1, unsigned int nSize=508, int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0) Line 644 + 0x1d bytes C++ msvcr90d.dll!calloc(unsigned int nNum=1, unsigned int nSize=508) Line 56 + 0x13 bytes C++ mod_sofia.dll!su_home_new(unsigned int size=508) Line 562 + 0xe bytes C mod_sofia.dll!msg_create(const msg_mclass_s * mc=0x036f89e8, int flags=2) Line 61 + 0x12 bytes C mod_sofia.dll!nta_msg_create(nta_agent_s * agent=0x037c5430, int flags=0) Line 3305 + 0x16 bytes C mod_sofia.dll!nua_client_request_template(nua_client_request * cr=0x038c2568) Line 613 + 0x11 bytes C mod_sofia.dll!nua_client_init_request0(nua_client_request * cr=0x038c2568) Line 493 + 0x9 bytes C mod_sofia.dll!nua_client_init_request(nua_client_request * cr=0x038c2568) Line 441 + 0x9 bytes C mod_sofia.dll!nua_client_create(nua_handle_s * nh=0x038607f0, int event=33, const nua_client_methods_t * methods=0x03ca2268, const tagi_t * const tags=0x00000000) Line 199 + 0x9 bytes C mod_sofia.dll!nua_session_usage_shutdown(nua_handle_s * nh=0x038607f0, nua_dialog_state * ds=0x03860828, nua_dialog_usage * du=0x0386adc0) Line 1622 + 0x12 bytes C mod_sofia.dll!nua_dialog_usage_shutdown(su_home_s * owner=0x038607f0, nua_dialog_state * ds=0x03860828, nua_dialog_usage * du=0x0386adc0) Line 610 + 0x19 bytes C mod_sofia.dll!nua_dialog_shutdown(su_home_s * owner=0x038607f0, nua_dialog_state * ds=0x03860828) Line 587 + 0x11 bytes C mod_sofia.dll!nua_stack_destroy_handle(nua_s * nua=0x037ca4a8, nua_handle_s * nh=0x038607f0, const tagi_t * tags=0x03872944) Line 918 + 0x10 bytes C mod_sofia.dll!nua_stack_signal(nua_s * nua=0x037ca4a8, su_msg_s * * msg=0x042df868, nua_ee_data * ee=0x0387292c) Line 641 + 0x11 bytes C mod_sofia.dll!su_base_port_execute_msgs(su_msg_s * queue=0x00000000) Line 280 + 0x2c bytes C mod_sofia.dll!su_base_port_getmsgs(su_port_s * self=0x037cac68) Line 202 + 0x9 bytes C mod_sofia.dll!su_base_port_run(su_port_s * self=0x037cac68) Line 335 + 0x11 bytes C mod_sofia.dll!su_port_run(su_port_s * self=0x037cac68) Line 326 + 0x11 bytes C mod_sofia.dll!su_root_run(su_root_s * self=0x037cf1c0) Line 819 + 0xc bytes C mod_sofia.dll!su_pthread_port_clone_main(void * varg=0x03e3f96c) Line 324 + 0x9 bytes C pthreadVC2.dll!ptw32_threadStart(void * vthreadParms=0x03771cb8) Line 219 + 0x9 bytes C msvcr90d.dll!_callthreadstartex() Line 348 + 0xf bytes C msvcr90d.dll!_threadstartex(void * ptd=0x0378a3e8) Line 331 C kernel32.dll!BaseThreadInitThunk() + 0x12 bytes ntdll.dll!RtlInitializeExceptionChain() + 0x63 bytes ntdll.dll!RtlInitializeExceptionChain() + 0x36 bytes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/1b78c6e6/attachment-0001.html From mrene_lists at avgs.ca Tue Apr 28 09:41:32 2009 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Tue, 28 Apr 2009 12:41:32 -0400 Subject: [Freeswitch-dev] FreeSWITCH on Windows crashing when doing deflect/REFER In-Reply-To: <549CFEF87AEDE841A38E9D15EAB4C04C4BB619B728@cooper> References: <549CFEF87AEDE841A38E9D15EAB4C04C4BB619B728@cooper> Message-ID: Open up a Jira, thats where it belongs. Math On 28-Apr-09, at 12:32 PM, Peter Olsson wrote: > I have a problem with FreeSWITCH (r13175) when using REFER. If > running inside Visual Studio, everytime (during the REFER) I get a > ?...has triggered a breakpoint?. It?s possible to click continue to > go on, but eventually (another 2-3 calls) FreeSWITCH crasches > completely. When running outside Visual Studio I get a crasch after > maybe 10 calls. > > Another interesting scenario is when running outside the debugger > and I enable siptracing it?s much more stable ? even though it > crasches eventually ? this is what makes me wonder about mutexes... > > I?ve tracked it down to calls to malloc() and calloc() which in 100% > of the cases is in the top of the call stack. > > My thought is that it might be related to a mutex issue somewhere. > Below I?ve copied the call stack from two times it?s happened to me. > These are the most common traces, but sometimes it?s a malloc being > called from the sqlite lib. But so far I always think it?s been > related to a malloc/calloc. > > These things have occured in a couple of other places as well, for > instance when a SIP registration fails (registering to an external > server) with error 404 I also get a breakpoint triggered, but I > don?t think that has caused any crasches yet. > > I?ve tried to debug this on my own, but so far I didn?t find > anything, so that?s why I?m asking you guys :) I think I?m going to > try the same on Linux as well, and see if it works differently there. > > If you need more info, please let me know, I?ll try to help out as > much as possible. I thought I?d post this here first, if you have > any ideas. If not I?ll file a Jira for the issue. > > ----- > > ntdll.dll!DbgBreakPoint() > [Frames below may be incorrect and/or > missing, no symbols loaded for ntdll.dll] > ntdll.dll!RtlpNtMakeTemporaryKey() + > 0x3eee bytes > ntdll.dll!RtlTimeToElapsedTimeFields() > + 0xd8c3 bytes > ntdll.dll!RtlTryEnterCriticalSection() > + 0x66f bytes > ntdll.dll!RtlpNtMakeTemporaryKey() + > 0x4785 bytes > ntdll.dll!RtlTimeToElapsedTimeFields() > + 0xd6f1 bytes > ntdll.dll!RtlTryEnterCriticalSection() > + 0x66f bytes > > msvcr90d.dll!_heap_alloc_base(unsigned > int size=41) Line 105 + 0x28 bytes C > msvcr90d.dll! > _heap_alloc_dbg_impl(unsigned int nSize=5, int nBlockUse=1, const > char * szFileName=0x00000000, int nLine=0, int * > errno_tmp=0x0739f498) Line 427 + 0x9 bytes C++ > msvcr90d.dll! > _nh_malloc_dbg_impl(unsigned int nSize=5, int nhFlag=0, int > nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * > errno_tmp=0x0739f498) Line 239 + 0x19 bytes C++ > msvcr90d.dll!_nh_malloc_dbg(unsigned > int nSize=5, int nhFlag=0, int nBlockUse=1, const char * > szFileName=0x00000000, int nLine=0) Line 296 + 0x1d > bytes C++ > msvcr90d.dll!malloc(unsigned int > nSize=5) Line 56 + 0x15 bytes C++ > FreeSwitch.dll!my_dup(const char * > s=0x035724c8) Line 95 + 0xc bytes C > FreeSwitch.dll! > switch_event_add_header_string(switch_event * event=0x0370fe00, > switch_stack_t stack=SWITCH_STACK_BOTTOM, const char * > header_name=0x0739f50c, const char * data=0x035724c8) Line 785 + > 0x9 bytes C > FreeSwitch.dll! > switch_channel_event_set_extended_data(switch_channel * > channel=0x05d86ab0, switch_event * event=0x0370fe00) Line 1365 C > FreeSwitch.dll! > switch_channel_event_set_data(switch_channel * channel=0x05d86ab0, > switch_event * event=0x0370fe00) Line 1378 C > FreeSwitch.dll! > switch_core_session_exec(switch_core_session * session=0x05d82538, > const switch_application_interface * > application_interface=0x0357c258, const char * arg=0x05d2b8b0) Line > 1472 C > FreeSwitch.dll! > switch_core_session_execute_application(switch_core_session * > session=0x05d82538, const char * app=0x05d2b8a8, const char * > arg=0x05d2b8b0) Line 1392 C > FreeSwitch.dll! > switch_core_standard_on_execute(switch_core_session * > session=0x05d82538) Line 168 + 0x16 > bytes C > FreeSwitch.dll! > switch_core_session_run(switch_core_session * session=0x05d82538) > Line 490 + 0x204 bytes C > FreeSwitch.dll! > switch_core_session_thread(apr_thread_t * thread=0x05ca71f8, void * > obj=0x05d82538) Line 1060 C > libapr.dll!dummy_worker(void * > opaque=0x05ca71f8) Line 80 C > msvcr90d.dll!_callthreadstartex() Line > 348 + 0xf bytes C > msvcr90d.dll!_threadstartex(void * > ptd=0x03574318) Line 331 C > kernel32.dll!BaseThreadInitThunk() + > 0x12 bytes > ntdll.dll! > RtlInitializeExceptionChain() + 0x63 bytes > ntdll.dll! > RtlInitializeExceptionChain() + 0x36 bytes > > ---------------- > > ntdll.dll!DbgBreakPoint() > [Frames below may be incorrect and/or > missing, no symbols loaded for ntdll.dll] > ntdll.dll!RtlpNtMakeTemporaryKey() + > 0x3eee bytes > ntdll.dll!RtlTimeToElapsedTimeFields() > + 0xd8c3 bytes > ntdll.dll!RtlTryEnterCriticalSection() > + 0x66f bytes > ntdll.dll!RtlpNtMakeTemporaryKey() + > 0x4785 bytes > ntdll.dll!RtlTimeToElapsedTimeFields() > + 0xd6f1 bytes > ntdll.dll!RtlTryEnterCriticalSection() > + 0x66f bytes > > msvcr90d.dll!_heap_alloc_base(unsigned > int size=544) Line 105 + 0x28 bytes C > msvcr90d.dll! > _heap_alloc_dbg_impl(unsigned int nSize=508, int nBlockUse=1, const > char * szFileName=0x00000000, int nLine=0, int * > errno_tmp=0x042df664) Line 427 + 0x9 bytes C++ > msvcr90d.dll! > _nh_malloc_dbg_impl(unsigned int nSize=508, int nhFlag=0, int > nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int * > errno_tmp=0x042df664) Line 239 + 0x19 bytes C++ > msvcr90d.dll!_calloc_dbg_impl(unsigned > int nNum=1, unsigned int nSize=508, int nBlockUse=1, const char * > szFileName=0x00000000, int nLine=0, int * errno_tmp=0x042df664) > Line 593 + 0x20 bytes C++ > msvcr90d.dll!_calloc_dbg(unsigned int > nNum=1, unsigned int nSize=508, int nBlockUse=1, const char * > szFileName=0x00000000, int nLine=0) Line 644 + 0x1d bytes C++ > msvcr90d.dll!calloc(unsigned int > nNum=1, unsigned int nSize=508) Line 56 + 0x13 bytes C > ++ > mod_sofia.dll!su_home_new(unsigned int > size=508) Line 562 + 0xe bytes C > mod_sofia.dll!msg_create(const > msg_mclass_s * mc=0x036f89e8, int flags=2) Line 61 + 0x12 > bytes C > mod_sofia.dll! > nta_msg_create(nta_agent_s * agent=0x037c5430, int flags=0) Line > 3305 + 0x16 bytes C > mod_sofia.dll! > nua_client_request_template(nua_client_request * cr=0x038c2568) > Line 613 + 0x11 bytes C > mod_sofia.dll! > nua_client_init_request0(nua_client_request * cr=0x038c2568) Line > 493 + 0x9 bytes C > mod_sofia.dll! > nua_client_init_request(nua_client_request * cr=0x038c2568) Line > 441 + 0x9 bytes C > mod_sofia.dll! > nua_client_create(nua_handle_s * nh=0x038607f0, int event=33, const > nua_client_methods_t * methods=0x03ca2268, const tagi_t * const > tags=0x00000000) Line 199 + 0x9 bytes C > mod_sofia.dll! > nua_session_usage_shutdown(nua_handle_s * nh=0x038607f0, > nua_dialog_state * ds=0x03860828, nua_dialog_usage * du=0x0386adc0) > Line 1622 + 0x12 bytes C > mod_sofia.dll! > nua_dialog_usage_shutdown(su_home_s * owner=0x038607f0, > nua_dialog_state * ds=0x03860828, nua_dialog_usage * du=0x0386adc0) > Line 610 + 0x19 bytes C > mod_sofia.dll! > nua_dialog_shutdown(su_home_s * owner=0x038607f0, nua_dialog_state * > ds=0x03860828) Line 587 + 0x11 bytes C > mod_sofia.dll! > nua_stack_destroy_handle(nua_s * nua=0x037ca4a8, nua_handle_s * > nh=0x038607f0, const tagi_t * tags=0x03872944) Line 918 + 0x10 > bytes C > mod_sofia.dll!nua_stack_signal(nua_s * > nua=0x037ca4a8, su_msg_s * * msg=0x042df868, nua_ee_data * > ee=0x0387292c) Line 641 + 0x11 bytes C > mod_sofia.dll! > su_base_port_execute_msgs(su_msg_s * queue=0x00000000) Line 280 + > 0x2c bytes C > mod_sofia.dll! > su_base_port_getmsgs(su_port_s * self=0x037cac68) Line 202 + 0x9 > bytes C > mod_sofia.dll! > su_base_port_run(su_port_s * self=0x037cac68) Line 335 + 0x11 > bytes C > mod_sofia.dll!su_port_run(su_port_s * > self=0x037cac68) Line 326 + 0x11 bytes C > mod_sofia.dll!su_root_run(su_root_s * > self=0x037cf1c0) Line 819 + 0xc bytes C > mod_sofia.dll! > su_pthread_port_clone_main(void * varg=0x03e3f96c) Line 324 + 0x9 > bytes C > pthreadVC2.dll!ptw32_threadStart(void * > vthreadParms=0x03771cb8) Line 219 + 0x9 bytes C > msvcr90d.dll!_callthreadstartex() Line > 348 + 0xf bytes C > msvcr90d.dll!_threadstartex(void * > ptd=0x0378a3e8) Line 331 C > kernel32.dll!BaseThreadInitThunk() + > 0x12 bytes > ntdll.dll! > RtlInitializeExceptionChain() + 0x63 bytes > ntdll.dll! > RtlInitializeExceptionChain() + 0x36 bytes > _______________________________________________ > 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/20090428/6ebd2ef8/attachment-0001.html From msc at freeswitch.org Tue Apr 28 09:49:15 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 28 Apr 2009 09:49:15 -0700 Subject: [Freeswitch-dev] Fwd: FreeSWITCH In Blogosphere In-Reply-To: <87f2f3b90904280927s456ba9f6o90f94d41a0e4b71d@mail.gmail.com> References: <87f2f3b90904280927s456ba9f6o90f94d41a0e4b71d@mail.gmail.com> Message-ID: <87f2f3b90904280949lab6e907qf3e041fd6cf71ab4@mail.gmail.com> FYI, here's the correct link to the DIDX interview story on the main page: http://www.freeswitch.org/node/176 Sorry for the broken link. (Thanks moy!) -MC ---------- Forwarded message ---------- From: Michael Collins Date: Tue, Apr 28, 2009 at 9:27 AM Subject: FreeSWITCH In Blogosphere To: "freeswitch-users at lists.freeswitch.org" < freeswitch-users at lists.freeswitch.org>, freeswitch-dev at lists.freeswitch.org I just wanted to let everyone know that there are a few blog posts out there that you FreeSWITCHers might find interesting. Please check out these two stories on the main FreeSWITCH page: Another Interesting Use For FreeSWITCH: OpenSim DIDX Interview With Anthony Minessale and Brian West Be sure to leave comments where appropriate. I will followup with digg links shortly. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/86285d16/attachment.html From msc at freeswitch.org Tue Apr 28 16:24:03 2009 From: msc at freeswitch.org (Michael Collins) Date: Tue, 28 Apr 2009 16:24:03 -0700 Subject: [Freeswitch-dev] Compiling the FreeSwitch on Windows XP In-Reply-To: <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> References: <005001c9c729$a9ab4450$1805a8c0@tes.datamatics.com> <002f01c9c7d9$74334ec0$1805a8c0@tes.datamatics.com> Message-ID: <87f2f3b90904281624o6db53637q299059a0f8fdd75e@mail.gmail.com> On Tue, Apr 28, 2009 at 1:15 AM, Santosh wrote: > Hi, > I am compiling the FreeSwitch 1.0.3 on Windows machine and getting hundreds > of error.I guess this has something to do with Visual studio Settings.Can > you please help me with this.I am attaching the Error file also(in which > there are some missing files too).Can you send me a working FreeSwitch code > for windows? > 1.0.3 is really old. I recommend getting the latest trunk. The wiki also has information on installing for Windows using the source: http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Windows Give that a try and let us know how it goes. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090428/c9685872/attachment.html From santosh_tripathi at datamatics.com Wed Apr 29 08:45:33 2009 From: santosh_tripathi at datamatics.com (Santosh) Date: Wed, 29 Apr 2009 21:15:33 +0530 Subject: [Freeswitch-dev] FreeSwitch Configuration Interface Message-ID: <012801c9c8e1$88247fe0$1805a8c0@tes.datamatics.com> Dear, Can you please let me that is there any interface provided by FreeSwitch to change the xml? Like If I want to add or remove any extension I will do it using Interface provide by FreeSwitch.I got the freeswitch configuration, Thank you everyone.Please help me with this also because I don't want to directly change these xml file (Extension,access etc).I want to use an In terface to modify any files of freeswitch( and also if I use reload xml command will it work for all xml). Best regards, Santosh Disclaimer: The information contained in this e-mail and attachments if any are privileged and confidential and are intended for the individual(s) or entity(ies) named in this e-mail. If the reader or recipient is not the intended recipient, or employee or agent responsible for delivering to the intended recipient, you are hereby notified that dissemination, distribution or copying of this communication or attachments thereof is strictly prohibited. IF YOU RECEIVE this communication in error, please immediately notify the sender and return the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090429/5fdcb2f4/attachment.html From msc at freeswitch.org Wed Apr 29 09:36:20 2009 From: msc at freeswitch.org (Michael Collins) Date: Wed, 29 Apr 2009 09:36:20 -0700 Subject: [Freeswitch-dev] FreeSwitch Configuration Interface In-Reply-To: <012801c9c8e1$88247fe0$1805a8c0@tes.datamatics.com> References: <012801c9c8e1$88247fe0$1805a8c0@tes.datamatics.com> Message-ID: <87f2f3b90904290936p76948eah47064d89a24a1244@mail.gmail.com> Nothing finished yet. Several folks have started various projects but none are production ready yet. It is a huge undertaking. Here are some things you can check out: www.tcapi.org - very nice, very ambitious; still in early stages FS source: contrib/swk folder - an initial flashy web interface using db backend. Author accepts suggestions and code patches. :) You can also look at doing mod_xml_curl and building your own database backend. I believe in the contrib folder under intralanman there are some examples. -MC On Wed, Apr 29, 2009 at 8:45 AM, Santosh wrote: > Dear, > Can you please let me that is there any interface provided by FreeSwitch to > change the xml? Like If I want to add or remove any extension I will do it > using Interface provide by FreeSwitch.I got the freeswitch configuration, > Thank you everyone.Please help me with this also because I don't want to > directly change these xml file (Extension,access etc).I want to use an In > terface to modify any files of freeswitch( and also if I use reload xml > command will it work for all xml). > > Best regards, > Santosh > > > > > > Disclaimer: The information contained in this e-mail and attachments if any > are privileged and confidential and are intended for the individual(s) or > entity(ies) named in this e-mail. If the reader or recipient is not the > intended recipient, or employee or agent responsible for delivering to the > intended recipient, you are hereby notified that dissemination, distribution > or copying of this communication or attachments thereof is strictly > prohibited. IF YOU RECEIVE this communication in error, please immediately > notify the sender and return the original message. > > > > _______________________________________________ > 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/20090429/1eaedccf/attachment.html From sshen at oa.com.au Wed Apr 29 23:17:14 2009 From: sshen at oa.com.au (Scott Shen) Date: Thu, 30 Apr 2009 16:17:14 +1000 Subject: [Freeswitch-dev] uuid_bridge bug? Message-ID: <4462DF002246D44CB823FA4F9855399413D89B540A@oa-exchange1.oa.com.au> I am using FS r13096, sometimes uuid_bridge will hangup both legs with no obvious reason( see the debug log below ) The scenario is 1. Caller(8002) Connects to Callee(7001) 2. 8002 then is parked by using uuid_park ( hence, 7001 is released ) 3. now using a simple lua script ( as listed below ) to re-connect 7001 back to the parked call 4. most of the time, the re-connect will success, however, sometimes it will drop both legs. local api = freeswitch.API(); -- Invite the requestor local ses = freeswitch.Session("user/" .. requestor); if ses:ready() then ses:answer(); -- Get the UUID of this leg local uuid = ses:getVariable("uuid"); -- Bridge it to the parked id freeswitch.consoleLog("info", "uuid_bridge " .. parkedid .. " " .. uuid .. "\n"); api:execute("uuid_bridge", parkedid .. " " .. uuid ); end 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2929 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMA:8:8000:0]/[PCMA:8:8000:20] 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:1912 sofia_glue_tech_set_codec() Set Codec sofia/internal/sip:7001 at 192.168.0.31:5340 PCMA/8000 20 ms 160 samples 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2889 sofia_glue_negotiate_sdp() Set 2833 dtmf payload to 101 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2146 sofia_glue_activate_rtp() AUDIO RTP [sofia/internal/sip:7001 at 192.168.0.31:5340] 192.168.0.137 port 28890 -> 192.168.0.31 port 7360 codec: 8 ms: 20 2009-04-30 15:42:25 [DEBUG] switch_rtp.c:900 switch_rtp_create() Starting timer [soft] 160 bytes per 20ms 2009-04-30 15:42:25 [NOTICE] sofia.c:3399 sofia_handle_sip_i_state() Channel [sofia/internal/sip:7001 at 192.168.0.31:5340] has been answered 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync() sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] 2009-04-30 15:42:25 [DEBUG] switch_ivr_originate.c:2016 switch_ivr_originate() Originate Resulted in Success: [sofia/internal/sip:7001 at 192.168.0.31:5340] 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync() sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] 2009-04-30 15:42:25 [DEBUG] switch_ivr_originate.c:2016 switch_ivr_originate() Originate Resulted in Success: [sofia/internal/sip:7001 at 192.168.0.31:5340] 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync() sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] 2009-04-30 15:42:25 [DEBUG] switch_cpp.cpp:496 CoreSession() (sofia/internal/sip:7001 at 192.168.0.31:5340) State Change CS_CONSUME_MEDIA -> CS_SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/sip:7001 at 192.168.0.31:5340 [BREAK] 2009-04-30 15:42:25 [INFO] switch_cpp.cpp:1122 console_log() uuid_bridge 87d70dc0-96aa-4185-9614-f742a9564f30 723ee9d3-6a30-485f-8069-c535f4946e98 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:1164 switch_ivr_uuid_bridge() (sofia/internal/8002 at 192.168.0.137) State Change CS_PARK -> CS_HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:517 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State CONSUME_MEDIA going to sleep 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) Running State Change CS_SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:514 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State PARK going to sleep 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:430 sofia_on_soft_execute() SOFIA TRANSMIT 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:604 uuid_bridge_on_soft_execute() sofia/internal/sip:7001 at 192.168.0.31:5340 CUSTOM SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:192 switch_core_standard_on_soft_execute() sofia/internal/sip:7001 at 192.168.0.31:5340 Standard SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State SOFT_EXECUTE going to sleep 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/8002 at 192.168.0.137 [BREAK] 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running State Change CS_HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State HIBERNATE 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:160 sofia_on_hibernate() sofia/internal/8002 at 192.168.0.137 SOFIA HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:594 uuid_bridge_on_hibernate() (sofia/internal/8002 at 192.168.0.137) State Change CS_HIBERNATE -> CS_RESET 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/8002 at 192.168.0.137 [BREAK] 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State HIBERNATE going to sleep 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running State Change CS_RESET 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:501 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State RESET 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:145 sofia_on_reset() sofia/internal/8002 at 192.168.0.137 SOFIA RESET 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:581 uuid_bridge_on_reset() sofia/internal/8002 at 192.168.0.137 CUSTOM RESET 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:586 uuid_bridge_on_reset() (sofia/internal/8002 at 192.168.0.137) State Change CS_RESET -> CS_SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/8002 at 192.168.0.137 [BREAK] 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:501 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State RESET going to sleep 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running State Change CS_SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:430 sofia_on_soft_execute() SOFIA TRANSMIT 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:604 uuid_bridge_on_soft_execute() sofia/internal/8002 at 192.168.0.137 CUSTOM SOFT_EXECUTE 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:1166 switch_ivr_uuid_bridge() (sofia/internal/sip:7001 at 192.168.0.31:5340) State Change CS_SOFT_EXECUTE -> CS_HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/sip:7001 at 192.168.0.31:5340 [BREAK] 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) Running State Change CS_HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State HIBERNATE 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:160 sofia_on_hibernate() sofia/internal/sip:7001 at 192.168.0.31:5340 SOFIA HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:212 switch_core_standard_on_hibernate() sofia/internal/sip:7001 at 192.168.0.31:5340 Standard HIBERNATE 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State HIBERNATE going to sleep 2009-04-30 15:42:25 [DEBUG] switch_cpp.cpp:916 destroy() destroy/unlink session from object 2009-04-30 15:42:25 [NOTICE] switch_cpp.cpp:919 destroy() Hangup sofia/internal/sip:7001 at 192.168.0.31:5340 [CS_HIBERNATE] [NORMAL_CLEARING] 2009-04-30 15:42:25 [DEBUG] switch_channel.c:1617 switch_channel_perform_hangup() Send signal sofia/internal/sip:7001 at 192.168.0.31:5340 [KILL] 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 switch_core_session_signal_state_change() Send signal sofia/internal/sip:7001 at 192.168.0.31:5340 [BREAK] 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) Running State Change CS_HANGUP 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:448 switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) State HANGUP 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:315 sofia_on_hangup() Channel sofia/internal/sip:7001 at 192.168.0.31:5340 hanging up, cause: NORMAL_CLEARING 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:370 sofia_on_hangup() Sending BYE to sofia/internal/sip:7001 at 192.168.0.31:5340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090430/72673306/attachment-0001.html From anthony.minessale at gmail.com Thu Apr 30 05:10:21 2009 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 30 Apr 2009 07:10:21 -0500 Subject: [Freeswitch-dev] uuid_bridge bug? In-Reply-To: <4462DF002246D44CB823FA4F9855399413D89B540A@oa-exchange1.oa.com.au> References: <4462DF002246D44CB823FA4F9855399413D89B540A@oa-exchange1.oa.com.au> Message-ID: <191c3a030904300510m348a745flb98117587316bd0c@mail.gmail.com> add sess:setAutoHangup(0); before you bridge so lua won't hangup sess when the script exits On Thu, Apr 30, 2009 at 1:17 AM, Scott Shen wrote: > I am using FS r13096, sometimes uuid_bridge will hangup both legs with no > obvious reason( see the debug log below ) > > > > The scenario is > > 1. Caller(8002) Connects to Callee(7001) > > 2. 8002 then is parked by using uuid_park ( hence, 7001 is released > ) > > 3. now using a simple lua script ( as listed below ) to re-connect > 7001 back to the parked call > > 4. most of the time, the re-connect will success, however, sometimes > it will drop both legs. > > > > > > local api = freeswitch.API(); > > > > -- Invite the requestor > > local ses = freeswitch.Session("user/" .. requestor); > > if ses:ready() then > > ses:answer(); > > > > -- Get the UUID of this leg > > local uuid = ses:getVariable("uuid"); > > > > -- Bridge it to the parked id > > > freeswitch.consoleLog("info", "uuid_bridge " .. parkedid .. " " .. > uuid .. "\n"); > > api:execute("uuid_bridge", parkedid .. " " .. uuid ); > > end > > > > > > > > > > 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2929 sofia_glue_negotiate_sdp() > Audio Codec Compare [PCMA:8:8000:0]/[PCMA:8:8000:20] > > > 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:1912 sofia_glue_tech_set_codec() > Set Codec sofia/internal/sip:7001 at 192.168.0.31:5340 PCMA/8000 20 ms 160 > samples > > 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2889 sofia_glue_negotiate_sdp() > Set 2833 dtmf payload to 101 > > 2009-04-30 15:42:25 [DEBUG] sofia_glue.c:2146 sofia_glue_activate_rtp() > AUDIO RTP [sofia/internal/sip:7001 at 192.168.0.31:5340] 192.168.0.137 port > 28890 -> 192.168.0.31 port 7360 codec: 8 ms: 20 > > 2009-04-30 15:42:25 [DEBUG] switch_rtp.c:900 switch_rtp_create() Starting > timer [soft] 160 bytes per 20ms > > 2009-04-30 15:42:25 [NOTICE] sofia.c:3399 sofia_handle_sip_i_state() > Channel [sofia/internal/sip:7001 at 192.168.0.31:5340] has been answered > > 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync > () sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_originate.c:2016 switch_ivr_ > originate() Originate Resulted in Success: [sofia/internal/ > sip:7001 at 192.168.0.31:5340] > > 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync > () sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_originate.c:2016 switch_ivr_ > originate() Originate Resulted in Success: [sofia/internal/ > sip:7001 at 192.168.0.31:5340] > > 2009-04-30 15:42:25 [DEBUG] switch_channel.c:182 switch_channel_audio_sync > () sofia/internal/sip:7001 at 192.168.0.31:5340 receive message [AUDIO_SYNC] > > 2009-04-30 15:42:25 [DEBUG] switch_cpp.cpp:496 CoreSession() > (sofia/internal/sip:7001 at 192.168.0.31:5340) State Change CS_CONSUME_MEDIA > -> CS_SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > sip:7001 at 192.168.0.31:5340 [BREAK] > > 2009-04-30 15:42:25 [INFO] switch_cpp.cpp:1122 console_log() uuid_bridge87d70dc0-96aa-4185-9614-f742a9564f30 723ee9d3-6a30-485f-8069-c535f4946e98 > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:1164 switch_ivr_uuid_ > bridge() (sofia/internal/8002 at 192.168.0.137) State Change CS_PARK -> > CS_HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:517 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State CONSUME_MEDIA going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > Running State Change CS_SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:514 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State PARK > going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:430 sofia_on_soft_execute() SOFIA > TRANSMIT > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:604 uuid_bridge_on_soft_ > execute() sofia/internal/sip:7001 at 192.168.0.31:5340 CUSTOM SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:192 > switch_core_standard_on_soft_execute() sofia/internal/ > sip:7001 at 192.168.0.31:5340 Standard SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State SOFT_EXECUTE going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > 8002 at 192.168.0.137 [BREAK] > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running > State Change CS_HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State > HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:160 sofia_on_hibernate() > sofia/internal/8002 at 192.168.0.137 SOFIA HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:594 uuid_bridge_on_ > hibernate() (sofia/internal/8002 at 192.168.0.137) State Change CS_HIBERNATE > -> CS_RESET > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > 8002 at 192.168.0.137 [BREAK] > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State > HIBERNATE going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running > State Change CS_RESET > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:501 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State RESET > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:145 sofia_on_reset() > sofia/internal/8002 at 192.168.0.137 SOFIA RESET > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:581 uuid_bridge_on_reset() > sofia/internal/8002 at 192.168.0.137 CUSTOM RESET > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:586 uuid_bridge_on_reset() > (sofia/internal/8002 at 192.168.0.137) State Change CS_RESET -> > CS_SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > 8002 at 192.168.0.137 [BREAK] > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:501 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State RESET > going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) Running > State Change CS_SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:511 > switch_core_session_run() (sofia/internal/8002 at 192.168.0.137) State > SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:430 sofia_on_soft_execute() SOFIA > TRANSMIT > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:604 uuid_bridge_on_soft_ > execute() sofia/internal/8002 at 192.168.0.137 CUSTOM SOFT_EXECUTE > > 2009-04-30 15:42:25 [DEBUG] switch_ivr_bridge.c:1166 switch_ivr_uuid_ > bridge() (sofia/internal/sip:7001 at 192.168.0.31:5340) State Change > CS_SOFT_EXECUTE -> CS_HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > sip:7001 at 192.168.0.31:5340 [BREAK] > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > Running State Change CS_HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:160 sofia_on_hibernate() > sofia/internal/sip:7001 at 192.168.0.31:5340 SOFIA HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:212 > switch_core_standard_on_hibernate() sofia/internal/ > sip:7001 at 192.168.0.31:5340 Standard HIBERNATE > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:520 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State HIBERNATE going to sleep > > 2009-04-30 15:42:25 [DEBUG] switch_cpp.cpp:916 destroy() destroy/unlink > session from object > > 2009-04-30 15:42:25 [NOTICE] switch_cpp.cpp:919 destroy() Hangupsofia/internal/ > sip:7001 at 192.168.0.31:5340 [CS_HIBERNATE] [NORMAL_CLEARING] > > 2009-04-30 15:42:25 [DEBUG] switch_channel.c:1617 switch_channel_perform_ > hangup() Send signal sofia/internal/sip:7001 at 192.168.0.31:5340 [KILL] > > 2009-04-30 15:42:25 [DEBUG] switch_core_session.c:869 > switch_core_session_signal_state_change() Send signal sofia/internal/ > sip:7001 at 192.168.0.31:5340 [BREAK] > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:397 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > Running State Change CS_HANGUP > > 2009-04-30 15:42:25 [DEBUG] switch_core_state_machine.c:448 > switch_core_session_run() (sofia/internal/sip:7001 at 192.168.0.31:5340) > State HANGUP > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:315 sofia_on_hangup() Channel > sofia/internal/sip:7001 at 192.168.0.31:5340 hanging up, cause: > NORMAL_CLEARING > > 2009-04-30 15:42:25 [DEBUG] mod_sofia.c:370 sofia_on_hangup() Sending BYE > to sofia/internal/sip:7001 at 192.168.0.31:5340 > > _______________________________________________ > 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/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:213-799-1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090430/5a5d9af7/attachment-0001.html