From kheimerl at cs.berkeley.edu Mon Aug 1 05:48:21 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Sun, 31 Jul 2011 18:48:21 -0700 Subject: [Freeswitch-dev] bounty request - sofia to not route MESSAGE [was] Chat Dialplan In-Reply-To: References: Message-ID: I just implemented the improvement. I've added it to the JIRA, hopefully we can push it through sometime soon. This is two patches I have in the JIRA. Am I submitting patches correctly? Is there anything I should do differently? The wiki says I should put the priority at "patch", but I don't think I have permission to do that. On Mon, Jul 18, 2011 at 2:51 PM, Kurtis Heimerl wrote: > I can tell you that I plan on implementing the change, though it's not > on my critical path. I'm in the midst of getting the text dialplan > part of my work going, it's the item afterwards. > > It doesn't look like a complicated change and Anthony was kind enough > to direct me to where the code needs to go. I don't expect a lot of > troubles, but we academics are notoriously unreliable. > > Whatever happens, I'd like to be updated as to what you folks are > doing, just in case I'm beaten to the punch. I'll return the favor, of > course. > > On Mon, Jul 18, 2011 at 7:08 AM, david varnes wrote: >> I raised a bounty jira http://jira.freeswitch.org/browse/FS-3408 which >> is a request to modify the native sofia treatment of incoming MESSAGE, >> and generate some events to allow alternate handling. I also added >> it to the bottom of http://wiki.freeswitch.org/wiki/Bounty >> >> I was just reading back through the list and saw this discussion, >> it seems pretty much what Kurtis was suggesting as well ? >> >> Given the rest of the previous thread, is this request (FS-3408) likely to >> get any traction ? ?Is there anything else I should/could do to get a >> yes/no answer. ?The reason I ask is that I have a client that would >> like to use this kind of feature, and will try and do the modification >> themselves if the change does not fit with FS dev direction. I think >> it would be much better if the change was available in FS though. >> What amount of work would it be ? >> >> thanks for any feedback ?:-) >> >> davidv >> >> >> On 7 July 2011 10:50, Kurtis Heimerl wrote: >>> Let me repeat myself: the changes I am proposing will be backwards >>> compatible. Nothing will be broken. >>> >>> The dialplan abstraction is tangential to this whole discussion. I can >>> build a mod foo which runs the dialplan, and have all messages routed >>> to it via the + mechanism. This will probably be my initial version of >>> the system. I understand the work you put into this, and that your >>> decisions were well-reasoned for the use cases you envisioned (e.g., >>> conference calls), but the abstraction isn't working for me. This >>> system is just a piece, interoperating with a variety of other >>> systems. Attaching a specific module tag, used by just one piece of >>> one program, to a username in use throughout the entire system is not >>> an elegant solution. This means I have to put a proxy in front of FS, >>> adding this + tag to every message coming in. >>> >>> I'm here and open to any solutions you might have to make the existing >>> solution work for me. Fundamentally, I can't just shove a +tag onto >>> every incoming message in any elegant way, so far as I know. I think >>> that means this entire line of reasoning is just broken for me. Don't >>> get me wrong here, I would be really really happy if I didn't have to >>> touch sofia to solve this, it's really hard to grok. It's also a lot >>> less work for me. >>> >>> So far, I've proposed one alternate method for doing this. I want >>> sofia to generate events and not route messages itself. Then I can >>> listen to these perform whatever actions I need to. This may not work, >>> and I'm open to implementing any other architectural changes you think >>> would enable my use case. You're clearly the guy who knows what to do, >>> and your advice is invaluable. >>> >>> On Wed, Jul 6, 2011 at 5:23 PM, Anthony Minessale >>> wrote: >>>> you control the user names on your system the prefix+ string is just >>>> part of the username people would talk to. >>>> >>>> for instance ext+ namespace is has auto presence built in so if you >>>> add ext+1000 to your list it will auto advertise that it's online. >>>> >>>> conf+ goes to the conference. >>>> >>>> conf+888 at server.com will go to FS on server.com and route the chat >>>> messages to the mod_conference. >>>> >>>> so basically you are proposing to try to modify sofia and break the >>>> other stuff ?because you do not like the prefix string on the user >>>> names but its designed to allow you to cross connect protocols, eg >>>> mod_sofia has sip+ registered and mod_dingaling has jingle+ so you can >>>> use jabber to pass sip+user at domain.com to your buddy list and have it >>>> report accurate presence. >>>> >>>> Basically you make a new module called mod_foo and register the foo namespace. >>>> Then on your clients you subscribe to foo+1000 at server.com for instance. >>>> Chat messages to that foo namespace will arrive in your code and you >>>> have the option to reply to them completely agnostic of the protocol >>>> sip, jabber etc. >>>> >>>> You seem to be asking for advice but then ignoring it coming from the >>>> author of all of the above who spent many man hours solving this >>>> problem so it would be abstract. ?so I'm lost for what else to tell >>>> you. >>>> >>>> Maybe we can confirm that you are simply taken aback by the idea of >>>> starting all your usernames with foo+ and simply propose to unravel >>>> everything in pursuit of removing it? >>>> >>>> >>>> >>>> >>>> >>>> On Wed, Jul 6, 2011 at 6:14 PM, Kurtis Heimerl wrote: >>>>> Nope, normal SIP MESSAGE events, no invites. >>>>> >>>>> I just need an easy place where an app can look up some variables in >>>>> the directory, check presence information, and start a call based on >>>>> an incoming chat event. I also need a system that interops with >>>>> existing SIP chat services. I don't think the +routing does these for >>>>> me. >>>>> >>>>> On Wed, Jul 6, 2011 at 8:46 AM, Anthony Minessale >>>>> wrote: >>>>>> Are we talking about that ridiculous new chat concept in SIP where it >>>>>> uses INVITES and dialogs? >>>>>> >>>>>> >>>>>> On Wed, Jul 6, 2011 at 12:56 AM, Kurtis Heimerl >>>>>> wrote: >>>>>>> I think I understand it. Basically, a client can prepend a +code that >>>>>>> causes the message to be routed to a specific module. I don't think >>>>>>> that fulfills my requirements. This is fine for basic routing, but >>>>>>> it's not a very good programmable environment for chat applications, >>>>>>> unless I'm missing something, which is always possible. >>>>>>> >>>>>>> If I am, can you direct me to anything that explains it in a little >>>>>>> more depth than your email? >>>>>>> >>>>>>> On Tue, Jul 5, 2011 at 10:49 PM, Anthony Minessale >>>>>>> wrote: >>>>>>>> Read my response and my mod conference example again. >>>>>>>> You can register a chat callback from any module bound to a particular >>>>>>>> namespace....... >>>>>>>> >>>>>>>> On Jul 6, 2011 12:35 AM, "Michael Collins" wrote: >>>>>>>>> On Tue, Jul 5, 2011 at 10:20 PM, Kurtis Heimerl >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> I don't think so. I set the ESL to log all events (/event all) from >>>>>>>>>> the command line and received no events when sofia received SIMPLE >>>>>>>>>> messages. Is that a bug? I had assumed it's intentional. >>>>>>>>>> >>>>>>>>> I'm 99% sure that those messages never make it up into FS from Sofia. I'd >>>>>>>>> go >>>>>>>>> look into the code but Sofia is really scary and there's no amount of >>>>>>>>> Scooby >>>>>>>>> Snacks you could give me to convince me to wander into that creepy old >>>>>>>>> code. >>>>>>>>> :) >>>>>>>>> -MC >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>> >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>> >>>>>>> FreeSWITCH-dev mailing list >>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II >>>>>> >>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>> ClueCon http://www.cluecon.com/ >>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>> >>>>>> AIM: anthm >>>>>> MSN:anthony_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> _______________________________________________ >>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>> >>>>>> FreeSWITCH-dev mailing list >>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>> http://www.cluecon.com 877-7-4ACLUE >>>>> >>>>> FreeSWITCH-dev mailing list >>>>> FreeSWITCH-dev at 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 >>>> >> >> -- >> david varnes >> >> e: david.varnes at gmail.com >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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.varnes at gmail.com Mon Aug 1 16:39:46 2011 From: david.varnes at gmail.com (david varnes) Date: Mon, 1 Aug 2011 22:39:46 +1000 Subject: [Freeswitch-dev] bounty request - sofia to not route MESSAGE [was] Chat Dialplan In-Reply-To: References: Message-ID: Hi Kurtis, Great news, thank you, you had a productive week-end! At work today we were discussing next steps with our little project. Seems like next step is to compile and test ! After a quick skim of your patch, is it correct to conclude that you did not try to address #3 in the jira, ie and event on receipt of the 200 from the MESSAGE recipient ? Is that feasible and/or is it important for your project ? If not I might ask one of our developers to make contact with you for suggestions to make that change as well. Again, thanks for the patch, I will post further with more results. davidv On 1 August 2011 11:48, Kurtis Heimerl wrote: > I just implemented the improvement. I've added it to the JIRA, > hopefully we can push it through sometime soon. > > This is two patches I have in the JIRA. Am I submitting patches > correctly? Is there anything I should do differently? The wiki says I > should put the priority at "patch", but I don't think I have > permission to do that. > > On Mon, Jul 18, 2011 at 2:51 PM, Kurtis Heimerl > wrote: >> I can tell you that I plan on implementing the change, though it's not >> on my critical path. I'm in the midst of getting the text dialplan >> part of my work going, it's the item afterwards. >> >> It doesn't look like a complicated change and Anthony was kind enough >> to direct me to where the code needs to go. I don't expect a lot of >> troubles, but we academics are notoriously unreliable. >> >> Whatever happens, I'd like to be updated as to what you folks are >> doing, just in case I'm beaten to the punch. I'll return the favor, of >> course. >> >> On Mon, Jul 18, 2011 at 7:08 AM, david varnes wrote: >>> I raised a bounty jira http://jira.freeswitch.org/browse/FS-3408 which >>> is a request to modify the native sofia treatment of incoming MESSAGE, >>> and generate some events to allow alternate handling. I also added >>> it to the bottom of http://wiki.freeswitch.org/wiki/Bounty >>> >>> I was just reading back through the list and saw this discussion, >>> it seems pretty much what Kurtis was suggesting as well ? >>> >>> Given the rest of the previous thread, is this request (FS-3408) likely to >>> get any traction ? ?Is there anything else I should/could do to get a >>> yes/no answer. ?The reason I ask is that I have a client that would >>> like to use this kind of feature, and will try and do the modification >>> themselves if the change does not fit with FS dev direction. I think >>> it would be much better if the change was available in FS though. >>> What amount of work would it be ? >>> >>> thanks for any feedback ?:-) >>> >>> davidv >>> >>> >>> On 7 July 2011 10:50, Kurtis Heimerl wrote: >>>> Let me repeat myself: the changes I am proposing will be backwards >>>> compatible. Nothing will be broken. >>>> >>>> The dialplan abstraction is tangential to this whole discussion. I can >>>> build a mod foo which runs the dialplan, and have all messages routed >>>> to it via the + mechanism. This will probably be my initial version of >>>> the system. I understand the work you put into this, and that your >>>> decisions were well-reasoned for the use cases you envisioned (e.g., >>>> conference calls), but the abstraction isn't working for me. This >>>> system is just a piece, interoperating with a variety of other >>>> systems. Attaching a specific module tag, used by just one piece of >>>> one program, to a username in use throughout the entire system is not >>>> an elegant solution. This means I have to put a proxy in front of FS, >>>> adding this + tag to every message coming in. >>>> >>>> I'm here and open to any solutions you might have to make the existing >>>> solution work for me. Fundamentally, I can't just shove a +tag onto >>>> every incoming message in any elegant way, so far as I know. I think >>>> that means this entire line of reasoning is just broken for me. Don't >>>> get me wrong here, I would be really really happy if I didn't have to >>>> touch sofia to solve this, it's really hard to grok. It's also a lot >>>> less work for me. >>>> >>>> So far, I've proposed one alternate method for doing this. I want >>>> sofia to generate events and not route messages itself. Then I can >>>> listen to these perform whatever actions I need to. This may not work, >>>> and I'm open to implementing any other architectural changes you think >>>> would enable my use case. You're clearly the guy who knows what to do, >>>> and your advice is invaluable. >>>> >>>> On Wed, Jul 6, 2011 at 5:23 PM, Anthony Minessale >>>> wrote: >>>>> you control the user names on your system the prefix+ string is just >>>>> part of the username people would talk to. >>>>> >>>>> for instance ext+ namespace is has auto presence built in so if you >>>>> add ext+1000 to your list it will auto advertise that it's online. >>>>> >>>>> conf+ goes to the conference. >>>>> >>>>> conf+888 at server.com will go to FS on server.com and route the chat >>>>> messages to the mod_conference. >>>>> >>>>> so basically you are proposing to try to modify sofia and break the >>>>> other stuff ?because you do not like the prefix string on the user >>>>> names but its designed to allow you to cross connect protocols, eg >>>>> mod_sofia has sip+ registered and mod_dingaling has jingle+ so you can >>>>> use jabber to pass sip+user at domain.com to your buddy list and have it >>>>> report accurate presence. >>>>> >>>>> Basically you make a new module called mod_foo and register the foo namespace. >>>>> Then on your clients you subscribe to foo+1000 at server.com for instance. >>>>> Chat messages to that foo namespace will arrive in your code and you >>>>> have the option to reply to them completely agnostic of the protocol >>>>> sip, jabber etc. >>>>> >>>>> You seem to be asking for advice but then ignoring it coming from the >>>>> author of all of the above who spent many man hours solving this >>>>> problem so it would be abstract. ?so I'm lost for what else to tell >>>>> you. >>>>> >>>>> Maybe we can confirm that you are simply taken aback by the idea of >>>>> starting all your usernames with foo+ and simply propose to unravel >>>>> everything in pursuit of removing it? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Jul 6, 2011 at 6:14 PM, Kurtis Heimerl wrote: >>>>>> Nope, normal SIP MESSAGE events, no invites. >>>>>> >>>>>> I just need an easy place where an app can look up some variables in >>>>>> the directory, check presence information, and start a call based on >>>>>> an incoming chat event. I also need a system that interops with >>>>>> existing SIP chat services. I don't think the +routing does these for >>>>>> me. >>>>>> >>>>>> On Wed, Jul 6, 2011 at 8:46 AM, Anthony Minessale >>>>>> wrote: >>>>>>> Are we talking about that ridiculous new chat concept in SIP where it >>>>>>> uses INVITES and dialogs? >>>>>>> >>>>>>> >>>>>>> On Wed, Jul 6, 2011 at 12:56 AM, Kurtis Heimerl >>>>>>> wrote: >>>>>>>> I think I understand it. Basically, a client can prepend a +code that >>>>>>>> causes the message to be routed to a specific module. I don't think >>>>>>>> that fulfills my requirements. This is fine for basic routing, but >>>>>>>> it's not a very good programmable environment for chat applications, >>>>>>>> unless I'm missing something, which is always possible. >>>>>>>> >>>>>>>> If I am, can you direct me to anything that explains it in a little >>>>>>>> more depth than your email? >>>>>>>> >>>>>>>> On Tue, Jul 5, 2011 at 10:49 PM, Anthony Minessale >>>>>>>> wrote: >>>>>>>>> Read my response and my mod conference example again. >>>>>>>>> You can register a chat callback from any module bound to a particular >>>>>>>>> namespace....... >>>>>>>>> >>>>>>>>> On Jul 6, 2011 12:35 AM, "Michael Collins" wrote: >>>>>>>>>> On Tue, Jul 5, 2011 at 10:20 PM, Kurtis Heimerl >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> I don't think so. I set the ESL to log all events (/event all) from >>>>>>>>>>> the command line and received no events when sofia received SIMPLE >>>>>>>>>>> messages. Is that a bug? I had assumed it's intentional. >>>>>>>>>>> >>>>>>>>>> I'm 99% sure that those messages never make it up into FS from Sofia. I'd >>>>>>>>>> go >>>>>>>>>> look into the code but Sofia is really scary and there's no amount of >>>>>>>>>> Scooby >>>>>>>>>> Snacks you could give me to convince me to wander into that creepy old >>>>>>>>>> code. >>>>>>>>>> :) >>>>>>>>>> -MC >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>>> >>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>> >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II >>>>>>> >>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>> ClueCon http://www.cluecon.com/ >>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>> >>>>>>> AIM: anthm >>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>> >>>>>>> FreeSWITCH-dev mailing list >>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>> >>>>>> FreeSWITCH-dev mailing list >>>>>> FreeSWITCH-dev at 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 >>>>> >>> >>> -- >>> david varnes >>> >>> e: david.varnes at gmail.com >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >> > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- david varnes e: david.varnes at gmail.com p: +61 404 925 633 From marketing at cluecon.com Tue Aug 2 01:37:17 2011 From: marketing at cluecon.com (marketing at cluecon.com) Date: Mon, 1 Aug 2011 21:37:17 +0000 Subject: [Freeswitch-dev] Last Chance for ClueCon 2011: Get Your Hotel Today Message-ID: <00000131874788d5-3b1aeb9b-2feb-410d-ab6a-f890ea751246-000000@email.amazonses.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110801/745e07c3/attachment.html From kheimerl at cs.berkeley.edu Tue Aug 2 07:06:58 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Mon, 1 Aug 2011 20:06:58 -0700 Subject: [Freeswitch-dev] bounty request - sofia to not route MESSAGE [was] Chat Dialplan In-Reply-To: References: Message-ID: David and I have been discussing off-list, but the patch (adding all three features) is now available on the JIRA. On Mon, Aug 1, 2011 at 5:39 AM, david varnes wrote: > Hi Kurtis, > > Great news, thank you, you had a productive week-end! ?At work > today we were discussing next steps with our little project. ?Seems > like next step is to compile and test ! > > After a quick skim of your patch, is it correct to conclude that you did > not try to address #3 in the jira, ie and event on receipt of the 200 > from the MESSAGE recipient ? ?Is that feasible and/or is it important > for your project ? ?If not I might ask one of our developers to make > contact with you for suggestions to make that change as well. > > Again, thanks for the patch, I will post further with more results. > > davidv > > On 1 August 2011 11:48, Kurtis Heimerl wrote: >> I just implemented the improvement. I've added it to the JIRA, >> hopefully we can push it through sometime soon. >> >> This is two patches I have in the JIRA. Am I submitting patches >> correctly? Is there anything I should do differently? The wiki says I >> should put the priority at "patch", but I don't think I have >> permission to do that. >> >> On Mon, Jul 18, 2011 at 2:51 PM, Kurtis Heimerl >> wrote: >>> I can tell you that I plan on implementing the change, though it's not >>> on my critical path. I'm in the midst of getting the text dialplan >>> part of my work going, it's the item afterwards. >>> >>> It doesn't look like a complicated change and Anthony was kind enough >>> to direct me to where the code needs to go. I don't expect a lot of >>> troubles, but we academics are notoriously unreliable. >>> >>> Whatever happens, I'd like to be updated as to what you folks are >>> doing, just in case I'm beaten to the punch. I'll return the favor, of >>> course. >>> >>> On Mon, Jul 18, 2011 at 7:08 AM, david varnes wrote: >>>> I raised a bounty jira http://jira.freeswitch.org/browse/FS-3408 which >>>> is a request to modify the native sofia treatment of incoming MESSAGE, >>>> and generate some events to allow alternate handling. I also added >>>> it to the bottom of http://wiki.freeswitch.org/wiki/Bounty >>>> >>>> I was just reading back through the list and saw this discussion, >>>> it seems pretty much what Kurtis was suggesting as well ? >>>> >>>> Given the rest of the previous thread, is this request (FS-3408) likely to >>>> get any traction ? ?Is there anything else I should/could do to get a >>>> yes/no answer. ?The reason I ask is that I have a client that would >>>> like to use this kind of feature, and will try and do the modification >>>> themselves if the change does not fit with FS dev direction. I think >>>> it would be much better if the change was available in FS though. >>>> What amount of work would it be ? >>>> >>>> thanks for any feedback ?:-) >>>> >>>> davidv >>>> >>>> >>>> On 7 July 2011 10:50, Kurtis Heimerl wrote: >>>>> Let me repeat myself: the changes I am proposing will be backwards >>>>> compatible. Nothing will be broken. >>>>> >>>>> The dialplan abstraction is tangential to this whole discussion. I can >>>>> build a mod foo which runs the dialplan, and have all messages routed >>>>> to it via the + mechanism. This will probably be my initial version of >>>>> the system. I understand the work you put into this, and that your >>>>> decisions were well-reasoned for the use cases you envisioned (e.g., >>>>> conference calls), but the abstraction isn't working for me. This >>>>> system is just a piece, interoperating with a variety of other >>>>> systems. Attaching a specific module tag, used by just one piece of >>>>> one program, to a username in use throughout the entire system is not >>>>> an elegant solution. This means I have to put a proxy in front of FS, >>>>> adding this + tag to every message coming in. >>>>> >>>>> I'm here and open to any solutions you might have to make the existing >>>>> solution work for me. Fundamentally, I can't just shove a +tag onto >>>>> every incoming message in any elegant way, so far as I know. I think >>>>> that means this entire line of reasoning is just broken for me. Don't >>>>> get me wrong here, I would be really really happy if I didn't have to >>>>> touch sofia to solve this, it's really hard to grok. It's also a lot >>>>> less work for me. >>>>> >>>>> So far, I've proposed one alternate method for doing this. I want >>>>> sofia to generate events and not route messages itself. Then I can >>>>> listen to these perform whatever actions I need to. This may not work, >>>>> and I'm open to implementing any other architectural changes you think >>>>> would enable my use case. You're clearly the guy who knows what to do, >>>>> and your advice is invaluable. >>>>> >>>>> On Wed, Jul 6, 2011 at 5:23 PM, Anthony Minessale >>>>> wrote: >>>>>> you control the user names on your system the prefix+ string is just >>>>>> part of the username people would talk to. >>>>>> >>>>>> for instance ext+ namespace is has auto presence built in so if you >>>>>> add ext+1000 to your list it will auto advertise that it's online. >>>>>> >>>>>> conf+ goes to the conference. >>>>>> >>>>>> conf+888 at server.com will go to FS on server.com and route the chat >>>>>> messages to the mod_conference. >>>>>> >>>>>> so basically you are proposing to try to modify sofia and break the >>>>>> other stuff ?because you do not like the prefix string on the user >>>>>> names but its designed to allow you to cross connect protocols, eg >>>>>> mod_sofia has sip+ registered and mod_dingaling has jingle+ so you can >>>>>> use jabber to pass sip+user at domain.com to your buddy list and have it >>>>>> report accurate presence. >>>>>> >>>>>> Basically you make a new module called mod_foo and register the foo namespace. >>>>>> Then on your clients you subscribe to foo+1000 at server.com for instance. >>>>>> Chat messages to that foo namespace will arrive in your code and you >>>>>> have the option to reply to them completely agnostic of the protocol >>>>>> sip, jabber etc. >>>>>> >>>>>> You seem to be asking for advice but then ignoring it coming from the >>>>>> author of all of the above who spent many man hours solving this >>>>>> problem so it would be abstract. ?so I'm lost for what else to tell >>>>>> you. >>>>>> >>>>>> Maybe we can confirm that you are simply taken aback by the idea of >>>>>> starting all your usernames with foo+ and simply propose to unravel >>>>>> everything in pursuit of removing it? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Jul 6, 2011 at 6:14 PM, Kurtis Heimerl wrote: >>>>>>> Nope, normal SIP MESSAGE events, no invites. >>>>>>> >>>>>>> I just need an easy place where an app can look up some variables in >>>>>>> the directory, check presence information, and start a call based on >>>>>>> an incoming chat event. I also need a system that interops with >>>>>>> existing SIP chat services. I don't think the +routing does these for >>>>>>> me. >>>>>>> >>>>>>> On Wed, Jul 6, 2011 at 8:46 AM, Anthony Minessale >>>>>>> wrote: >>>>>>>> Are we talking about that ridiculous new chat concept in SIP where it >>>>>>>> uses INVITES and dialogs? >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jul 6, 2011 at 12:56 AM, Kurtis Heimerl >>>>>>>> wrote: >>>>>>>>> I think I understand it. Basically, a client can prepend a +code that >>>>>>>>> causes the message to be routed to a specific module. I don't think >>>>>>>>> that fulfills my requirements. This is fine for basic routing, but >>>>>>>>> it's not a very good programmable environment for chat applications, >>>>>>>>> unless I'm missing something, which is always possible. >>>>>>>>> >>>>>>>>> If I am, can you direct me to anything that explains it in a little >>>>>>>>> more depth than your email? >>>>>>>>> >>>>>>>>> On Tue, Jul 5, 2011 at 10:49 PM, Anthony Minessale >>>>>>>>> wrote: >>>>>>>>>> Read my response and my mod conference example again. >>>>>>>>>> You can register a chat callback from any module bound to a particular >>>>>>>>>> namespace....... >>>>>>>>>> >>>>>>>>>> On Jul 6, 2011 12:35 AM, "Michael Collins" wrote: >>>>>>>>>>> On Tue, Jul 5, 2011 at 10:20 PM, Kurtis Heimerl >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> I don't think so. I set the ESL to log all events (/event all) from >>>>>>>>>>>> the command line and received no events when sofia received SIMPLE >>>>>>>>>>>> messages. Is that a bug? I had assumed it's intentional. >>>>>>>>>>>> >>>>>>>>>>> I'm 99% sure that those messages never make it up into FS from Sofia. I'd >>>>>>>>>>> go >>>>>>>>>>> look into the code but Sofia is really scary and there's no amount of >>>>>>>>>>> Scooby >>>>>>>>>>> Snacks you could give me to convince me to wander into that creepy old >>>>>>>>>>> code. >>>>>>>>>>> :) >>>>>>>>>>> -MC >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>>>> >>>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>>> >>>>>>>>> FreeSWITCH-dev mailing list >>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II >>>>>>>> >>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>> >>>>>>>> AIM: anthm >>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>>> >>>>>>>> FreeSWITCH-dev mailing list >>>>>>>> FreeSWITCH-dev at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>>>>> http://www.cluecon.com 877-7-4ACLUE >>>>>>> >>>>>>> FreeSWITCH-dev mailing list >>>>>>> FreeSWITCH-dev at 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 >>>>>> >>>> >>>> -- >>>> david varnes >>>> >>>> e: david.varnes at gmail.com >>>> >>>> _______________________________________________ >>>> Join us at ClueCon 2011, Aug 9-11, Chicago >>>> http://www.cluecon.com 877-7-4ACLUE >>>> >>>> FreeSWITCH-dev mailing list >>>> FreeSWITCH-dev at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>>> http://www.freeswitch.org >>>> >>> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > > > -- > david varnes > > e: david.varnes at gmail.com > p: +61 404 925 633 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > From msc at freeswitch.org Wed Aug 3 20:10:50 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Aug 2011 09:10:50 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello all! Today's agenda is: http://wiki.freeswitch.org/wiki/FS_weekly_2011_08_03 We have a few things to discuss plus a sneak peek at a new SIP logging project that will be presented at ClueCon. (We'll have the author on a future conf call to talk to us.) -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110803/657cbc40/attachment.html From marketing at cluecon.com Thu Aug 4 21:33:40 2011 From: marketing at cluecon.com (Michael Collins) Date: Thu, 4 Aug 2011 10:33:40 -0700 Subject: [Freeswitch-dev] Last Minute ClueCon Items: Hotel, Parking, Directions, Speakers Message-ID: ClueCon is only a few days away! Here are a few items for you to keep in mind: *HOTEL* The Talbott Hotel has sold out of the $148/night rooms. If you book by Sunday you can still get a reasonable rate of $169/night. Thank you to Brian West for going above and beyond in order to give us another alternative. *PARKING* Parking in downtown Chicago is both expensive and challenging. Dr. Moshe Yudkowsky, one of our regular presenters, is quite familiar with the area and offers us this the follow information: The three methods I use to park are: (1) Don't park downtown. Several CTA stops have nearby parking - for example, not far from my office there's a CTA-owned parking structure that charges $1/day to park right at the El train stop. Park your car outside downtown, take the train, and avoid traffic. For those that like to cycle, the bike path along the lake is excellent and convenient. (2) Parkwhiz.com is a service that lets you make reservations online and pay in advance. Here's a search on the hotel's address for August 10th: < http://www.parkwhiz.com/search/?destination=20+EAST+CHESTNUT+ST%2C+chicago&form2=1&start_date=08%2F10%2F2011&start_time=08%3A30&end_time=17%3A00&end_date=08%2F10%2F2011 > (3) Faspark.com is a startup that lets you search for free or paid parking near your destination. As you might imagine, a few quick tests showed very little chance of finding a spot in mid-day. I have the Android app and it seems to work tolerably well. If you are inclined to do the "park and ride" then this CTA web site will be most helpful: http://www.transitchicago.com/parking/ *DIRECTIONS* For those flying into Midway (MDW) or O'Hare (ORD) you have a few choices for getting from the airport to the hotel (and back again). You can take a taxi or a shuttle, but those are about $30 each way (give or take) which is not a great value. Personally, I've taken the train the past three times I've flown in to Chicago and found it to be very economical (approx $3 each way). Additionally, it's kind of interesting to check out the scenery as you ride into town. >From ORD - Take Blue line to Jackson station, free transfer to Red line Take Red line toward Howard, exit at Chicago station Exit station, take State St. north Sofitel: turn right on Chestnut St. Talbott: turn right on Delware St. >From MDW - Take Orange line to State station, free transfer to Red line Take Red line toward Howard, exit at Chicago station Exit station, take State St. north Sofitel: turn right on Chestnut St. Talbott: turn right on Delware St. Sofitel is located at 20 E Chestnut St The Talbott is located at 20 E Delaware St CTA train maps are available online and for download here: http://www.transitchicago.com/maps/. If you have any questions please feel free to email us at this address and we'll be happy to help. *SPEAKERS* If you are speaking this year then please review cluecon.com/schedule - this is the most up-to-date information on who is speaking and when. Also, please email us your presentation files so that we can put them on the presentation laptop. We support PDF, PowerPoint, and Keynote. If you have special requirements then let us know and we'll assist. We thank all those who are generously donating their time and energy in giving presentations this year. We are eagerly awaiting ClueCon 2011! Looking forward to seeing you all next week. Cheers! -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110804/19339034/attachment.html From dujinfang at gmail.com Fri Aug 5 11:51:16 2011 From: dujinfang at gmail.com (Seven Du) Date: Fri, 5 Aug 2011 15:51:16 +0800 Subject: [Freeswitch-dev] help on GDB with core dump Message-ID: <025D903BC4EE4074A254F63D1C92E4BC@gmail.com> Hi, I'm debugging core dump in GDB, although I reported a jura issue I'd like to do something more useful that waiting Can someone give me some highlight on the message? http://pastebin.freeswitch.org/16993 from the first two lines I don't believe pthread_rwlock_wrlock has a problem and remove_session_elem_from_listener_locked also looks normal, where should I look more? Thanks. #0 0x00000034bcc0a48a in pthread_rwlock_wrlock () from /lib64/libpthread.so.0 #1 0x00002aaaab9fba50 in remove_session_elem_from_listener_locked (listener=0x5cff788, session_element=0x1) at -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110805/ae557815/attachment.html From barisyanar at gmail.com Thu Aug 11 16:52:53 2011 From: barisyanar at gmail.com (barisyanar) Date: Thu, 11 Aug 2011 15:52:53 +0300 Subject: [Freeswitch-dev] Sipx TLS connections make Freeswitch crash In-Reply-To: References: <549CFEF87AEDE841A38E9D15EAB4C04C59DE54929C@cooper> Message-ID: Despite the item had been solved in FreeSwitch , a loop in sipXproxy makes it unresponsive, after a successful RTP or SRTP session has been initiated between the peer (Bria 3.1) and IVR (FreeSwitch). First opinion in sipx community is that contact uri's "transport" parameter -tls- makes FreeSwitch to send back a TLS contact for itself. What field , below in the outgoing message from sipxproxy to FS, do you thing may cause such problem? INVITE sip:IVR at 192.168.170.181:15060;action=autoattendant;schedule_id=aa_2;locale=tr SIP/2.0 Record-Route: Via: SIP/2.0/TCP 192.168.170.181;branch=z9hG4bK-XX-0012PZd_u6j6OnK7JAUPHDaqMg Via: SIP/2.0/TCP 192.168.170.181;branch=z9hG4bK-XX-000fH`lb3A2NDuC0IqsFmhxrpA~PAM7JZIC3rLwtUKol6bPig;id=16912-0 Via: SIP/2.0/TLS 192.168.169.181:61075 ;branch=z9hG4bK-d8754z-4164505f91604f72-1---d8754z-;rport=2081 Max-Forwards: 18 Contact: To: From: "201";tag=aa092676 Call-Id: MmFmMjBiMzI3ZmNmODgwODlkZmEyMzhlODZmOTdlODI. Cseq: 2 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Content-Type: application/sdp Proxy-Authorization: Digest username="201",realm="looneytoons.karelarge.com ",nonce="9ee121f8be0527beae3a3455968376024e1af191",uri=" sip:100 at looneytoons.karelarge.com ;transport=tls",response="03874cc04dacca0c0b92eff6b7323ae6",cnonce="c0dd307d23e99221815573ddd076c2b6",nc=00000001,qop=auth,algorithm=MD5 Supported: replaces User-Agent: Bria 3 release 3.1.2.1 stamp 58992 Content-Length: 464 Date: Mon, 11 Jul 2011 12:50:25 GMT X-Sipx-Handled: X192.168.170.181-192.168.170.181 v=0 o=- 12954862226704555 1 IN IP4 192.168.169.181 s=Counterpath Bria 3.1 c=IN IP4 192.168.169.181 t=0 0 a=ice-ufrag:3fdf30 a=ice-pwd:0b801a2479c7c55e1abca5f2c867a0ba m=audio 49188 RTP/AVP 107 0 8 18 101 a=rtpmap:107 BV32/16000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=candidate:1 1 UDP 659136 192.168.169.181 49188 typ host a=candidate:1 2 UDP 659134 192.168.169.181 49189 typ host On Wed, Jun 1, 2011 at 3:49 PM, Steven Ayre wrote: > Please submit those as a Jira. > > > > On 1 June 2011 12:52, barisyanar wrote: > >> Problem still exists with the new head: FreeSWITCH version: 1.0.head >> (git-43a5af7 2011-05-30 12-27-01 -0400) >> >> Siptrace: >> >> http://pastebin.com/qtZdYepW >> >> Core trace output: >> >> http://pastebin.freeswitch.org/16420 >> >> >> On Tue, May 31, 2011 at 5:10 PM, Peter Olsson < >> peter.olsson at visionutveckling.se> wrote: >> >>> That?s not latest git head. Try latest, if it still occurs, report a bug >>> in Jira. >>> >>> >>> >>> /Peter >>> >>> >>> >>> >>> >>> *Fr?n:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: >>> freeswitch-dev-bounces at lists.freeswitch.org] *F?r *barisyanar >>> *Skickat:* den 31 maj 2011 14:10 >>> *Till:* freeswitch-dev at lists.freeswitch.org >>> *?mne:* Re: [Freeswitch-dev] Sipx TLS connections make Freeswitch crash >>> >>> >>> >>> sorry, i ran script at wrong place. here is the new link: >>> >>> http://pastebin.freeswitch.org/16418 >>> >>> >>> >>> and the siptrace is here - after printing fs_cli closes: >>> >>> >>> >>> http://pastebin.com/dCCEvUEL >>> >>> On Tue, May 31, 2011 at 2:42 PM, Steven Ayre >>> wrote: >>> >>> Unfortunately that coredump doesn't show anything useful: >>> >>> #0 0x0000003efcf1fc98 in ?? () >>> >>> #1 0x00007fbe0eb43913 in ?? () >>> >>> #2 0x00007fbdf8016628 in ?? () >>> >>> #3 0x0000000000000001 in ?? () >>> >>> #4 0x0000000000000003 in ?? () >>> >>> #5 0x00007fbe0eb4536b in ?? () >>> >>> #6 0x00007fbdf801b160 in ?? () >>> >>> #7 0x0000000000bdc8c0 in ?? () >>> >>> #8 0x0000000000bdc8c0 in ?? () >>> >>> #9 0x00007fbdfc0064d8 in ?? () >>> >>> #10 0x0000000000000000 in ?? () >>> >>> Usually you'd expect to see the name of the function call instead of ??, >>> that shows it can't find those. Did you keep the FS git checkout after >>> installing it, and did you compile it with the debugging symbols? >>> >>> -Steve >>> >>> >>> >>> >>> >>> On 31 May 2011 11:51, barisyanar wrote: >>> >>> Here's the pastebin link: http://pastebin.freeswitch.org/16413 >>> >>> After getting sofia siptrace I'll report the bug. >>> >>> >>> >>> On Mon, May 30, 2011 at 5:34 PM, Steven Ayre >>> wrote: >>> >>> It might also be useful to see the debug logs prior to the crash, with >>> siptrace enabled (sofia global siptrace on). >>> >>> Since this is a bug, you should submit it as a bug report at >>> http://jira.freeswitch.org/. >>> >>> Include a description of the problem, and attach the debug log including >>> the siptrace and how to reproduce it. >>> >>> Unfortunately the coredump you attached is not much use to anyone without >>> the local directory you compiled FS from. Please load the coredump in gdb >>> (the gnu debugger) and collect the backtrace and also attach that. There are >>> instructions of how to do so at >>> http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb_.28Linux.2FUnix.29and the support-d/fscore_pb script in the git checkout will automate that >>> process by posting it to our pastebin. >>> >>> -Steve >>> >>> >>> >>> >>> On 30 May 2011 15:17, barisyanar wrote: >>> >>> http://www.ceng.metu.edu.tr/~e1348093/paylasim/core.18007.zip is the new >>> core got from fs compiled after devel-bootstrap.sh. >>> >>> Version is: FreeSWITCH version: 1.0.7 (git-e19096c 2011-03-25 17-14-07 >>> -0400) >>> >>> bt from new core is similar: >>> >>> >>> >>> #0 __strchr_sse42 () at ../sysdeps/x86_64/multiarch/strchr.S:131 >>> >>> #1 0x00007fbe0eb43913 in sofia_glue_get_url_from_contact (buf=0x0, >>> >>> to_dup=0 '\000') at sofia_glue.c:4825 >>> >>> #2 0x00007fbe0eb4536b in sofia_overcome_sip_uri_weakness ( >>> >>> session=0x7fbdf8016628, uri=, >>> >>> transport=SOFIA_TRANSPORT_TCP_TLS, uri_only=SWITCH_TRUE, params=0x0) >>> >>> at sofia_glue.c:1293 >>> >>> #3 0x00007fbe0eb24e10 in sofia_handle_sip_i_invite (nua=0x7fbdf80100c0, >>> >>> profile=0xbdc8c0, nh=0x7fbdfc009d40, sofia_private=>> out>, >>> >>> sip=, tags=) at >>> sofia.c:6732 >>> >>> #4 0x00007fbe0eb4002a in sofia_event_callback (event=nua_i_invite, >>> >>> status=100, phrase=0x7fbdfc00a9c0 "Trying", nua=0x7fbdf80100c0, >>> >>> profile=0xbdc8c0, nh=0x7fbdfc009d40, sofia_private=0x0, >>> >>> sip=0x7fbdfc0064d8, tags=0x7fbdfc00a9b0) at sofia.c:936 >>> >>> #5 0x00007fbe0ebb1de3 in nua_application_event (dummy=>> out>, >>> >>> sumsg=, ee=0x7fbdfc00a988) at nua_stack.c:393 >>> >>> #6 0x00007fbe0ec0f804 in su_base_port_execute_msgs >>> (queue=0x7fbdfc00d380) >>> >>> at su_base_port.c:280 >>> >>> #7 0x00007fbe0ec0fd51 in su_base_port_step (self=0x7fbdf80010f0, tout=0) >>> >>> at su_base_port.c:473 >>> >>> #8 0x00007fbe0eb39b8a in sofia_profile_thread_run ( >>> >>> thread=, obj=0xbdc8c0) at sofia.c:1617 >>> >>> #9 0x0000003efd2068e0 in start_thread (arg=0x7fbe0f96b710) >>> >>> >>> >>> On Sun, May 22, 2011 at 12:06 PM, Anton VG >>> wrote: >>> >>> for valuable backtrace, you should compile FS with no optimization >>> (-O0), running devel-bootstrap.sh will do it for you. >>> >>> 2011/5/16 barisyanar : >>> >>> > Hi all, >>> > I am using Freeswitch 1.0.7 with sipx release-4.4. >>> > Whenever I try to make an IVR call with TLS, Freeswitch crashes dumping >>> the >>> > attached core file. The output bt command is: >>> > #0 __strchr_sse42 () at ../sysdeps/x86_64/multiarch/strchr.S:131 >>> > #1 0x00007f9c0b4373c3 in sofia_glue_get_url_from_contact (buf=0x0, >>> > to_dup=0 '\000') at sofia_glue.c:4943 >>> > #2 0x00007f9c0b438e1b in sofia_overcome_sip_uri_weakness ( >>> > session=0x7f9c04017108, uri=, >>> > transport=SOFIA_TRANSPORT_TCP_TLS, uri_only=SWITCH_TRUE, >>> params=0x0) >>> > at sofia_glue.c:1296 >>> > #3 0x00007f9c0b4182b0 in sofia_handle_sip_i_invite >>> (nua=0x7f9c04008890, >>> > profile=0x148dad0, nh=0x7f9c00009ec0, sofia_private=>> optimized >>> > out>, >>> > sip=, tags=) at >>> sofia.c:6793 >>> > #4 0x00007f9c0b433aca in sofia_event_callback (event=nua_i_invite, >>> > status=100, phrase=0x7f9c0000ab40 "Trying", nua=0x7f9c04008890, >>> > profile=0x148dad0, nh=0x7f9c00009ec0, sofia_private=0x0, >>> > sip=0x7f9c00006658, tags=0x7f9c0000ab30) at sofia.c:942 >>> > #5 0x00007f9c0b4a5f53 in nua_application_event (dummy=>> > out>, >>> > sumsg=, ee=0x7f9c0000ab08) at nua_stack.c:393 >>> > #6 0x00007f9c0b503974 in su_base_port_execute_msgs (queue=0x0) >>> > at su_base_port.c:280 >>> > #7 0x00007f9c0b503ec1 in su_base_port_step (self=0x7f9c040010f0, >>> tout=0) >>> > at su_base_port.c:473 >>> > #8 0x00007f9c0b42d4ea in sofia_profile_thread_run ( >>> > thread=, obj=0x148dad0) at sofia.c:1623 >>> > #9 0x0000003efd2068e0 in start_thread (arg=0x7f9c18116710) >>> > ---Type to continue, or q to quit--- >>> > at pthread_create.c:297 >>> > #10 0x0000003efcee0c9d in clone () >>> > And sipx's freeswitch log prints the line: >>> > 2011-05-16 15:04:51.530426 [WARNING] switch_core.c:1120 Cannot locate >>> domain >>> > deneme.deneme.karelarge.com, >>> > where deneme.deneme.karelarge.com is my fqdn. >>> > No problem occurs during TCP connection. >>> > Problem is possibly caused by sipx, but i'll be glad to hear FS >>> community's >>> > ideas. >>> >>> > _______________________________________________ >>> > FreeSWITCH-dev mailing list >>> > FreeSWITCH-dev at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> > http://www.freeswitch.org >>> > >>> > >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >>> >>> !DSPAM:4de4db0432761032611453! >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110811/05d5fc45/attachment-0001.html From mrene_lists at avgs.ca Fri Aug 12 09:28:55 2011 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Fri, 12 Aug 2011 01:28:55 -0400 Subject: [Freeswitch-dev] Meetup Paris? Message-ID: English version follows. En cette fin de ClueCon, je pars sur Paris demain soir (donc j'arrive samedi en matin?, bien d?cal?), et j'y resterai jusqu'? mercredi. Je propose d'organiser un petit meetup afin de joindre l'utile ? l'agr?able et de voir un peu le visage de la communaut? freeswitch parisienne. Est-ce quelqu'un peut proposer un bar sympa ou on pourrait faire un truc? --- ClueCon is over and I'm leaving to Paris tomorrow (landing saturday morning, well jetlagged) and staying until Wednesday. I'm proposing to organize a little meetup in order to get to know the face of the parisian freeswitch community. Does anyone know a bar where we could meet up? Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca From aroumie at yahoo.com Fri Aug 12 23:14:57 2011 From: aroumie at yahoo.com (Ali R.) Date: Fri, 12 Aug 2011 12:14:57 -0700 (PDT) Subject: [Freeswitch-dev] Great ClueCon! Message-ID: <1313176497.34975.YahooMailNeo@web120310.mail.ne1.yahoo.com> Hello All, Back to work again; Thanks for this great conference.? It was my first time at ClueCon and I will definitely be there next year!!!!! ? Ali R. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110812/05198553/attachment.html From brian at freeswitch.org Sun Aug 14 07:43:37 2011 From: brian at freeswitch.org (Brian West) Date: Sat, 13 Aug 2011 22:43:37 -0500 Subject: [Freeswitch-dev] bounty request - sofia to not route MESSAGE [was] Chat Dialplan In-Reply-To: References: Message-ID: Which jira? /b On Aug 1, 2011, at 10:06 PM, Kurtis Heimerl wrote: > David and I have been discussing off-list, but the patch (adding all > three features) is now available on the JIRA. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110813/7bf0048f/attachment.html From kheimerl at cs.berkeley.edu Sun Aug 14 11:53:40 2011 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Sun, 14 Aug 2011 00:53:40 -0700 Subject: [Freeswitch-dev] bounty request - sofia to not route MESSAGE [was] Chat Dialplan In-Reply-To: References: Message-ID: This one: http://jira.freeswitch.org/browse/FS-3408 On Sat, Aug 13, 2011 at 8:43 PM, Brian West wrote: > Which jira? > /b > On Aug 1, 2011, at 10:06 PM, Kurtis Heimerl wrote: > > David and I have been discussing off-list, but the patch (adding all > three features) is now available on the JIRA. > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 viktor_jamrich at centrum.sk Wed Aug 10 12:29:30 2011 From: viktor_jamrich at centrum.sk (Viktor Jamrich) Date: Wed, 10 Aug 2011 10:29:30 +0200 Subject: [Freeswitch-dev] Speaker Identification Implementation Message-ID: <4E42416A.7010202@centrum.sk> Hi guys, our company wants to use speaker identification/verification (SID) in FreeSWITCH. However, only ASR and TTS are currently implemented so we decided to contribute by coding the SID interface as well as speaker identification/verification part in mod_mrcp. Is it possible to get our code commited and made available to public within a month ?? And what's the procedure in getting our code commited ?? I think there's a huge gap on the FS web in information for newbies wanting to help with coding... PS: I'm not sure whether this is the right place to ask such question but I've been to #asterisk-dev on IRC and nobody answered my question... Thanks for help. From royce3 at gmail.com Mon Aug 15 19:27:41 2011 From: royce3 at gmail.com (Royce Mitchell III) Date: Mon, 15 Aug 2011 10:27:41 -0500 Subject: [Freeswitch-dev] how to get dnis into mod_callcenter? Message-ID: I would like a few features added to mod_callcenter. I have already implemented 3 of the 4 I want. The 4th one is what I need a bit of advice on. 1) I need the ability to query an agent's state when logging in. The problem is, if my software crashes, I'd like to be able to restart the software while the agent is still on the phone and be able to read the agent's current state. The only way I've figure out how to do this is via "callcenter_config agent list". The problem is that returns a list of all agents which could be inefficient if there are a lot of agents in the system. Therefore I have implemented the following in the attached patch: add an optional [{agent_name}] to the end of agent list, so the function call looks like this: "callcenter_config agent list [[agent_name]]". I'm using the double [[ ]] to indicate that [agent_name] would be optional and, if present, that you only want the information from that command for the indicated agent. Actual example: "callcenter_config agent list 1001 at 127.0.0.1" 2) There's a "set status", "get status", and "set state", but no "get state". I have implemented "callcenter_config agent get state ". Actual example: "callcenter_config agent get state 1001 at 127.0.0.1" 3) There's no way to directly query an agent's uuid except via agent list, so I implemented "callcenter_config agent get uuid ". Actual example: "callcenter_config agent get uuid 1001 at 127.0.0.1" Finally, this is where I'm stuck... I'm not sure how to implement this last feature... 4) I need to get the caller's DNIS via cti when a call is delivered. I am getting all the information I need with an event socket filter of "filter CC-Agent 1001 at 127.0.0.1" except for the DNIS. Right now I'm having to add another filter, "filter variable_cc_agent 1001 at 127.0.0.1" in order to get that information from the "Caller-RDNIS" field, but that's causing me to get a whole lot more events than I want/need. I want to add a new field called "CC-Member-DNIS" that will be caught with a "CC-Agent" filter, but I'm not sure how to get the DNIS information to create that header. -- There's a fine line between genius and insanity. I like to use it for dental floss. -------------- next part -------------- A non-text attachment was scrubbed... Name: mod_callcenter.diff Type: application/octet-stream Size: 6891 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110815/ae570470/attachment.obj From krice at freeswitch.org Mon Aug 15 19:35:20 2011 From: krice at freeswitch.org (Ken Rice) Date: Mon, 15 Aug 2011 10:35:20 -0500 Subject: [Freeswitch-dev] Speaker Identification Implementation In-Reply-To: <4E42416A.7010202@centrum.sk> Message-ID: Join #freeswitch on freenode... People are there right now that can help you On 8/10/11 3:29 AM, "Viktor Jamrich" wrote: > Hi guys, > our company wants to use speaker identification/verification (SID) in > FreeSWITCH. However, only ASR and TTS are currently implemented > so we decided to contribute by coding the SID interface as well as > speaker identification/verification part in mod_mrcp. > Is it possible to get our code commited and made available to public > within a month ?? > And what's the procedure in getting our code commited ?? > I think there's a huge gap on the FS web in information for newbies > wanting to help with coding... > > PS: I'm not sure whether this is the right place to ask such question > but I've been to #asterisk-dev on IRC and nobody answered my question... > > Thanks for help. > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 Mon Aug 15 19:37:02 2011 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 15 Aug 2011 17:37:02 +0200 Subject: [Freeswitch-dev] Speaker Identification Implementation In-Reply-To: References: Message-ID: #freeswitch-dev is much friendlier :) Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 2011-08-15, at 5:35 PM, Ken Rice wrote: > Join #freeswitch on freenode... People are there right now that can help you > > > On 8/10/11 3:29 AM, "Viktor Jamrich" wrote: > >> Hi guys, >> our company wants to use speaker identification/verification (SID) in >> FreeSWITCH. However, only ASR and TTS are currently implemented >> so we decided to contribute by coding the SID interface as well as >> speaker identification/verification part in mod_mrcp. >> Is it possible to get our code commited and made available to public >> within a month ?? >> And what's the procedure in getting our code commited ?? >> I think there's a huge gap on the FS web in information for newbies >> wanting to help with coding... >> >> PS: I'm not sure whether this is the right place to ask such question >> but I've been to #asterisk-dev on IRC and nobody answered my question... >> >> Thanks for help. >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 edpimentl at gmail.com Mon Aug 15 19:51:28 2011 From: edpimentl at gmail.com (EdPimentl) Date: Mon, 15 Aug 2011 11:51:28 -0400 Subject: [Freeswitch-dev] Speaker Identification Implementation In-Reply-To: <4E42416A.7010202@centrum.sk> References: <4E42416A.7010202@centrum.sk> Message-ID: If you mean .. Biometric Voice (which is equivalent to fingerprint) Nuance just purchased a company and then there are a few European/Russian companies that OeM the product. -E From prashant.lamba at gmail.com Tue Aug 16 10:28:17 2011 From: prashant.lamba at gmail.com (Prashant Lamba) Date: Tue, 16 Aug 2011 11:58:17 +0530 Subject: [Freeswitch-dev] Meetup Paris? In-Reply-To: References: Message-ID: Colleagues, After seeing the success of ClueCon, I have always been keen to promote open source telephony here in India and possibly organize an "India" leg of something like ClueCon here in Hyderabad. I can start the ground work of gathering people, speakers, venue etc. Hyderabad is probably the best technology hub here in India. Any suggestions? Prashant -- Prashant Lamba Phonologies (India) Private Limited e: prashant at phonologies.com m: +91 9867.22.1975 On Fri, Aug 12, 2011 at 10:58 AM, Mathieu Rene wrote: > English version follows. > > En cette fin de ClueCon, je pars sur Paris demain soir (donc j'arrive > samedi en matin?, bien d?cal?), et j'y resterai jusqu'? mercredi. Je > propose d'organiser un petit meetup afin de joindre l'utile ? l'agr?able et > de voir un peu le visage de la communaut? freeswitch parisienne. Est-ce > quelqu'un peut proposer un bar sympa ou on pourrait faire un truc? > > --- > > ClueCon is over and I'm leaving to Paris tomorrow (landing saturday > morning, well jetlagged) and staying until Wednesday. I'm proposing to > organize a little meetup in order to get to know the face of the parisian > freeswitch community. Does anyone know a bar where we could meet up? > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mrene at avgs.ca > > > > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110816/e453700c/attachment.html From gmaruzz at gmail.com Tue Aug 16 13:53:23 2011 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 16 Aug 2011 11:53:23 +0200 Subject: [Freeswitch-dev] Meetup Paris? In-Reply-To: References: Message-ID: I have fond memories of a conference I gave couple of years ago in Hyderabad and the nice reception has had. Certainly there are lot of people and companies that can be interested in FreeSWITCH, and Cluecon India. Most people is still on Asterisk, but I believe they'll be very interested into knowing first hand what are the advantages of using FS, maybe in powerful combination with OpenSips. Let's have the ball rolling, try to gauge what interest you can gather, and which companies can act as sponsors (money matters ;) ). -giovanni On Tue, Aug 16, 2011 at 8:28 AM, Prashant Lamba wrote: > Colleagues, > After seeing the success of ClueCon, I have always been keen to promote open > source telephony here in India and possibly organize an "India" leg of > something like ClueCon here in Hyderabad. I can start the ground work of > gathering people, speakers, venue etc. > Hyderabad is probably the best technology hub here in India. Any > suggestions? > Prashant > -- > Prashant Lamba > Phonologies (India) Private Limited > e: prashant at phonologies.com > m: +91 9867.22.1975 > > On Fri, Aug 12, 2011 at 10:58 AM, Mathieu Rene wrote: >> >> English version follows. >> >> En cette fin de ClueCon, je pars sur Paris demain soir (donc j'arrive >> samedi en matin?, bien d?cal?), et j'y resterai jusqu'? mercredi. ?Je >> propose d'organiser un petit meetup afin de joindre l'utile ? l'agr?able et >> de voir un peu le visage de la communaut? freeswitch parisienne. Est-ce >> quelqu'un peut proposer un bar sympa ou on pourrait faire un truc? >> >> --- >> >> ClueCon is over and I'm leaving to Paris tomorrow (landing saturday >> morning, well jetlagged) and staying until Wednesday. I'm proposing to >> organize a little meetup in order to get to know the face of the parisian >> freeswitch community. Does anyone know a bar where we could meet up? >> >> Mathieu Rene >> Avant-Garde Solutions Inc >> Office: + 1 (514) 664-1044 x100 >> Cell: +1 (514) 664-1044 x200 >> mrene at avgs.ca >> >> >> >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From prashant.lamba at gmail.com Wed Aug 17 13:29:27 2011 From: prashant.lamba at gmail.com (Prashant Lamba) Date: Wed, 17 Aug 2011 14:59:27 +0530 Subject: [Freeswitch-dev] Meetup Paris? In-Reply-To: References: Message-ID: > I have fond memories of a conference I gave couple of years ago in > Hyderabad and the nice reception has had. > > Certainly there are lot of people and companies that can be interested > in FreeSWITCH, and Cluecon India. > > Most people is still on Asterisk, but I believe they'll be very > interested into knowing first hand what are the advantages of using > FS, maybe in powerful combination with OpenSips. > > Let's have the ball rolling, try to gauge what interest you can > gather, and which companies can act as sponsors (money matters ;) ). > > -giovanni > Giovanni, I am all for it especially since there is very little awareness of FreeSWITCH in India compared to Asterisk. Anyone in? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110817/fa1a257c/attachment.html From msc at freeswitch.org Wed Aug 17 20:48:36 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 17 Aug 2011 09:48:36 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello all! We are going to have a conf call today and talk about a few things, like how awesome ClueCon was this year! http://wiki.freeswitch.org/wiki/FS_weekly_2011_08_17 Come join us and be part of the discussion. I think we might have a few first-timers involved also. Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110817/dae3eafc/attachment.html From dujinfang at gmail.com Thu Aug 18 04:18:51 2011 From: dujinfang at gmail.com (Seven Du) Date: Thu, 18 Aug 2011 08:18:51 +0800 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock Message-ID: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Hi, Just wondering how to upgrade a read lock to a write lock, say I do a find_or_create_item_in_queue() switch_thread_rwlock_rdlock(lock); find an item from queue, if not found, create one switch_thread_rwlock_upgrade_to_wrlock(lock); write switch_thread_rwlock_unlock(lock); Thanks -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110818/41efe8a1/attachment.html From cmrienzo at gmail.com Thu Aug 18 14:42:20 2011 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 18 Aug 2011 06:42:20 -0400 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: Unlock the read lock and then lock as a write lock. On Aug 17, 2011 8:20 PM, "Seven Du" wrote: Hi, Just wondering how to upgrade a read lock to a write lock, say I do a find_or_create_item_in_queue() switch_thread_rwlock_rdlock(lock); find an item from queue, if not found, create one switch_thread_rwlock_upgrade_to_wrlock(lock); write switch_thread_rwlock_unlock(lock); Thanks -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow _______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE FreeSWITCH-dev mailing list FreeSWITCH-dev at 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/20110818/bbfb26b6/attachment-0001.html From cmrienzo at gmail.com Thu Aug 18 16:19:13 2011 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 18 Aug 2011 08:19:13 -0400 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: I forgot to mention that you'd have to repeat the find operation once you get the write lock since there is a small window between the unlock and lock where another thread may have created the item. On Thu, Aug 18, 2011 at 6:42 AM, Christopher Rienzo wrote: > Unlock the read lock and then lock as a write lock. > > On Aug 17, 2011 8:20 PM, "Seven Du" wrote: > > Hi, > > > Just wondering how to upgrade a read lock to a write lock, say I do a > find_or_create_item_in_queue() > > switch_thread_rwlock_rdlock(lock); > > find an item from queue, if not found, create one > > switch_thread_rwlock_upgrade_to_wrlock(lock); > > write > switch_thread_rwlock_unlock(lock); > > Thanks > -- > Seven Du > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn > Sent with Sparrow > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110818/632fb184/attachment.html From viktor_jamrich at centrum.sk Thu Aug 18 16:35:53 2011 From: viktor_jamrich at centrum.sk (Viktor Jamrich) Date: Thu, 18 Aug 2011 14:35:53 +0200 Subject: [Freeswitch-dev] Speaker Identification implementation In-Reply-To: References: Message-ID: <4E4D0729.803@centrum.sk> That's it ! I was talking about speaker identification by comparing the speaker's voiceprint with pre-trained voiceprint saved in a voiceprint repository. Sure, I've heard about Nuance is planning to acquire Loquendo, another speech processing shark ;) I was thinking about creating a new abstract interface called e.g. switch_sid_interface (SID = speaker identification) which could be binded to e.g. a proprietary interface module or (the better solution) to mod_unimrcp since MRCPv2 protocol supports speaker identification/verification. Using this sid interface w/ mod_unimrcp FreeSWITCH would be able to use MRCP servers for speaker identification/verification. Currently Nuance and Loquendo has few MRCP servers supporting this service and of course our company is planning to deploy a MRCPv2 server soon. Example application is e.g. instead of looking for your customer ID or telling your personal ID data to the operator who needs to have your identity confirmed before he/she tells you some confidental info, the company (whether call center or whatever) would just use speaker identification service via MRCPv2 and from 3 to 5 seconds of voice he/she will know, whether the person is really the one he/she is claiming he/she is or not. What do you think about it ?? Have a nice day ;) Sincerely, Viktor Jamrich. From cmrienzo at gmail.com Thu Aug 18 18:33:05 2011 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 18 Aug 2011 10:33:05 -0400 Subject: [Freeswitch-dev] Speaker Identification implementation In-Reply-To: <4E4D0729.803@centrum.sk> References: <4E4D0729.803@centrum.sk> Message-ID: I suspect this will be very similar in implementation to switch_core_asr, so we could either reuse that interface, or implement a new Speaker Identification and Verification (SIV) interface. Hop on #freeswitch-dev to talk this over and figure out the best approach. If you implement a new interface, you probably need at least the following functions: switch_core_siv_open switch_core_siv_close switch_core_siv_pause switch_core_siv_resume switch_core_siv_feed switch_core_siv_get_results switch_core_siv_start_input_timers And then some new functions in switch_ivr_async.c: switch_ivr_detect_speaker switch_ivr_pause_detect_speaker switch_ivr_resume_detect_speaker switch_ivr_stop_detect_speaker switch_ivr_detect_speaker_start_input_timers And a new application in mod_dptools.c detect_speaker On Thu, Aug 18, 2011 at 8:35 AM, Viktor Jamrich wrote: > That's it ! I was talking about speaker identification by comparing the > speaker's voiceprint with > pre-trained voiceprint saved in a voiceprint repository. Sure, I've > heard about Nuance is planning to acquire > Loquendo, another speech processing shark ;) > > I was thinking about creating a new abstract interface called e.g. > switch_sid_interface (SID = speaker identification) which > could be binded to e.g. a proprietary interface module or (the better > solution) to mod_unimrcp since MRCPv2 protocol supports > speaker identification/verification. Using this sid interface w/ > mod_unimrcp FreeSWITCH would be able to use MRCP > servers for speaker identification/verification. Currently Nuance and > Loquendo has few MRCP servers supporting this service and > of course our company is planning to deploy a MRCPv2 server soon. > Example application is e.g. instead of looking for your customer > ID or telling your personal ID data to the operator who needs to have > your identity confirmed before he/she tells you some confidental info, > the company (whether call center or whatever) would just use speaker > identification service via MRCPv2 and from 3 to 5 seconds of voice > he/she will know, whether the person is really the one he/she is > claiming he/she is or not. > > What do you think about it ?? > > Have a nice day ;) > > Sincerely, Viktor Jamrich. > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110818/91b1ca9a/attachment.html From anthony.minessale at gmail.com Thu Aug 18 20:20:52 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Aug 2011 11:20:52 -0500 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: can't you just write lock it right away? On Thu, Aug 18, 2011 at 7:19 AM, Christopher Rienzo wrote: > I forgot to mention that you'd have to repeat the find operation once you > get the write lock since there is a small window between the unlock and lock > where another thread may have created the item. > > > On Thu, Aug 18, 2011 at 6:42 AM, Christopher Rienzo > wrote: >> >> Unlock the read lock and then lock as a write lock. >> >> On Aug 17, 2011 8:20 PM, "Seven Du" wrote: >> >> Hi, >> >> >> Just wondering how to upgrade a read lock to a write lock, say I do a >> find_or_create_item_in_queue() >> switch_thread_rwlock_rdlock(lock); >> find an item from queue, if not found, create one >> switch_thread_rwlock_upgrade_to_wrlock(lock); >> write >> switch_thread_rwlock_unlock(lock); >> Thanks >> -- >> Seven Du >> About: http://about.me/dujinfang >> Blog: http://www.dujinfang.com >> Proj: ?http://www.freeswitch.org.cn >> Sent with Sparrow >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From anthony.minessale at gmail.com Thu Aug 18 20:35:55 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Aug 2011 11:35:55 -0500 Subject: [Freeswitch-dev] Speaker Identification implementation In-Reply-To: References: <4E4D0729.803@centrum.sk> Message-ID: it really just falls under the existing media_bug interface no? On Thu, Aug 18, 2011 at 9:33 AM, Christopher Rienzo wrote: > I suspect this will be very similar in implementation to switch_core_asr, so > we could either reuse that interface, or implement a new Speaker > Identification and Verification (SIV) interface.? Hop on #freeswitch-dev to > talk this over and figure out the best approach. > > If you implement a new interface, you probably need at least the following > functions: > > switch_core_siv_open > switch_core_siv_close > switch_core_siv_pause > switch_core_siv_resume > switch_core_siv_feed > switch_core_siv_get_results > switch_core_siv_start_input_timers > > And then some new functions in switch_ivr_async.c: > > switch_ivr_detect_speaker > switch_ivr_pause_detect_speaker > switch_ivr_resume_detect_speaker > switch_ivr_stop_detect_speaker > switch_ivr_detect_speaker_start_input_timers > > And a new application in mod_dptools.c > > detect_speaker > > > > On Thu, Aug 18, 2011 at 8:35 AM, Viktor Jamrich > wrote: >> >> That's it ! I was talking about speaker identification by comparing the >> speaker's voiceprint with >> pre-trained voiceprint saved in a voiceprint repository. Sure, I've >> heard about Nuance is planning to acquire >> Loquendo, another speech processing shark ;) >> >> I was thinking about creating a new abstract interface called e.g. >> switch_sid_interface (SID = speaker identification) which >> could be binded to e.g. a proprietary interface module or (the better >> solution) to mod_unimrcp since MRCPv2 protocol supports >> speaker identification/verification. Using this sid interface w/ >> mod_unimrcp FreeSWITCH would be able to use MRCP >> servers for speaker identification/verification. Currently Nuance and >> Loquendo has few MRCP servers supporting this service and >> of course our company is planning to deploy a MRCPv2 server soon. >> Example application is e.g. instead of looking for your customer >> ID or telling your personal ID data to the operator who needs to have >> your identity confirmed before he/she tells you some confidental info, >> the company (whether call center or whatever) would just use speaker >> identification service via MRCPv2 and from 3 to 5 seconds of voice >> he/she will know, whether the person is really the one he/she is >> claiming he/she is or not. >> >> What do you think about it ?? >> >> Have a nice day ;) >> >> Sincerely, Viktor Jamrich. >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From cmrienzo at gmail.com Thu Aug 18 21:35:38 2011 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 18 Aug 2011 13:35:38 -0400 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: Even if that works, what happens when two threads that have a read lock attempt to switch to a write lock simultaneously? How does the thread know it got the write lock first and the data is unchanged? On Thu, Aug 18, 2011 at 12:20 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > can't you just write lock it right away? > > On Thu, Aug 18, 2011 at 7:19 AM, Christopher Rienzo > wrote: > > I forgot to mention that you'd have to repeat the find operation once you > > get the write lock since there is a small window between the unlock and > lock > > where another thread may have created the item. > > > > > > On Thu, Aug 18, 2011 at 6:42 AM, Christopher Rienzo > > wrote: > >> > >> Unlock the read lock and then lock as a write lock. > >> > >> On Aug 17, 2011 8:20 PM, "Seven Du" wrote: > >> > >> Hi, > >> > >> > >> Just wondering how to upgrade a read lock to a write lock, say I do a > >> find_or_create_item_in_queue() > >> switch_thread_rwlock_rdlock(lock); > >> find an item from queue, if not found, create one > >> switch_thread_rwlock_upgrade_to_wrlock(lock); > >> write > >> switch_thread_rwlock_unlock(lock); > >> Thanks > >> -- > >> Seven Du > >> About: http://about.me/dujinfang > >> Blog: http://www.dujinfang.com > >> Proj: http://www.freeswitch.org.cn > >> Sent with Sparrow > >> > >> > >> _______________________________________________ > >> Join us at ClueCon 2011, Aug 9-11, Chicago > >> http://www.cluecon.com 877-7-4ACLUE > >> > >> FreeSWITCH-dev mailing list > >> FreeSWITCH-dev at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > >> http://www.freeswitch.org > >> > > > > > > _______________________________________________ > > Join us at ClueCon 2011, Aug 9-11, Chicago > > http://www.cluecon.com 877-7-4ACLUE > > > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110818/c200c59e/attachment-0001.html From msc at freeswitch.org Thu Aug 18 23:08:41 2011 From: msc at freeswitch.org (Michael Collins) Date: Thu, 18 Aug 2011 12:08:41 -0700 Subject: [Freeswitch-dev] VegaStream Contacts Message-ID: Hello all, If you know someone who works at VegaStream please contact me off list. I need to contact VegaStream and I prefer not to go in cold if I can help it. Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110818/fc076257/attachment.html From Matthew.Margolis at patlive.com Thu Aug 18 21:39:06 2011 From: Matthew.Margolis at patlive.com (Matthew Margolis) Date: Thu, 18 Aug 2011 13:39:06 -0400 Subject: [Freeswitch-dev] FreeSWITCH Wait Times Message-ID: Hey is there any possible way to have a wait time posted in the fifo queue? Something like "Thank you for waiting. Your current wait time is 10 minutes." Matthew Margolis Programmer PATLive T 850.766.3236 E matthew.margolis at patlive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110818/788d9d30/attachment.html From dujinfang at gmail.com Fri Aug 19 02:16:40 2011 From: dujinfang at gmail.com (Seven Du) Date: Fri, 19 Aug 2011 06:16:40 +0800 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: On Friday, August 19, 2011 at 1:35 AM, Christopher Rienzo wrote: > Even if that works, what happens when two threads that have a read lock attempt to switch to a write lock simultaneously? How does the thread know it got the write lock first and the data is unchanged? > > maybe try_get_write_lock and let the latter one failed ? no idea. see following comments. > > On Thu, Aug 18, 2011 at 12:20 PM, Anthony Minessale wrote: > > can't you just write lock it right away? I think there's a potential race when two threads try to find and launch new listeners respectively. So I try to add a find_or_create_listener() to avoid race. It usually only need to create once unless 1) at the first time, 2) the node is broken so need a reconnect http://pastebin.freeswitch.org/17091 ( I moved some codes, so just look for find_or_create_listener() ) So my concern is - isn't it expensive for a write lock than a read lock? Do you have other suggestions on this? or should I just get a write lock on not found and simply find again? I'm not sure if this is related to http://jira.freeswitch.org/browse/FS-3432 but want to fix the potential race first. let me know if you want to attach the patch to jira but it's not the final patch still need some further work. Thanks. > > > > On Thu, Aug 18, 2011 at 7:19 AM, Christopher Rienzo wrote: > > > I forgot to mention that you'd have to repeat the find operation once you > > > get the write lock since there is a small window between the unlock and lock > > > where another thread may have created the item. > > > > > > > > > On Thu, Aug 18, 2011 at 6:42 AM, Christopher Rienzo > > > wrote: > > >> > > >> Unlock the read lock and then lock as a write lock. > > >> > > >> On Aug 17, 2011 8:20 PM, "Seven Du" wrote: > > >> > > >> Hi, > > >> > > >> > > >> Just wondering how to upgrade a read lock to a write lock, say I do a > > >> find_or_create_item_in_queue() > > >> switch_thread_rwlock_rdlock(lock); > > >> find an item from queue, if not found, create one > > >> switch_thread_rwlock_upgrade_to_wrlock(lock); > > >> write > > >> switch_thread_rwlock_unlock(lock); > > >> Thanks > > >> -- > > >> Seven Du > > >> About: http://about.me/dujinfang > > >> Blog: http://www.dujinfang.com > > >> Proj: http://www.freeswitch.org.cn > > >> Sent with Sparrow > > >> > > >> > > >> _______________________________________________ > > >> Join us at ClueCon 2011, Aug 9-11, Chicago > > >> http://www.cluecon.com 877-7-4ACLUE > > >> > > >> FreeSWITCH-dev mailing list > > >> FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org) > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > >> http://www.freeswitch.org > > >> > > > > > > > > > _______________________________________________ > > > Join us at ClueCon 2011, Aug 9-11, Chicago > > > http://www.cluecon.com 877-7-4ACLUE > > > > > > FreeSWITCH-dev mailing list > > > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org) > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > > http://www.freeswitch.org > > > > > > > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale at hotmail.com (mailto:MSN%3Aanthony_minessale at hotmail.com) > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com (mailto:PAYPAL%3Aanthony.minessale at gmail.com) > > IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) > > googletalk:conf+888 at conference.freeswitch.org (mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org) > > pstn:+19193869900 (tel:%2B19193869900) > > > > _______________________________________________ > > Join us at ClueCon 2011, Aug 9-11, Chicago > > http://www.cluecon.com 877-7-4ACLUE > > > > FreeSWITCH-dev mailing list > > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org) > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > > http://www.freeswitch.org > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at 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/20110819/7828ece6/attachment.html From anthony.minessale at gmail.com Fri Aug 19 02:37:23 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Aug 2011 17:37:23 -0500 Subject: [Freeswitch-dev] upgrade a rdlock to wrlock In-Reply-To: References: <880F3FB2401F49D28CAB1CAF6D7D6286@gmail.com> Message-ID: you want to use a regular mutex around the finding the pointer part (hash look up etc). while the hash's mutex is locked you read lock the rwlock on the individual item. There are some functions in switch_core_hash now to specify a mutex andor if you want to fetch items read or write locked (see mod_rtmp's usage) On Thu, Aug 18, 2011 at 5:16 PM, Seven Du wrote: > > On Friday, August 19, 2011 at 1:35 AM, Christopher Rienzo wrote: > > Even if that works, what happens when two threads that have a read lock > attempt to switch to a write lock simultaneously?? How does the thread know > it got the write lock first and the data is unchanged? > > > maybe try_get_write_lock and let the latter one failed ? no idea. see > following comments. > > > On Thu, Aug 18, 2011 at 12:20 PM, Anthony Minessale > wrote: > > can't you just write lock it right away? > > > I think there's a potential race when two threads try to find and launch new > listeners respectively. So I try to add a find_or_create_listener() to avoid > race. ?It usually only need to create once unless 1) at the first time, 2) > the node is broken so need a reconnect > > http://pastebin.freeswitch.org/17091?( I moved some codes, so just look for > find_or_create_listener() ) > > So my concern is - isn't it expensive for a write lock than a read lock? Do > you have other suggestions on this? or should I just get a write lock on not > found and simply find again? > I'm not sure if this is related > to?http://jira.freeswitch.org/browse/FS-3432? but want to fix the potential > race first. > let me know if you want to attach the patch to jira but it's not the final > patch still need some further work. > Thanks. > > On Thu, Aug 18, 2011 at 7:19 AM, Christopher Rienzo > wrote: >> I forgot to mention that you'd have to repeat the find operation once you >> get the write lock since there is a small window between the unlock and >> lock >> where another thread may have created the item. >> >> >> On Thu, Aug 18, 2011 at 6:42 AM, Christopher Rienzo >> wrote: >>> >>> Unlock the read lock and then lock as a write lock. >>> >>> On Aug 17, 2011 8:20 PM, "Seven Du" wrote: >>> >>> Hi, >>> >>> >>> Just wondering how to upgrade a read lock to a write lock, say I do a >>> find_or_create_item_in_queue() >>> switch_thread_rwlock_rdlock(lock); >>> find an item from queue, if not found, create one >>> switch_thread_rwlock_upgrade_to_wrlock(lock); >>> write >>> switch_thread_rwlock_unlock(lock); >>> Thanks >>> -- >>> Seven Du >>> About: http://about.me/dujinfang >>> Blog: http://www.dujinfang.com >>> Proj: ?http://www.freeswitch.org.cn >>> Sent with Sparrow >>> >>> >>> _______________________________________________ >>> Join us at ClueCon 2011, Aug 9-11, Chicago >>> http://www.cluecon.com 877-7-4ACLUE >>> >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >> >> >> _______________________________________________ >> Join us at ClueCon 2011, Aug 9-11, Chicago >> http://www.cluecon.com 877-7-4ACLUE >> >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From msc at freeswitch.org Fri Aug 19 04:02:25 2011 From: msc at freeswitch.org (Michael Collins) Date: Thu, 18 Aug 2011 17:02:25 -0700 Subject: [Freeswitch-dev] INFO: Wiki update Message-ID: Hello all, We have been experimenting with some access controls on the wiki. If you get a dialog box asking for a password then use the same credentials as you would for pastebin.freeswitch.org. You should only see the dialog box when logging in or editing pages. Just searching the wiki does not cause the dialog to show up. We are trying to cut down on the spammers. Let me know if you run into any weirdness. Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110818/636ddccb/attachment.html From msc at freeswitch.org Fri Aug 19 23:43:09 2011 From: msc at freeswitch.org (Michael Collins) Date: Fri, 19 Aug 2011 12:43:09 -0700 Subject: [Freeswitch-dev] FreeSWITCH Janitorial Items Message-ID: Hello all! We have need of your skills with a few sub-projects. Sorry, nothing glamorous, just some behind-the-scenes work. First off, I need to know if anyone out there has experience with UberCart for Drupal. If so, please contact me off list so we can discuss the items I need help with. Secondly, I have a housekeeping task. We have some new "standard vocabulary" files for Callie US English. We need to add them to phrase_en.xml. However, there are quite a few of them and some of them are the same recording with a different inflection. For example, the inflection on the words "one" and "message" are different in these phrases: "To leave a message, press 1." "Press 1 to leave a message." I have a list of all the file names and what's in them but there's a bit of work that needs to be done to document the inflection for each phrase. We also need to settle on a naming convention. If you are in a position to assist with this please contact me off list and I will give you more information. Thanks! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110819/75522c99/attachment.html From marketing at cluecon.com Sat Aug 20 00:08:19 2011 From: marketing at cluecon.com (Michael Collins) Date: Fri, 19 Aug 2011 13:08:19 -0700 Subject: [Freeswitch-dev] ClueCon 2011 - Assistance w/ posting videos Message-ID: Hello all! I am looking for a volunteer to assist me with some Drupal/Web work on cluecon.com. I would like to be ready to post the videos as they become available and to do that I need to do some layout work on the cluecon site. Anyone with any kind of CMS/Drupal/Web dev skills would be a perfect candidate to help. If you're in a position to assist please contact me off list. Thanks! -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110819/b288631b/attachment.html From rentmycoder at gmail.com Mon Aug 22 11:46:33 2011 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Mon, 22 Aug 2011 09:46:33 +0200 Subject: [Freeswitch-dev] intercept sethanguphook failure Message-ID: Hi guys, I'm trying to make a callgroup intercept and need to make some tasks after the intercepted call hang's up... I've tried both intercept and uuid_bridge method, both works, but neither way the hanguphook does not get's called after intercept... settings: hangupafterbridge=true and continueonfail=true... Testing on win32 using latest GIT. lua script: ... session:setHangupHook("extensions_hanguphook"); ... api:executeString("uuid_bridge " .. tostring(intercept_source) .. " " .. tostring(session.uuid)); or this way: session:execute("intercept", intercept_source); I haven't looked into the source yet, any idea??? I don't now it's a bug it it's my mistake... Thanks, John From jmesquita at freeswitch.org Tue Aug 23 20:38:13 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Tue, 23 Aug 2011 13:38:13 -0300 Subject: [Freeswitch-dev] =?windows-1252?q?FreeSWITCH=99_in_Mexico?= Message-ID: Estimados, Quisiera ante todo pedirles disculpas por enviarles este mensaje off-topic. Yo estar? dando una charla gratuita de FreeSWITCH? en M?xico(DF) en el dia 30 de Agosto. La charla ser? como un taller en donde instalaremos placas TDM y crearemos casos reales de instalaciones. La idea es presentar un poco las posibilidades de FreeSWITCH? y difundir un poco m?s la idea en M?xico. El evento es gratuito pero con cupos limitados. El evento es auspiciado por Khomp y Toga Soluciones. Para inscribirse, basta ingresar al link: http://togakhomp.eventbrite.com/ ******************************** Guys, First of all, sorry for the off topic. I am going to give a speech on FreeSWITCH? in Mexico this next 28th of August and would like to invite the mexican community to join me. It will be more like a workshop presenting real world scenarios using TDM cards provided by Khomp. The event is free but with limited room. This is being sponsored by Khomp and Toga Soluciones. If you are interested, please join us at: http://togakhomp.eventbrite.com/ Thank you all. Regards, Jo?o Mesquita -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110823/9e95dcc8/attachment.html From jcherukuri_necc at yahoo.com Wed Aug 24 19:06:10 2011 From: jcherukuri_necc at yahoo.com (Jyotshna Cherukuri) Date: Wed, 24 Aug 2011 08:06:10 -0700 (PDT) Subject: [Freeswitch-dev] error compiling latest revision of Freeswitch in mod_spandsp Message-ID: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> Hi , I am trying to compile the latest freeswitch commit and its giving an error compiling mod_spandsp. The error I am encountering is shown below. Can you please let me know what is this error about? Thanks in advance Regards Jyotshna Creating mod_spandsp_la-mod_spandsp_codecs.lo quiet_libtool: compile: ?gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c ?-fno-common -DPIC -o .libs/mod_spandsp_la-mod_spandsp_codecs.o quiet_libtool: compile: ?gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -o mod_spandsp_la-mod_spandsp_codecs.o >/dev/null 2>&1 Making all in src libtool: compile: ?gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -msse2 -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -MT gsm0610_rpe.lo -MD -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c ?-fno-common -DPIC -o gsm0610_rpe.o /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or operands invalid for `movq' make[7]: *** [gsm0610_rpe.lo] Error 1 make[6]: *** [all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src/libspandsp.la] Error 2 make[3]: *** [mod_spandsp-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110824/3015da16/attachment.html From msc at freeswitch.org Wed Aug 24 19:39:37 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Aug 2011 08:39:37 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello all! Today's agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2011_08_24 Alexandr from the Homer project has been busy updating his software so we're having him back to talk to us again on the subject. We also have a few janitorial items to go over. Thanks! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110824/bb28a1b1/attachment.html From msc at freeswitch.org Wed Aug 24 22:54:51 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Aug 2011 11:54:51 -0700 Subject: [Freeswitch-dev] error compiling latest revision of Freeswitch in mod_spandsp In-Reply-To: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> References: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> Message-ID: Do you have libxml2 installed on your system? -MC On Wed, Aug 24, 2011 at 8:06 AM, Jyotshna Cherukuri < jcherukuri_necc at yahoo.com> wrote: > Hi , > > I am trying to compile the latest freeswitch commit and its giving an error > compiling mod_spandsp. The error I am encountering is shown below. Can you > please let me know what is this error about? > > Thanks in advance > Regards > Jyotshna > > Creating mod_spandsp_la-mod_spandsp_codecs.lo > quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include > -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb > -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic > -Wdeclaration-after-statement > -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src > -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff > -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src > -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff > -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT > mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF > .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c > -fno-common -DPIC -o .libs/mod_spandsp_la-mod_spandsp_codecs.o > quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include > -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/src/include > -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb > -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic > -Wdeclaration-after-statement > -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src > -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff > -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src > -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff > -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT > mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF > .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -o > mod_spandsp_la-mod_spandsp_codecs.o >/dev/null 2>&1 > Making all in src > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -msse2 > -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden > -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -MT gsm0610_rpe.lo -MD > -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o > gsm0610_rpe.o > /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or > operands invalid for `movq' > make[7]: *** [gsm0610_rpe.lo] Error 1 > make[6]: *** [all] Error 2 > make[5]: *** [all-recursive] Error 1 > make[4]: *** [/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src/ > libspandsp.la] Error 2 > make[3]: *** [mod_spandsp-all] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110824/917e748f/attachment-0001.html From moises.silva at gmail.com Wed Aug 24 23:44:42 2011 From: moises.silva at gmail.com (Moises Silva) Date: Wed, 24 Aug 2011 15:44:42 -0400 Subject: [Freeswitch-dev] error compiling latest revision of Freeswitch in mod_spandsp In-Reply-To: References: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> Message-ID: On Wed, Aug 24, 2011 at 2:54 PM, Michael Collins wrote: >> -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c ?-fno-common -DPIC -o >> gsm0610_rpe.o >> /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix >> or operands invalid for `movq' This looks more like something changed in the assembly stuff in src/gsm0610_rpe.c Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy at sangoma.com From msc at freeswitch.org Thu Aug 25 08:57:01 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Aug 2011 21:57:01 -0700 Subject: [Freeswitch-dev] error compiling latest revision of Freeswitch in mod_spandsp In-Reply-To: References: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> Message-ID: On Wednesday, August 24, 2011, Moises Silva wrote: > On Wed, Aug 24, 2011 at 2:54 PM, Michael Collins wrote: >>> -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o >>> gsm0610_rpe.o >>> /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix >>> or operands invalid for `movq' > > This looks more like something changed in the assembly stuff in > src/gsm0610_rpe.c Good point. I ran into something similar when I upgraded to Snow Leopard from Leopard. The configure script thought my system was 64 bit when it's 32. Anyone have suggestions? -MC > > Moises Silva > Senior Software Engineer, Software Development Manager > Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON > L3R 9R6 Canada > t. 1 905 474 1990 x128 | e. moy at sangoma.com > > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20110824/7eb2a690/attachment.html From msc at freeswitch.org Fri Aug 26 07:20:18 2011 From: msc at freeswitch.org (Michael Collins) Date: Thu, 25 Aug 2011 20:20:18 -0700 Subject: [Freeswitch-dev] conjure_session for mod_perl.cpp? Message-ID: Guys, I see that Lua and Python both have a mod_xxx_conjure_session method. If I understand correctly this method is necessary for session_in_hangup_hook to work (please correct me if I'm wrong). I'd like to see mod_perl have the ability to do session_in_hangup_hook stuff. Right now when you set session_in_hangup_hook=true and run a perl script from a hook you get this error: 2011-08-25 20:09:57.881203 [DEBUG] switch_ivr_originate.c:1879 Parsing global variables 2011-08-25 20:09:57.881203 [ERR] switch_core_session.c:413 Could not locate channel type e0ff8d18-cf90-11e0-a42e-474e765f4808 *2011-08-25 20:09:57.881203 [NOTICE] switch_ivr_originate.c:2453 Cannot create outgoing channel of type [e0ff8d18-cf90-11e0-a42e-474e765f4808] cause: [CHAN_NOT_IMPLEMENTED]* 2011-08-25 20:09:57.881203 [DEBUG] switch_ivr_originate.c:3318 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2011-08-25 20:09:57.881203 [DEBUG] switch_core_state_machine.c:507 Hangup Command with Session perl(hook.pl e0ff4b1e-cf90-11e0-a42d-474e765f4808): Dialplan snippet for the above: If you comment out the session_in_hangup_hook=true then the script runs just fine. (nothing interesting in the script, just dumps ${uuid} to a text file.) Anyway, I'm assuming we need the conjure_session method in mod_perl.c. For those familiar with the SWIG'd languages - can you hum a few bars and let me know what's involved in enabling this method? Thanks MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110825/882fffd0/attachment.html From anthony.minessale at gmail.com Fri Aug 26 19:31:25 2011 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 26 Aug 2011 10:31:25 -0500 Subject: [Freeswitch-dev] conjure_session for mod_perl.cpp? In-Reply-To: References: Message-ID: update and try now. btw if all you need is channel data there is a magic event regardless of session in hanguphook called $env try print $env->serialize; this is a normal even just like the ones in the other areas. On Thu, Aug 25, 2011 at 10:20 PM, Michael Collins wrote: > Guys, > I see that Lua and Python both have a mod_xxx_conjure_session method. If I > understand correctly this method is necessary for session_in_hangup_hook to > work (please correct me if I'm wrong). I'd like to see mod_perl have the > ability to do session_in_hangup_hook stuff. Right now when you set > session_in_hangup_hook=true and run a perl script from a hook you get this > error: > 2011-08-25 20:09:57.881203 [DEBUG] switch_ivr_originate.c:1879 Parsing > global variables > 2011-08-25 20:09:57.881203 [ERR] switch_core_session.c:413 Could not locate > channel type e0ff8d18-cf90-11e0-a42e-474e765f4808 > 2011-08-25 20:09:57.881203 [NOTICE] switch_ivr_originate.c:2453 Cannot > create outgoing channel of type [e0ff8d18-cf90-11e0-a42e-474e765f4808] > cause: [CHAN_NOT_IMPLEMENTED] > 2011-08-25 20:09:57.881203 [DEBUG] switch_ivr_originate.c:3318 Originate > Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] > 2011-08-25 20:09:57.881203 [DEBUG] switch_core_state_machine.c:507 Hangup > Command with Session perl(hook.pl e0ff4b1e-cf90-11e0-a42d-474e765f4808): > Dialplan snippet for the above: > ? > ? ? > ? ? ? > ? ? ? > ? ? ? > ? ? ? > ? ? ? > ? ? > ? > If you comment out the session_in_hangup_hook=true then the script runs just > fine. (nothing interesting in the script, just dumps ${uuid} to a text > file.) > Anyway, I'm assuming we need the conjure_session method in mod_perl.c. For > those familiar with the SWIG'd languages - can you hum a few bars and let me > know what's involved in enabling this method? > Thanks > MC > _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 From msc at freeswitch.org Fri Aug 26 20:47:23 2011 From: msc at freeswitch.org (Michael Collins) Date: Fri, 26 Aug 2011 09:47:23 -0700 Subject: [Freeswitch-dev] conjure_session for mod_perl.cpp? In-Reply-To: References: Message-ID: On Fri, Aug 26, 2011 at 8:31 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > update and try now. > > btw if all you need is channel data there is a magic event regardless > of session in hanguphook called $env > > try print $env->serialize; > > this is a normal even just like the ones in the other areas. > Ah, that's what I was wondering about. I was grepping around for the equivalent of Lua's special "env" event obj and I didn't see that in the source. I need to wikify the $env thing on the mod_perl wiki page. It definitely works, even without "session_in_hangup_hook" being set. Thank you, sir! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110826/6e080635/attachment.html From msc at freeswitch.org Fri Aug 26 22:35:25 2011 From: msc at freeswitch.org (Michael Collins) Date: Fri, 26 Aug 2011 11:35:25 -0700 Subject: [Freeswitch-dev] PRI to VoIP gateway devices Message-ID: Hello gang, If anyone out there has a PRI to VoIP gateway device that we can borrow (or that you'd like to donate) to the FreeSWITCH project please let me know. We are looking for something like the Vegastream 400 or the Audiocodes Mediant 600. If you have anything like these that are just collecting dust on a shelf somewhere please contact me off list. Thanks! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110826/d184f6c4/attachment.html From msc at freeswitch.org Wed Aug 31 19:18:18 2011 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Aug 2011 08:18:18 -0700 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Today Message-ID: Hello all, Today's agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2011_08_31 I'd like to talk about the concept of "giving back" which I touched upon in this article: http://www.freeswitch.org/node/339 Talk to you at 1PM EST/10AM Pacific/1700 UTC! -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110831/1a31a9c0/attachment.html From jmesquita at freeswitch.org Wed Aug 31 19:48:13 2011 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Wed, 31 Aug 2011 12:48:13 -0300 Subject: [Freeswitch-dev] =?windows-1252?q?=5BFreeswitch-users=5D_FreeSWIT?= =?windows-1252?q?CH=99_in_Mexico?= In-Reply-To: References: Message-ID: Thank you very much Gerardo. I appreciate your attendance as well as your interaction. I hope you enjoyed. Regards, Jo?o Mesquita 2011/8/30 Gerardo Barajas > Nice having you in Mexico. > Really nice talk. > > > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110831/f5c3838a/attachment-0001.html From dmm1989 at gmail.com Tue Aug 23 17:49:22 2011 From: dmm1989 at gmail.com (Dmitry Matveev) Date: Tue, 23 Aug 2011 17:49:22 +0400 Subject: [Freeswitch-dev] Cannot receive event socket notifications on SIP MESSAGEs Message-ID: Hello, I am writing an event socket application and I would like to be notified about all IM messages sent by SIP UAs on the FreeSWITCH. I have two applications logged on FS as 1010 at localhost and 1011 at localhost. They communicate with instant SIP messages well, but I do not see any notifications about it at the event socket. I connect to event socket with telnet: auth ClueCon event plain MESSAGE RECV_MESSAGE SEND_MESSAGE Could anybody please tell me what am I doing wrong? The version of FS is f3a4225 (Windows build). Thanks in advance, Dmitry From admharris at gmx.com Wed Aug 24 00:54:18 2011 From: admharris at gmx.com (adam harris) Date: Tue, 23 Aug 2011 20:54:18 +0000 Subject: [Freeswitch-dev] reliable way to get caller id Message-ID: <20110823205418.203250@gmx.com> I am trying to retrieve the caller id of incoming calls and finding when I get variable Channel-Caller-ID-Number it is not the actual number of the phone that has made the call, my provider seems to be setting it another number. I am seeing the correct phome number is in the info log example below. 2011-08-23 20:40:34.832360 [INFO] mod_dialplan_xml.c:331 Processing 44203xxxxx->44800xxxx In this case is '44203xxxxx' as displayed in the info log set as channel variable? From juraj.fabo at gmail.com Sat Aug 27 18:37:22 2011 From: juraj.fabo at gmail.com (Juraj Fabo) Date: Sat, 27 Aug 2011 14:37:22 +0000 (UTC) Subject: [Freeswitch-dev] =?utf-8?q?ftdm=5Fcall=5Fplace_and_caller=5Fdata?= =?utf-8?q?=2Ecall=5Fid?= Message-ID: Hi I have a question on the API delivering the generated call_id in outgoing and incoming calls. When my application makes call to ftdm_call_place status = ftdm_call_place_ex(&caller_data, &hunting, &usrmsg); caller_data.call_id is set to zero. freetdm.h description about ftdm_caller_data.call_id member explicitely states, that after the ftdm_channel_call_place() call the user can use the caller_data.call_id, otherwise the call_id from sigmsg should be used I'd like to ask only a few questions: - from sources I see, that after the ftdm_call_place_ex(..) application could use caller_data.fchan->caller_data.call_id I tested it and it was ok, please is this a proper way how to use this API function? - sigmsg's delivered to signalling callback seems again not to provide the call_id directly. From sources I found this approach to be usable when handling FTDM_SIGEVENT_START ftdm_caller_data_t * callerData = ftdm_channel_get_caller_data(p->channel); call_id = callerData->call_id; However some other events delivered the call_id directly (as p->call_id) Please, is my handling for _START event correct (despite that call to API from the callback handler is tabu) I'm working with freeswitch-snapshot 25th of May, compiling a standalone freetdm, using sangoma a102de and a104d cards. thank you very much Juraj From tim.mcqueen at gmail.com Sun Aug 28 08:17:33 2011 From: tim.mcqueen at gmail.com (Tim McQueen) Date: Sat, 27 Aug 2011 23:17:33 -0500 Subject: [Freeswitch-dev] mod_managed not working on Linux Message-ID: I'm having a problem getting mod_managed to work on Linux. It the demo .csx file and anything I write works fine in Windows, but under Linux the same code causes a NullReferenceException. An example of the FreeSwitch log is at http://pastebin.freeswitch.org/17216. I've tried this on Ubuntu 11.04 with the stock Mono install (2.6.7) and on a fresh install of CentOS 6.0 with the latest Mono (2.10.5). Also, someone on the IRC channel is saying that mod_freeswitch isn't maintained anymore. Is this true? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110827/675889af/attachment-0001.html From gvmello at yx.cl Wed Aug 31 17:56:30 2011 From: gvmello at yx.cl (Glaucio Vaz de Mello) Date: Wed, 31 Aug 2011 09:56:30 -0400 Subject: [Freeswitch-dev] Epoch current time difference Message-ID: Hello, I noticed a difference between FreeSWITCH time and system clock time. Is this a standard behaviour? or something is wrong in my system? More details of the issue: Inside FreeSWITCH I look for current epoch time using this function: time_t now = switch_epoch_time_now(NULL); Then I look for system clock current time using: #include time_t now = time(NULL); Between both results I noticed a difference of 9 seconds. This can also be viewed using Unix commands. Unix date command from console: # date +%s 1314741992 Then, I start a call and make a DB query: # sqlite3 /var/freeswitch/db/core.db "SELECT call_created_epoch FROM calls;" 1314742000 Then I repeat unix date command: # date +%s 1314741994 Any comments are welcome. Regards, Glaucio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110831/3f1e859e/attachment-0001.html From berton at perfectpitchtech.com Wed Aug 31 21:16:35 2011 From: berton at perfectpitchtech.com (Berton Earnshaw) Date: Wed, 31 Aug 2011 17:16:35 +0000 (UTC) Subject: [Freeswitch-dev] =?utf-8?q?error_compiling_latest_revision_of_Fre?= =?utf-8?q?eswitch=09inmod=5Fspandsp?= References: <1314198370.55146.YahooMailNeo@web122508.mail.ne1.yahoo.com> Message-ID: Any ideas here? I get the same error... Michael, what did you do to overcome the architecture mismatch? Berton