From vipkilla at gmail.com Mon Feb 1 08:07:09 2010 From: vipkilla at gmail.com (vip killa) Date: Mon, 1 Feb 2010 11:07:09 -0500 Subject: [Freeswitch-dev] celt 0.7.1 Message-ID: <957f61371002010807x76589d88g3c9ac995253932ae@mail.gmail.com> can someone bring freeswitch up to the latest celt (0.7.1) ? the bit stream has not changed since the previous version so you just have to change from version 0.7.0 to 0.7.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100201/21428663/attachment.html From mike at jerris.com Mon Feb 1 08:43:38 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 1 Feb 2010 11:43:38 -0500 Subject: [Freeswitch-dev] celt 0.7.1 In-Reply-To: <957f61371002010807x76589d88g3c9ac995253932ae@mail.gmail.com> References: <957f61371002010807x76589d88g3c9ac995253932ae@mail.gmail.com> Message-ID: can you throw a bug up on jira assigned to me for that? Mike On Feb 1, 2010, at 11:07 AM, vip killa wrote: > can someone bring freeswitch up to the latest celt (0.7.1) ? the bit stream has not changed since the previous version so you just have to change from version 0.7.0 to 0.7.1 From jmesquita at freeswitch.org Tue Feb 2 09:44:38 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Tue, 2 Feb 2010 15:44:38 -0200 Subject: [Freeswitch-dev] FSComm capable of multiple lines? In-Reply-To: References: Message-ID: Paul, we already support this. If you double click on the call on the upper right pane, it will put the current call on hold using "pa switch". Multiple accounts is also supported. The development is coming slower now because I have been totally swamped with other projects. This developer here also has to eat. ;-) Nonetheless, I expect to get back to development today or tomorrow at most. Regards, Jo?o Mesquita FSComm Developer On Sat, Jan 30, 2010 at 3:45 AM, Paul Li wrote: > With FSComm, may you put a call on hold, while taking or making > another call? How about multiple lines? Say, you have more than two > incoming lines, you take one connection, while leaving the rest on MOH > (Music on Hold). I think this is achievable when FreeSwitch runs as > standalone. Thanks a lot for your attention. > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100202/a6c011b7/attachment.html From jmesquita at freeswitch.org Tue Feb 2 09:45:04 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Tue, 2 Feb 2010 15:45:04 -0200 Subject: [Freeswitch-dev] FSComm script folder In-Reply-To: References: Message-ID: Will change that. You are right. Regards, Jo?o Mesquita FSComm Developer On Sat, Jan 30, 2010 at 3:50 AM, Paul Li wrote: > While FreeSWITCH set switch_directories.script_dir to "scripts", > FSComm set switch_directories.script_dir to "script". Shouldn't it be > "scripts" to be consistent? > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100202/5316dcb5/attachment-0001.html From marketing at cluecon.com Wed Feb 3 06:28:04 2010 From: marketing at cluecon.com (Michael Collins) Date: Wed, 3 Feb 2010 06:28:04 -0800 Subject: [Freeswitch-dev] ClueCon MMX - Call For Speakers! Message-ID: <87f2f3b91002030628n3b3bf512x68947758cf042ea@mail.gmail.com> Hello everyone! We are gearing up for ClueCon 2010 in August later this year. We are making the necessary arrangements for the conference facilities and rooming. Things are beginning to fall into place. Now we need to hear from you. We would like to put out a call for speakers for this year's event. Please contact us if you or your organization would like to give a presentation at ClueCon this year. We want to get the speakers scheduled as early as possible. Keep in mind that those organizations which sponsor ClueCon will be given the highest priority when it comes to scheduling. Please contact Brian West to discuss sponsorship opportunities for this year's event. We also would like to hear from the conference attendees: what would you like to see this year? Please give us your input. ClueCon is, of course, "By Developers, For Developers." However, developers come in all shapes and sizes and we would like have something for everyone. Please tell us what would make ClueCon MMX the best conference of the year! Stay tuned for more announcements. We look forward to hearing from you and seeing everyone this August in Chicago. -ClueCon team -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100203/24dc1efc/attachment.html From msc at freeswitch.org Wed Feb 3 06:55:47 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Feb 2010 06:55:47 -0800 Subject: [Freeswitch-dev] Let's buy the FreeSWITCH developers dinner! Message-ID: <87f2f3b91002030655x315159ads102f269dfdab200d@mail.gmail.com> Hello all! This is a reminder that next week the FreeSWITCH development team is gathering together in one location for the final push to get version 1.0.5 released. You can help facilitate the timely release of the latest version by helping to buy dinner for the FreeSWITCH developers. Remember, it's not just the three core developers who are meeting together. There will be eight FreeSWITCH team members gathering. Let's all pitch in a few dollars each and give them a nice dinner! It's a great way to say thanks for all the hard work they've done: building FreeSWITCH, answering questions on the mailing list, and spending many hours in the IRC channel. You can use the PayPal link on the main website. (http://www.freeswitch.org) Alternatively, if PayPal is not available to you then please contact Brian West (brian at freeswitch.org) to discuss alternate ways of donating. Let's really pull together and support the guys for all of their hard work. A nice meal paid for by the community would be greatly appreciated! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100203/277e82ea/attachment.html From devel at thom.fr.eu.org Fri Feb 5 08:18:02 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Fri, 05 Feb 2010 17:18:02 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> Message-ID: <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> Hello, I'm back on this. I could take samples of what is sent by my carrier as CLIP and what is sent by my FXS port as CLIP, and this is very different. The modulation to be sent out of FXS seem to be correctly built, but this seem to never get out. By further checking what could happen, I could see that for FSK/DTMF/... the data is written to some dedicated buffer (fsk_buffer/...) using the zap_buffer_write function. I continued to see what was done with this fsk_buffer, and surprisingly, it seems that nothing is done. I could find the beginning of something in ozmod_analog.c. these lines commented out : if ((zchan->dtmf_buffer && zap_buffer_inuse(zchan->dtmf_buffer)) || (zchan->fsk_buffer & //memset(frame, 0, len); //zap_channel_write(zchan, frame, sizeof(frame), continue; } so that seem to be related to fsk_buffer (by the way sending dtmf tones out of FXS does not seem to work either, tried with send_dtmf application in diaplan), but I don't really get what would be done here (if uncommented) except sending null values to that function, which would (I found this function in zap_io.c) lead to doing nothing as this function verifies the condition zchan->fsk_buffer & padding-left: 5px; margin-left: 5px; width: 100%;"> On Jan 27, 2010, at 3:48 AM, Fran?ois Legal wrote: So I did modify mod_openzap to provide the od trace command to the cli. I started trying to parse the incoming clip, but I have to do it again as the incoming signal is saturated so I can't see anything interesting. I'll post my results whenever I get something. Shall I send the modified mod_openzap.c to the list ? We should get a bug opened on this issue on http://jira.freeswitch.org [1] About the difference on the modulation settings for CLIP, could anybody suggest some way to have it configurable by files ? We should add some config option based on country or CLIP type to specify this. Lets get it working and we can think how to configure once we have that. Mike Links: ------ [1] http://jira.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100205/bee7392f/attachment.html From msc at freeswitch.org Fri Feb 5 08:45:04 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 5 Feb 2010 08:45:04 -0800 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Starting Shortly! Message-ID: <87f2f3b91002050845w70bb52s434dff55c11fec92@mail.gmail.com> Come join us today! http://wiki.freeswitch.org/wiki/FS_weekly_2010_02_5 -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100205/74f048cf/attachment.html From kevin.snow at ooma.com Fri Feb 5 10:29:38 2010 From: kevin.snow at ooma.com (Kevin Snow) Date: Fri, 05 Feb 2010 10:29:38 -0800 Subject: [Freeswitch-dev] Using instant_ringback Message-ID: Guys, I?m trying something that is seemingly so simple but isn?t working for me. I want to ignore early media and provide instant ringback. My module is written in C. I?m setting ignore_early_media and instant_ringback to true in a switch_event header and passing it in via the ovars param to switch_ivr_originate. It?s getting the vars ok because I can tell it?s ignoring early media, but there is no ring back to the caller. Are there other flags I need in conjunction with these two to hear ringback? I must be missing something. Here?s a code snippet. switch_event_t* ovars = NULL; switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ignore_early_media", "true"); switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "instant_ringback", "true"); switch_status_t rc = switch_ivr_originate(session, &sipSession, &cause, data, timelimit, NULL, caller_name, caller_num, NULL, ovars, SOF_NONE); Thanks in advance. Kevin Snow -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100205/58c475a3/attachment.html From mike at jerris.com Fri Feb 5 10:49:17 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 5 Feb 2010 13:49:17 -0500 Subject: [Freeswitch-dev] Using instant_ringback In-Reply-To: References: Message-ID: <8783DFAB-3365-469A-9B0A-1991F32E3C10@jerris.com> do you set the ringback var too? On Feb 5, 2010, at 1:29 PM, Kevin Snow wrote: > > Guys, > > I?m trying something that is seemingly so simple but isn?t working for me. I want to ignore early media and provide instant ringback. > > My module is written in C. I?m setting ignore_early_media and instant_ringback to true in a switch_event header and passing it in via the ovars param to switch_ivr_originate. It?s getting the vars ok because I can tell it?s ignoring early media, but there is no ring back to the caller. > > Are there other flags I need in conjunction with these two to hear ringback? I must be missing something. > > Here?s a code snippet. > > > switch_event_t* ovars = NULL; > switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); > switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ignore_early_media", "true"); > switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "instant_ringback", "true"); > switch_status_t rc = switch_ivr_originate(session, &sipSession, &cause, data, timelimit, NULL, caller_name, caller_num, NULL, ovars, SOF_NONE); > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100205/7e2e911b/attachment.html From kevin.snow at ooma.com Fri Feb 5 11:05:36 2010 From: kevin.snow at ooma.com (Kevin Snow) Date: Fri, 05 Feb 2010 11:05:36 -0800 Subject: [Freeswitch-dev] Using instant_ringback In-Reply-To: <8783DFAB-3365-469A-9B0A-1991F32E3C10@jerris.com> Message-ID: I tried with with and without setting, when I copy/pasted below was the without. It didn?t seem to matter. switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ringback", "%(2000, 4000, 440.0, 480.0)"); Should I set it differently? Maybe that?s my issue. Kevin On 2/5/10 10:49 AM, "Michael Jerris" wrote: > do you set the ringback var too? > > On Feb 5, 2010, at 1:29 PM, Kevin Snow wrote: > >> >> Guys, >> >> I?m trying something that is seemingly so simple but isn?t working for me. I >> want to ignore early media and provide instant ringback. >> >> My module is written in C. I?m setting ignore_early_media and >> instant_ringback to true in a switch_event header and passing it in via the >> ovars param to switch_ivr_originate. It?s getting the vars ok because I can >> tell it?s ignoring early media, but there is no ring back to the caller. >> >> Are there other flags I need in conjunction with these two to hear ringback? >> I must be missing something. >> >> Here?s a code snippet. >> >> >> switch_event_t* ovars = NULL; >> switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); >> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, >> "ignore_early_media", "true"); >> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, >> "instant_ringback", "true"); >> switch_status_t rc = switch_ivr_originate(session, &sipSession, &cause, >> data, timelimit, NULL, caller_name, caller_num, NULL, ovars, SOF_NONE); >> > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100205/f75298dd/attachment-0001.html From mike at jerris.com Fri Feb 5 11:23:10 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 5 Feb 2010 14:23:10 -0500 Subject: [Freeswitch-dev] Using instant_ringback In-Reply-To: References: Message-ID: <3AF6CA3D-D40C-40B7-BDB2-F11AD5523BA6@jerris.com> actually, your passing these to originate, ? but your not setting anything on the session doing the originate, ringback should be there, not in params iirc. Possibly instant_ringback as well. We should probably have better docs on which leg vars effect. Mike On Feb 5, 2010, at 2:05 PM, Kevin Snow wrote: > I tried with with and without setting, when I copy/pasted below was the without. It didn?t seem to matter. > > switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ringback", "%(2000, 4000, 440.0, 480.0)"); > > Should I set it differently? Maybe that?s my issue. > > Kevin > > > > > On 2/5/10 10:49 AM, "Michael Jerris" wrote: > >> do you set the ringback var too? >> >> On Feb 5, 2010, at 1:29 PM, Kevin Snow wrote: >> >>> >>> Guys, >>> >>> I?m trying something that is seemingly so simple but isn?t working for me. I want to ignore early media and provide instant ringback. >>> >>> My module is written in C. I?m setting ignore_early_media and instant_ringback to true in a switch_event header and passing it in via the ovars param to switch_ivr_originate. It?s getting the vars ok because I can tell it?s ignoring early media, but there is no ring back to the caller. >>> >>> Are there other flags I need in conjunction with these two to hear ringback? I must be missing something. >>> >>> Here?s a code snippet. >>> >>> >>> switch_event_t* ovars = NULL; >>> switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); >>> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ignore_early_media", "true"); >>> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "instant_ringback", "true"); >>> switch_status_t rc = switch_ivr_originate(session, &sipSession, &cause, data, timelimit, NULL, caller_name, caller_num, NULL, ovars, SOF_NONE); >>> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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/20100205/f279883d/attachment.html From anthony.minessale at gmail.com Fri Feb 5 11:39:28 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Feb 2010 13:39:28 -0600 Subject: [Freeswitch-dev] Using instant_ringback In-Reply-To: References: Message-ID: <191c3a031002051139t5b41898ci9ec9dc95628fd438@mail.gmail.com> you set ringback on session and you set instant_ringback in the ovars On Fri, Feb 5, 2010 at 12:29 PM, Kevin Snow wrote: > > Guys, > > I?m trying something that is seemingly so simple but isn?t working for me. > I want to ignore early media and provide instant ringback. > > My module is written in C. I?m setting ignore_early_media and > instant_ringback to true in a switch_event header and passing it in via the > ovars param to switch_ivr_originate. It?s getting the vars ok because I can > tell it?s ignoring early media, but there is no ring back to the caller. > > Are there other flags I need in conjunction with these two to hear > ringback? I must be missing something. > > Here?s a code snippet. > > > switch_event_t* ovars = NULL; > switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); > switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, > "ignore_early_media", "true"); > switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, > "instant_ringback", "true"); > switch_status_t rc = switch_ivr_originate(session, &sipSession, > &cause, data, timelimit, NULL, caller_name, caller_num, NULL, ovars, > SOF_NONE); > > > Thanks in advance. > > Kevin Snow > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100205/b0b8eb6b/attachment.html From kevin.snow at ooma.com Fri Feb 5 11:45:00 2010 From: kevin.snow at ooma.com (Kevin Snow) Date: Fri, 05 Feb 2010 11:45:00 -0800 Subject: [Freeswitch-dev] Using instant_ringback In-Reply-To: <3AF6CA3D-D40C-40B7-BDB2-F11AD5523BA6@jerris.com> Message-ID: Ahhh....That makes sense and works perfectly. I knew I was missing something. Thanks! Kevin On 2/5/10 11:23 AM, "Michael Jerris" wrote: > actually, your passing these to originate, ? but your not setting anything on > the session doing the originate, ringback should be there, not in params iirc. > Possibly instant_ringback as well. We should probably have better docs on > which leg vars effect. > > Mike > > On Feb 5, 2010, at 2:05 PM, Kevin Snow wrote: > >> I tried with with and without setting, when I copy/pasted below was the >> without. It didn?t seem to matter. >> >> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, "ringback", >> "%(2000, 4000, 440.0, 480.0)"); >> >> Should I set it differently? Maybe that?s my issue. >> >> Kevin >> >> >> >> >> On 2/5/10 10:49 AM, "Michael Jerris" wrote: >> >>> do you set the ringback var too? >>> >>> On Feb 5, 2010, at 1:29 PM, Kevin Snow wrote: >>> >>>> >>>> Guys, >>>> >>>> I?m trying something that is seemingly so simple but isn?t working for me. >>>> I want to ignore early media and provide instant ringback. >>>> >>>> My module is written in C. I?m setting ignore_early_media and >>>> instant_ringback to true in a switch_event header and passing it in via the >>>> ovars param to switch_ivr_originate. It?s getting the vars ok because I can >>>> tell it?s ignoring early media, but there is no ring back to the caller. >>>> >>>> Are there other flags I need in conjunction with these two to hear >>>> ringback? I must be missing something. >>>> >>>> Here?s a code snippet. >>>> >>>> >>>> switch_event_t* ovars = NULL; >>>> switch_event_create(&ovars, SWITCH_EVENT_REQUEST_PARAMS); >>>> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, >>>> "ignore_early_media", "true"); >>>> switch_event_add_header_string(ovars, SWITCH_STACK_BOTTOM, >>>> "instant_ringback", "true"); >>>> switch_status_t rc = switch_ivr_originate(session, &sipSession, >>>> &cause, data, timelimit, NULL, caller_name, caller_num, NULL, ovars, >>>> SOF_NONE); >>>> >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at 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/20100205/63c32f9c/attachment.html From rentmycoder at gmail.com Mon Feb 8 00:33:32 2010 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Mon, 8 Feb 2010 09:33:32 +0100 Subject: [Freeswitch-dev] lua session:playAndGetDigits question Message-ID: <50e456911002080033v4383d58eqe4964751f6896062@mail.gmail.com> Guys, I would like to play a file and stop playing on (0,* or #) but don't stop or restart playing on any other digit. I need to know which digit was pressed... How to achive this in lua? local digits = session:playAndGetDigits(0, 1, 5, 3000, "0*#", wavbasedir .. "f.wav", "", "\*|\#|0"); Is there any DETAILED doc how playAndGetDigits works or do I have to dig into source? Thanks in advance. Freeswitch ROCKS!!! From Suneel.Papineni at mettoni.com Mon Feb 8 04:08:47 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Mon, 8 Feb 2010 12:08:47 -0000 Subject: [Freeswitch-dev] Error in building latest version. Message-ID: <3181A30B8C35AB4AA8577B78DDF46138066F064B@nickel.mettonigroup.com> Hi, I faced some errors while building (Windows build) with the latest version which was released on 08-Feb-2010 04:06. It seems there is a typo error in Switch_core_session.c file at line no:1402 (v = atoll(tag3?txt)). This needs to be as v = atol(tag3?txt). After this change, the build was successful for me. Thanks & Regards Suneel ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100208/353e6070/attachment-0001.html From db at bellette.net Mon Feb 8 00:44:11 2010 From: db at bellette.net (DB) Date: Mon, 8 Feb 2010 18:44:11 +1000 Subject: [Freeswitch-dev] Aborting playing of audio References: <9dc4a1671001271623m1f0108c4seb4c7f0d87d64db7@mail.gmail.com> <191c3a031001271705n656b5737lf00ace2565faa43a@mail.gmail.com> <957f61371001301300k96ab9a5o7239b361cdcc065a@mail.gmail.com> Message-ID: <002801caa89a$e453d650$acfb82f0$@net> I was wondering if there is a way to abort the playback of an audio file on an external event? e.g. if a background thread was used to perform some long running calculation or remote data lookup, once the data was returned, is there a way I can abort the playback of a file currently being played? Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100208/0cc60939/attachment.html From mrene_lists at avgs.ca Mon Feb 8 08:56:08 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 8 Feb 2010 11:56:08 -0500 Subject: [Freeswitch-dev] Aborting playing of audio In-Reply-To: <002f01caa1ff$f2f4c3a0$d8de4ae0$@net> References: <9dc4a1671001271623m1f0108c4seb4c7f0d87d64db7@mail.gmail.com> <191c3a031001271705n656b5737lf00ace2565faa43a@mail.gmail.com> <957f61371001301300k96ab9a5o7239b361cdcc065a@mail.gmail.com> <002f01caa1ff$f2f4c3a0$d8de4ae0$@net> Message-ID: Playback will stop if the channel receives a break signal, you can use the "break" api command, followed by the channel's uuid. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 30-Jan-10, at 5:59 PM, DB wrote: > I was wondering if there is a way to abort the playback of an audio > file on an external event? > > e.g. if a background thread was used to perform some long running > calculation or remote data lookup, once the data was returned, is > there a way I can abort the playback of a file currently being played? > > Thanks > David > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100208/988de3c9/attachment.html From Suneel.Papineni at mettoni.com Mon Feb 8 09:57:37 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Mon, 8 Feb 2010 17:57:37 -0000 Subject: [Freeswitch-dev] Build Issue with FSComm Message-ID: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400 \fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100208/52f78d06/attachment-0001.html From jmesquita at freeswitch.org Mon Feb 8 10:24:33 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Mon, 8 Feb 2010 16:24:33 -0200 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> Message-ID: Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards, Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: > Hi, > > > > I am trying to build FSComm on Windows XP machine (32-bit). Followed the > process shown at http://wiki.freeswitch.org/wiki/FSComm. > > Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as > dependency to FSComm and started building the project. > > While building this has thrown errors during LINKING phase. > > Could some one let me know if I am doing something wrong. > > > > Thanks & Regards > > Suneel > > > > 10>Linking... > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@ > @QAE at PAVPrefDialog@Ui@@@Z > > 10>prefportaudio.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>call.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mainwindow.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall > FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_api_execute at 16 referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_raw_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_name at 4 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_get_header at 8 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_globals at 0 referenced in function "public: > __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject > @@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall > FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_dup at 8 referenced in function "void __cdecl > eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@ > @YAXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_destroy at 0 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_unbind_callback at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_runtime_loop at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init_and_modload at 12 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_bind at 20 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init at 12 referenced in function "protected: virtual void > __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>mainwindow.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_variable at 8 referenced in function "private: void > __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>prefaccounts.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_str at 8 referenced in function "public: struct > switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" > (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_section_string at 4 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_free at 4 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_child at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_event_create_subclass_detailed at 24 referenced in function > "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" > (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) > > 10>prefsofia.obj : error LNK2019: unresolved external symbol > __imp__switch_find_local_ip at 16 referenced in function "public: void > __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) > > 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals > > 10>Build log was saved at > "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" > > 10>FSComm - 34 error(s), 0 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== > > > > > > ************************************************************************* > Please consider the environment before printing this e-mail > ************************************************************************* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. http://www.mettoni.com > > Mettoni Ltd > Registered in England and Wales: 4485956 > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > ************************************************************************* > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100208/db9d1151/attachment.html From mike at jerris.com Mon Feb 8 18:46:31 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 8 Feb 2010 21:46:31 -0500 Subject: [Freeswitch-dev] lua session:playAndGetDigits question In-Reply-To: <50e456911002080033v4383d58eqe4964751f6896062@mail.gmail.com> References: <50e456911002080033v4383d58eqe4964751f6896062@mail.gmail.com> Message-ID: This example should help answer these questions. http://svn.freeswitch.org/svn/freeswitch/trunk/scripts/lua/callback.lua On Feb 8, 2010, at 3:33 AM, rentmycoder rentmycoder wrote: > Guys, > > I would like to play a file and stop playing on (0,* or #) but don't > stop or restart playing on any other digit. I need to know which digit > was pressed... > How to achive this in lua? > > local digits = session:playAndGetDigits(0, 1, 5, 3000, "0*#", > wavbasedir .. "f.wav", "", "\*|\#|0"); > > Is there any DETAILED doc how playAndGetDigits works or do I have to > dig into source? > Thats the best example of returns from the input callback, I think you can also retun "true" to have the file continue uninterrupted. http://wiki.freeswitch.org/wiki/Mod_lua#session:setInputCallback http://wiki.freeswitch.org/wiki/Mod_lua Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100208/cb781453/attachment.html From moises.silva at gmail.com Mon Feb 8 22:33:28 2010 From: moises.silva at gmail.com (Moises Silva) Date: Tue, 9 Feb 2010 01:33:28 -0500 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> Message-ID: Hello Fran?ois, On Fri, Feb 5, 2010 at 11:18 AM, Fran?ois Legal wrote: > > That lead me to think that maybe this is a non implemented feature and > maybe the data in fsk_buffer should be sent somewhere to the card. > > > > Could anybody shed me some light on this. > I am not terribly familiar with the analog code, but ... The fsk buffer seems to be sent when calling send_caller_id(), which is called from ZAP_CHANNEL_STATE_CALLWAITING. In any case, there is not much places where the modulated signal can be sent, everything goes down the file descriptor of the channel via zap_channel_write(). As I said, is done through send_caller_id() -> zap_channel_send_fsk_data() which sets the write function pointer to zchan_fsk_write_sample() and is then called back when calling zap_fsk_modulator_send_all(). May be you should take a look at src/testcid.c to learn about the API usage and src/zap_callerid.c to see the implementation. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/4985b9a5/attachment-0001.html From Suneel.Papineni at mettoni.com Tue Feb 9 02:28:43 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Tue, 9 Feb 2010 10:28:43 -0000 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> Message-ID: <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> Thanks Jo. I downloaded complete freeswitch source again (latest version) and built it. The freeSwitch build was successful. Then I started building FSComm and the build got successful. This has created a "Release" folder which contains FSComm.exe, under "fscomm". When I am trying to run this exe, it is throwing an error as Entry point not found. Could you please let me know how to move forward to resolve this. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jo?o Mesquita Sent: 08 February 2010 18:25 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards, Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/9cb17d0a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 6893 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/9cb17d0a/attachment-0001.png From jeff at jefflenk.com Tue Feb 9 06:43:13 2010 From: jeff at jefflenk.com (Jeff Lenk) Date: Tue, 9 Feb 2010 08:43:13 -0600 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com>, , <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> Message-ID: See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows Date: Tue, 9 Feb 2010 10:28:43 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Thanks Jo. I downloaded complete freeswitch source again (latest version) and built it. The freeSwitch build was successful. Then I started building FSComm and the build got successful. This has created a ?Release? folder which contains FSComm.exe, under ?fscomm?. When I am trying to run this exe, it is throwing an error as Entry point not found. Could you please let me know how to move forward to resolve this. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jo?o Mesquita Sent: 08 February 2010 18:25 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards,Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== *************************************************************************Please consider the environment before printing this e-mail*************************************************************************This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager. http://www.mettoni.com Mettoni LtdRegistered in England and Wales: 44859569400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN************************************************************************* _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* _________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/6135d742/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 6893 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/6135d742/attachment-0001.png From msc at freeswitch.org Tue Feb 9 07:35:52 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Feb 2010 07:35:52 -0800 Subject: [Freeswitch-dev] Last call: buy the devs dinner! Message-ID: <87f2f3b91002090735g1c6c69eby5274f6dfa9127fc5@mail.gmail.com> Hey all, Thanks so much for the donations that have come in already! We appreciate your generosity. The dev team really wants to release 1.0.5 but they're kinda hungry! :) Please hit the PayPal button on the main freeswitch.orgpage to drop a few dollars in the hat. Also, keep in mind that we have the "extended family" of developers all here so it's not just Tony, Mike, and Brian. Let's all pitch in and have a great dinner for them. Thanks! -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/31eaa19d/attachment.html From Suneel.Papineni at mettoni.com Tue Feb 9 07:42:37 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Tue, 9 Feb 2010 15:42:37 -0000 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com>, , <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> Message-ID: <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> Hi Jeff, Thanks for the update. As it is specified, I have copied all the dependency dlls to the Release folder and started exe. Well, It started and opened the FSComm window. For configuring accounts, I went to preferences window and tried to add an account. No window/tab is displayed after pressing ADD button. When I check back the file structure, once FSComm.exe is started, it has created folders (grammar, mod, recordings, sounds). I think it is missing "conf" folder which intern should have "Accounts" folder with respective sample xml files. Also mod folder which was created doesn't have any module xml files. (This is in comparison with the windows pre-build binary). Also after closing the FSComm window, the application is not removed from System Tray. When the icon is clicked which is present in system tray, it doesn't do anything. Also the respective FSComm.exe process is running in task manager. So only option to close the application is End this process in Task Manager. If you can give me some hint where I need to look for these or I will try to change or correct myself. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: 09 February 2010 14:43 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows ________________________________ Date: Tue, 9 Feb 2010 10:28:43 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Thanks Jo. I downloaded complete freeswitch source again (latest version) and built it. The freeSwitch build was successful. Then I started building FSComm and the build got successful. This has created a "Release" folder which contains FSComm.exe, under "fscomm". When I am trying to run this exe, it is throwing an error as Entry point not found. Could you please let me know how to move forward to resolve this. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jo?o Mesquita Sent: 08 February 2010 18:25 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards, Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* ________________________________ Hotmail: Free, trusted and rich email service. Get it now. ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/79657f87/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 6893 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100209/79657f87/attachment-0001.png From pawel at voiceworks.pl Wed Feb 10 01:39:35 2010 From: pawel at voiceworks.pl (=?utf-8?Q?Pawe=C5=82_Pier=C5=9Bcionek?=) Date: Wed, 10 Feb 2010 10:39:35 +0100 Subject: [Freeswitch-dev] Dictionary update Message-ID: Hi, Where can I send dictionary.patton update ? - patches at freeradius.org does not exist. Pawe? Pier?cionek, Voice Works Sp. z o.o. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/e13f8925/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3819 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/e13f8925/attachment.bin From pawel at voiceworks.pl Wed Feb 10 01:59:24 2010 From: pawel at voiceworks.pl (=?utf-8?Q?Pawe=C5=82_Pier=C5=9Bcionek?=) Date: Wed, 10 Feb 2010 10:59:24 +0100 Subject: [Freeswitch-dev] Dictionary update In-Reply-To: References: Message-ID: On 2010-02-10, at 10:39, Pawe? Pier?cionek wrote: > Hi, > > Where can I send dictionary.patton update ? - patches at freeradius.org does not exist. > wrong list :) sorry. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/e09299fd/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3819 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/e09299fd/attachment.bin From jeff at jefflenk.com Wed Feb 10 09:16:32 2010 From: jeff at jefflenk.com (Jeff Lenk) Date: Wed, 10 Feb 2010 11:16:32 -0600 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com>, , , , <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com>, , <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> Message-ID: The dependencies list was missing a few items please check them again. The mod folder must also be populated with the needed dlls - just copy the folder from freeswitch\debug\mod or release to fscomm These changes should get you running Jeff Date: Tue, 9 Feb 2010 15:42:37 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Hi Jeff, Thanks for the update. As it is specified, I have copied all the dependency dlls to the Release folder and started exe. Well, It started and opened the FSComm window. For configuring accounts, I went to preferences window and tried to add an account. No window/tab is displayed after pressing ADD button. When I check back the file structure, once FSComm.exe is started, it has created folders (grammar, mod, recordings, sounds). I think it is missing ?conf? folder which intern should have ?Accounts? folder with respective sample xml files. Also mod folder which was created doesn?t have any module xml files. (This is in comparison with the windows pre-build binary). Also after closing the FSComm window, the application is not removed from System Tray. When the icon is clicked which is present in system tray, it doesn?t do anything. Also the respective FSComm.exe process is running in task manager. So only option to close the application is End this process in Task Manager. If you can give me some hint where I need to look for these or I will try to change or correct myself. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: 09 February 2010 14:43 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows Date: Tue, 9 Feb 2010 10:28:43 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Thanks Jo. I downloaded complete freeswitch source again (latest version) and built it. The freeSwitch build was successful. Then I started building FSComm and the build got successful. This has created a ?Release? folder which contains FSComm.exe, under ?fscomm?. When I am trying to run this exe, it is throwing an error as Entry point not found. Could you please let me know how to move forward to resolve this. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jo?o Mesquita Sent: 08 February 2010 18:25 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards,Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== *************************************************************************Please consider the environment before printing this e-mail*************************************************************************This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager. http://www.mettoni.com Mettoni LtdRegistered in England and Wales: 44859569400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN************************************************************************* _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org *************************************************************************Please consider the environment before printing this e-mail*************************************************************************This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager. http://www.mettoni.com Mettoni LtdRegistered in England and Wales: 44859569400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN************************************************************************* Hotmail: Free, trusted and rich email service. Get it now.************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* _________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/32a04cab/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 6893 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/32a04cab/attachment-0001.png From spiritonly at gmail.com Tue Feb 9 19:31:15 2010 From: spiritonly at gmail.com (=?UTF-8?B?5p2o5rGf6aqF?=) Date: Wed, 10 Feb 2010 11:31:15 +0800 Subject: [Freeswitch-dev] Fwd: How to exchange media when I developed new endpoint module? In-Reply-To: <93b0f8ce1002091914q581f12fvd1de01e2181f0f3a@mail.gmail.com> References: <93b0f8ce1002091914q581f12fvd1de01e2181f0f3a@mail.gmail.com> Message-ID: <93b0f8ce1002091931n44bebc2dt4141c6b092a33813@mail.gmail.com> Hi, I am developping a new endpoint module, now I can make an inbound call and execute IVR. When I make an outbound call and bridge the inbound leg and outbound leg, I receive remote alerting and pickup remote phone but there isn't any voice exchange. So how to exchange media next? ---------------------------------------------------------------------- gtalk: spiritonly at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/c45cf494/attachment.html From vicentini.paulo at gmail.com Wed Feb 10 12:36:44 2010 From: vicentini.paulo at gmail.com (Paulo Vicentini) Date: Wed, 10 Feb 2010 18:36:44 -0200 Subject: [Freeswitch-dev] Static module Message-ID: <4b9599931002101236u406508eco64850b90783e2a35@mail.gmail.com> Hello, Is it possible to build a module (e.g mod_sofia ) statically and link it with FreeSwitch.dll / libfreeswitch.a ? switch_loadable_module_load_file always tries to get module struct first from libfreeswitch and after that, if not found, it tries the module itself ... ... dso = switch_dso_open("FreeSwitch.dll", load_global, &derr); ... ... ... ... if (!interface_struct_handle) { dso = switch_dso_open(path, load_global, &derr); } ... ... ... ... if (!interface_struct_handle) { interface_struct_handle = switch_dso_data_sym(dso, struct_name, &derr); } What about SWITCH_MOD_DECLARE_STATIC? Thanks Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/4918756f/attachment.html From anthony.minessale at gmail.com Wed Feb 10 13:02:40 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Feb 2010 15:02:40 -0600 Subject: [Freeswitch-dev] Static module In-Reply-To: <4b9599931002101236u406508eco64850b90783e2a35@mail.gmail.com> References: <4b9599931002101236u406508eco64850b90783e2a35@mail.gmail.com> Message-ID: <191c3a031002101302rca8d4b6ra8bbb96ae599d69a@mail.gmail.com> its possible but it would require build system work to generate some code and to change the list of files. see switch_pcm.c On Wed, Feb 10, 2010 at 2:36 PM, Paulo Vicentini wrote: > Hello, > > Is it possible to build a module (e.g mod_sofia ) statically and link it > with FreeSwitch.dll / libfreeswitch.a ? > > switch_loadable_module_load_file always tries to get module struct first > from libfreeswitch and after that, if not found, it tries the module > itself > > ... ... > dso = switch_dso_open("FreeSwitch.dll", load_global, &derr); > ... ... > ... ... > if (!interface_struct_handle) { > dso = switch_dso_open(path, load_global, &derr); > } > ... ... > ... ... > if (!interface_struct_handle) { > interface_struct_handle = switch_dso_data_sym(dso, struct_name, &derr); > } > > > What about SWITCH_MOD_DECLARE_STATIC? > > Thanks > > Paulo > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/001fe9ab/attachment.html From msc at freeswitch.org Wed Feb 10 21:18:42 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Feb 2010 21:18:42 -0800 Subject: [Freeswitch-dev] Interesting article on OSS telephony Message-ID: <87f2f3b91002102118x27df10c4qc7fc8d1fad2b7b92@mail.gmail.com> Check out the article on TMCnet.com, linked-to here: http://www.freeswitch.org/node/238 -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100210/e3c9608b/attachment.html From Suneel.Papineni at mettoni.com Thu Feb 11 10:09:05 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Thu, 11 Feb 2010 18:09:05 -0000 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com>, , , , <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com>, , <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> Message-ID: <3181A30B8C35AB4AA8577B78DDF46138066F113D@nickel.mettonigroup.com> Hi Jeff / Jo, Yes, you are correct. I have copies all required directories and dlls, then application started and running. I tried to configure to register to Freeswitch. Registration is successful and I am able to see REGISTER messages flowing to Freeswitch and at wireshark traces at the client's (FSComm) system. Now I am trying to make a call from one FSComm to another, but this is giving me problem. On the FSComm screen, it displays as destination number Dialing, but nothing happens for sometime and displays as "Error Destination Not Reachable". When I checked for the traces in wireshark, I didn't see any INVITE message going from FSComm system. Could you please let me know if I need to configure something to initiate and make a call. I tried to see if logging works. I have configured log.con.xml (which is present in freeswitch.xml) with log file path. Also I have created a directory "log", but no logs are appearing in the specified path. Please let me know if I might have missed something to make calling work. FYI, I have tested with pre-build windows binary files as well. It is giving same problem. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: 10 February 2010 17:17 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm The dependencies list was missing a few items please check them again. The mod folder must also be populated with the needed dlls - just copy the folder from freeswitch\debug\mod or release to fscomm These changes should get you running Jeff ________________________________ Date: Tue, 9 Feb 2010 15:42:37 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Hi Jeff, Thanks for the update. As it is specified, I have copied all the dependency dlls to the Release folder and started exe. Well, It started and opened the FSComm window. For configuring accounts, I went to preferences window and tried to add an account. No window/tab is displayed after pressing ADD button. When I check back the file structure, once FSComm.exe is started, it has created folders (grammar, mod, recordings, sounds). I think it is missing "conf" folder which intern should have "Accounts" folder with respective sample xml files. Also mod folder which was created doesn't have any module xml files. (This is in comparison with the windows pre-build binary). Also after closing the FSComm window, the application is not removed from System Tray. When the icon is clicked which is present in system tray, it doesn't do anything. Also the respective FSComm.exe process is running in task manager. So only option to close the application is End this process in Task Manager. If you can give me some hint where I need to look for these or I will try to change or correct myself. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: 09 February 2010 14:43 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows ________________________________ Date: Tue, 9 Feb 2010 10:28:43 +0000 From: Suneel.Papineni at mettoni.com To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Thanks Jo. I downloaded complete freeswitch source again (latest version) and built it. The freeSwitch build was successful. Then I started building FSComm and the build got successful. This has created a "Release" folder which contains FSComm.exe, under "fscomm". When I am trying to run this exe, it is throwing an error as Entry point not found. Could you please let me know how to move forward to resolve this. Thanks & Regards Suneel From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jo?o Mesquita Sent: 08 February 2010 18:25 To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] Build Issue with FSComm Have you compiled FreeSWTICH first? I don't think we build it with the current VSProj... Regards, Jo?o Mesquita FSComm Developer On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni wrote: Hi, I am trying to build FSComm on Windows XP machine (32-bit). Followed the process shown at http://wiki.freeswitch.org/wiki/FSComm. Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as dependency to FSComm and started building the project. While building this has thrown errors during LINKING phase. Could some one let me know if I am doing something wrong. Thanks & Regards Suneel 10>Linking... 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@@QAE at PAVPrefDialog@Ui@@@Z 10>prefportaudio.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>call.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mainwindow.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_log_printf 10>fshost.obj : error LNK2019: unresolved external symbol __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_api_execute at 16 referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_raw_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_console_stream_write referenced in function "public: enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_name at 4 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_get_header at 8 referenced in function "private: void __thiscall FSHost::printEventHeaders(struct switch_event *)" (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_globals at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_dup at 8 referenced in function "void __cdecl eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@@YAXPAUswitch_event@@@Z) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_destroy at 0 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_unbind_callback at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init_and_modload at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_event_bind at 20 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>fshost.obj : error LNK2019: unresolved external symbol __imp__switch_core_init at 12 referenced in function "protected: virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) 10>mainwindow.obj : error LNK2019: unresolved external symbol __imp__switch_core_set_variable at 8 referenced in function "private: void __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) 10>mod_qsettings.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>prefaccounts.obj : error LNK2001: unresolved external symbol __imp__switch_core_set_variable at 8 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_str at 8 referenced in function "public: struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_parse_section_string at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_free at 4 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_child at 8 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>mod_qsettings.obj : error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) 10>prefaccounts.obj : error LNK2019: unresolved external symbol __imp__switch_event_create_subclass_detailed at 24 referenced in function "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) 10>prefsofia.obj : error LNK2019: unresolved external symbol __imp__switch_find_local_ip at 16 referenced in function "public: void __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals 10>Build log was saved at "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" 10>FSComm - 34 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* ________________________________ Hotmail: Free, trusted and rich email service. Get it now. ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* ________________________________ Hotmail: Free, trusted and rich email service. Get it now. ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100211/80c0e6a6/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 6893 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100211/80c0e6a6/attachment-0001.png From jmesquita at freeswitch.org Thu Feb 11 19:56:31 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Fri, 12 Feb 2010 01:56:31 -0200 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138066F113D@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F113D@nickel.mettonigroup.com> Message-ID: Are you saying that there is no log file on the .fscomm dir? I have tried this with both versions you mentioned and it works fine for me. Can you open a Jira and add all detailed information you can? Regards, Jo?o Mesquita FSComm Developer On Thu, Feb 11, 2010 at 4:09 PM, Suneel Papineni < Suneel.Papineni at mettoni.com> wrote: > Hi Jeff / Jo, > > > > Yes, you are correct. I have copies all required directories and dlls, then > application started and running. > > > > I tried to configure to register to Freeswitch. Registration is successful > and I am able to see REGISTER messages flowing to Freeswitch and at > wireshark traces at the client?s (FSComm) system. Now I am trying to make a > call from one FSComm to another, but this is giving me problem. On the > FSComm screen, it displays as destination number Dialing, but nothing > happens for sometime and displays as ?Error Destination Not Reachable?. When > I checked for the traces in wireshark, I didn?t see any INVITE message going > from FSComm system. > > > > Could you please let me know if I need to configure something to initiate > and make a call. > > > > I tried to see if logging works. I have configured log.con.xml (which is > present in freeswitch.xml) with log file path. Also I have created a > directory ?log?, but no logs are appearing in the specified path. > > > > Please let me know if I might have missed something to make calling work. > > > > FYI, I have tested with pre-build windows binary files as well. It is > giving same problem. > > > > Thanks & Regards > > Suneel > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jeff Lenk > *Sent:* 10 February 2010 17:17 > > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > The dependencies list was missing a few items please check them again. > The mod folder must also be populated with the needed dlls - just copy the > folder from freeswitch\debug\mod or release to fscomm > > These changes should get you running > > Jeff > ------------------------------ > > Date: Tue, 9 Feb 2010 15:42:37 +0000 > From: Suneel.Papineni at mettoni.com > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Build Issue with FSComm > > Hi Jeff, > > > > Thanks for the update. As it is specified, I have copied all the dependency > dlls to the Release folder and started exe. Well, It started and opened the > FSComm window. > > For configuring accounts, I went to preferences window and tried to add an > account. No window/tab is displayed after pressing ADD button. > > When I check back the file structure, once FSComm.exe is started, it has > created folders (grammar, mod, recordings, sounds). I think it is missing > ?conf? folder which intern should have ?Accounts? folder with respective > sample xml files. Also mod folder which was created doesn?t have any module > xml files. (This is in comparison with the windows pre-build binary). > > > > Also after closing the FSComm window, the application is not removed from > System Tray. When the icon is clicked which is present in system tray, it > doesn?t do anything. Also the respective FSComm.exe process is running in > task manager. So only option to close the application is End this process in > Task Manager. > > > > If you can give me some hint where I need to look for these or I will try > to change or correct myself. > > > > Thanks & Regards > > Suneel > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jeff Lenk > *Sent:* 09 February 2010 14:43 > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows > > ------------------------------ > > Date: Tue, 9 Feb 2010 10:28:43 +0000 > From: Suneel.Papineni at mettoni.com > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Build Issue with FSComm > > Thanks Jo. I downloaded complete freeswitch source again (latest version) > and built it. The freeSwitch build was successful. Then I started building > FSComm and the build got successful. > > > > This has created a ?Release? folder which contains FSComm.exe, under > ?fscomm?. When I am trying to run this exe, it is throwing an error as Entry > point not found. > > > > > > Could you please let me know how to move forward to resolve this. > > > > Thanks & Regards > > Suneel > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jo?o Mesquita > *Sent:* 08 February 2010 18:25 > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > Have you compiled FreeSWTICH first? I don't think we build it with the > current VSProj... > > > > Regards, > Jo?o Mesquita > FSComm Developer > > On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni < > Suneel.Papineni at mettoni.com> wrote: > > Hi, > > > > I am trying to build FSComm on Windows XP machine (32-bit). Followed the > process shown at http://wiki.freeswitch.org/wiki/FSComm. > > Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as > dependency to FSComm and started building the project. > > While building this has thrown errors during LINKING phase. > > Could some one let me know if I am doing something wrong. > > > > Thanks & Regards > > Suneel > > > > 10>Linking... > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@ > @QAE at PAVPrefDialog@Ui@@@Z > > 10>prefportaudio.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>call.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mainwindow.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall > FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_api_execute at 16 referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_raw_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_name at 4 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_get_header at 8 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_globals at 0 referenced in function "public: > __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject > @@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall > FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_dup at 8 referenced in function "void __cdecl > eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@ > @YAXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_destroy at 0 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_unbind_callback at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_runtime_loop at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init_and_modload at 12 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_bind at 20 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init at 12 referenced in function "protected: virtual void > __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>mainwindow.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_variable at 8 referenced in function "private: void > __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>prefaccounts.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_str at 8 referenced in function "public: struct > switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" > (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_section_string at 4 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_free at 4 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_child at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_event_create_subclass_detailed at 24 referenced in function > "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" > (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) > > 10>prefsofia.obj : error LNK2019: unresolved external symbol > __imp__switch_find_local_ip at 16 referenced in function "public: void > __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) > > 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals > > 10>Build log was saved at > "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" > > 10>FSComm - 34 error(s), 0 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== > > > > > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > ------------------------------ > > Hotmail: Free, trusted and rich email service. Get it now. > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > ------------------------------ > > Hotmail: Free, trusted and rich email service. Get it now. > > ************************************************************************* > Please consider the environment before printing this e-mail > ************************************************************************* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. http://www.mettoni.com > > Mettoni Ltd > Registered in England and Wales: 4485956 > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > ************************************************************************* > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100212/1571e7a3/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 6893 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100212/1571e7a3/attachment-0001.png From carlos.talbot at gmail.com Thu Feb 11 21:25:43 2010 From: carlos.talbot at gmail.com (Carlos Talbot) Date: Thu, 11 Feb 2010 23:25:43 -0600 Subject: [Freeswitch-dev] Build Issue with FSComm In-Reply-To: <3181A30B8C35AB4AA8577B78DDF46138066F113D@nickel.mettonigroup.com> References: <3181A30B8C35AB4AA8577B78DDF46138066F0869@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F095C@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F0AC8@nickel.mettonigroup.com> <3181A30B8C35AB4AA8577B78DDF46138066F113D@nickel.mettonigroup.com> Message-ID: <5800526b1002112125r5e3a04f0j9770331b436261@mail.gmail.com> Have you tried the prebuilt binary build of FSComm? You have to ensure all the necessary mod_ files are copied over (including mod_logfile.dll). Have a look the iss file I've built details all the required files: http://fisheye.freeswitch.org/browse/~raw,r=16591/FreeSWITCH/w32/Setup/inno_setup/fscomm.iss regards, Carlos On Thu, Feb 11, 2010 at 12:09 PM, Suneel Papineni < Suneel.Papineni at mettoni.com> wrote: > Hi Jeff / Jo, > > > > Yes, you are correct. I have copies all required directories and dlls, then > application started and running. > > > > I tried to configure to register to Freeswitch. Registration is successful > and I am able to see REGISTER messages flowing to Freeswitch and at > wireshark traces at the client?s (FSComm) system. Now I am trying to make a > call from one FSComm to another, but this is giving me problem. On the > FSComm screen, it displays as destination number Dialing, but nothing > happens for sometime and displays as ?Error Destination Not Reachable?. When > I checked for the traces in wireshark, I didn?t see any INVITE message going > from FSComm system. > > > > Could you please let me know if I need to configure something to initiate > and make a call. > > > > I tried to see if logging works. I have configured log.con.xml (which is > present in freeswitch.xml) with log file path. Also I have created a > directory ?log?, but no logs are appearing in the specified path. > > > > Please let me know if I might have missed something to make calling work. > > > > FYI, I have tested with pre-build windows binary files as well. It is > giving same problem. > > > > Thanks & Regards > > Suneel > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jeff Lenk > *Sent:* 10 February 2010 17:17 > > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > The dependencies list was missing a few items please check them again. > The mod folder must also be populated with the needed dlls - just copy the > folder from freeswitch\debug\mod or release to fscomm > > These changes should get you running > > Jeff > ------------------------------ > > Date: Tue, 9 Feb 2010 15:42:37 +0000 > From: Suneel.Papineni at mettoni.com > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Build Issue with FSComm > > Hi Jeff, > > > > Thanks for the update. As it is specified, I have copied all the dependency > dlls to the Release folder and started exe. Well, It started and opened the > FSComm window. > > For configuring accounts, I went to preferences window and tried to add an > account. No window/tab is displayed after pressing ADD button. > > When I check back the file structure, once FSComm.exe is started, it has > created folders (grammar, mod, recordings, sounds). I think it is missing > ?conf? folder which intern should have ?Accounts? folder with respective > sample xml files. Also mod folder which was created doesn?t have any module > xml files. (This is in comparison with the windows pre-build binary). > > > > Also after closing the FSComm window, the application is not removed from > System Tray. When the icon is clicked which is present in system tray, it > doesn?t do anything. Also the respective FSComm.exe process is running in > task manager. So only option to close the application is End this process in > Task Manager. > > > > If you can give me some hint where I need to look for these or I will try > to change or correct myself. > > > > Thanks & Regards > > Suneel > > > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jeff Lenk > *Sent:* 09 February 2010 14:43 > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > See the dependencies at http://wiki.freeswitch.org/wiki/FSComm#Windows > > ------------------------------ > > Date: Tue, 9 Feb 2010 10:28:43 +0000 > From: Suneel.Papineni at mettoni.com > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] Build Issue with FSComm > > Thanks Jo. I downloaded complete freeswitch source again (latest version) > and built it. The freeSwitch build was successful. Then I started building > FSComm and the build got successful. > > > > This has created a ?Release? folder which contains FSComm.exe, under > ?fscomm?. When I am trying to run this exe, it is throwing an error as Entry > point not found. > > > > > > Could you please let me know how to move forward to resolve this. > > > > Thanks & Regards > > Suneel > > > > *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Jo?o Mesquita > *Sent:* 08 February 2010 18:25 > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* Re: [Freeswitch-dev] Build Issue with FSComm > > > > Have you compiled FreeSWTICH first? I don't think we build it with the > current VSProj... > > > > Regards, > Jo?o Mesquita > FSComm Developer > > On Mon, Feb 8, 2010 at 3:57 PM, Suneel Papineni < > Suneel.Papineni at mettoni.com> wrote: > > Hi, > > > > I am trying to build FSComm on Windows XP machine (32-bit). Followed the > process shown at http://wiki.freeswitch.org/wiki/FSComm. > > Installed QT. Downloaded latest FSComm source. Added FreeswitchCoreLib as > dependency to FSComm and started building the project. > > While building this has thrown errors during LINKING phase. > > Could some one let me know if I am doing something wrong. > > > > Thanks & Regards > > Suneel > > > > 10>Linking... > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_log_printf referenced in function __ehhandler$??0PrefAccounts@ > @QAE at PAVPrefDialog@Ui@@@Z > > 10>prefportaudio.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>call.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mainwindow.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_log_printf > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__SWITCH_GLOBAL_dirs referenced in function "private: void __thiscall > FSHost::createFolders(void)" (?createFolders at FSHost@@AAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_api_execute at 16 referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_raw_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_console_stream_write referenced in function "public: enum > switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class > QString *)" (?sendCmd at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_name at 4 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_get_header at 8 referenced in function "private: void > __thiscall FSHost::printEventHeaders(struct switch_event *)" > (?printEventHeaders at FSHost@@AAEXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_globals at 0 referenced in function "public: > __thiscall FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject > @@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall > FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_dup at 8 referenced in function "void __cdecl > eventHandlerCallback(struct switch_event *)" (?eventHandlerCallback@ > @YAXPAUswitch_event@@@Z) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_destroy at 0 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_unbind_callback at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_runtime_loop at 4 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init_and_modload at 12 referenced in function "protected: > virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_event_bind at 20 referenced in function "protected: virtual > void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>fshost.obj : error LNK2019: unresolved external symbol > __imp__switch_core_init at 12 referenced in function "protected: virtual void > __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ) > > 10>mainwindow.obj : error LNK2019: unresolved external symbol > __imp__switch_core_set_variable at 8 referenced in function "private: void > __thiscall MainWindow::makeCall(void)" (?makeCall at MainWindow@@AAEXXZ) > > 10>mod_qsettings.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>prefaccounts.obj : error LNK2001: unresolved external symbol > __imp__switch_core_set_variable at 8 > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_str at 8 referenced in function "public: struct > switch_xml * __thiscall XMLBinding::getConfigXML(class QString)" > (?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_bind_search_function_ret at 16 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_parse_section_string at 4 referenced in function "enum > switch_status_t __cdecl do_config(void)" (?do_config@ > @YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_attr_soft at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_free at 4 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_child at 8 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>mod_qsettings.obj : error LNK2019: unresolved external symbol > __imp__switch_xml_open_cfg at 12 referenced in function "enum switch_status_t > __cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) > > 10>prefaccounts.obj : error LNK2019: unresolved external symbol > __imp__switch_event_create_subclass_detailed at 24 referenced in function > "private: void __thiscall PrefAccounts::remAccountBtnClicked(void)" > (?remAccountBtnClicked at PrefAccounts@@AAEXXZ) > > 10>prefsofia.obj : error LNK2019: unresolved external symbol > __imp__switch_find_local_ip at 16 referenced in function "public: void > __thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ) > > 10>release\FSComm.exe : fatal error LNK1120: 26 unresolved externals > > 10>Build log was saved at > "file://d:\FS\freeswitch-1.0.5-latest0802\freeswitch-1.0.5-20100208-0400\fscomm\release\BuildLog.htm" > > 10>FSComm - 34 error(s), 0 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 9 skipped ========== > > > > > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > ------------------------------ > > Hotmail: Free, trusted and rich email service. Get it now. > > ************************************************************************* > > Please consider the environment before printing this e-mail > > ************************************************************************* > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. http://www.mettoni.com > > > > Mettoni Ltd > > Registered in England and Wales: 4485956 > > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > > ************************************************************************* > > > ------------------------------ > > Hotmail: Free, trusted and rich email service. Get it now. > > ************************************************************************* > Please consider the environment before printing this e-mail > ************************************************************************* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. http://www.mettoni.com > > Mettoni Ltd > Registered in England and Wales: 4485956 > 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN > ************************************************************************* > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100211/080c811b/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 6893 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100211/080c811b/attachment-0001.png From mbrancaleoni at voismart.it Sat Feb 13 03:57:22 2010 From: mbrancaleoni at voismart.it (Matteo) Date: Sat, 13 Feb 2010 12:57:22 +0100 (CET) Subject: [Freeswitch-dev] hint on adding semi-dynamic support on mod_xml_curl Message-ID: <196353832.189.1266062242154.JavaMail.root@mx.voismart.com> Hi, I'm thinking to add support for a semi-dynamic way of working to mod_xml_curl. The idea is very simple: instead of asking everytime what to do (fully dynamic), implement a way of working were the dialplan is fetched from http but then kept in memory, as a flat file is. then when reloadxml is issued, it will request again from http the new diaplan. any hint on where to start looking? of course I'll share that! regards, matteo. From brian at freeswitch.org Sat Feb 13 07:10:20 2010 From: brian at freeswitch.org (Brian West) Date: Sat, 13 Feb 2010 09:10:20 -0600 Subject: [Freeswitch-dev] hint on adding semi-dynamic support on mod_xml_curl In-Reply-To: <196353832.189.1266062242154.JavaMail.root@mx.voismart.com> References: <196353832.189.1266062242154.JavaMail.root@mx.voismart.com> Message-ID: That isn't the point of XML_CURL if you're doing this just write out the configs on disk. /b On Feb 13, 2010, at 5:57 AM, Matteo wrote: > any hint on where to start looking? From anthony.minessale at gmail.com Sat Feb 13 07:25:11 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 13 Feb 2010 09:25:11 -0600 Subject: [Freeswitch-dev] hint on adding semi-dynamic support on mod_xml_curl In-Reply-To: References: <196353832.189.1266062242154.JavaMail.root@mx.voismart.com> Message-ID: <191c3a031002130725u45f6bb21h129e8bfaadd4c786@mail.gmail.com> Its very complicated to properly cache entries and will require a very difficult hashing process. On Feb 13, 2010 9:16 AM, "Brian West" wrote: That isn't the point of XML_CURL if you're doing this just write out the configs on disk. /b On Feb 13, 2010, at 5:57 AM, Matteo wrote: > any hint on where to start looking? _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.fre... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100213/bc39b174/attachment.html From mbrancaleoni at voismart.it Sat Feb 13 09:16:01 2010 From: mbrancaleoni at voismart.it (Matteo) Date: Sat, 13 Feb 2010 18:16:01 +0100 (CET) Subject: [Freeswitch-dev] hint on adding semi-dynamic support on mod_xml_curl In-Reply-To: Message-ID: <1269410838.200.1266081361761.JavaMail.root@mx.voismart.com> Hi, ----- "Brian West" ha scritto: > That isn't the point of XML_CURL if you're doing this just write out > the configs on disk. sure, maybe xml_curl is not the right place. But basically is the same thing as you say, just trying to avoid having another agent which fetches configs, writes and issue a reload by embedding that into fs. if makes sense, of course. mat From gmaruzz at celliax.org Sat Feb 13 19:35:01 2010 From: gmaruzz at celliax.org (Giovanni Maruzzelli) Date: Sun, 14 Feb 2010 04:35:01 +0100 Subject: [Freeswitch-dev] mod_skypiax (skype endpoint) new timing Message-ID: <7b197bef1002131935j3fdf80c4w4050f10bea105d49@mail.gmail.com> Hello FreeSWITCHers, I've just committed on svn16640 new timing for mod_skypiax, and I would like if you guys give it a test in the various use cases. ciao for now, -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From vicentini.paulo at gmail.com Mon Feb 15 09:35:48 2010 From: vicentini.paulo at gmail.com (Paulo Vicentini) Date: Mon, 15 Feb 2010 15:35:48 -0200 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite Message-ID: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> Hello, Does FS support use of sqlite3_open(":memory:", ppDb) so that database is created purely in memory? Thank you Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100215/efedfc9b/attachment.html From mike at jerris.com Mon Feb 15 12:22:51 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 15 Feb 2010 15:22:51 -0500 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> Message-ID: <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> no Mike On Feb 15, 2010, at 12:35 PM, Paulo Vicentini wrote: > Hello, > Does FS support use of sqlite3_open(":memory:", ppDb) so that database is created purely in memory? From vicentini.paulo at gmail.com Mon Feb 15 13:41:40 2010 From: vicentini.paulo at gmail.com (Paulo Vicentini) Date: Mon, 15 Feb 2010 19:41:40 -0200 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> Message-ID: <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> I will try to enable such feature in core.db ( I want to use just RAM core.db and to disable all other databases) If I use FS exclusively as a SIP gateway ( no registrar ) I think I can "disable" the use of such sofia tables (Does it make sense? ) : .tables sip_authentication sip_shared_appearance_dialogs sip_dialogs sip_shared_appearance_subscriptions sip_presence sip_subscriptions sip_registrations Thank you Paulo On Mon, Feb 15, 2010 at 6:22 PM, Michael Jerris wrote: > no > > Mike > > On Feb 15, 2010, at 12:35 PM, Paulo Vicentini wrote: > > > Hello, > > Does FS support use of sqlite3_open(":memory:", ppDb) so that database > is created purely in memory? > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100215/198dd1c2/attachment.html From mrene_lists at avgs.ca Mon Feb 15 13:44:37 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 15 Feb 2010 16:44:37 -0500 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> Message-ID: <7A037983-D012-4991-8F46-0DF95F9EEF38@avgs.ca> Use a ramdisk. The core will open the db multiple times so you would end up with many instances not linked to each other. If sofia uses it, it needs it, or else it would've been an optional configuration option. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 15-Feb-10, at 4:41 PM, Paulo Vicentini wrote: > I will try to enable such feature in core.db ( I want to use just > RAM core.db and to disable all other databases) > If I use FS exclusively as a SIP gateway ( no registrar ) I think I > can "disable" the use of such sofia tables (Does it make sense? ) : > > .tables > sip_authentication sip_shared_appearance_dialogs > sip_dialogs sip_shared_appearance_subscriptions > sip_presence sip_subscriptions > sip_registrations > > Thank you > Paulo > > On Mon, Feb 15, 2010 at 6:22 PM, Michael Jerris > wrote: > no > > Mike > > On Feb 15, 2010, at 12:35 PM, Paulo Vicentini wrote: > > > Hello, > > Does FS support use of sqlite3_open(":memory:", ppDb) so that > database is created purely in memory? > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100215/7c97267c/attachment.html From brian at freeswitch.org Mon Feb 15 13:45:41 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 15 Feb 2010 15:45:41 -0600 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> Message-ID: How hard are you hitting this box to kill it because your data base ? What distro are you on? Some versions of the linux kernel slow SQLITE down by 400-1000% depending on the kernel rev. /b On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: > I will try to enable such feature in core.db ( I want to use just RAM core.db and to disable all other databases) > If I use FS exclusively as a SIP gateway ( no registrar ) I think I can "disable" the use of such sofia tables (Does it make sense? ) : > > .tables > sip_authentication sip_shared_appearance_dialogs > sip_dialogs sip_shared_appearance_subscriptions > sip_presence sip_subscriptions > sip_registrations > > Thank you > Paulo From devel at thom.fr.eu.org Mon Feb 15 14:40:38 2010 From: devel at thom.fr.eu.org (devel at thom.fr.eu.org) Date: Mon, 15 Feb 2010 23:40:38 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> Message-ID: <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> Hello, I?m very happy to announce I could finally get this to work. So far I only have a very dirty patch so I?ll try to arrange this a little bit, then I?ll post it to the list. Does anybody have an idea on how to make the CID feature configurable (for the different standards used BELL/V23) ? Fran?ois De : freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] De la part de Moises Silva Envoy? : mardi 9 f?vrier 2010 07:33 ? : freeswitch-dev at lists.freeswitch.org Objet : Re: [Freeswitch-dev] Openzap and CLIP Hello Fran?ois, On Fri, Feb 5, 2010 at 11:18 AM, Fran?ois Legal wrote: That lead me to think that maybe this is a non implemented feature and maybe the data in fsk_buffer should be sent somewhere to the card. Could anybody shed me some light on this. I am not terribly familiar with the analog code, but ... The fsk buffer seems to be sent when calling send_caller_id(), which is called from ZAP_CHANNEL_STATE_CALLWAITING. In any case, there is not much places where the modulated signal can be sent, everything goes down the file descriptor of the channel via zap_channel_write(). As I said, is done through send_caller_id() -> zap_channel_send_fsk_data() which sets the write function pointer to zchan_fsk_write_sample() and is then called back when calling zap_fsk_modulator_send_all(). May be you should take a look at src/testcid.c to learn about the API usage and src/zap_callerid.c to see the implementation. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100215/b22fa5a4/attachment.html From vicentini.paulo at gmail.com Tue Feb 16 15:04:06 2010 From: vicentini.paulo at gmail.com (Paulo Vicentini) Date: Tue, 16 Feb 2010 21:04:06 -0200 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> Message-ID: <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> Hello, "The core will open the db multiple times so you would end up with many instances not linked to each other." I think it might work with just one core.db handle, right? "If sofia uses it, it needs it, or else it would've been an optional configuration option." As I can see until now, if mod_sofia were used just as a gateway (that is my aim) it would be able to bypass sip related tables/code and it might have a compile option for that scenario as well... "How hard are you hitting this box to kill it because your data base ? What distro are you on?" I intend to use my hacked FS version on Debian / Kernel 2.6.23.8 / soekris Thank you, Paulo On Mon, Feb 15, 2010 at 7:45 PM, Brian West wrote: > How hard are you hitting this box to kill it because your data base ? What > distro are you on? Some versions of the linux kernel slow SQLITE down by > 400-1000% depending on the kernel rev. > > /b > > On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: > > > I will try to enable such feature in core.db ( I want to use just RAM > core.db and to disable all other databases) > > If I use FS exclusively as a SIP gateway ( no registrar ) I think I can > "disable" the use of such sofia tables (Does it make sense? ) : > > > > .tables > > sip_authentication sip_shared_appearance_dialogs > > sip_dialogs sip_shared_appearance_subscriptions > > sip_presence sip_subscriptions > > sip_registrations > > > > Thank you > > Paulo > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100216/311cd302/attachment.html From mike at jerris.com Tue Feb 16 15:32:19 2010 From: mike at jerris.com (Michael Jerris) Date: Tue, 16 Feb 2010 18:32:19 -0500 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> Message-ID: This is all unnecessary, just toss them on tmpfs and call it a day. Mike On Feb 16, 2010, at 6:04 PM, Paulo Vicentini wrote: > Hello, > "The core will open the db multiple times so you would end up with many instances not linked to each other." > > I think it might work with just one core.db handle, right? > > "If sofia uses it, it needs it, or else it would've been an optional configuration option." > > As I can see until now, if mod_sofia were used just as a gateway (that is my aim) it would be able to bypass sip related tables/code and it might have a compile option for that scenario as well... > > "How hard are you hitting this box to kill it because your data base ? What distro are you on?" > I intend to use my hacked FS version on Debian / Kernel 2.6.23.8 / soekris > > Thank you, > Paulo > > On Mon, Feb 15, 2010 at 7:45 PM, Brian West wrote: > How hard are you hitting this box to kill it because your data base ? What distro are you on? Some versions of the linux kernel slow SQLITE down by 400-1000% depending on the kernel rev. > > /b > > On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: > > > I will try to enable such feature in core.db ( I want to use just RAM core.db and to disable all other databases) > > If I use FS exclusively as a SIP gateway ( no registrar ) I think I can "disable" the use of such sofia tables (Does it make sense? ) : > > > > .tables > > sip_authentication sip_shared_appearance_dialogs > > sip_dialogs sip_shared_appearance_subscriptions > > sip_presence sip_subscriptions > > sip_registrations > > > > Thank you > > Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100216/a79bf7a4/attachment.html From jalsot at gmail.com Tue Feb 16 15:47:59 2010 From: jalsot at gmail.com (Tamas) Date: Wed, 17 Feb 2010 00:47:59 +0100 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> Message-ID: <4B7B2EAF.8090807@gmail.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100217/e3bee4ad/attachment-0001.html From anthony.minessale at gmail.com Tue Feb 16 17:49:29 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Feb 2010 19:49:29 -0600 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4B7B2EAF.8090807@gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> <4B7B2EAF.8090807@gmail.com> Message-ID: <191c3a031002161749y4be94289w891e6a91a1a31267@mail.gmail.com> we already looked at this long ago it only supports 1 db of this nature and it cannot be shared. its not going to happen. On Tue, Feb 16, 2010 at 5:47 PM, Tamas wrote: > Hello, > > this feature sounds interesting in case of running FS as a softphone base, > where access rights are usually limited and not straightforward to make > tmpfs. > Also running from something like readonly filesystem it could be > interesting addon (this won't solve the write requirements of logs and conf > directory though). > > Regards, > Tamas > > Michael Jerris ?rta: > > This is all unnecessary, just toss them on tmpfs and call it a day. > > Mike > > On Feb 16, 2010, at 6:04 PM, Paulo Vicentini wrote: > > Hello, > "The core will open the db multiple times so you would end up with many > instances not linked to each other." > > I think it might work with just one core.db handle, right? > > "If sofia uses it, it needs it, or else it would've been an optional > configuration option." > > As I can see until now, if mod_sofia were used just as a gateway (that is > my aim) it would be able to bypass sip related tables/code and it might have > a compile option for that scenario as well... > > "How hard are you hitting this box to kill it because your data base ? > What distro are you on?" > I intend to use my hacked FS version on Debian / Kernel 2.6.23.8 / > soekris > > Thank you, > Paulo > > On Mon, Feb 15, 2010 at 7:45 PM, Brian West wrote: > >> How hard are you hitting this box to kill it because your data base ? >> What distro are you on? Some versions of the linux kernel slow SQLITE down >> by 400-1000% depending on the kernel rev. >> >> /b >> >> On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: >> >> > I will try to enable such feature in core.db ( I want to use just RAM >> core.db and to disable all other databases) >> > If I use FS exclusively as a SIP gateway ( no registrar ) I think I can >> "disable" the use of such sofia tables (Does it make sense? ) : >> > >> > .tables >> > sip_authentication sip_shared_appearance_dialogs >> > sip_dialogs sip_shared_appearance_subscriptions >> > sip_presence sip_subscriptions >> > sip_registrations >> > >> > Thank you >> > Paulo >> > ------------------------------ > > _______________________________________________ > FreeSWITCH-dev mailing listFreeSWITCH-dev at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswitch.org > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100216/ab607cfc/attachment.html From vicentini.paulo at gmail.com Wed Feb 17 13:53:12 2010 From: vicentini.paulo at gmail.com (Paulo Vicentini) Date: Wed, 17 Feb 2010 19:53:12 -0200 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <191c3a031002161749y4be94289w891e6a91a1a31267@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> <4B7B2EAF.8090807@gmail.com> <191c3a031002161749y4be94289w891e6a91a1a31267@mail.gmail.com> Message-ID: <4b9599931002171353p5384e03egd13778d63ebcf1fd@mail.gmail.com> Hi, "this feature sounds interesting in case of running FS as a softphone base" Yes... I additionally did a FS_SIP_REGISTRAR_MODE (mod_sofia) compile flag so that SIP registrar related things are stripped and it does not need to create mod_sofia databases... Regards Paulo On Tue, Feb 16, 2010 at 11:49 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > we already looked at this long ago it only supports 1 db of this nature and > it cannot be shared. > its not going to happen. > > > > On Tue, Feb 16, 2010 at 5:47 PM, Tamas wrote: > >> Hello, >> >> this feature sounds interesting in case of running FS as a softphone base, >> where access rights are usually limited and not straightforward to make >> tmpfs. >> Also running from something like readonly filesystem it could be >> interesting addon (this won't solve the write requirements of logs and conf >> directory though). >> >> Regards, >> Tamas >> >> Michael Jerris ?rta: >> >> This is all unnecessary, just toss them on tmpfs and call it a day. >> >> Mike >> >> On Feb 16, 2010, at 6:04 PM, Paulo Vicentini wrote: >> >> Hello, >> "The core will open the db multiple times so you would end up with many >> instances not linked to each other." >> >> I think it might work with just one core.db handle, right? >> >> "If sofia uses it, it needs it, or else it would've been an optional >> configuration option." >> >> As I can see until now, if mod_sofia were used just as a gateway (that >> is my aim) it would be able to bypass sip related tables/code and it might >> have a compile option for that scenario as well... >> >> "How hard are you hitting this box to kill it because your data base ? >> What distro are you on?" >> I intend to use my hacked FS version on Debian / Kernel 2.6.23.8 / >> soekris >> >> Thank you, >> Paulo >> >> On Mon, Feb 15, 2010 at 7:45 PM, Brian West wrote: >> >>> How hard are you hitting this box to kill it because your data base ? >>> What distro are you on? Some versions of the linux kernel slow SQLITE down >>> by 400-1000% depending on the kernel rev. >>> >>> /b >>> >>> On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: >>> >>> > I will try to enable such feature in core.db ( I want to use just RAM >>> core.db and to disable all other databases) >>> > If I use FS exclusively as a SIP gateway ( no registrar ) I think I can >>> "disable" the use of such sofia tables (Does it make sense? ) : >>> > >>> > .tables >>> > sip_authentication sip_shared_appearance_dialogs >>> > sip_dialogs sip_shared_appearance_subscriptions >>> > sip_presence sip_subscriptions >>> > sip_registrations >>> > >>> > Thank you >>> > Paulo >>> >> ------------------------------ >> >> _______________________________________________ >> FreeSWITCH-dev mailing listFreeSWITCH-dev at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswitch.org >> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100217/64832972/attachment.html From anthony.minessale at gmail.com Wed Feb 17 14:05:05 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 17 Feb 2010 16:05:05 -0600 Subject: [Freeswitch-dev] [freeswitch-dev] in memory sqlite In-Reply-To: <4b9599931002171353p5384e03egd13778d63ebcf1fd@mail.gmail.com> References: <4b9599931002150935y194fc113h237b10f0f8545320@mail.gmail.com> <7E5ABFE6-990E-4530-A011-619D96CFCE00@jerris.com> <4b9599931002151341i1dfbabadr14406aa9c98ad1a4@mail.gmail.com> <4b9599931002161504g4419a8cbs7220684da50f6a2@mail.gmail.com> <4B7B2EAF.8090807@gmail.com> <191c3a031002161749y4be94289w891e6a91a1a31267@mail.gmail.com> <4b9599931002171353p5384e03egd13778d63ebcf1fd@mail.gmail.com> Message-ID: <191c3a031002171405x603158adv190112f4b73f4248@mail.gmail.com> We do more than our fair share of working with the community and we have no room whatsoever for talking about people doing local mods that we are not willing to support. Can we end this thread now?, everything discussed in it is pure fantasy anyway. I officially change the subject to "Come to ClueCon MMX" On Wed, Feb 17, 2010 at 3:53 PM, Paulo Vicentini wrote: > Hi, > "this feature sounds interesting in case of running FS as a softphone base" > Yes... I additionally did a FS_SIP_REGISTRAR_MODE (mod_sofia) compile flag > so that SIP registrar related things are stripped and it does not need to > create mod_sofia databases... > > Regards > Paulo > > On Tue, Feb 16, 2010 at 11:49 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> we already looked at this long ago it only supports 1 db of this nature >> and it cannot be shared. >> its not going to happen. >> >> >> >> On Tue, Feb 16, 2010 at 5:47 PM, Tamas wrote: >> >>> Hello, >>> >>> this feature sounds interesting in case of running FS as a softphone >>> base, where access rights are usually limited and not straightforward to >>> make tmpfs. >>> Also running from something like readonly filesystem it could be >>> interesting addon (this won't solve the write requirements of logs and conf >>> directory though). >>> >>> Regards, >>> Tamas >>> >>> Michael Jerris ?rta: >>> >>> This is all unnecessary, just toss them on tmpfs and call it a day. >>> >>> Mike >>> >>> On Feb 16, 2010, at 6:04 PM, Paulo Vicentini wrote: >>> >>> Hello, >>> "The core will open the db multiple times so you would end up with many >>> instances not linked to each other." >>> >>> I think it might work with just one core.db handle, right? >>> >>> "If sofia uses it, it needs it, or else it would've been an optional >>> configuration option." >>> >>> As I can see until now, if mod_sofia were used just as a gateway (that >>> is my aim) it would be able to bypass sip related tables/code and it might >>> have a compile option for that scenario as well... >>> >>> "How hard are you hitting this box to kill it because your data base ? >>> What distro are you on?" >>> I intend to use my hacked FS version on Debian / Kernel 2.6.23.8 / >>> soekris >>> >>> Thank you, >>> Paulo >>> >>> On Mon, Feb 15, 2010 at 7:45 PM, Brian West wrote: >>> >>>> How hard are you hitting this box to kill it because your data base ? >>>> What distro are you on? Some versions of the linux kernel slow SQLITE down >>>> by 400-1000% depending on the kernel rev. >>>> >>>> /b >>>> >>>> On Feb 15, 2010, at 3:41 PM, Paulo Vicentini wrote: >>>> >>>> > I will try to enable such feature in core.db ( I want to use just RAM >>>> core.db and to disable all other databases) >>>> > If I use FS exclusively as a SIP gateway ( no registrar ) I think I >>>> can "disable" the use of such sofia tables (Does it make sense? ) : >>>> > >>>> > .tables >>>> > sip_authentication sip_shared_appearance_dialogs >>>> > sip_dialogs sip_shared_appearance_subscriptions >>>> > sip_presence sip_subscriptions >>>> > sip_registrations >>>> > >>>> > Thank you >>>> > Paulo >>>> >>> ------------------------------ >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing listFreeSWITCH-dev at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswitch.org >>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100217/e7f47a69/attachment-0001.html From andre at dynamicic.com Wed Feb 17 15:00:09 2010 From: andre at dynamicic.com (andre phan) Date: Wed, 17 Feb 2010 15:00:09 -0800 Subject: [Freeswitch-dev] stop originate_retries after hangup Message-ID: <046f01cab024$f7a0eb30$e6e2c190$@com> I am having a problem whenever I use originate_retries when using bridge. If the caller on leg A hangs up before anyone on the B leg picks up, the call will continue to attempt to originate until all retries are filled. I will need both channels to close and not attempt to keep attempting to originate when the caller hangs up. Below is the output log of the call: 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:2026 Hangup sofia/external/5555551234 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_channel.c:1715 Send signal sofia/external/5555551234 [KILL] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555551234) Running State Change CS_HANGUP 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:533 thread mismatch skipping state handler. 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555551234) State HANGUP 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:338 Channel sofia/external/5555551234 hanging up, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:386 Sending CANCEL to sofia/external/5555551234 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:46 sofia/external/5555551234 Standard HANGUP, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555551234) State HANGUP going to sleep 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:417 (sofia/external/5555551234) State Change CS_HANGUP -> CS_REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555551234) Running State Change CS_REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555551234) State REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:53 sofia/external/5555551234 Standard REPORTING, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555551234) State REPORTING going to sleep 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:411 (sofia/external/5555551234) State Change CS_REPORTING -> CS_DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:1069 Session 2 (sofia/external/5555551234) Locked, Waiting on external entities 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1087 Session 2 (sofia/external/5555551234) Ended 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/5555551234 [CS_DESTROY] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:497 (sofia/external/5555551234) Running State Change CS_DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555551234) State DESTROY 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:255 sofia/external/5555551234 SOFIA DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:60 sofia/external/5555551234 Standard DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555551234) State DESTROY going to sleep 2010-02-17 14:44:17.567493 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:17.567493 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:18.567500 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:18.567500 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:19.567506 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:19.567506 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:19.770633 [ALERT] switch_cpp.cpp:1130 CT - Update Balance 0cbcac65-003f-4053-a041-1795748a1941 -0.018 2010-02-17 14:44:20.067509 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:20.067509 [DEBUG] switch_core_state_machine.c:533 thread mismatch skipping state handler. 2010-02-17 14:44:20.567513 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:20.567513 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:21.567519 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:21.567519 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:22.567525 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:22.567525 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:23.567532 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:23.567532 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:24.567538 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:24.567538 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:25.567545 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:25.567545 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:26.567551 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:26.567551 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:27.567557 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:27.567557 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:28.567564 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:28.567564 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:29.567570 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:29.567570 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:30.567577 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:30.567577 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:31.567583 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:31.567583 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:32.567589 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:32.567589 [INFO] mod_dptools.c:2114 Originate Failed. Cause: ORIGINATOR_CANCEL 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 CoreSession::hangup 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 CoreSession::hangup 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:921 destroy/unlink session from object 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:432 (sofia/external/5555559876 at 10.10.10.15) State EXECUTE going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_HANGUP 2010-02-17 14:44:32.567589 [DEBUG] switch_core_media_bug.c:364 Removing BUG from sofia/external/5555559876 at 10.10.10.15 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15) State HANGUP 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:338 Channel sofia/external/5555559876 at 10.10.10.15 hanging up, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:46 sofia/external/5555559876 at 10.10.10.15 Standard HANGUP, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15) State HANGUP going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:417 (sofia/external/5555559876 at 10.10.10.15) State Change CS_HANGUP -> CS_REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15) State REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:53 sofia/external/5555559876 at 10.10.10.15 Standard REPORTING, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15) State REPORTING going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:411 (sofia/external/5555559876 at 10.10.10.15) State Change CS_REPORTING -> CS_DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:1069 Session 1 (sofia/external/5555559876 at 10.10.10.15) Locked, Waiting on external entities 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1087 Session 1 (sofia/external/5555559876 at 10.10.10.15) Ended 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/5555559876 at 10.10.10.15 [CS_DESTROY] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:497 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15) State DESTROY 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:255 sofia/external/5555559876 at 10.10.10.15 SOFIA DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:60 sofia/external/5555559876 at 10.10.10.15 Standard DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15) State DESTROY going to sleep Thanks, Andre -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100217/372b2a4c/attachment-0001.html From mrene_lists at avgs.ca Wed Feb 17 15:34:51 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Wed, 17 Feb 2010 18:34:51 -0500 Subject: [Freeswitch-dev] stop originate_retries after hangup In-Reply-To: <046f01cab024$f7a0eb30$e6e2c190$@com> References: <046f01cab024$f7a0eb30$e6e2c190$@com> Message-ID: <68C62484-33E4-4F6D-88B8-CA880C87C05A@avgs.ca> Hi, Please report bugs on Jira instead of on the mailing list so we can keep track of them. See http://wiki.freeswitch.org/wiki/Reporting_Bugs Since you posted on -dev, are you calling switch_ivr_originate() manually from your own code? Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 17-Feb-10, at 6:00 PM, andre phan wrote: > I am having a problem whenever I use originate_retries when using > bridge. If the caller on leg A hangs up before anyone on the B leg > picks up, the call will continue to attempt to originate until all > retries are filled. I will need both channels to close and not > attempt to keep attempting to originate when the caller hangs up. > Below is the output log of the call: > > > 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:2026 > Hangup sofia/external/5555551234 [CS_CONSUME_MEDIA] > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_channel.c:1715 Send signal > sofia/external/5555551234 [KILL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555551234 [BREAK] > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 > (sofia/external/5555551234) Running State Change CS_HANGUP > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:533 > thread mismatch skipping state handler. > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 > (sofia/external/5555551234) State HANGUP > 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:338 Channel sofia/ > external/5555551234 hanging up, cause: ORIGINATOR_CANCEL > 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:386 Sending CANCEL to > sofia/external/5555551234 > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:46 > sofia/external/5555551234 Standard HANGUP, cause: ORIGINATOR_CANCEL > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 > (sofia/external/5555551234) State HANGUP going to sleep > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:417 > (sofia/external/5555551234) State Change CS_HANGUP -> CS_REPORTING > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555551234 [BREAK] > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 > (sofia/external/5555551234) Running State Change CS_REPORTING > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 > (sofia/external/5555551234) State REPORTING > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:53 > sofia/external/5555551234 Standard REPORTING, cause: ORIGINATOR_CANCEL > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 > (sofia/external/5555551234) State REPORTING going to sleep > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:411 > (sofia/external/5555551234) State Change CS_REPORTING -> CS_DESTROY > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555551234 [BREAK] > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:1069 > Session 2 (sofia/external/5555551234) Locked, Waiting on external > entities > 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1087 > Session 2 (sofia/external/5555551234) Ended > 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1089 Close > Channel sofia/external/5555551234 [CS_DESTROY] > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:497 > (sofia/external/5555551234) Running State Change CS_DESTROY > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 > (sofia/external/5555551234) State DESTROY > 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:255 sofia/external/ > 5555551234 SOFIA DESTROY > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:60 > sofia/external/5555551234 Standard DESTROY > 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 > (sofia/external/5555551234) State DESTROY going to sleep > 2010-02-17 14:44:17.567493 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:17.567493 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:18.567500 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:18.567500 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:19.567506 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:19.567506 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:19.770633 [ALERT] switch_cpp.cpp:1130 CT - Update > Balance 0cbcac65-003f-4053-a041-1795748a1941 -0.018 > 2010-02-17 14:44:20.067509 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555559876 at 10.10.10.15 [BREAK] > 2010-02-17 14:44:20.067509 [DEBUG] switch_core_state_machine.c:533 > thread mismatch skipping state handler. > 2010-02-17 14:44:20.567513 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:20.567513 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:21.567519 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:21.567519 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:22.567525 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:22.567525 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:23.567532 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:23.567532 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 2/3 in 1000 ms > 2010-02-17 14:44:24.567538 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:24.567538 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:25.567545 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:25.567545 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:26.567551 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:26.567551 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:27.567557 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:27.567557 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:28.567564 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:28.567564 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:29.567570 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:29.567570 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:30.567577 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:30.567577 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:31.567583 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:31.567583 [NOTICE] switch_ivr_originate.c:1317 > Originate attempt 3/3 in 1000 ms > 2010-02-17 14:44:32.567589 [DEBUG] switch_ivr_originate.c:2166 > Originate Cancelled by originator termination Cause: 487 > [ORIGINATOR_CANCEL] > 2010-02-17 14:44:32.567589 [INFO] mod_dptools.c:2114 Originate > Failed. Cause: ORIGINATOR_CANCEL > 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 > CoreSession::hangup > 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 > CoreSession::hangup > 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:921 destroy/unlink > session from object > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:432 (sofia/external/5555559876 at 10.10.10.15 > ) State EXECUTE going to sleep > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15 > ) Running State Change CS_HANGUP > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_media_bug.c:364 > Removing BUG from sofia/external/5555559876 at 10.10.10.15 > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15 > ) State HANGUP > 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:338 Channel sofia/external/5555559876 at 10.10.10.15 > hanging up, cause: NORMAL_CLEARING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:46 sofia/external/5555559876 at 10.10.10.15 > Standard HANGUP, cause: NORMAL_CLEARING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15 > ) State HANGUP going to sleep > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:417 (sofia/external/5555559876 at 10.10.10.15 > ) State Change CS_HANGUP -> CS_REPORTING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555559876 at 10.10.10.15 [BREAK] > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15 > ) Running State Change CS_REPORTING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15 > ) State REPORTING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:53 sofia/external/5555559876 at 10.10.10.15 > Standard REPORTING, cause: NORMAL_CLEARING > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15 > ) State REPORTING going to sleep > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:411 (sofia/external/5555559876 at 10.10.10.15 > ) State Change CS_REPORTING -> CS_DESTROY > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send > signal sofia/external/5555559876 at 10.10.10.15 [BREAK] > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:1069 > Session 1 (sofia/external/5555559876 at 10.10.10.15) Locked, Waiting on > external entities > 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1087 > Session 1 (sofia/external/5555559876 at 10.10.10.15) Ended > 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1089 Close > Channel sofia/external/5555559876 at 10.10.10.15 [CS_DESTROY] > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:497 (sofia/external/5555559876 at 10.10.10.15 > ) Running State Change CS_DESTROY > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15 > ) State DESTROY > 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:255 sofia/external/5555559876 at 10.10.10.15 > SOFIA DESTROY > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:60 sofia/external/5555559876 at 10.10.10.15 > Standard DESTROY > 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15 > ) State DESTROY going to sleep > > Thanks, > > Andre > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100217/04916def/attachment-0001.html From andre at dynamicic.com Wed Feb 17 17:15:46 2010 From: andre at dynamicic.com (andre phan) Date: Wed, 17 Feb 2010 17:15:46 -0800 Subject: [Freeswitch-dev] stop originate_retries after hangup In-Reply-To: <68C62484-33E4-4F6D-88B8-CA880C87C05A@avgs.ca> References: <046f01cab024$f7a0eb30$e6e2c190$@com> <68C62484-33E4-4F6D-88B8-CA880C87C05A@avgs.ca> Message-ID: <049a01cab037$e6674d60$b335e820$@com> Sorry about that, I wasn't sure this was a bug and was hoping there was a solution. This is an example of how my bridge is set up. I believe the issue is that the origination retry attempts still occur after a hangup cause ORIGINATOR_CANCEL. I am not sure if this is by design or a bug, or if there is a way around this. Thanks. From: Mathieu Rene [mailto:mrene_lists at avgs.ca] Sent: Wednesday, February 17, 2010 3:35 PM To: freeswitch-dev at lists.freeswitch.org Subject: Re: [Freeswitch-dev] stop originate_retries after hangup Hi, Please report bugs on Jira instead of on the mailing list so we can keep track of them. See http://wiki.freeswitch.org/wiki/Reporting_Bugs Since you posted on -dev, are you calling switch_ivr_originate() manually from your own code? Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 17-Feb-10, at 6:00 PM, andre phan wrote: I am having a problem whenever I use originate_retries when using bridge. If the caller on leg A hangs up before anyone on the B leg picks up, the call will continue to attempt to originate until all retries are filled. I will need both channels to close and not attempt to keep attempting to originate when the caller hangs up. Below is the output log of the call: 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:2026 Hangup sofia/external/5555551234 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_channel.c:1715 Send signal sofia/external/5555551234 [KILL] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555551234) Running State Change CS_HANGUP 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:533 thread mismatch skipping state handler. 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:16.567487 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555551234) State HANGUP 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:338 Channel sofia/external/5555551234 hanging up, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:386 Sending CANCEL to sofia/external/5555551234 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:46 sofia/external/5555551234 Standard HANGUP, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555551234) State HANGUP going to sleep 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:417 (sofia/external/5555551234) State Change CS_HANGUP -> CS_REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555551234) Running State Change CS_REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555551234) State REPORTING 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:53 sofia/external/5555551234 Standard REPORTING, cause: ORIGINATOR_CANCEL 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555551234) State REPORTING going to sleep 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:411 (sofia/external/5555551234) State Change CS_REPORTING -> CS_DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555551234 [BREAK] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_session.c:1069 Session 2 (sofia/external/5555551234) Locked, Waiting on external entities 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1087 Session 2 (sofia/external/5555551234) Ended 2010-02-17 14:44:16.567487 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/5555551234 [CS_DESTROY] 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:497 (sofia/external/5555551234) Running State Change CS_DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555551234) State DESTROY 2010-02-17 14:44:16.567487 [DEBUG] mod_sofia.c:255 sofia/external/5555551234 SOFIA DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:60 sofia/external/5555551234 Standard DESTROY 2010-02-17 14:44:16.567487 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555551234) State DESTROY going to sleep 2010-02-17 14:44:17.567493 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:17.567493 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:18.567500 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:18.567500 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:19.567506 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:19.567506 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:19.770633 [ALERT] switch_cpp.cpp:1130 CT - Update Balance 0cbcac65-003f-4053-a041-1795748a1941 -0.018 2010-02-17 14:44:20.067509 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:20.067509 [DEBUG] switch_core_state_machine.c:533 thread mismatch skipping state handler. 2010-02-17 14:44:20.567513 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:20.567513 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:21.567519 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:21.567519 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:22.567525 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:22.567525 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:23.567532 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:23.567532 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 2/3 in 1000 ms 2010-02-17 14:44:24.567538 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:24.567538 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:25.567545 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:25.567545 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:26.567551 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:26.567551 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:27.567557 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:27.567557 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:28.567564 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:28.567564 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:29.567570 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:29.567570 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:30.567577 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:30.567577 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:31.567583 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:31.567583 [NOTICE] switch_ivr_originate.c:1317 Originate attempt 3/3 in 1000 ms 2010-02-17 14:44:32.567589 [DEBUG] switch_ivr_originate.c:2166 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2010-02-17 14:44:32.567589 [INFO] mod_dptools.c:2114 Originate Failed. Cause: ORIGINATOR_CANCEL 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 CoreSession::hangup 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:571 CoreSession::hangup 2010-02-17 14:44:32.567589 [DEBUG] switch_cpp.cpp:921 destroy/unlink session from object 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:432 (sofia/external/5555559876 at 10.10.10.15) State EXECUTE going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_HANGUP 2010-02-17 14:44:32.567589 [DEBUG] switch_core_media_bug.c:364 Removing BUG from sofia/external/5555559876 at 10.10.10.15 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15) State HANGUP 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:338 Channel sofia/external/5555559876 at 10.10.10.15 hanging up, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:46 sofia/external/5555559876 at 10.10.10.15 Standard HANGUP, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:560 (sofia/external/5555559876 at 10.10.10.15) State HANGUP going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:417 (sofia/external/5555559876 at 10.10.10.15) State Change CS_HANGUP -> CS_REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:398 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15) State REPORTING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:53 sofia/external/5555559876 at 10.10.10.15 Standard REPORTING, cause: NORMAL_CLEARING 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:651 (sofia/external/5555559876 at 10.10.10.15) State REPORTING going to sleep 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:411 (sofia/external/5555559876 at 10.10.10.15) State Change CS_REPORTING -> CS_DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:932 Send signal sofia/external/5555559876 at 10.10.10.15 [BREAK] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_session.c:1069 Session 1 (sofia/external/5555559876 at 10.10.10.15) Locked, Waiting on external entities 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1087 Session 1 (sofia/external/5555559876 at 10.10.10.15) Ended 2010-02-17 14:44:32.567589 [NOTICE] switch_core_session.c:1089 Close Channel sofia/external/5555559876 at 10.10.10.15 [CS_DESTROY] 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:497 (sofia/external/5555559876 at 10.10.10.15) Running State Change CS_DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15) State DESTROY 2010-02-17 14:44:32.567589 [DEBUG] mod_sofia.c:255 sofia/external/5555559876 at 10.10.10.15 SOFIA DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:60 sofia/external/5555559876 at 10.10.10.15 Standard DESTROY 2010-02-17 14:44:32.567589 [DEBUG] switch_core_state_machine.c:508 (sofia/external/5555559876 at 10.10.10.15) State DESTROY going to sleep Thanks, Andre _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at 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/20100217/b472e375/attachment-0001.html From wangdq.no1 at gmail.com Wed Feb 17 18:26:47 2010 From: wangdq.no1 at gmail.com (daqiang wang) Date: Thu, 18 Feb 2010 10:26:47 +0800 Subject: [Freeswitch-dev] how to use mod_erlang ? Message-ID: hi: I am testing mod_erlang, using the wiki: http://wiki.freeswitch.org/wiki/Mod_erlang_event I run : >{foo, freeswitch at localhost} ! {api, status, ""}. but returned: =ERROR REPORT==== 18-Feb-2010::10:17:44 === Error in process <0.47.0> on node 'test at wangdq-laptop' with exit value: {badarg,[{erlang,list_to_existing_atom,["freeswitch at wangdq-laptop "]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]} {api,status,[]} and in the freeswitch console : 2010-02-18 10:17:44.470405 [NOTICE] mod_erlang_event.c:1720 Ignorable error in ei_accept - probable bad client version, bad cookie or bad nodename but , I checked the config file : it seems no problem : ~ why ? can you help me ? thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100218/d3a0c0f4/attachment.html From mike at jerris.com Wed Feb 17 19:09:41 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 17 Feb 2010 22:09:41 -0500 Subject: [Freeswitch-dev] stop originate_retries after hangup In-Reply-To: <049a01cab037$e6674d60$b335e820$@com> References: <046f01cab024$f7a0eb30$e6e2c190$@com> <68C62484-33E4-4F6D-88B8-CA880C87C05A@avgs.ca> <049a01cab037$e6674d60$b335e820$@com> Message-ID: <27B133AA-8C18-4812-9245-A51D3744DEE0@jerris.com> There are vars to control what to do on failures. The wiki will detail those on the page about channel variables, and if you are still having issues, the users list is a good place to ask. Mike On Feb 17, 2010, at 8:15 PM, andre phan wrote: > Sorry about that, I wasn?t sure this was a bug and was hoping there was a solution. This is an example of how my bridge is set up. > > I believe the issue is that the origination retry attempts still occur after a hangup cause ORIGINATOR_CANCEL. I am not sure if this is by design or a bug, or if there is a way around this. > > From: Mathieu Rene [mailto:mrene_lists at avgs.ca] > Sent: Wednesday, February 17, 2010 3:35 PM > To: freeswitch-dev at lists.freeswitch.org > Subject: Re: [Freeswitch-dev] stop originate_retries after hangup > > Please report bugs on Jira instead of on the mailing list so we can keep track of them. See http://wiki.freeswitch.org/wiki/Reporting_Bugs > > Since you posted on -dev, are you calling switch_ivr_originate() manually from your own code? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100217/2b32659f/attachment.html From devel at thom.fr.eu.org Thu Feb 18 01:50:30 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Thu, 18 Feb 2010 10:50:30 +0100 Subject: [Freeswitch-dev] [Freeswitch-users] Sending message notifications with openzap In-Reply-To: <1B676793-9D83-4C8D-A9C4-78891F8C70B5@jerris.com> References: <1B676793-9D83-4C8D-A9C4-78891F8C70B5@jerris.com> Message-ID: <0ae2b96926e5340a50e659891efb26cc@thom.fr.eu.org> Thanks, yes I could see that this was handled with events. Could you please give more details (that does not seem obvious to me while looking at sofia_presence.c) When and why is the event triggered ? What information do I get with the event ? Then I have a design question, is it mandatory to (as this is done in mod_sofia but I guess for a lot of reasons) process the event in a separate thread ? Thanks for the information (and sorry if my questions are not relevant, I don't know the event system at all). Fran?ois On Thu, 18 Feb 2010 00:13:08 -0500, Michael Jerris wrote: This all uses the event system. Take a look at how we handle the events in mod_sofia, it should be pretty easy to do the same in mod_openzap. Mike On Feb 16, 2010, at 4:33 AM, Fran?ois Legal wrote: I was wondering whether or not a facility was available to send message waiting indicator (from mpd_voicemail) using openzap. I know this feature is not available in openzap (I'm in the process of coding it for analog channels) but as message indication can be sent via mod_sofia, I wonder if a frame is available in FS core. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100218/a4daf1bd/attachment.html From cstomi.levlist at gmail.com Thu Feb 18 08:22:46 2010 From: cstomi.levlist at gmail.com (Tamas Cseke) Date: Thu, 18 Feb 2010 17:22:46 +0100 Subject: [Freeswitch-dev] json cdr Message-ID: <4B7D6956.7050708@gmail.com> Hello, We would like to develop a json cdr module. It would be very similar like the mod_xml_cdr module, we'd like to post the cdr to an url. The only difference would be the format. The reason is that cdrs would be smaller. Maybe the parsing would be faster too. I made the same format as xml has, but we are not satisfied with this solution yet. We can't decide wheater we should create a new module (in this case we need to copy bunch of code from mod_xml_cdr like.: config, curl posts, file handling so we don't like this idea) or add it to mod_xml_cdr For prototype I hacked this into mod_xml_cdr svn diff -r 16686:16687 http://svn.freeswitch.org:/svn/freeswitch/branches/cseket/src/mod/xml_int/mod_xml_cdr I added the functions to generate the cdrs into the module instead of creating core functions like the xml functions, because I think linking json to the core is not a good idea (?) The disadvantage of this version is that xml_cdr module creating json cdrs would be ridiculous :) Maybe could we make a single module with optional formats like: with xml default? So I would like to ask advices how to do it properly. we would be happy if it could get into the trunk, but for this we have to work more on this. Thanks in advance, Tamas From msc at freeswitch.org Fri Feb 19 09:07:29 2010 From: msc at freeswitch.org (Michael Collins) Date: Fri, 19 Feb 2010 09:07:29 -0800 Subject: [Freeswitch-dev] FreeSWITCH Conference Call Starting Shortly! Message-ID: <87f2f3b91002190907p19860ef7m461cc1957031d80e@mail.gmail.com> Come on in! http://wiki.freeswitch.org/wiki/FS_weekly_2010_02_19 -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100219/00657107/attachment.html From m.sobkow at marketelsystems.com Fri Feb 19 11:34:24 2010 From: m.sobkow at marketelsystems.com (Mark Sobkow) Date: Fri, 19 Feb 2010 13:34:24 -0600 Subject: [Freeswitch-dev] Need some direction Message-ID: <4B7EE7C0.1010301@marketelsystems.com> I need to create a custom Freeswitch module that acts as a leg/endpoint of a call. Unlike a conference, it needs to maintain a UUID so that a parked call can be bridged to it. Once the call is bridged, the module will be in "connect" mode. After the bridged leg disconnects, the module goes into "data collection" mode and gets DTMF call results from the operator. It then goes into a "parked" mode, waiting for another call to be bridged to it or for the operator to hit a DTMF logout sequence. I just need to know what I should look at for a template/sample to start with. Conferences don't seem to be applicable because they don't have UUIDs for bridging (I'd tried doing this behaviour using them and failed miserably.) The code for audio_bridge_function is interesting, but I don't believe that's what I need to start with either, as it _bridges_ calls rather than providing a virtual endpoint. Just to make things real interesting, I'll have to have the custom module generating custom events so that the Erlang control code gets notified with the call results so it can update an RDBMS with the result code. If I decide to get fancy, I'd like to have a mini-IVR associated with it that can provide voice prompts about the result codes available to the operator. Last but not least, I'm uncertain as to whether such a custom module needs to be "released" to the Freeswitch team, or whether it would be an "internal only" module. Hopefully it _has_ to be released -- I'd like to contribute in some small way to the community. As a "for example", picture the tech support call center -- after each call the operator/tech has to enter a code indicating whether the call was 1) handled; 2) passed to level 2 tech support; 3) passed to level 3 tech support; or 4) scheduled for callback. -- Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow at marketelsystems.com Web: http://www.marketelsystems.com From dave at 3c.co.uk Sat Feb 20 16:56:07 2010 From: dave at 3c.co.uk (David Knell) Date: Sat, 20 Feb 2010 17:56:07 -0700 Subject: [Freeswitch-dev] Need some direction In-Reply-To: <4B7EE7C0.1010301@marketelsystems.com> References: <4B7EE7C0.1010301@marketelsystems.com> Message-ID: <1266713767.7725.6.camel@local.freepabx.com> Hi Mark, Unless you have good reason, then writing a custom FS module is probably not the right way to go about this - I don't think I can see anything here which you couldn't do with Lua or an event socket client. --Dave > I need to create a custom Freeswitch module that acts as a leg/endpoint > of a call. Unlike a conference, it needs to maintain a UUID so that a > parked call can be bridged to it. Once the call is bridged, the module > will be in "connect" mode. After the bridged leg disconnects, the > module goes into "data collection" mode and gets DTMF call results from > the operator. It then goes into a "parked" mode, waiting for another > call to be bridged to it or for the operator to hit a DTMF logout sequence. > > I just need to know what I should look at for a template/sample to start > with. Conferences don't seem to be applicable because they don't have > UUIDs for bridging (I'd tried doing this behaviour using them and failed > miserably.) The code for audio_bridge_function is interesting, but I > don't believe that's what I need to start with either, as it _bridges_ > calls rather than providing a virtual endpoint. > > Just to make things real interesting, I'll have to have the custom > module generating custom events so that the Erlang control code gets > notified with the call results so it can update an RDBMS with the result > code. If I decide to get fancy, I'd like to have a mini-IVR associated > with it that can provide voice prompts about the result codes available > to the operator. > > Last but not least, I'm uncertain as to whether such a custom module > needs to be "released" to the Freeswitch team, or whether it would be an > "internal only" module. Hopefully it _has_ to be released -- I'd like > to contribute in some small way to the community. > > As a "for example", picture the tech support call center -- after each > call the operator/tech has to enter a code indicating whether the call > was 1) handled; 2) passed to level 2 tech support; 3) passed to level 3 > tech support; or 4) scheduled for callback. > From freeswitch at cartissolutions.com Sun Feb 21 20:00:05 2010 From: freeswitch at cartissolutions.com (Yossi Neiman) Date: Sun, 21 Feb 2010 22:00:05 -0600 Subject: [Freeswitch-dev] Doxygen help Message-ID: <4B820145.2090109@cartissolutions.com> I am not sure how many folks make use of the Doxygen documentation. I know I do all the time. I find that it provides a nice conceptual view of FreeSWITCH's API, which can make it very easy to find the functions and data types needed for writing modules for FreeSWITCH. A person by the name of Mohammad Shahzad (apologies if I misspelled it) started to do a lot of work on revamping the Doxygen configuration for FreeSWITCH a few months back. The problem with the work that he did was that he used Doxygen 1.6.x specific configuration parameters that are not understood by the Doxygen 1.4.x tree (which is what we currently use in FreeSWITCH) or even the 1.5.x tree which is what is in Slackware. In my discussions with Michael Collins we have decided that it might not hurt to go ahead and move the Doxygen version forward to match the 1.6.x tree. We are looking for somebody who has interest in working with the Doxygen configuration to continue the work that Mohammad had started and to help the project out. If you are such a person, please contact me off-list and I can provide further information. Thanks! Yossi Neiman From rentmycoder at gmail.com Sun Feb 21 22:28:34 2010 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Mon, 22 Feb 2010 07:28:34 +0100 Subject: [Freeswitch-dev] limit call on trunks based on call count Message-ID: <50e456911002212228r59123e50h242efadfd9906139@mail.gmail.com> Hi Guys, Freeswitch Rocks! I would need to limit calls on outgoing profiles, eg. use maximum 2 calls on profile#1, if call count reached then use profile#2. In Asterisk I used Group()=trunk#1 and GROUP_COUNT(trunk#1) to achive this but cannot find any usefull hint how to do this using Freeswitch... Please advise... From mrene_lists at avgs.ca Sun Feb 21 22:30:45 2010 From: mrene_lists at avgs.ca (Mathieu Rene) Date: Mon, 22 Feb 2010 01:30:45 -0500 Subject: [Freeswitch-dev] limit call on trunks based on call count In-Reply-To: <50e456911002212228r59123e50h242efadfd9906139@mail.gmail.com> References: <50e456911002212228r59123e50h242efadfd9906139@mail.gmail.com> Message-ID: <3DA7BE2E-7704-4DD0-9488-756B7B85B804@avgs.ca> Hi Take a look at: http://wiki.freeswitch.org/wiki/Mod_limit#limit_hash_execute Also, please use the -users list for non-development-related questions. Thanks Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene at avgs.ca On 22-Feb-10, at 1:28 AM, rentmycoder rentmycoder wrote: > Hi Guys, > Freeswitch Rocks! > > I would need to limit calls on outgoing profiles, eg. use maximum 2 > calls on profile#1, if call count reached then use profile#2. > In Asterisk I used Group()=trunk#1 and GROUP_COUNT(trunk#1) to achive > this but cannot find any usefull hint how to do this using > Freeswitch... > Please advise... > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 rentmycoder at gmail.com Sun Feb 21 23:16:46 2010 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Mon, 22 Feb 2010 08:16:46 +0100 Subject: [Freeswitch-dev] unsetInputCallback removes setHangupHook also... Message-ID: <50e456911002212316t48b03e5cibb5b514a8a160a64@mail.gmail.com> Hi guys, Freeswitch Rocks! I use latest trunk on Win7 and if I call in lua on A-leg in that order: session:setHangupHook() session:setInputCallback() session:streamFile() session:unsetInputCallback() than the HangupHook does not get called. If I reissue session:setHangupHook() again then HangupHook is called again. Should this work like this? Can happen the situation than tha hangup occures AFTER unsetInputCallback() is called and BEFORE setHangupHook() is called again so I'll miss the hanguphook in this case??? If yes, how to avoid this? Thanks a lot... From mike at jerris.com Sun Feb 21 23:54:31 2010 From: mike at jerris.com (Michael Jerris) Date: Mon, 22 Feb 2010 02:54:31 -0500 Subject: [Freeswitch-dev] unsetInputCallback removes setHangupHook also... In-Reply-To: <50e456911002212316t48b03e5cibb5b514a8a160a64@mail.gmail.com> References: <50e456911002212316t48b03e5cibb5b514a8a160a64@mail.gmail.com> Message-ID: <55551E8F-E204-454C-B6C2-E8E92B6AEE4F@jerris.com> This sounds like a bug to me, please open up an issue on http://jira.FreeSWITCH.org Mike On Feb 22, 2010, at 2:16 AM, rentmycoder rentmycoder wrote: > Hi guys, > Freeswitch Rocks! > > I use latest trunk on Win7 and if I call in lua on A-leg in that order: > session:setHangupHook() > session:setInputCallback() > session:streamFile() > session:unsetInputCallback() > than the HangupHook does not get called. > If I reissue session:setHangupHook() again then HangupHook is called again. > Should this work like this? > Can happen the situation than tha hangup occures AFTER > unsetInputCallback() is called and BEFORE setHangupHook() is called > again so I'll miss the hanguphook in this case??? > If yes, how to avoid this? > Thanks a lot? From shaheryarkh at googlemail.com Mon Feb 22 02:00:21 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Mon, 22 Feb 2010 15:00:21 +0500 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: <4B820145.2090109@cartissolutions.com> References: <4B820145.2090109@cartissolutions.com> Message-ID: Hi, Its a quite embarrassing to admit that i could completed that work, not even able to submit what was done to FS trunk due to my own stupidity. Actually, we are having major power crisis in the country for last 1 years and most of power cuts are so long that even best UPS systems can't ensure 24/7 up time for our servers. About 3 months ago the development server i was working on for FS Docs was hit by this problem and its hard disk crashed, destroying all my hard work on FS Docs and mod_msn. It was my mistake that i didn't arrange for proper backup for my work due to shortage of resources and didn't inform the FS developers community about the loss. I want to restart this work but don't want to take the lead on this due to issues described above. If you can arrange a common server for FS docs development then i can submit my work to you which you can test on this dev server before committing it to FS Trunk. Second option is that i work on a single file, test it on my laptop and immediately submit it to FS trunk. But this could cause problem for end users (developers using FS doxygen docs) as many hyper links connected to undocumented files won't work till their docs are done and uploaded. We also need to decide on, 1. What Doxygen version to use? i use Archlinux which has the latest 1.6.x version, I can downgrade it to 1.4.x. 2. What format of documentation to adopt? I think currently we have HTML format only, but Doxygen can also generate PDF and CHM formats. Thank you. On Mon, Feb 22, 2010 at 9:00 AM, Yossi Neiman < freeswitch at cartissolutions.com> wrote: > I am not sure how many folks make use of the Doxygen documentation. I > know I do all the time. I find that it provides a nice conceptual view > of FreeSWITCH's API, which can make it very easy to find the functions > and data types needed for writing modules for FreeSWITCH. > > A person by the name of Mohammad Shahzad (apologies if I misspelled it) > started to do a lot of work on revamping the Doxygen configuration for > FreeSWITCH a few months back. The problem with the work that he did was > that he used Doxygen 1.6.x specific configuration parameters that are > not understood by the Doxygen 1.4.x tree (which is what we currently use > in FreeSWITCH) or even the 1.5.x tree which is what is in Slackware. In > my discussions with Michael Collins we have decided that it might not > hurt to go ahead and move the Doxygen version forward to match the 1.6.x > tree. > > We are looking for somebody who has interest in working with the Doxygen > configuration to continue the work that Mohammad had started and to help > the project out. If you are such a person, please contact me off-list > and I can provide further information. > > Thanks! > > Yossi Neiman > > _______________________________________________ > 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 > -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk at hotmail.com Email: shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/c7b55b40/attachment.html From pmhshz at gmail.com Mon Feb 22 03:53:44 2010 From: pmhshz at gmail.com (MohammedShehzad) Date: Mon, 22 Feb 2010 17:23:44 +0530 Subject: [Freeswitch-dev] Multicast stream listener module Message-ID: Hello everybody, I am working on multicast listener format module, So that Freeswitch can listen on multicasted stream as example below: Please see on thread named 'stream a file multicast with mod_esf' on http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/026163.html I am testing that module against the audio multicasted by mod_esf module. I got some success with help of existing mod_native_file module, and I able to receive and play the multicasted RAW PCMU RTP (modified the skel of format module provided by brian), so that caller can hear the multicast by other Freeswitch server, but when i change the caller's codec from PCMU to something else, it breaks. Then I looked into mod_sndfile for decoding PCMU to other codec, but it seems that module is using libsndfile, which reads sound file directly and decode them to L16. If something similar to libsndfile is available, which work on stream instead of reading file, then it would surely work. Please Let me know your ideas on this, as I don't know how exactly Freeswitch encoding-decoding works? -- -MohammedShehzad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/777fc7e9/attachment.html From fowlerp at avaya.com Mon Feb 22 06:45:03 2010 From: fowlerp at avaya.com (Peter Fowler) Date: Mon, 22 Feb 2010 09:45:03 -0500 Subject: [Freeswitch-dev] Possible bug in mod_conference.c Message-ID: <90243C8A881F8D419D855264D9636F3A03E3F449@zcarhxm2.corp.nortel.com> In revision 16249 I am seeing an intermittent problem as follows: 1) conference is setup to play an alone sound and moh 2) first person calls into the conference 3) very intermittently the "alone" sound if not heard. Instead moh is played immediately I have tracked this down to a race condition in mod_conference where the line 1011 within conference_thread_run() checks the value of conference->async_fnode at the same time, on a separate thread, conference_add_member() is updating that value via conference_play_file. As a result, intermittently, the alone sound is enqueued but then immediately "over written" by the moh found. A possible solution would be to surround the if statement at 1011 with switch_mutex_lock(conference->mutex) ... switch_mutex_unlock(conference->mutex) Let me know if I should go ahead and enter a Jira and post a patch. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/18b9c390/attachment-0001.html From brian at freeswitch.org Mon Feb 22 07:29:51 2010 From: brian at freeswitch.org (Brian West) Date: Mon, 22 Feb 2010 09:29:51 -0600 Subject: [Freeswitch-dev] Possible bug in mod_conference.c In-Reply-To: <90243C8A881F8D419D855264D9636F3A03E3F449@zcarhxm2.corp.nortel.com> References: <90243C8A881F8D419D855264D9636F3A03E3F449@zcarhxm2.corp.nortel.com> Message-ID: <74EDA486-1447-47F1-8998-2A1149D6933E@freeswitch.org> Please open a jira http://jira.freeswitch.org Thanks, Brian On Feb 22, 2010, at 8:45 AM, Peter Fowler wrote: > > In revision 16249 I am seeing an intermittent problem as follows: > > 1) conference is setup to play an alone sound and moh > 2) first person calls into the conference > 3) very intermittently the "alone" sound if not heard. Instead moh is played immediately > > I have tracked this down to a race condition in mod_conference where the line 1011 within > conference_thread_run() checks the value of conference->async_fnode at the same time, on > a separate thread, conference_add_member() is updating that value via conference_play_file. > > As a result, intermittently, the alone sound is enqueued but then immediately "over written" > by the moh found. > > A possible solution would be to surround the if statement at 1011 with > > switch_mutex_lock(conference->mutex) > ? > switch_mutex_unlock(conference->mutex) > > Let me know if I should go ahead and enter a Jira and post a patch. > > Peter > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/8a98a406/attachment.html From msc at freeswitch.org Mon Feb 22 08:22:42 2010 From: msc at freeswitch.org (Michael Collins) Date: Mon, 22 Feb 2010 08:22:42 -0800 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: References: <4B820145.2090109@cartissolutions.com> Message-ID: <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> On Mon, Feb 22, 2010 at 2:00 AM, Muhammad Shahzad < shaheryarkh at googlemail.com> wrote: > Hi, > > Its a quite embarrassing to admit that i could completed that work, not > even able to submit what was done to FS trunk due to my own stupidity. > Actually, we are having major power crisis in the country for last 1 years > and most of power cuts are so long that even best UPS systems can't ensure > 24/7 up time for our servers. About 3 months ago the development server i > was working on for FS Docs was hit by this problem and its hard disk > crashed, destroying all my hard work on FS Docs and mod_msn. It was my > mistake that i didn't arrange for proper backup for my work due to shortage > of resources and didn't inform the FS developers community about the loss. > > I want to restart this work but don't want to take the lead on this due to > issues described above. If you can arrange a common server for FS docs > development then i can submit my work to you which you can test on this dev > server before committing it to FS Trunk. > > Second option is that i work on a single file, test it on my laptop and > immediately submit it to FS trunk. But this could cause problem for end > users (developers using FS doxygen docs) as many hyper links connected to > undocumented files won't work till their docs are done and uploaded. > > We also need to decide on, > > 1. What Doxygen version to use? i use Archlinux which has the latest 1.6.x > version, I can downgrade it to 1.4.x. > 2. What format of documentation to adopt? I think currently we have HTML > format only, but Doxygen can also generate PDF and CHM formats. > > Thank you. > > If there is a compelling reason to use 1.6 then let's use it, but if not let's just stick with 1.4. As far as formats, HTML is definitely the most useful. I don't know that PDF or CHM is very useful for this kind of thing. Thanks! And sorry to hear about your computer and power woes. Hope you recover soon. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/98c8d9ec/attachment.html From anthony.minessale at gmail.com Mon Feb 22 08:34:50 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 22 Feb 2010 10:34:50 -0600 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> Message-ID: <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> I bet someone would donate a shell account or VM somewhere so you can keep your work in a safe place. On Mon, Feb 22, 2010 at 10:22 AM, Michael Collins wrote: > > > On Mon, Feb 22, 2010 at 2:00 AM, Muhammad Shahzad < > shaheryarkh at googlemail.com> wrote: > >> Hi, >> >> Its a quite embarrassing to admit that i could completed that work, not >> even able to submit what was done to FS trunk due to my own stupidity. >> Actually, we are having major power crisis in the country for last 1 years >> and most of power cuts are so long that even best UPS systems can't ensure >> 24/7 up time for our servers. About 3 months ago the development server i >> was working on for FS Docs was hit by this problem and its hard disk >> crashed, destroying all my hard work on FS Docs and mod_msn. It was my >> mistake that i didn't arrange for proper backup for my work due to shortage >> of resources and didn't inform the FS developers community about the loss. >> >> I want to restart this work but don't want to take the lead on this due to >> issues described above. If you can arrange a common server for FS docs >> development then i can submit my work to you which you can test on this dev >> server before committing it to FS Trunk. >> >> Second option is that i work on a single file, test it on my laptop and >> immediately submit it to FS trunk. But this could cause problem for end >> users (developers using FS doxygen docs) as many hyper links connected to >> undocumented files won't work till their docs are done and uploaded. >> >> We also need to decide on, >> >> 1. What Doxygen version to use? i use Archlinux which has the latest 1.6.x >> version, I can downgrade it to 1.4.x. >> 2. What format of documentation to adopt? I think currently we have HTML >> format only, but Doxygen can also generate PDF and CHM formats. >> >> Thank you. >> >> If there is a compelling reason to use 1.6 then let's use it, but if not > let's just stick with 1.4. As far as formats, HTML is definitely the most > useful. I don't know that PDF or CHM is very useful for this kind of thing. > > Thanks! And sorry to hear about your computer and power woes. Hope you > recover soon. > -MC > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/3eefd491/attachment.html From jmesquita at freeswitch.org Mon Feb 22 08:43:14 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Mon, 22 Feb 2010 14:43:14 -0200 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> Message-ID: I could. I have a server that is sitting idle while that we can use for that kind of stuff. Yossi, Muhammad and MSC , let's try to get this synced? I am in Mexico for the week and it is going to be hard to get anything done before March 2nd but this is a subject I definitely want to have a role in if possible. Jo?o Mesquita On Mon, Feb 22, 2010 at 2:34 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > I bet someone would donate a shell account or VM somewhere so you can keep > your work in a safe place. > > > On Mon, Feb 22, 2010 at 10:22 AM, Michael Collins wrote: > >> >> >> On Mon, Feb 22, 2010 at 2:00 AM, Muhammad Shahzad < >> shaheryarkh at googlemail.com> wrote: >> >>> Hi, >>> >>> Its a quite embarrassing to admit that i could completed that work, not >>> even able to submit what was done to FS trunk due to my own stupidity. >>> Actually, we are having major power crisis in the country for last 1 years >>> and most of power cuts are so long that even best UPS systems can't ensure >>> 24/7 up time for our servers. About 3 months ago the development server i >>> was working on for FS Docs was hit by this problem and its hard disk >>> crashed, destroying all my hard work on FS Docs and mod_msn. It was my >>> mistake that i didn't arrange for proper backup for my work due to shortage >>> of resources and didn't inform the FS developers community about the loss. >>> >>> I want to restart this work but don't want to take the lead on this due >>> to issues described above. If you can arrange a common server for FS docs >>> development then i can submit my work to you which you can test on this dev >>> server before committing it to FS Trunk. >>> >>> Second option is that i work on a single file, test it on my laptop and >>> immediately submit it to FS trunk. But this could cause problem for end >>> users (developers using FS doxygen docs) as many hyper links connected to >>> undocumented files won't work till their docs are done and uploaded. >>> >>> We also need to decide on, >>> >>> 1. What Doxygen version to use? i use Archlinux which has the latest >>> 1.6.x version, I can downgrade it to 1.4.x. >>> 2. What format of documentation to adopt? I think currently we have HTML >>> format only, but Doxygen can also generate PDF and CHM formats. >>> >>> Thank you. >>> >>> If there is a compelling reason to use 1.6 then let's use it, but if not >> let's just stick with 1.4. As far as formats, HTML is definitely the most >> useful. I don't know that PDF or CHM is very useful for this kind of thing. >> >> Thanks! And sorry to hear about your computer and power woes. Hope you >> recover soon. >> -MC >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/a1bd674c/attachment-0001.html From anthony.minessale at gmail.com Mon Feb 22 11:42:36 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 22 Feb 2010 13:42:36 -0600 Subject: [Freeswitch-dev] Multicast stream listener module In-Reply-To: References: Message-ID: <191c3a031002221142n2d63aadl76b5966999e44f89@mail.gmail.com> because you have no signaling to negotiate payload types its best to limit this to PCMU. Your only other option is to use L16 (raw signed linear) On Mon, Feb 22, 2010 at 5:53 AM, MohammedShehzad wrote: > > Hello everybody, > I am working on multicast listener format module, So that Freeswitch can > listen on multicasted stream as example below: > > Please see on thread named 'stream a file multicast with mod_esf' on > http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/026163.html > > I am testing that module against the audio multicasted by mod_esf module. > I got some success with help of existing mod_native_file module, and I able > to receive and play the multicasted RAW PCMU RTP (modified the skel of > format module provided by brian), so that caller can hear the multicast by > other Freeswitch server, but when i change the caller's codec from PCMU to > something else, it breaks. > Then I looked into mod_sndfile for decoding PCMU to other codec, but it > seems that module is using libsndfile, which reads sound file directly and > decode them to L16. If something similar to libsndfile is available, which > work on stream instead of reading file, then it would surely work. > Please Let me know your ideas on this, as I don't know how exactly > Freeswitch encoding-decoding works? > > -- > > -MohammedShehzad > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100222/125641f5/attachment.html From pmhshz at gmail.com Mon Feb 22 20:58:56 2010 From: pmhshz at gmail.com (MohammedShehzad) Date: Tue, 23 Feb 2010 10:28:56 +0530 Subject: [Freeswitch-dev] Multicast stream listener module In-Reply-To: <191c3a031002221142n2d63aadl76b5966999e44f89@mail.gmail.com> References: <191c3a031002221142n2d63aadl76b5966999e44f89@mail.gmail.com> Message-ID: How can I use L16? Please let me some reference. On Tue, Feb 23, 2010 at 1:12 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > because you have no signaling to negotiate payload types its best to limit > this to PCMU. > Your only other option is to use L16 (raw signed linear) > > > On Mon, Feb 22, 2010 at 5:53 AM, MohammedShehzad wrote: > >> >> Hello everybody, >> I am working on multicast listener format module, So that Freeswitch can >> listen on multicasted stream as example below: >> >> Please see on thread named 'stream a file multicast with mod_esf' on >> http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/026163.html >> >> I am testing that module against the audio multicasted by mod_esf module. >> I got some success with help of existing mod_native_file module, and I >> able to receive and play the multicasted RAW PCMU RTP (modified the skel of >> format module provided by brian), so that caller can hear the multicast by >> other Freeswitch server, but when i change the caller's codec from PCMU to >> something else, it breaks. >> Then I looked into mod_sndfile for decoding PCMU to other codec, but it >> seems that module is using libsndfile, which reads sound file directly and >> decode them to L16. If something similar to libsndfile is available, which >> work on stream instead of reading file, then it would surely work. >> Please Let me know your ideas on this, as I don't know how exactly >> Freeswitch encoding-decoding works? >> >> -- >> >> -MohammedShehzad >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- -MohammedShehzad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100223/9c2f9919/attachment.html From shaheryarkh at googlemail.com Tue Feb 23 06:55:03 2010 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Tue, 23 Feb 2010 19:55:03 +0500 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> Message-ID: Thanks everyone for your support. Lets get it started. Joao, whenever the server is arranged please provide me access to it, so i can set up base development environment with all necessary tools and utilities installed. Then we can discuss a SOP (standard operating procedure) to proceed with development. Thank you. 2010/2/22 Jo?o Mesquita > I could. I have a server that is sitting idle while that we can use for > that kind of stuff. Yossi, Muhammad and MSC , let's try to get this synced? > > I am in Mexico for the week and it is going to be hard to get anything done > before March 2nd but this is a subject I definitely want to have a role in > if possible. > > Jo?o Mesquita > > > On Mon, Feb 22, 2010 at 2:34 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> I bet someone would donate a shell account or VM somewhere so you can keep >> your work in a safe place. >> >> >> On Mon, Feb 22, 2010 at 10:22 AM, Michael Collins wrote: >> >>> >>> >>> On Mon, Feb 22, 2010 at 2:00 AM, Muhammad Shahzad < >>> shaheryarkh at googlemail.com> wrote: >>> >>>> Hi, >>>> >>>> Its a quite embarrassing to admit that i could completed that work, not >>>> even able to submit what was done to FS trunk due to my own stupidity. >>>> Actually, we are having major power crisis in the country for last 1 years >>>> and most of power cuts are so long that even best UPS systems can't ensure >>>> 24/7 up time for our servers. About 3 months ago the development server i >>>> was working on for FS Docs was hit by this problem and its hard disk >>>> crashed, destroying all my hard work on FS Docs and mod_msn. It was my >>>> mistake that i didn't arrange for proper backup for my work due to shortage >>>> of resources and didn't inform the FS developers community about the loss. >>>> >>>> I want to restart this work but don't want to take the lead on this due >>>> to issues described above. If you can arrange a common server for FS docs >>>> development then i can submit my work to you which you can test on this dev >>>> server before committing it to FS Trunk. >>>> >>>> Second option is that i work on a single file, test it on my laptop and >>>> immediately submit it to FS trunk. But this could cause problem for end >>>> users (developers using FS doxygen docs) as many hyper links connected to >>>> undocumented files won't work till their docs are done and uploaded. >>>> >>>> We also need to decide on, >>>> >>>> 1. What Doxygen version to use? i use Archlinux which has the latest >>>> 1.6.x version, I can downgrade it to 1.4.x. >>>> 2. What format of documentation to adopt? I think currently we have HTML >>>> format only, but Doxygen can also generate PDF and CHM formats. >>>> >>>> Thank you. >>>> >>>> If there is a compelling reason to use 1.6 then let's use it, but if not >>> let's just stick with 1.4. As far as formats, HTML is definitely the most >>> useful. I don't know that PDF or CHM is very useful for this kind of thing. >>> >>> Thanks! And sorry to hear about your computer and power woes. Hope you >>> recover soon. >>> -MC >>> >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk at hotmail.com Email: shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100223/03b634b4/attachment-0001.html From anthony.minessale at gmail.com Tue Feb 23 09:43:03 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Feb 2010 11:43:03 -0600 Subject: [Freeswitch-dev] Multicast stream listener module In-Reply-To: References: <191c3a031002221142n2d63aadl76b5966999e44f89@mail.gmail.com> Message-ID: <191c3a031002230943l386d5ddfv4bf4d0e4435b27a1@mail.gmail.com> That is the native format of all file interfaces, its uncompressed audio. It's 128kps per stream for an 8k call but since you only need one, it's not so bad. On Mon, Feb 22, 2010 at 10:58 PM, MohammedShehzad wrote: > How can I use L16? Please let me some reference. > > > On Tue, Feb 23, 2010 at 1:12 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> because you have no signaling to negotiate payload types its best to limit >> this to PCMU. >> Your only other option is to use L16 (raw signed linear) >> >> >> On Mon, Feb 22, 2010 at 5:53 AM, MohammedShehzad wrote: >> >>> >>> Hello everybody, >>> I am working on multicast listener format module, So that Freeswitch can >>> listen on multicasted stream as example below: >>> >>> Please see on thread named 'stream a file multicast with mod_esf' on >>> http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/026163.html >>> >>> I am testing that module against the audio multicasted by mod_esf module. >>> I got some success with help of existing mod_native_file module, and I >>> able to receive and play the multicasted RAW PCMU RTP (modified the skel of >>> format module provided by brian), so that caller can hear the multicast by >>> other Freeswitch server, but when i change the caller's codec from PCMU to >>> something else, it breaks. >>> Then I looked into mod_sndfile for decoding PCMU to other codec, but it >>> seems that module is using libsndfile, which reads sound file directly and >>> decode them to L16. If something similar to libsndfile is available, which >>> work on stream instead of reading file, then it would surely work. >>> Please Let me know your ideas on this, as I don't know how exactly >>> Freeswitch encoding-decoding works? >>> >>> -- >>> >>> -MohammedShehzad >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at 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 >> iax:guest at conference.freeswitch.org/888 >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org >> >> > > > -- > > -MohammedShehzad > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100223/c7711713/attachment.html From msc at freeswitch.org Tue Feb 23 13:26:04 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Feb 2010 13:26:04 -0800 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> Message-ID: <87f2f3b91002231326n5ae9876dr891755b49c6a6928@mail.gmail.com> On Tue, Feb 23, 2010 at 6:55 AM, Muhammad Shahzad < shaheryarkh at googlemail.com> wrote: > Thanks everyone for your support. Lets get it started. > > Joao, whenever the server is arranged please provide me access to it, so i > can set up base development environment with all necessary tools and > utilities installed. Then we can discuss a SOP (standard operating > procedure) to proceed with development. > > Agreed. JM, when you get back home let's discuss this. I'll mention this on the conf call for tomorrow. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100223/3c2c2e1f/attachment.html From msc at freeswitch.org Tue Feb 23 16:50:59 2010 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Feb 2010 16:50:59 -0800 Subject: [Freeswitch-dev] REMINDER: FreeSWITCH Conf Call Moved to Wednesday! Message-ID: <87f2f3b91002231650q6388c789v5f1287c7d2703204@mail.gmail.com> Hi all, Just a reminder that we are meeting up on Wednesay morning. Here's the agenda: http://wiki.freeswitch.org/wiki/FS_weekly_2010_02_24 It is light since we only had a few days since our meeting last Friday. Remember that I won't be in right at the start of the meeting because I will be taking my kids to school. Please feel free to use that time to mingle... Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100223/7ba1bb66/attachment.html From jmesquita at freeswitch.org Tue Feb 23 23:57:02 2010 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Wed, 24 Feb 2010 01:57:02 -0600 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: <87f2f3b91002231326n5ae9876dr891755b49c6a6928@mail.gmail.com> References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> <87f2f3b91002231326n5ae9876dr891755b49c6a6928@mail.gmail.com> Message-ID: Sorry folks. I won't be available till March 2nd when this trade show is finally ended. Will get it all setup next week and that's a promise. Regards, Jo?o Mesquita On Tue, Feb 23, 2010 at 3:26 PM, Michael Collins wrote: > > > On Tue, Feb 23, 2010 at 6:55 AM, Muhammad Shahzad < > shaheryarkh at googlemail.com> wrote: > >> Thanks everyone for your support. Lets get it started. >> >> Joao, whenever the server is arranged please provide me access to it, so i >> can set up base development environment with all necessary tools and >> utilities installed. Then we can discuss a SOP (standard operating >> procedure) to proceed with development. >> >> Agreed. JM, when you get back home let's discuss this. I'll mention this > on the conf call for tomorrow. > -MC > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/bbe1d8ea/attachment.html From devel at thom.fr.eu.org Wed Feb 24 00:53:47 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Wed, 24 Feb 2010 09:53:47 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> Message-ID: Hello, Here comes the patch. The patch fixes the CID for France (and probably other european countries except maybe england where a specific TAS has to be used), both for incoming calls and call waiting cases. If anybody can try this patch with US hardware to verify the compatibility. I added a new parameter in openzap.conf (modem-type defaulting to FSK_BELL202) so that modulation can be specified in config. The patch also adds the MWI functionnality on FXS ports (that meant to also patch mod_voicemail), by using the MWI-Account parameter in directory set to something like "openzap/x/y". Please comment on this, if any modification need to be made. Fran?ois On Mon, 15 Feb 2010 23:40:38 +0100, wrote: Hello, I'm very happy to announce I could finally get this to work. So far I only have a very dirty patch so I'll try to arrange this a little bit, then I'll post it to the list. Does anybody have an idea on how to make the CID feature configurable (for the different standards used BELL/V23) ? Fran?ois DE : freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] DE LA PART DE Moises Silva ENVOY : mardi 9 f?vrier 2010 07:33 : freeswitch-dev at lists.freeswitch.org OBJET : Re: [Freeswitch-dev] Openzap and CLIP Hello Fran?ois, On Fri, Feb 5, 2010 at 11:18 AM, Fran?ois Legal That lead me to think that maybe this is a non implemented feature and maybe the data in fsk_buffer should be sent somewhere to the card. Could anybody shed me some light on this. I am not terribly familiar with the analog code, but ... The fsk buffer seems to be sent when calling send_caller_id(), which is called from ZAP_CHANNEL_STATE_CALLWAITING. In any case, there is not much places where the modulated signal can be sent, everything goes down the file descriptor of the channel via zap_channel_write(). As I said, is done through send_caller_id() -> zap_channel_send_fsk_data() which sets the write function pointer to zchan_fsk_write_sample() and is then called back when calling zap_fsk_modulator_send_all(). May be you should take a look at src/testcid.c to learn about the API usage and src/zap_callerid.c to see the implementation. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy at sangoma.com [1] Links: ------ [1] mailto:moy at sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/98571b3e/attachment-0001.html From mike at jerris.com Wed Feb 24 01:13:38 2010 From: mike at jerris.com (Michael Jerris) Date: Wed, 24 Feb 2010 04:13:38 -0500 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> Message-ID: <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> where? On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: > Hello, > > > Here comes the patch. > > The patch fixes the CID for France (and probably other european countries except maybe england where a specific TAS has to be used), both for incoming calls and call waiting cases. > > If anybody can try this patch with US hardware to verify the compatibility. > > I added a new parameter in openzap.conf (modem-type defaulting to FSK_BELL202) so that modulation can be specified in config. > > The patch also adds the MWI functionnality on FXS ports (that meant to also patch mod_voicemail), by using the MWI-Account parameter in directory set to something like "openzap/x/y". > > > Please comment on this, if any modification need to be made. > > > Fran?ois > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/d6c818ac/attachment.html From devel at thom.fr.eu.org Wed Feb 24 01:27:31 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Wed, 24 Feb 2010 10:27:31 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <2767a9f20c8cc35f4c1c62c43528f9b2@thom.fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> Message-ID: <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> Oh, you're right. I always forget to attach files ;-) Fran?ois On Wed, 24 Feb 2010 04:13:38 -0500, Michael Jerris wrote: where? On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: Hello, Here comes the patch. The patch fixes the CID for France (and probably other european countries except maybe england where a specific TAS has to be used), both for incoming calls and call waiting cases. If anybody can try this patch with US hardware to verify the compatibility. I added a new parameter in openzap.conf (modem-type defaulting to FSK_BELL202) so that modulation can be specified in config. The patch also adds the MWI functionnality on FXS ports (that meant to also patch mod_voicemail), by using the MWI-Account parameter in directory set to something like "openzap/x/y". Please comment on this, if any modification need to be made. Fran?ois -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/8d15a7dd/attachment-0001.html -------------- next part -------------- --- ./libs/openzap/src/.svn/text-base/zap_io.c.svn-base 2010-02-11 11:03:16.000000000 +0100 +++ ./libs/openzap/src/zap_io.c 2010-02-23 17:02:28.371058955 +0100 @@ -645,12 +645,13 @@ } if (zchan->token_count > 1) { - zap_fsk_modulator_init(&fsk_trans, FSK_BELL202, zchan->rate, fsk_data, db_level, 80, 5, 0, zchan_fsk_write_sample, zchan); + /*zap_fsk_modulator_init(&fsk_trans, FSK_V23_FORWARD_MODE2, zchan->rate, fsk_data, db_level, 80, 5, 0, zchan_fsk_write_sample, zchan);*/ + zap_fsk_modulator_init(&fsk_trans, zchan->span->modem_type, zchan->rate, fsk_data, db_level, 80, 5, 0, zchan_fsk_write_sample, zchan); zap_fsk_modulator_send_all((&fsk_trans)); } else { - zap_fsk_modulator_init(&fsk_trans, FSK_BELL202, zchan->rate, fsk_data, db_level, 180, 5, 300, zchan_fsk_write_sample, zchan); + /*zap_fsk_modulator_init(&fsk_trans, FSK_V23_FORWARD_MODE2, zchan->rate, fsk_data, db_level, 180, 5, 300, zchan_fsk_write_sample, zchan);*/ + zap_fsk_modulator_init(&fsk_trans, zchan->span->modem_type, zchan->rate, fsk_data, db_level, 180, 5, 300, zchan_fsk_write_sample, zchan); zap_fsk_modulator_send_all((&fsk_trans)); - zchan->buffer_delay = 3500 / zchan->effective_interval; } return ZAP_SUCCESS; @@ -868,6 +869,7 @@ case ZAP_CHANNEL_STATE_PROGRESS: case ZAP_CHANNEL_STATE_GET_CALLERID: case ZAP_CHANNEL_STATE_GENRING: + case ZAP_CHANNEL_STATE_MWI: ok = 1; break; default: @@ -1582,6 +1584,16 @@ zap_mutex_unlock(zchan->pre_buffer_mutex); } break; + + case ZAP_COMMAND_SET_MWI: + { + zchan->pre_buffer_size = ZAP_COMMAND_OBJ_INT; + + status = zap_channel_set_state(zchan, ZAP_CHANNEL_STATE_MWI, 1); + + GOTO_STATUS(done, status); + } + break; default: break; } @@ -1925,6 +1937,13 @@ } } + if (zchan->fds[1] > -1) { + if ((write(zchan->fds[1], auxbuf, dlen)) != dlen) { + snprintf(zchan->last_error, sizeof(zchan->last_error), "file write error!"); + return ZAP_FAIL; + } + } + return zchan->zio->write(zchan, auxbuf, &dlen); } @@ -2047,6 +2066,7 @@ if (zap_fsk_demod_feed(&zchan->fsk, sln, slen) != ZAP_SUCCESS) { zap_size_t type, mlen; char str[128], *sp; + char firstcaller[128] = { '*', '\0'}; while(zap_fsk_data_parse(&zchan->fsk, &type, &sp, &mlen) == ZAP_SUCCESS) { *(str+mlen) = '\0'; @@ -2091,9 +2111,29 @@ zap_set_string(zchan->caller_data.cid_date, str); } break; + case MDMF_FIRST_PHONE_NUM: + { + if (mlen > sizeof(firstcaller) - 2) { + mlen = sizeof(firstcaller) - 2; + } + zap_set_string(&firstcaller[1], str); + } + break; } } zap_channel_command(zchan, ZAP_COMMAND_DISABLE_CALLERID_DETECT, NULL); + if (! zap_strlen_zero(&firstcaller[1])) { + if ((strncmp("private", zchan->caller_data.ani.digits, sizeof ("private") - 1) == 0) || + (strncmp("unknown", zchan->caller_data.ani.digits, sizeof ("unknown") - 1) == 0)) { + zap_set_string(zchan->caller_data.ani.digits, firstcaller); + zap_set_string(zchan->caller_data.cid_name, "FWD "); + zap_copy_string((char *) (zchan->caller_data.cid_name + 4), & firstcaller[1], strlen(& firstcaller[1])); + } else if ((strncmp("private", zchan->caller_data.cid_name, sizeof ("private") - 1) == 0) || + (strncmp("unknown", zchan->caller_data.cid_name, sizeof ("unknown") - 1) == 0)) { + zap_set_string(zchan->caller_data.cid_name, "FWD "); + zap_copy_string((char *) (zchan->caller_data.cid_name + 4), & firstcaller[1], strlen(& firstcaller[1])); + } + } } } @@ -2410,6 +2450,9 @@ continue; } + /* Set default modem type for span */ + span->modem_type = FSK_BELL202; + zap_log(ZAP_LOG_DEBUG, "span %d [%s]=[%s]\n", span->span_id, var, val); if (!strcasecmp(var, "trunk_type")) { @@ -2490,6 +2533,14 @@ } else if (!strcasecmp(var, "dtmf_hangup")) { span->dtmf_hangup = strdup(val); span->dtmf_hangup_len = strlen(val); + } else if (!strcasecmp(var, "modem-type")) { + if (!strcasecmp(val, "FSK_V23_FORWARD_MODE1")) { + span->modem_type = FSK_V23_FORWARD_MODE1; + } else if (!strcasecmp(val, "FSK_V23_FORWARD_MODE2")) { + span->modem_type = FSK_V23_FORWARD_MODE2; + } else if (!strcasecmp(val, "FSK_V23_BACKWARD")) { + span->modem_type = FSK_V23_BACKWARD; + } } else { zap_log(ZAP_LOG_ERROR, "unknown span variable '%s'\n", var); } --- ./libs/openzap/src/ozmod/ozmod_analog/.svn/text-base/ozmod_analog.c.svn-base 2010-02-11 11:03:15.000000000 +0100 +++ ./libs/openzap/src/ozmod/ozmod_analog/ozmod_analog.c 2010-02-24 09:27:29.079058352 +0100 @@ -256,6 +256,52 @@ } /** + * \brief Sends message wainting indicator on an analog channel (FSK coded) + * \param zchan Channel to send caller id on + * \param state indicator value as follows : if bit 0x80 is set, light on indicator - bits 0x7F : amount of messages waiting + */ +static void send_mwi(zap_channel_t *zchan, int state) +{ + zap_fsk_data_state_t fsk_data; + uint8_t databuf[1024] = ""; + char time_str[9]; + struct tm tm; + time_t now; + char indicator; + char amount_messages; + + time(&now); +#ifdef WIN32 + _tzset(); + _localtime64_s(&tm, &now); +#else + localtime_r(&now, &tm); +#endif + strftime(time_str, sizeof(time_str), "%m%d%H%M", &tm); + + zap_fsk_data_init(&fsk_data, databuf, sizeof(databuf)); + zap_fsk_data_add_mdmf(&fsk_data, MDMF_DATETIME, (uint8_t *) time_str, 8); + + if (state & 0x80) { + indicator = 0xFF; + amount_messages = state & 0x7F; + } else { + indicator = 0; + amount_messages = state; + } + + zap_fsk_data_add_mdmf(&fsk_data, MDMF_MWI, (uint8_t *) & indicator, (uint8_t) sizeof (indicator)); + + zap_fsk_data_add_mdmf(&fsk_data, MDMF_AMOUNT_MESSAGES, (uint8_t *) & amount_messages, (uint8_t) sizeof (amount_messages)); + + fsk_data.buf[0] = ZAP_CID_TYPE_MWI; + + zap_fsk_data_add_checksum(&fsk_data); + + zap_channel_send_fsk_data(zchan, &fsk_data, -14); +} + +/** * \brief Main thread function for analog channel (outgoing call) * \param me Current thread * \param obj Channel to run in this thread @@ -275,6 +321,7 @@ uint32_t state_counter = 0, elapsed = 0, collecting = 0, interval = 0, last_digit = 0, indicate = 0, dial_timeout = 30000; zap_sigmsg_t sig; zap_status_t status; + int time = 0; zap_log(ZAP_LOG_DEBUG, "ANALOG CHANNEL thread starting.\n"); @@ -346,7 +393,15 @@ break; case ZAP_CHANNEL_STATE_GENRING: { - if (state_counter > 60000) { + if (state_counter == 260) { + zap_channel_command(zchan, ZAP_COMMAND_GENERATE_RING_OFF, NULL); + } else if (state_counter == 900) { + send_caller_id(zchan); + } else if (state_counter > 900 && !zap_buffer_inuse(zchan->fsk_buffer) && time == 0) { + time = state_counter + 400; + } else if (state_counter == time) { + zap_channel_command(zchan, ZAP_COMMAND_GENERATE_RING_ON, NULL); + } else if (state_counter > 60000) { zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_DOWN); } else if (!zchan->fsk_buffer || !zap_buffer_inuse(zchan->fsk_buffer)) { zap_sleep(interval); @@ -354,6 +409,18 @@ } } break; + case ZAP_CHANNEL_STATE_MWI: + { + if (state_counter == 400) { + zap_channel_command(zchan, ZAP_COMMAND_GENERATE_RING_OFF, NULL); + } else if (state_counter == 1100) { + send_mwi(zchan, zchan->pre_buffer_size); + } else if (state_counter > 1200 && !zap_buffer_inuse(zchan->fsk_buffer)) { + zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_DOWN); + continue; + } + } + break; case ZAP_CHANNEL_STATE_DIALTONE: { if (!zap_test_flag(zchan, ZAP_CHANNEL_HOLD) && state_counter > 10000) { @@ -397,7 +464,15 @@ { int done = 0; - if (zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK] == 1) { + if (state_counter == 760) { + ts.user_data = zchan->fsk_buffer; + teletone_run(&ts, zchan->span->tone_map[ZAP_TONEMAP_CALLWAITING_CAS]); + ts.user_data = dt_buffer; + } else if (state_counter == 1100) { + send_caller_id(zchan); + } else + + /*if (zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK] == 1) { send_caller_id(zchan); zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK]++; } else if (state_counter > 600 && !zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK]) { @@ -405,7 +480,8 @@ zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK]++; } else if (state_counter > 1000 && !zchan->detected_tones[ZAP_TONEMAP_CALLWAITING_ACK]) { done = 1; - } else if (state_counter > 10000) { + } else*/ if (state_counter > 10000) { + /* if (zchan->fsk_buffer) { zap_buffer_zero(zchan->fsk_buffer); } else { @@ -414,7 +490,7 @@ ts.user_data = zchan->fsk_buffer; teletone_run(&ts, zchan->span->tone_map[ZAP_TONEMAP_CALLWAITING_SAS]); - ts.user_data = dt_buffer; + ts.user_data = dt_buffer;*/ done = 1; } @@ -533,7 +609,7 @@ ts.user_data = zchan->fsk_buffer; teletone_run(&ts, zchan->span->tone_map[ZAP_TONEMAP_CALLWAITING_SAS]); - teletone_run(&ts, zchan->span->tone_map[ZAP_TONEMAP_CALLWAITING_CAS]); + /*teletone_run(&ts, zchan->span->tone_map[ZAP_TONEMAP_CALLWAITING_CAS]);*/ ts.user_data = dt_buffer; } break; @@ -541,8 +617,8 @@ { zap_sigmsg_t sig; - send_caller_id(zchan); zap_channel_command(zchan, ZAP_COMMAND_GENERATE_RING_ON, NULL); + time = 0; memset(&sig, 0, sizeof(sig)); sig.chan_id = zchan->chan_id; @@ -553,6 +629,17 @@ } break; + case ZAP_CHANNEL_STATE_MWI: + { + if (zchan->fsk_buffer) { + zap_buffer_zero(zchan->fsk_buffer); + } else { + zap_buffer_create(&zchan->fsk_buffer, 128, 128, 0); + } + + zap_channel_command(zchan, ZAP_COMMAND_GENERATE_RING_ON, NULL); + } + break; case ZAP_CHANNEL_STATE_GET_CALLERID: { memset(&zchan->caller_data, 0, sizeof(zchan->caller_data)); @@ -671,6 +758,8 @@ zap_log(ZAP_LOG_ERROR, "No Digits to send!\n"); zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_BUSY); } else { + /* I seem to have some trouble when dialing as soon as dialtone is detected */ + usleep (400000); if (zap_channel_command(zchan, ZAP_COMMAND_SEND_DTMF, zchan->caller_data.ani.digits) != ZAP_SUCCESS) { zap_log(ZAP_LOG_ERROR, "Send Digits Failed [%s]\n", zchan->last_error); zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_BUSY); --- ./libs/openzap/src/include/.svn/text-base/openzap.h.svn-base 2010-02-11 11:03:16.000000000 +0100 +++ ./libs/openzap/src/include/openzap.h 2010-02-23 17:00:23.540058087 +0100 @@ -585,6 +585,7 @@ int suggest_chan_id; zap_state_map_t *state_map; struct zap_span *next; + fsk_modem_types_t modem_type; }; @@ -636,6 +637,7 @@ OZ_DECLARE(int) zap_fsk_demod_init(zap_fsk_data_state_t *state, int rate, uint8_t *buf, size_t bufsize); OZ_DECLARE(zap_status_t) zap_fsk_data_init(zap_fsk_data_state_t *state, uint8_t *data, uint32_t datalen); OZ_DECLARE(zap_status_t) zap_fsk_data_add_mdmf(zap_fsk_data_state_t *state, zap_mdmf_type_t type, const uint8_t *data, uint32_t datalen); +OZ_DECLARE(zap_status_t) zap_fsk_data_add_mwi(zap_fsk_data_state_t *state, zap_mdmf_type_t type, const uint8_t *data, uint32_t datalen); OZ_DECLARE(zap_status_t) zap_fsk_data_add_checksum(zap_fsk_data_state_t *state); OZ_DECLARE(zap_status_t) zap_fsk_data_add_sdmf(zap_fsk_data_state_t *state, const char *date, char *number); OZ_DECLARE(zap_status_t) zap_channel_outgoing_call(zap_channel_t *zchan); --- ./src/include/.svn/text-base/zap_types.h.svn-base 2010-02-11 11:03:16.000000000 +0100 +++ ./src/include/zap_types.h 2010-02-17 14:34:58.427058956 +0100 @@ -81,7 +81,8 @@ typedef enum { ZAP_CID_TYPE_SDMF = 0x04, - ZAP_CID_TYPE_MDMF = 0x80 + ZAP_CID_TYPE_MDMF = 0x80, + ZAP_CID_TYPE_MWI = 0x82 } zap_cid_type_t; typedef enum { @@ -92,9 +93,16 @@ MDMF_PHONE_NAME = 7, MDMF_NO_NAME = 8, MDMF_ALT_ROUTE = 9, - MDMF_INVALID = 10 + MDMF_MWI = 11, + MDMF_MESSAGE_ID = 13, + MDMF_LAST_VM_FROM = 14, + MDMF_CALL_TYPE = 17, + MDMF_FIRST_PHONE_NUM = 18, + MDMF_AMOUNT_MESSAGES = 19, + MDMF_FWD_TYPE = 21, + MDMF_INVALID = 22 } zap_mdmf_type_t; -#define MDMF_STRINGS "X", "DATETIME", "PHONE_NUM", "DDN", "NO_NUM", "X", "X", "PHONE_NAME", "NO_NAME", "ALT_ROUTE", "INVALID" +#define MDMF_STRINGS "X", "DATETIME", "PHONE_NUM", "DDN", "NO_NUM", "X", "X", "PHONE_NAME", "NO_NAME", "ALT_ROUTE", "X", "MWI", "X", "MESSAGE_ID", "LAST_VM_FROM", "X", "X", "CALL_TYPE", "FIRST_PHONE_NUM", "AMOUNT_OF_MESSAGES", "X", "FWD_TYPE", "INVALID" ZAP_STR2ENUM_P(zap_str2zap_mdmf_type, zap_mdmf_type2str, zap_mdmf_type_t) #define ZAP_TONEMAP_LEN 128 @@ -284,7 +292,8 @@ ZAP_COMMAND_FLUSH_RX_BUFFERS, ZAP_COMMAND_FLUSH_BUFFERS, ZAP_COMMAND_SET_PRE_BUFFER_SIZE, - ZAP_COMMAND_COUNT + ZAP_COMMAND_COUNT, + ZAP_COMMAND_SET_MWI } zap_command_t; typedef enum { @@ -316,7 +325,8 @@ ZAP_CHANNEL_FEATURE_CODECS = (1 << 2), ZAP_CHANNEL_FEATURE_INTERVAL = (1 << 3), ZAP_CHANNEL_FEATURE_CALLERID = (1 << 4), - ZAP_CHANNEL_FEATURE_PROGRESS = (1 << 5) + ZAP_CHANNEL_FEATURE_PROGRESS = (1 << 5), + ZAP_CHANNEL_FEATURE_FAX_DETECT = (1 << 6) } zap_channel_feature_t; typedef enum { @@ -341,11 +351,12 @@ ZAP_CHANNEL_STATE_CANCEL, ZAP_CHANNEL_STATE_HANGUP, ZAP_CHANNEL_STATE_HANGUP_COMPLETE, + ZAP_CHANNEL_STATE_MWI, ZAP_CHANNEL_STATE_INVALID } zap_channel_state_t; #define CHANNEL_STATE_STRINGS "DOWN", "HOLD", "SUSPENDED", "DIALTONE", "COLLECT", \ "RING", "BUSY", "ATTN", "GENRING", "DIALING", "GET_CALLERID", "CALLWAITING", \ - "RESTART", "PROGRESS", "PROGRESS_MEDIA", "UP", "IDLE", "TERMINATING", "CANCEL", "HANGUP", "HANGUP_COMPLETE", "INVALID" + "RESTART", "PROGRESS", "PROGRESS_MEDIA", "UP", "IDLE", "TERMINATING", "CANCEL", "HANGUP", "HANGUP_COMPLETE", "MWI", "INVALID" ZAP_STR2ENUM_P(zap_str2zap_channel_state, zap_channel_state2str, zap_channel_state_t) typedef enum { --- ./libs/openzap/mod_openzap/.svn/text-base/mod_openzap.c.svn-base 2010-02-11 11:03:16.000000000 +0100 +++ ./libs/openzap/mod_openzap/mod_openzap.c 2010-02-23 19:02:31.071059153 +0100 @@ -1901,6 +1901,95 @@ } +static switch_status_t zap_send_mwi (int span_no, int chan_no, int messages) +{ + zap_span_t *span; + zap_channel_t *chan = NULL; + + if ((span = SPAN_CONFIG[span_no].span) == NULL) { + zap_log(ZAP_LOG_ERROR, "invalid span %d\n", span_no); + return (ZAP_FAIL); + } + + if (chan_no > span->chan_count || span->channels[chan_no] == NULL) { + zap_log(ZAP_LOG_ERROR, "invalid channel %d:%d\n", span_no, chan_no); + return (ZAP_FAIL); + } + + while (span->channels[chan_no]->state != ZAP_CHANNEL_STATE_DOWN) { + sleep (2); + } + + sleep (2); + + zap_channel_open(span_no, chan_no, &chan); + zap_channel_outgoing_call(chan); + zap_channel_command(chan, ZAP_COMMAND_SET_MWI, &messages); + zap_channel_init(chan); + + return (ZAP_SUCCESS); +} + +static void mod_openzap_mwi_handler(switch_event_t *event) +{ + char *account, *amount; + char *seek_ptr, *end_ptr; + int span_no = 0; + int chan_no = 0; + int amount_new = 0; + int amount_saved = 0; + + switch_assert(event); + + if (event->event_id == SWITCH_EVENT_MESSAGE_WAITING) { + + if (!(account = switch_event_get_header(event, "mwi-message-account"))) { + zap_log(ZAP_LOG_ERROR, "Missing required Header 'MWI-Message-Account'\n"); + return; + } + + if (strncmp ("openzap/", account, sizeof("openzap/") - 1)) { + zap_log(ZAP_LOG_DEBUG, "The MWI-Account is not for openzap notification : %s\n", account); + return; + } + + if ((seek_ptr = strchr(account, '/')) == NULL) { + span_no = chan_no = 0; + } else if ((end_ptr = strchr (++seek_ptr, '/')) == NULL) { + span_no = atoi(seek_ptr); + chan_no = 0; + } else { + span_no = atoi(seek_ptr); + chan_no = atoi(++end_ptr); + } + + if (!(amount = switch_event_get_header(event, "mwi-voice-message"))) { + zap_log(ZAP_LOG_ERROR, "Missing required Header 'mwi-voice-message'\n"); + return; + } + + if ((seek_ptr = strchr(amount, '/')) == NULL) { + amount_new = atoi(amount); + } else { + amount_new = atoi(amount); + amount_saved = atoi(++seek_ptr); + } + + if (amount_new > 0) { + amount_new |= 0x80; + } else { + amount_new += amount_saved; + } + + zap_log(ZAP_LOG_DEBUG, "Sending MWI on [%d:%d] : 0x%X\n", span_no, chan_no, amount_new); + zap_send_mwi(span_no, chan_no, amount_new); + + } else { + zap_log(ZAP_LOG_ERROR, "Unexpected event %d for this handler\n", event->event_id); + } + +} + static uint32_t enable_analog_option(const char *str, uint32_t current_options) { if (!strcasecmp(str, "3-way")) { @@ -2720,7 +2809,8 @@ ); } -#define OZ_SYNTAX "list || dump [] || q931_pcap on|off [pcapfilename without suffix]" +#define OZ_SYNTAX "list || dump [] || q931_pcap on|off [pcapfilename without suffix]" \ + " || trace in|out [filename] || mwi " SWITCH_STANDARD_API(oz_function) { char *mycmd = NULL, *argv[10] = { 0 }; @@ -2909,6 +2999,79 @@ goto end; } + } else if (!strcasecmp(argv[0], "trace")) { + int32_t span_id = 0; + int32_t chan_id = 0; + zap_span_t *span; + zap_channel_t *chan; + const char *pcapfn = NULL; + char *tmp_path = NULL; + zap_command_t command; + + if (argc < 3) { + stream->write_function(stream, "-ERR Usage: oz trace in|out \n"); + goto end; + } + span_id = atoi(argv[1]); + if (!(span_id && (span = SPAN_CONFIG[span_id].span))) { + stream->write_function(stream, "-ERR invalid span\n"); + goto end; + } + + chan_id = atoi(argv[2]); + if (!(chan_id && (chan = span->channels[chan_id]))) { + stream->write_function(stream, "-ERR invalid channel\n"); + goto end; + } + + if (strcasecmp(argv[3], "in")) { + command = ZAP_COMMAND_TRACE_INPUT; + } else { + if (strcasecmp(argv[3], "out")) { + command = ZAP_COMMAND_TRACE_OUTPUT; + } else { + stream->write_function(stream, "-ERR invalid recording direction\n"); + goto end; + } + } + + /*Look for a given file name or use default file name*/ + if (argc > 4) { + if(argv[4]){ + pcapfn=argv[4]; + } + } + else { + tmp_path=switch_mprintf("%s%szap-%1d-%1d-%s.dmp", SWITCH_GLOBAL_dirs.log_dir, SWITCH_PATH_SEPARATOR, span_id, chan_id, argv[3]); + } + if (zap_channel_command(chan, command, tmp_path) != ZAP_SUCCESS) { + zap_log(ZAP_LOG_ERROR, "Error couldn't enable trace!\n"); + goto end; + } else { + stream->write_function(stream, "+OK\n"); + } + + } else if (!strcasecmp(argv[0], "mwi")) { + int32_t span_id = 0; + int32_t chan_id = 0; + int32_t indicator = 0; + + if (argc < 4) { + stream->write_function(stream, "-ERR Usage: oz mwi <0|1>\n"); + goto end; + } + span_id = atoi(argv[1]); + chan_id = atoi(argv[2]); + indicator = atoi(argv[3]); + + zap_log(ZAP_LOG_DEBUG, "Sending MWI on [%d:%d] : 0x%X\n", span_id, chan_id, indicator); + + if (zap_send_mwi(span_id, chan_id, indicator) == ZAP_SUCCESS) { + stream->write_function(stream, "+OK\n"); + } else { + stream->write_function(stream, "-ERR\n"); + } + } else { char *rply = zap_api_execute(cmd, NULL); @@ -2978,6 +3141,10 @@ openzap_endpoint_interface->io_routines = &openzap_io_routines; openzap_endpoint_interface->state_handler = &openzap_state_handlers; + if (switch_event_bind(openzap_endpoint_interface->interface_name, SWITCH_EVENT_MESSAGE_WAITING, SWITCH_EVENT_SUBCLASS_ANY, mod_openzap_mwi_handler, NULL) != SWITCH_STATUS_SUCCESS) { + zap_log(ZAP_LOG_ERROR, "Error binding MWI to OpenZAP\n"); + } + SWITCH_ADD_API(commands_api_interface, "oz", "OpenZAP commands", oz_function, OZ_SYNTAX); SWITCH_ADD_APP(app_interface, "disable_ec", "Disable Echo Canceller", "Disable Echo Canceller", disable_ec_function, "", SAF_NONE); @@ -2988,6 +3155,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_openzap_shutdown) { + switch_event_unbind_callback(mod_openzap_mwi_handler); + zap_global_destroy(); // this breaks pika but they are MIA so *shrug* --- .src/mod/applications/mod_voicemail/.svn/text-base/mod_voicemail.c.svn-base 2010-02-11 11:00:12.000000000 +0100 +++ .src/mod/applications/mod_voicemail/mod_voicemail.c 2010-02-19 09:49:06.344058424 +0100 @@ -1653,7 +1661,7 @@ } -static void update_mwi(vm_profile_t *profile, const char *id, const char *domain_name, const char *myfolder) +static void update_mwi(vm_profile_t *profile, const char *id, const char *domain_name, const char *myfolder, const char *mwi_account) { const char *yn = "no"; int total_new_messages = 0; @@ -1673,13 +1681,16 @@ yn = "yes"; } switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "MWI-Messages-Waiting", yn); - switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s@%s", id, domain_name); + if (mwi_account == NULL) { + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s@%s", id, domain_name); + } else { + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Message-Account", "%s", mwi_account); + } switch_event_add_header(event, SWITCH_STACK_BOTTOM, "MWI-Voice-Message", "%d/%d (%d/%d)", total_new_messages, total_saved_messages, total_new_urgent_messages, total_saved_urgent_messages); switch_event_fire(&event); } - #define FREE_DOMAIN_ROOT() if (x_domain_root) switch_xml_free(x_domain_root); x_user = x_domain = x_domain_root = NULL @@ -1703,6 +1714,7 @@ int total_saved_urgent_messages = 0; int heard_auto_saved = 0, heard_auto_new = 0; char *vm_email = NULL, *email_addr = NULL; + char *mwi_account = NULL; char *convert_cmd = profile->convert_cmd; char *convert_ext = profile->convert_ext; char *vm_storage_dir = NULL; @@ -1872,7 +1884,7 @@ vm_execute_sql(profile, sql, profile->mutex); vm_check_state = VM_CHECK_FOLDER_SUMMARY; - update_mwi(profile, myid, domain_name, myfolder); + update_mwi(profile, myid, domain_name, myfolder, mwi_account); } break; case VM_CHECK_CONFIG: @@ -2145,6 +2157,8 @@ } else if (!strcasecmp(var, "timezone")) { switch_channel_set_variable(channel, var, val); + } else if (!strcasecmp(var, "MWI-Account")) { + mwi_account = switch_core_session_strdup(session, val); } } @@ -2279,6 +2293,7 @@ char *vm_notify_email = NULL; char *email_addr = NULL; char *vm_timezone = NULL; + char *mwi_account = NULL; int send_mail = 0; int send_main = 0; int send_notify = 0; @@ -2351,10 +2366,12 @@ convert_ext = switch_core_strdup(pool, val); } else if (!strcasecmp(var, "timezone")) { vm_timezone = switch_core_strdup(pool, val); + } else if (!strcasecmp(var, "MWI-Account")) { + mwi_account = switch_core_strdup(pool, val); } /*switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Send mail is %d, var is %s\n", send_mail, var); */ } - + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Deliver VM to %s@%s\n", myid, domain_name); if (!zstr(vm_storage_dir)) { @@ -2415,7 +2432,7 @@ vm_execute_sql(profile, usql, profile->mutex); switch_safe_free(usql); - update_mwi(profile, myid, domain_name, myfolder); + update_mwi(profile, myid, domain_name, myfolder, mwi_account); } if (send_mail && !zstr(vm_email) && switch_file_exists(file_path, pool) == SWITCH_STATUS_SUCCESS) { @@ -3569,6 +3586,8 @@ char *sql; struct holder holder; char *ref = NULL; + char *mwi_account = NULL; + switch_xml_t x_domain = NULL, x_domain_root = NULL, x_user = NULL, x_params, x_param; if (stream->param_event) { ref = switch_event_get_header(stream->param_event, "http-referer"); @@ -3586,7 +3605,22 @@ vm_execute_sql(profile, sql, profile->mutex); free(sql); - update_mwi(profile, user, domain, myfolder); + if (switch_xml_locate_user("id", user, domain, NULL, &x_domain_root, &x_domain, &x_user, NULL, NULL) != SWITCH_STATUS_SUCCESS) { + stream->write_function(stream, "Can't find user [%s@%s]\n", user, domain); + } else { + if ((x_params = switch_xml_child(x_user, "params"))) { + for (x_param = switch_xml_child(x_params, "param"); x_param; x_param = x_param->next) { + const char *var = switch_xml_attr_soft(x_param, "name"); + const char *val = switch_xml_attr_soft(x_param, "value"); + + if (!strcasecmp(var, "MWI-Account")) { + mwi_account = switch_core_strdup(profile->pool, val); + } + } + } + } + + update_mwi(profile, user, domain, myfolder, mwi_account); if (ref) { stream->write_function(stream, "Content-type: text/html\n\n

Message Deleted

\n" "", ref); From pmhshz at gmail.com Wed Feb 24 02:08:28 2010 From: pmhshz at gmail.com (MohammedShehzad) Date: Wed, 24 Feb 2010 15:38:28 +0530 Subject: [Freeswitch-dev] Multicast stream listener module In-Reply-To: <191c3a031002230943l386d5ddfv4bf4d0e4435b27a1@mail.gmail.com> References: <191c3a031002221142n2d63aadl76b5966999e44f89@mail.gmail.com> <191c3a031002230943l386d5ddfv4bf4d0e4435b27a1@mail.gmail.com> Message-ID: You meant to multicast in L16 format so that listener will not require to do anything for coding/decoding, right? On Tue, Feb 23, 2010 at 11:13 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > That is the native format of all file interfaces, its uncompressed audio. > It's 128kps per stream for an 8k call but since you only need one, it's not > so bad. > > > > > On Mon, Feb 22, 2010 at 10:58 PM, MohammedShehzad wrote: > >> How can I use L16? Please let me some reference. >> >> >> On Tue, Feb 23, 2010 at 1:12 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> because you have no signaling to negotiate payload types its best to >>> limit this to PCMU. >>> Your only other option is to use L16 (raw signed linear) >>> >>> >>> On Mon, Feb 22, 2010 at 5:53 AM, MohammedShehzad wrote: >>> >>>> >>>> Hello everybody, >>>> I am working on multicast listener format module, So that Freeswitch can >>>> listen on multicasted stream as example below: >>>> >>>> Please see on thread named 'stream a file multicast with mod_esf' on >>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/026163.html >>>> >>>> I am testing that module against the audio multicasted by mod_esf >>>> module. >>>> I got some success with help of existing mod_native_file module, and I >>>> able to receive and play the multicasted RAW PCMU RTP (modified the skel of >>>> format module provided by brian), so that caller can hear the multicast by >>>> other Freeswitch server, but when i change the caller's codec from PCMU to >>>> something else, it breaks. >>>> Then I looked into mod_sndfile for decoding PCMU to other codec, but it >>>> seems that module is using libsndfile, which reads sound file directly and >>>> decode them to L16. If something similar to libsndfile is available, which >>>> work on stream instead of reading file, then it would surely work. >>>> Please Let me know your ideas on this, as I don't know how exactly >>>> Freeswitch encoding-decoding works? >>>> >>>> -- >>>> >>>> -MohammedShehzad >>>> >>>> _______________________________________________ >>>> FreeSWITCH-dev mailing list >>>> FreeSWITCH-dev at 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 >>> iax:guest at conference.freeswitch.org/888 >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _______________________________________________ >>> FreeSWITCH-dev mailing list >>> FreeSWITCH-dev at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >>> http://www.freeswitch.org >>> >>> >> >> >> -- >> >> -MohammedShehzad >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- -MohammedShehzad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/bdb17396/attachment.html From Suneel.Papineni at mettoni.com Wed Feb 24 06:35:49 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Wed, 24 Feb 2010 14:35:49 -0000 Subject: [Freeswitch-dev] Issue with making calls through FSComm and Build issues with Freeswitch 1.0.5 latest updated on 24-Feb-2010 04:05 Message-ID: <3181A30B8C35AB4AA8577B78DDF4613806810AEF@nickel.mettonigroup.com> Hi, I am trying to make FSComm work with Freeswitch (1.0.5 latest), but failed to make any calls. FSComm is getting registered properly and I can see SIP messages at Freeswitch. When a call is tried to make from one FSComm to another, there is no INVITE message seen in Freeswitch and also in wireshark traces as well. (OS environment is Windows XP 32-bit ). Could someone let me know if there is any specific config changes to be made to FSComm to work. (I am trying initially with FSComm pre-build binary version. Results are same). As per previous suggestions I tried to work with the latest version, downloaded Freeswitch 1.0.5 Latest updated on 24th February 2010 at 4:00am from "http://latest.freeswitch.org/". When I tried to build this, it is giving 4 errors. So build is failing. Errors are as follows: Error 201 error C2491: 'spandsp_stop_inband_dtmf_session' : definition of dllimport function not allowed d:\FS\freeswitch-1.0.5-latest24022010\freeswitch-1.0.5-20100224-0400\src \mod\applications\mod_fax\mod_fax.c 812 mod_fax Error 202 error C2491: 'spandsp_inband_dtmf_session' : definition of dllimport function not allowed d:\FS\freeswitch-1.0.5-latest24022010\freeswitch-1.0.5-20100224-0400\src \mod\applications\mod_fax\mod_fax.c 825 mod_fax Error 213 error LNK2019: unresolved external symbol _sip_dig_function referenced in function _mod_sofia_load mod_sofia.obj mod_sofia Error 214 fatal error LNK1120: 1 unresolved externals D:\FS\freeswitch-1.0.5-latest24022010\freeswitch-1.0.5-20100224-0400\Deb ug\mod\mod_sofia.dll mod_sofia I am trying to build Freeswitch for a windows 32-bit system. Tried to build both Debug and Release versions but failed with the above errors. Could someone let me know from where I need to download the latest version (possibly without errors). Thanks & Regards Suneel ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/e62f441c/attachment.html From msc at freeswitch.org Wed Feb 24 08:05:21 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Feb 2010 08:05:21 -0800 Subject: [Freeswitch-dev] [Freeswitch-users] Doxygen help In-Reply-To: References: <4B820145.2090109@cartissolutions.com> <87f2f3b91002220822j20ed8268t413d0e559dd0293d@mail.gmail.com> <191c3a031002220834k7c9527ddte76a4ff0f49f92e4@mail.gmail.com> <87f2f3b91002231326n5ae9876dr891755b49c6a6928@mail.gmail.com> Message-ID: <87f2f3b91002240805w550410a6saf7b88d548973cd2@mail.gmail.com> 2010/2/23 Jo?o Mesquita > Sorry folks. I won't be available till March 2nd when this trade show is > finally ended. > > Will get it all setup next week and that's a promise. > > Regards, > Jo?o Mesquita > > No worries! Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/bf8329c3/attachment.html From anthony.minessale at gmail.com Wed Feb 24 11:30:04 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 24 Feb 2010 13:30:04 -0600 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> Message-ID: <191c3a031002241130u6333fa2ej7011008ad0af5fc8@mail.gmail.com> Can you post it to http://jira.freeswitch.org under a new feature issue? On Wed, Feb 24, 2010 at 3:27 AM, Fran?ois Legal wrote: > Oh, you're right. I always forget to attach files ;-) > > > > Fran?ois > > On Wed, 24 Feb 2010 04:13:38 -0500, Michael Jerris > wrote: > > where? > > On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: > > Hello, > > > Here comes the patch. > > The patch fixes the CID for France (and probably other european countries > except maybe england where a specific TAS has to be used), both for incoming > calls and call waiting cases. > > If anybody can try this patch with US hardware to verify the compatibility. > > I added a new parameter in openzap.conf (modem-type defaulting to > FSK_BELL202) so that modulation can be specified in config. > > The patch also adds the MWI functionnality on FXS ports (that meant to also > patch mod_voicemail), by using the MWI-Account parameter in directory set to > something like "openzap/x/y". > > > Please comment on this, if any modification need to be made. > > > Fran?ois > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/e1ad6644/attachment-0001.html From devel at thom.fr.eu.org Wed Feb 24 13:27:41 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Wed, 24 Feb 2010 22:27:41 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <191c3a031002241130u6333fa2ej7011008ad0af5fc8@mail.gmail.com> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <613822f67a7f60eb824c246d4be7fcec@thom.fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> <191c3a031002241130u6333fa2ej7011008ad0af5fc8@mail.gmail.com> Message-ID: <7dc774d4d3e65b061496246b493cf00d@thom.fr.eu.org> Shall I make a separate patch for the MWI and post this one as a new feature ? Fran?ois On Wed, 24 Feb 2010 13:30:04 -0600, Anthony Minessale wrote: Can you post it to http://jira.freeswitch.org [1] under a new feature issue? On Wed, Feb 24, 2010 at 3:27 AM, Fran?ois Legal wrote: Oh, you're right. I always forget to attach files ;-) Fran?ois On Wed, 24 Feb 2010 04:13:38 -0500, Michael Jerris wrote: where? On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: Hello, Here comes the patch. The patch fixes the CID for France (and probably other european countries except maybe england where a specific TAS has to be used), both for incoming calls and call waiting cases. If anybody can try this patch with US hardware to verify the compatibility. I added a new parameter in openzap.conf (modem-type defaulting to FSK_BELL202) so that modulation can be specified in config. The patch also adds the MWI functionnality on FXS ports (that meant to also patch mod_voicemail), by using the MWI-Account parameter in directory set to something like "openzap/x/y". Please comment on this, if any modification need to be made. Fran?ois _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org [4] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [5] UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev [6] http://www.freeswitch.org [7] -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ [8] ClueCon http://www.cluecon.com/ [9] Twitter: http://twitter.com/FreeSWITCH_wire [10] AIM: anthm MSN:anthony_minessale at hotmail.com [11] GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [12] IRC: irc.freenode.net [13] #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org [14] iax:guest at conference.freeswitch.org/888 [15] googletalk:conf+888 at conference.freeswitch.org [16] pstn:+19193869900 Links: ------ [1] http://jira.freeswitch.org [2] mailto:devel at thom.fr.eu.org [3] mailto:mike at jerris.com [4] mailto:FreeSWITCH-dev at lists.freeswitch.org [5] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [6] http://lists.freeswitch.org/mailman/options/freeswitch-dev [7] http://www.freeswitch.org [8] http://www.freeswitch.org/ [9] http://www.cluecon.com/ [10] http://twitter.com/FreeSWITCH_wire [11] mailto:MSN%3Aanthony_minessale at hotmail.com [12] mailto:PAYPAL%3Aanthony.minessale at gmail.com [13] http://irc.freenode.net [14] mailto:sip%3A888 at conference.freeswitch.org [15] http://iax:guest at conference.freeswitch.org/888 [16] mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/c3006af9/attachment.html From anthony.minessale at gmail.com Wed Feb 24 15:04:32 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 24 Feb 2010 17:04:32 -0600 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <7dc774d4d3e65b061496246b493cf00d@thom.fr.eu.org> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> <191c3a031002241130u6333fa2ej7011008ad0af5fc8@mail.gmail.com> <7dc774d4d3e65b061496246b493cf00d@thom.fr.eu.org> Message-ID: <191c3a031002241504h67bbd057i3b24bc42fc334e17@mail.gmail.com> just file each patch you have under openzap category and we can have someone work on it. On Wed, Feb 24, 2010 at 3:27 PM, Fran?ois Legal wrote: > Shall I make a separate patch for the MWI and post this one as a new > feature ? > > > > Fran?ois > > > > On Wed, 24 Feb 2010 13:30:04 -0600, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > Can you post it to http://jira.freeswitch.org under a new feature issue? > > > On Wed, Feb 24, 2010 at 3:27 AM, Fran?ois Legal wrote: > >> Oh, you're right. I always forget to attach files ;-) >> >> >> >> Fran?ois >> >> On Wed, 24 Feb 2010 04:13:38 -0500, Michael Jerris >> wrote: >> >> where? >> >> On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: >> >> Hello, >> >> >> Here comes the patch. >> >> The patch fixes the CID for France (and probably other european countries >> except maybe england where a specific TAS has to be used), both for incoming >> calls and call waiting cases. >> >> If anybody can try this patch with US hardware to verify the >> compatibility. >> >> I added a new parameter in openzap.conf (modem-type defaulting to >> FSK_BELL202) so that modulation can be specified in config. >> >> The patch also adds the MWI functionnality on FXS ports (that meant to >> also patch mod_voicemail), by using the MWI-Account parameter in directory >> set to something like "openzap/x/y". >> >> >> Please comment on this, if any modification need to be made. >> >> >> Fran?ois >> >> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/89d572b0/attachment.html From msc at freeswitch.org Wed Feb 24 20:08:00 2010 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Feb 2010 20:08:00 -0800 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's Message-ID: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> Hi all, I've just completed a new wiki page: http://wiki.freeswitch.org/wiki/ALG I would like all of you who have dealt with routers with SIP ALG's to submit your input. I would like to see this page have a list of how-to's for all of the popular routers. If we can make it easy for people to disable SIP ALG's then I think we can all save ourselves time and energy answering questions in IRC and the mailing lists. Please by all means add your knowledge here. I started with the 2wire 3800HGV that I got for my ATT Uverse service. If you have knowledge that you like to add to the wiki (on this subject or any other) but are not confident in your wiki editing skills then contact me off list and I will be happy to help you get up to speed. Editing your first wiki page is always the hardest... :) Thanks again for all of your help! By the way, today's community conference call was great. Please plan on attending next week and we'll talk about more great FreeSWITCH stuff. I will have the recording of Rupa discussing mod_limit up on line as soon as I can. Take care, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/568aca63/attachment.html From rupa at rupa.com Wed Feb 24 20:57:18 2010 From: rupa at rupa.com (Rupa Schomaker) Date: Wed, 24 Feb 2010 22:57:18 -0600 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> Message-ID: Huh, ok, so you do have a 2wire gateway. cisco is the provider for the tv STBs I think (I just have inet, no tv). I disabled the sip alg on my 2wire just because it should be done in general, but didn't experience any real SIP problems that I know of. Did you experience any real breakage? On the conf call today you were saying my pitch was changing randomly. Was anyone else acting that way while talking? BTW: are you syncing at 32/5 or 25/2? On Wed, Feb 24, 2010 at 10:08 PM, Michael Collins wrote: > Hi all, > > I've just completed a new wiki page: > > http://wiki.freeswitch.org/wiki/ALG > > I would like all of you who have dealt with routers with SIP ALG's to > submit your input. I would like to see this page have a list of how-to's for > all of the popular routers. If we can make it easy for people to disable SIP > ALG's then I think we can all save ourselves time and energy answering > questions in IRC and the mailing lists. Please by all means add your > knowledge here. I started with the 2wire 3800HGV that I got for my ATT > Uverse service. > > If you have knowledge that you like to add to the wiki (on this subject or > any other) but are not confident in your wiki editing skills then contact me > off list and I will be happy to help you get up to speed. Editing your first > wiki page is always the hardest... :) > > Thanks again for all of your help! By the way, today's community conference > call was great. Please plan on attending next week and we'll talk about more > great FreeSWITCH stuff. I will have the recording of Rupa discussing > mod_limit up on line as soon as I can. > > Take care, > Michael > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- -Rupa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/ef335c8a/attachment-0001.html From brian at freeswitch.org Wed Feb 24 21:02:33 2010 From: brian at freeswitch.org (Brian West) Date: Wed, 24 Feb 2010 23:02:33 -0600 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> Message-ID: <896917DC-0E0C-4EA9-B6D6-A09F336E3937@freeswitch.org> put three devices behind the nat fighting for 5060 and watch the fun begin. /b On Feb 24, 2010, at 10:57 PM, Rupa Schomaker wrote: > Huh, ok, so you do have a 2wire gateway. cisco is the provider for the tv STBs I think (I just have inet, no tv). > > I disabled the sip alg on my 2wire just because it should be done in general, but didn't experience any real SIP problems that I know of. Did you experience any real breakage? On the conf call today you were saying my pitch was changing randomly. Was anyone else acting that way while talking? > > BTW: are you syncing at 32/5 or 25/2? From devel at thom.fr.eu.org Thu Feb 25 01:12:57 2010 From: devel at thom.fr.eu.org (=?UTF-8?Q?Fran=C3=A7ois_Legal?=) Date: Thu, 25 Feb 2010 10:12:57 +0100 Subject: [Freeswitch-dev] Openzap and CLIP In-Reply-To: <191c3a031002241504h67bbd057i3b24bc42fc334e17@mail.gmail.com> References: <000601ca993a$e4e18be0$aea4a3a0$@fr.eu.org> <6F87F7C2-5532-464A-AC86-BC0DC91E4356@jerris.com> <69a823b8f1f8d6a334cbbde043f020b7@thom.fr.eu.org> <000601caae8f$e57a3bf0$b06eb3d0$@fr.eu.org> <0BDEE16F-F8CA-437B-9D92-043AB28A984A@jerris.com> <584b2808402f19f7f8b5c51286025795@thom.fr.eu.org> <191c3a031002241130u6333fa2ej7011008ad0af5fc8@mail.gmail.com> <7dc774d4d3e65b061496246b493cf00d@thom.fr.eu.org> <191c3a031002241504h67bbd057i3b24bc42fc334e17@mail.gmail.com> Message-ID: Done, I created a bug report for CID and a new feature for MWI. Fran?ois On Wed, 24 Feb 2010 17:04:32 -0600, Anthony Minessale wrote: just file each patch you have under openzap category and we can have someone work on it. On Wed, Feb 24, 2010 at 3:27 PM, Fran?ois Legal wrote: Shall I make a separate patch for the MWI and post this one as a new feature ? Fran?ois On Wed, 24 Feb 2010 13:30:04 -0600, Anthony Minessale wrote: Can you post it to http://jira.freeswitch.org [3] under a new feature issue? On Wed, Feb 24, 2010 at 3:27 AM, Fran?ois Legal wrote: Oh, you're right. I always forget to attach files ;-) Fran?ois On Wed, 24 Feb 2010 04:13:38 -0500, Michael Jerris wrote: where? On Feb 24, 2010, at 3:53 AM, Fran?ois Legal wrote: Hello, Here comes the patch. The patch fixes the CID for France (and probably other european countries except maybe england where a specific TAS has to be used), both for incoming calls and call waiting cases. If anybody can try this patch with US hardware to verify the compatibility. I added a new parameter in openzap.conf (modem-type defaulting to FSK_BELL202) so that modulation can be specified in config. The patch also adds the MWI functionnality on FXS ports (that meant to also patch mod_voicemail), by using the MWI-Account parameter in directory set to something like "openzap/x/y". Please comment on this, if any modification need to be made. Fran?ois _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org [6] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [7] UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev [8] http://www.freeswitch.org [9] -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ [10] ClueCon http://www.cluecon.com/ [11] Twitter: http://twitter.com/FreeSWITCH_wire [12] AIM: anthm MSN:anthony_minessale at hotmail.com [13] GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [14] IRC: irc.freenode.net [15] #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org [16] iax:guest at conference.freeswitch.org/888 [17] googletalk:conf+888 at conference.freeswitch.org [18] pstn:+19193869900 _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at lists.freeswitch.org [19] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [20] UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev [21] http://www.freeswitch.org [22] -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ [23] ClueCon http://www.cluecon.com/ [24] Twitter: http://twitter.com/FreeSWITCH_wire [25] AIM: anthm MSN:anthony_minessale at hotmail.com [26] GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [27] IRC: irc.freenode.net [28] #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org [29] iax:guest at conference.freeswitch.org/888 [30] googletalk:conf+888 at conference.freeswitch.org [31] pstn:+19193869900 Links: ------ [1] mailto:devel at thom.fr.eu.org [2] mailto:anthony.minessale at gmail.com [3] http://jira.freeswitch.org [4] mailto:devel at thom.fr.eu.org [5] mailto:mike at jerris.com [6] mailto:FreeSWITCH-dev at lists.freeswitch.org [7] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [8] http://lists.freeswitch.org/mailman/options/freeswitch-dev [9] http://www.freeswitch.org [10] http://www.freeswitch.org/ [11] http://www.cluecon.com/ [12] http://twitter.com/FreeSWITCH_wire [13] mailto:MSN%3Aanthony_minessale at hotmail.com [14] mailto:PAYPAL%3Aanthony.minessale at gmail.com [15] http://irc.freenode.net [16] mailto:sip%3A888 at conference.freeswitch.org [17] http://iax:guest at conference.freeswitch.org/888 [18] mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org [19] mailto:FreeSWITCH-dev at lists.freeswitch.org [20] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev [21] http://lists.freeswitch.org/mailman/options/freeswitch-dev [22] http://www.freeswitch.org [23] http://www.freeswitch.org/ [24] http://www.cluecon.com/ [25] http://twitter.com/FreeSWITCH_wire [26] mailto:MSN%3Aanthony_minessale at hotmail.com [27] mailto:PAYPAL%3Aanthony.minessale at gmail.com [28] http://irc.freenode.net [29] mailto:sip%3A888 at conference.freeswitch.org [30] http://iax:guest at conference.freeswitch.org/888 [31] mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100225/6a761c9c/attachment.html From liam at xenosophy.com Thu Feb 25 04:33:56 2010 From: liam at xenosophy.com (Liam Parker) Date: Thu, 25 Feb 2010 12:33:56 +0000 Subject: [Freeswitch-dev] New TTS engine via UniMRCP Message-ID: <744b16731002250433i20b39edcpd00c0d74acfe6405@mail.gmail.com> Hi, I am integrating Cereproc's TTS into FreeSwitch and am having some trouble. I have the TTS engine working within the UniMRCP server and have built FreeSwitch with UniMRCP support. I 'think' I have setup the Dialplan XML correctly but I keep getting the following error when I place a call... 010-02-25 11:38:31.743074 [ERR] switch_core_speech.c:61 Invalid speech module [cereproc-mrcp1]! 2010-02-25 11:38:31.743074 [ERR] switch_ivr_play_say.c:2109 Invalid TTS module! I believe that I just need to setup the conf and XML files correctly. I don't believe that I should need to alter any of the code. Any help would be greatly appreciated and then we can get Cereproc's TTS verfied as working on FreeSwitch for other users. Thanks, Liam. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100225/d632c05c/attachment.html From msc at freeswitch.org Thu Feb 25 13:02:37 2010 From: msc at freeswitch.org (Michael Collins) Date: Thu, 25 Feb 2010 13:02:37 -0800 Subject: [Freeswitch-dev] New TTS engine via UniMRCP In-Reply-To: <744b16731002250433i20b39edcpd00c0d74acfe6405@mail.gmail.com> References: <744b16731002250433i20b39edcpd00c0d74acfe6405@mail.gmail.com> Message-ID: <87f2f3b91002251302r3f7a604amb015634c8b964906@mail.gmail.com> On Thu, Feb 25, 2010 at 4:33 AM, Liam Parker wrote: > Hi, > > I am integrating Cereproc's TTS into FreeSwitch and am having some trouble. > > I have the TTS engine working within the UniMRCP server and have built > FreeSwitch > with UniMRCP support. > > I 'think' I have setup the Dialplan XML correctly but I keep getting the > following error when > I place a call... > > 010-02-25 11:38:31.743074 [ERR] switch_core_speech.c:61 Invalid speech > module [cereproc-mrcp1]! > 2010-02-25 11:38:31.743074 [ERR] switch_ivr_play_say.c:2109 Invalid TTS > module! > > I believe that I just need to setup the conf and XML files correctly. I > don't believe that > I should need to alter any of the code. > > Did you create a profile for Cereproc in conf/mrcp-profiles? Look at the other files in that subdir for an idea of what you need to do. -MC > Any help would be greatly appreciated and then we can get Cereproc's TTS > verfied > as working on FreeSwitch for other users. > > Thanks, > > Liam. > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100225/7939ad96/attachment.html From cmrienzo at gmail.com Thu Feb 25 09:09:57 2010 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 25 Feb 2010 12:09:57 -0500 Subject: [Freeswitch-dev] FW: New TTS engine via UniMRCP In-Reply-To: References: Message-ID: <3687b0701002250909kf2dc4b6m5cd44453daf46e5f@mail.gmail.com> Your dialplan is incorrect. The engine should be unimrcp and profile will be cereproc-mrcp1. Your log says FreeSWITCH thinks the engine is cereproc-mrcp1. Show me the part of your dialplan that is doing the TTS. *From:* freeswitch-dev-bounces at lists.freeswitch.org [mailto: > freeswitch-dev-bounces at lists.freeswitch.org] *On Behalf Of *Liam Parker > *Sent:* Thursday, February 25, 2010 7:34 AM > *To:* freeswitch-dev at lists.freeswitch.org > *Subject:* [Freeswitch-dev] New TTS engine via UniMRCP > > > > Hi, > > > > I am integrating Cereproc's TTS into FreeSwitch and am having some trouble. > > > > I have the TTS engine working within the UniMRCP server and have built > FreeSwitch > > with UniMRCP support. > > > > I 'think' I have setup the Dialplan XML correctly but I keep getting the > following error when > > I place a call... > > > > 010-02-25 11:38:31.743074 [ERR] switch_core_speech.c:61 Invalid speech > module [cereproc-mrcp1]! > > 2010-02-25 11:38:31.743074 [ERR] switch_ivr_play_say.c:2109 Invalid TTS > module! > > > > I believe that I just need to setup the conf and XML files correctly. I > don't believe that > > I should need to alter any of the code. > > > > Any help would be greatly appreciated and then we can get Cereproc's TTS > verfied > > as working on FreeSwitch for other users. > > > > Thanks, > > > > Liam. > > > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at 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/20100225/99f4815b/attachment-0001.html -------------- next part -------------- _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev at 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 cmrienzo at gmail.com Thu Feb 25 14:00:48 2010 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 25 Feb 2010 17:00:48 -0500 Subject: [Freeswitch-dev] New TTS engine via UniMRCP In-Reply-To: <87f2f3b91002251302r3f7a604amb015634c8b964906@mail.gmail.com> References: <744b16731002250433i20b39edcpd00c0d74acfe6405@mail.gmail.com> <87f2f3b91002251302r3f7a604amb015634c8b964906@mail.gmail.com> Message-ID: <3687b0701002251400r1ed18bb9m772a6561d3ff3ce9@mail.gmail.com> Your dialplan is incorrect. The engine should be unimrcp and profile will be cereproc-mrcp1. Your log says FreeSWITCH thinks the engine is cereproc-mrcp1. Show me the part of your dialplan that is doing the TTS. On Thu, Feb 25, 2010 at 4:02 PM, Michael Collins wrote: > > > On Thu, Feb 25, 2010 at 4:33 AM, Liam Parker wrote: > >> Hi, >> >> I am integrating Cereproc's TTS into FreeSwitch and am having some >> trouble. >> >> I have the TTS engine working within the UniMRCP server and have built >> FreeSwitch >> with UniMRCP support. >> >> I 'think' I have setup the Dialplan XML correctly but I keep getting the >> following error when >> I place a call... >> >> 010-02-25 11:38:31.743074 [ERR] switch_core_speech.c:61 Invalid speech >> module [cereproc-mrcp1]! >> 2010-02-25 11:38:31.743074 [ERR] switch_ivr_play_say.c:2109 Invalid TTS >> module! >> >> I believe that I just need to setup the conf and XML files correctly. I >> don't believe that >> I should need to alter any of the code. >> >> Did you create a profile for Cereproc in conf/mrcp-profiles? Look at the > other files in that subdir for an idea of what you need to do. > -MC > > >> Any help would be greatly appreciated and then we can get Cereproc's TTS >> verfied >> as working on FreeSwitch for other users. >> >> Thanks, >> >> Liam. >> >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at 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/20100225/bb28f488/attachment.html From kristian.kielhofner at gmail.com Fri Feb 26 07:11:33 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Fri, 26 Feb 2010 10:11:33 -0500 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> Message-ID: <4d15ff861002260711l476e37c6qff561db4a948b7f7@mail.gmail.com> The only universal way to defeat SIP ALGs is to use TLS. They can't break what they can't see. :) On Wed, Feb 24, 2010 at 11:08 PM, Michael Collins wrote: > Hi all, > > I've just completed a new wiki page: > > http://wiki.freeswitch.org/wiki/ALG > > I would like all of you who have dealt with routers with SIP ALG's to submit > your input. I would like to see this page have a list of how-to's for all of > the popular routers. If we can make it easy for people to disable SIP ALG's > then I think we can all save ourselves time and energy answering questions > in IRC and the mailing lists. Please by all means add your knowledge here. I > started with the 2wire 3800HGV that I got for my ATT Uverse service. > > If you have knowledge that you like to add to the wiki (on this subject or > any other) but are not confident in your wiki editing skills then contact me > off list and I will be happy to help you get up to speed. Editing your first > wiki page is always the hardest... :) > > Thanks again for all of your help! By the way, today's community conference > call was great. Please plan on attending next week and we'll talk about more > great FreeSWITCH stuff. I will have the recording of Rupa discussing > mod_limit up on line as soon as I can. > > Take care, > Michael > -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com From brian at freeswitch.org Fri Feb 26 07:24:38 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 26 Feb 2010 09:24:38 -0600 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: <4d15ff861002260711l476e37c6qff561db4a948b7f7@mail.gmail.com> References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> <4d15ff861002260711l476e37c6qff561db4a948b7f7@mail.gmail.com> Message-ID: <2643B9B7-A5E3-4F96-B59A-B02B21206E66@freeswitch.org> Or break the arms of the guys that thought it was a great idea fuck with SIP packets on the router... /b On Feb 26, 2010, at 9:11 AM, Kristian Kielhofner wrote: > The only universal way to defeat SIP ALGs is to use TLS. They can't > break what they can't see. :) From miconda at gmail.com Fri Feb 26 03:29:18 2010 From: miconda at gmail.com (Daniel-Constantin Mierla) Date: Fri, 26 Feb 2010 12:29:18 +0100 Subject: [Freeswitch-dev] core odbc vs in-module mysql Message-ID: <4B87B08E.2020900@gmail.com> Hello, is it something particular that recommends usage of core odbc api instead of connecting from a module directly to mysql database? I'm fine to keep using sqlite for the rest of FS needs, just need to do fast access to mysql, therefore I try to avoid the extra layer added by odbc. Thanks, Daniel -- Daniel-Constantin Mierla * http://www.asipto.com/ From anthony.minessale at gmail.com Fri Feb 26 08:08:20 2010 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 26 Feb 2010 10:08:20 -0600 Subject: [Freeswitch-dev] core odbc vs in-module mysql In-Reply-To: <4B87B08E.2020900@gmail.com> References: <4B87B08E.2020900@gmail.com> Message-ID: <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> We use the odbc for any in-tree sql stuff because we are trying to remain database agnostic. if it's your own module it's ok but if you want to contribute it, we would appreciate using ODBC On Fri, Feb 26, 2010 at 5:29 AM, Daniel-Constantin Mierla wrote: > Hello, > > is it something particular that recommends usage of core odbc api > instead of connecting from a module directly to mysql database? I'm fine > to keep using sqlite for the rest of FS needs, just need to do fast > access to mysql, therefore I try to avoid the extra layer added by odbc. > > Thanks, > Daniel > > -- > Daniel-Constantin Mierla > * http://www.asipto.com/ > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ 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 iax:guest at conference.freeswitch.org/888 googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100226/b7422eed/attachment.html From Suneel.Papineni at mettoni.com Fri Feb 26 08:59:36 2010 From: Suneel.Papineni at mettoni.com (Suneel Papineni) Date: Fri, 26 Feb 2010 16:59:36 -0000 Subject: [Freeswitch-dev] FSComm basic issue Message-ID: <3181A30B8C35AB4AA8577B78DDF4613806886903@nickel.mettonigroup.com> Hi, I am trying to use FSComm with Freeswitch and facing following issues. 1. Using pre-build binary (windows), when the application is started FSComm is getting Registered properly. When I tried to make a call, UI displays Dialing... but unable to see any SIP (INVITE) messages in wireshark traces. After sometime UI displays with message "Call with (destination number) failed with reason DESTINATION_OUT_OF_ORDER though destination number is registered with another FSComm" 2. Also I am unable to see any logs generated in the log folder. Downloaded the latest source code (Freeswitch 1.0.5 latest updated as on 26/02/10 at 4am) and tried to build FSComm. Build was succeeded. Application (FSComm) also started and displayed with UI. When I try to change the preferences, it has thrown Porta Audio Error saying "Error Querying Audio Devices" even though proper audio devices are present. Also it doesn't create folders like "conf", "mod". Even after copying all the required dll's and mod files (as specified in FSComm wiki pages), application is throwing the same error. I am using Windows XP machine. Built a Debug & Release version with 32-bit option. If someone has built FSComm for windows environment and is working fine, could you please let me know if there are any additional things I need to do to make it work. Thanks & Regards Suneel ************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100226/f188c6ac/attachment-0001.html From kristian.kielhofner at gmail.com Fri Feb 26 09:07:56 2010 From: kristian.kielhofner at gmail.com (Kristian Kielhofner) Date: Fri, 26 Feb 2010 12:07:56 -0500 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: <2643B9B7-A5E3-4F96-B59A-B02B21206E66@freeswitch.org> References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> <4d15ff861002260711l476e37c6qff561db4a948b7f7@mail.gmail.com> <2643B9B7-A5E3-4F96-B59A-B02B21206E66@freeswitch.org> Message-ID: <4d15ff861002260907scafabbaycb69949b3db0e3ce@mail.gmail.com> Oh come on Brian, they're not worth it! ;) On Fri, Feb 26, 2010 at 10:24 AM, Brian West wrote: > Or break the arms of the guys that thought it was a great idea fuck with SIP packets on the router... > > /b > -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com From brian at freeswitch.org Fri Feb 26 09:10:57 2010 From: brian at freeswitch.org (Brian West) Date: Fri, 26 Feb 2010 11:10:57 -0600 Subject: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's In-Reply-To: <4d15ff861002260907scafabbaycb69949b3db0e3ce@mail.gmail.com> References: <87f2f3b91002242008y599f86f0t86f467f8c16b4a20@mail.gmail.com> <4d15ff861002260711l476e37c6qff561db4a948b7f7@mail.gmail.com> <2643B9B7-A5E3-4F96-B59A-B02B21206E66@freeswitch.org> <4d15ff861002260907scafabbaycb69949b3db0e3ce@mail.gmail.com> Message-ID: <26AEDB08-B1D2-428B-8C6D-8626E7D13CF9@freeswitch.org> Soooo true... I can't count the time I have wasted because of a SIP ALG messing with my packets. /b On Feb 26, 2010, at 11:07 AM, Kristian Kielhofner wrote: > Oh come on Brian, they're not worth it! ;) > > On Fri, Feb 26, 2010 at 10:24 AM, Brian West wrote: >> Or break the arms of the guys that thought it was a great idea fuck with SIP packets on the router... >> >> /b >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100226/b0ac6caa/attachment.html From miconda at gmail.com Fri Feb 26 10:06:06 2010 From: miconda at gmail.com (Daniel-Constantin Mierla) Date: Fri, 26 Feb 2010 19:06:06 +0100 Subject: [Freeswitch-dev] core odbc vs in-module mysql In-Reply-To: <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> References: <4B87B08E.2020900@gmail.com> <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> Message-ID: <4B880D8E.9050301@gmail.com> On 02/26/2010 05:08 PM, Anthony Minessale wrote: > We use the odbc for any in-tree sql stuff because we are trying to > remain database agnostic. > if it's your own module it's ok but if you want to contribute it, we > would appreciate using ODBC ok, thanks. If I understood the architecture, default sql engine in the core is sqlite, with option to replace it with odbc at compile time. odbc is indeed an abstract layer, but you lose from the power of underneath sql engine. And some out there don't like odbc much, asking to avoid it :-) . Daniel > > > On Fri, Feb 26, 2010 at 5:29 AM, Daniel-Constantin Mierla > > wrote: > > Hello, > > is it something particular that recommends usage of core odbc api > instead of connecting from a module directly to mysql database? > I'm fine > to keep using sqlite for the rest of FS needs, just need to do fast > access to mysql, therefore I try to avoid the extra layer added by > odbc. > > Thanks, > Daniel > > -- > Daniel-Constantin Mierla > * http://www.asipto.com/ > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > 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 > > iax:guest at conference.freeswitch.org/888 > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Daniel-Constantin Mierla * http://www.asipto.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100226/aa218036/attachment.html From mike at jerris.com Fri Feb 26 11:46:38 2010 From: mike at jerris.com (Michael Jerris) Date: Fri, 26 Feb 2010 14:46:38 -0500 Subject: [Freeswitch-dev] core odbc vs in-module mysql In-Reply-To: <4B880D8E.9050301@gmail.com> References: <4B87B08E.2020900@gmail.com> <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> <4B880D8E.9050301@gmail.com> Message-ID: lots of people complain about the huge overhead of odbc and how horrible it is, and every time I ask them to show me some real numbers that show a significant performance impact. Of all those who have loudly complained about the horrors of odbc, I have not had a single person take me up on my request and show me any numbers at all to support this theory. If there is not any real numbers to show a real impact, we can not make a call about if the performance difference would justify increased complexity of supporting anything other than odbc. Mike On Feb 26, 2010, at 1:06 PM, Daniel-Constantin Mierla wrote: > > > On 02/26/2010 05:08 PM, Anthony Minessale wrote: >> >> We use the odbc for any in-tree sql stuff because we are trying to remain database agnostic. >> if it's your own module it's ok but if you want to contribute it, we would appreciate using ODBC > ok, thanks. If I understood the architecture, default sql engine in the core is sqlite, with option to replace it with odbc at compile time. > > odbc is indeed an abstract layer, but you lose from the power of underneath sql engine. And some out there don't like odbc much, asking to avoid it :-) . > > Daniel > Sqlite is mostly there just so it works out of the box, any serious implementation should probably use something via odbc. From miconda at gmail.com Fri Feb 26 15:59:19 2010 From: miconda at gmail.com (Daniel-Constantin Mierla) Date: Sat, 27 Feb 2010 00:59:19 +0100 Subject: [Freeswitch-dev] core odbc vs in-module mysql In-Reply-To: References: <4B87B08E.2020900@gmail.com> <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> <4B880D8E.9050301@gmail.com> Message-ID: <4B886057.3010000@gmail.com> Hi, On 02/26/2010 08:46 PM, Michael Jerris wrote: > lots of people complain about the huge overhead of odbc and how horrible it is, there are lot of discussions on the web about this topic, apart of casual fud cases, perhaps there is something generating all these. However, personally I haven't complained, just wanted to know if the FS core API around ODBC gives some special goodies (e.g., reconnect, auto/nicer handling of error cases, ...). > and every time I ask them to show me some real numbers that show a significant performance impact. It is not only about performance, but also losing (or adding overhead to access) particular extensions of the sql engine behind. E.g., retrieving the last inserted id (auto-increment) requires a second query, with error handling a.s.o. while the native lib provides a functions. > Of all those who have loudly complained about the horrors of odbc, I have not had a single person take me up on my request and show me any numbers at all to support this theory. > Do you you mean generic myodbc vs libmyqlclient performance figures or for FS specific needs? Not a db expert but I think the difference is revealed better by complex queries rather than simple insert/delete/update/select. > If there is not any real numbers to show a real impact, we can not make a call about if the performance difference would justify increased complexity of supporting anything other than odbc. > Again, it was not about changing something, but collecting hints about what to use in a custom extension. Daniel > Mike > > > On Feb 26, 2010, at 1:06 PM, Daniel-Constantin Mierla wrote: > > >> >> On 02/26/2010 05:08 PM, Anthony Minessale wrote: >> >>> We use the odbc for any in-tree sql stuff because we are trying to remain database agnostic. >>> if it's your own module it's ok but if you want to contribute it, we would appreciate using ODBC >>> >> ok, thanks. If I understood the architecture, default sql engine in the core is sqlite, with option to replace it with odbc at compile time. >> >> odbc is indeed an abstract layer, but you lose from the power of underneath sql engine. And some out there don't like odbc much, asking to avoid it :-) . >> >> Daniel >> >> > Sqlite is mostly there just so it works out of the box, any serious implementation should probably use something via odbc. > > > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -- Daniel-Constantin Mierla Kamailio SIP Router Masterclass, Berlin, March 22-26, 2010 * http://www.asipto.com/index.php/sip-router-masterclass/ From steveayre at gmail.com Fri Feb 26 15:13:14 2010 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 26 Feb 2010 23:13:14 +0000 Subject: [Freeswitch-dev] core odbc vs in-module mysql In-Reply-To: <4B880D8E.9050301@gmail.com> References: <4B87B08E.2020900@gmail.com> <191c3a031002260808m146d44dbj315174a17c18fff5@mail.gmail.com> <4B880D8E.9050301@gmail.com> Message-ID: ODBC can be enabled/disabled at compile time, but the choice of whether to use it is made at runtime in the configuration files - if you set a DSN for a ODBC database it will use ODBC (or show errors if ODBC is not compiled in), if you do not it will generally use SQLite. Regards, -Steve On 26 February 2010 18:06, Daniel-Constantin Mierla wrote: > > > On 02/26/2010 05:08 PM, Anthony Minessale wrote: > > We use the odbc for any in-tree sql stuff because we are trying to remain > database agnostic. > if it's your own module it's ok but if you want to contribute it, we would > appreciate using ODBC > > ok, thanks. If I understood the architecture, default sql engine in the core > is sqlite, with option to replace it with odbc at compile time. > > odbc is indeed an abstract layer, but you lose from the power of underneath > sql engine. And some out there don't like odbc much, asking to avoid it :-) > . > > Daniel > > > > On Fri, Feb 26, 2010 at 5:29 AM, Daniel-Constantin Mierla > wrote: >> >> Hello, >> >> is it something particular that recommends usage of core odbc api >> instead of connecting from a module directly to mysql database? I'm fine >> to keep using sqlite for the rest of FS needs, just need to do fast >> access to mysql, therefore I try to avoid the extra layer added by odbc. >> >> Thanks, >> Daniel >> >> -- >> Daniel-Constantin Mierla >> * http://www.asipto.com/ >> >> >> _______________________________________________ >> FreeSWITCH-dev mailing list >> FreeSWITCH-dev at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev >> http://www.freeswitch.org > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > 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 > iax:guest at conference.freeswitch.org/888 > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > > -- > Daniel-Constantin Mierla > * http://www.asipto.com/ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > >