From s.safarov at gmail.com Tue Mar 1 00:02:19 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Mar 2016 00:02:19 +0300 Subject: [Freeswitch-users] Unable to compile mod_sndfile on CentOS 7 In-Reply-To: References: Message-ID: I has compiled 9f4f67d with standard libs [build at build ~]$ rpm -qa | grep sndfile lib*sndfile*-1.0.25-10.el7.x86_64 lib*sndfile*-devel-1.0.25-10.el7.x86_64 freeswitch at build.rcsnet.ru> status UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, 586 microseconds FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is ready 10248 session(s) since startup 0 session(s) - peak 17, last 5min 1 0 session(s) per Sec out of max 30, peak 5, last 5min 1 1000 session(s) max min idle cpu 0.00/99.10 Current Stack Size/Max 240K/8192K freeswitch at build.rcsnet.ru> reload mod_sndfile +OK Reloading XML -ERR unloading module [Module in use.] -ERR loading module [Module already loaded] 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 Module mod_sndfile is in use, cannot unload. 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 Module mod_sndfile Already Loaded! 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded 1781 definitions freeswitch at build.rcsnet.ru> On Mon, Feb 29, 2016 at 10:09 PM, SamyGo wrote: > Hi, > I recently got into trouble where I compiled FS on ubuntu 14.04 and got > error on this module - so I commented it out. Turned out that I was unable > to play .wav files in FS. > Hence I had to compile this module using an older version of > libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev. > > It seems like you already have the same version which worked for me, maybe > try executing command "ldconfig" on shell and then try. > > Thanks > Sammy > > On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov > wrote: > >> Yeah, I need it... >> >> 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine : >> >>> If you do not need this module then simply comment it out in >>> modules.conf; that's what I did... >>> >>> __Yehavi: >>> >>> 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov : >>> >>>> Hey guys, >>>> >>>> I'm unable to compile mod_sndfile even though I have installed all the >>>> devel packages. >>>> >>>> # yum install libsndfile-devel >>>> Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and >>>> latest version >>>> >>>> # make mod_sndfile >>>> make[1]: Entering directory `/opt/freeswitch' >>>> make libfreeswitch.la >>>> make[2]: Entering directory `/opt/freeswitch' >>>> make[2]: Leaving directory `/opt/freeswitch' >>>> make[1]: Leaving directory `/opt/freeswitch' >>>> make[1]: Entering directory `/opt/freeswitch/src/mod' >>>> make[2]: Entering directory `/opt/freeswitch/src/mod' >>>> >>>> making all mod_sndfile >>>> make[3]: Entering directory >>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>> Makefile:888: *** You must install libsndfile-dev to build >>>> mod_sndfile. Stop. >>>> make[3]: Leaving directory `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>> make[2]: *** [mod_sndfile-all] Error 1 >>>> make[2]: Leaving directory `/opt/freeswitch/src/mod' >>>> make[1]: *** [mod_sndfile] Error 2 >>>> make[1]: Leaving directory `/opt/freeswitch/src/mod' >>>> make: *** [mod_sndfile] Error 2 >>>> >>>> >>>> Any tips? >>>> Best Regards. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/2ed6436d/attachment-0001.html From s.safarov at gmail.com Tue Mar 1 00:05:38 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Mar 2016 00:05:38 +0300 Subject: [Freeswitch-users] segfaults because odbc mysql driver In-Reply-To: References: Message-ID: I use PostgreSQL. On Mon, Feb 29, 2016 at 10:01 PM, ???? ?????? wrote: > Hi guys, > > As far as I know there is one already known problems with FS segfaults > that happen because of odbc mysql driver. > I have latest recommended setup with debian 8.3 + FS 1.6. > Somebody mentioned that version of unixODBC should be higher than 2.3 to > solve this but... I have unixODBC 2.3.1 and it doesn't help. > > Everybody use pgsql ? :) > > Please advice if somebody use mysql with FS 1.6 and still happy. > > I also have backtrace file here - > https://freeswitch.org/jira/browse/FS-8857 > and will be glad any ideas. > > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/c755ef82/attachment.html From s.safarov at gmail.com Tue Mar 1 00:09:41 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Mar 2016 00:09:41 +0300 Subject: [Freeswitch-users] Recording each leg of a conference call separately In-Reply-To: <4567C63B-8AF4-40A4-B9F5-915E4073F1CF@gmail.com> References: <4567C63B-8AF4-40A4-B9F5-915E4073F1CF@gmail.com> Message-ID: "As a work around, record to stereo, and use sox to split channes ?" On Mon, Feb 29, 2016 at 9:46 PM, Delvin Varghese wrote: > Hi all, > > I am familiar with the record and record_session commands in freeswitch to > initiate recordings, and also using ESL.. But is there a way to record ONLY > the speech from one device at a time in separate recordings? The way i am > envisioning is that if there are 9 different devices involved in a > conference call, that at the end of it I would be able to access 9 > recordings (each containing only the outbound voice from that device)? > > Is this possible? What are people?s thoughts? > > Delvin > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/4067e95c/attachment.html From igorolhovskiy at gmail.com Tue Mar 1 00:31:08 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Mon, 29 Feb 2016 23:31:08 +0200 Subject: [Freeswitch-users] Presence. Not sure bug or not. Message-ID: Hi! I have a phones inside my network with BLF widely used. As they are inside network, I?ve set *all-reg-options-ping* on internal profile along with *unregister-on-options-fail*. Main issue - when phone for some reason goes offline, and FreeSwitch unregisters it, it does not sent NOTIFY to watchers (and they are there) to indicate this phone is offline. On any other cases BLF works fine. Is this a bug or I?ve missed some parameter on profile? Thanks. -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/b279f9e7/attachment.html From msc at freeswitch.org Tue Mar 1 01:05:20 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Feb 2016 14:05:20 -0800 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: On Mon, Feb 29, 2016 at 8:15 AM, Abaci B wrote: > I don't see in your example above where you have a return "exit" in your > hangup hook function > see https://freeswitch.org/jira/browse/FS-3841 > seems like the "exit" or "die" needs to be returned directly from the > hanguphook function so try from that function (not cleanup function) to > return "exit" or "dye", also it seems > > On Mon, Feb 29, 2016 at 10:53 AM, Abaci B wrote: > >> That's exactly what I noticed, it breaks out of the current function, why >> not open a Jira? I don't think it's supposed to behave this way. >> >> On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil >> wrote: >> >>> Thanks for your response. >>> >>> >>> >>> I have gone through these with no luck. Like I said the >>> session:destroy(???) crashes FreeSWITCH, which is therefore off the list. >>> The rest simply interrupt the current function and do no end the script. >>> >> I was not able to get session:destroy() to crash freeswitch using latest 1.7. However, it does not appear you need to explicitly destroy the session. I suggest doing what Abaci recommends with the 'return "exit"' at the end of myHangupHook right after the call to CleanUp(). -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/b1b24fbf/attachment.html From andrew.keil at visytel.com Tue Mar 1 01:09:53 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Mon, 29 Feb 2016 22:09:53 +0000 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: Abaci B, Thanks so much for sourcing the JIRA topic! You were right, by placing the return ?exit? inside the hanguphook handler then the sript does stop and abort with an error. I have made this cleaner by adding debug.traceback=nil just prior. So now my hangup hook handler looks like this: function myHangupHook(s, status, arg) session:hangup() CleanUp() -- Run CleanUp function now since the caller has disconnected debug.traceback=nil return "exit" end Obviously this generates the message: ?2016-03-01 09:01:18.625809 [ERR] mod_lua.cpp:203 exit? in the console, but this I can live with especially to avoid the goto statements throughout the code after every audio related function. Thanks again. Andrew Keil Visytel Pty Ltd From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Abaci B Sent: Tuesday, 1 March 2016 3:16 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function I don't see in your example above where you have a return "exit" in your hangup hook function see https://freeswitch.org/jira/browse/FS-3841 seems like the "exit" or "die" needs to be returned directly from the hanguphook function so try from that function (not cleanup function) to return "exit" or "dye", also it seems On Mon, Feb 29, 2016 at 10:53 AM, Abaci B > wrote: That's exactly what I noticed, it breaks out of the current function, why not open a Jira? I don't think it's supposed to behave this way. On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil > wrote: Thanks for your response. I have gone through these with no luck. Like I said the session:destroy(???) crashes FreeSWITCH, which is therefore off the list. The rest simply interrupt the current function and do no end the script. I guess my next move is to see why session:destroy() crashes FreeSWITCH, however I am a little snowed under at the moment so if anyone has some time to replicate this (only needs one line of code in a Lua script) and pass this on to the developers that would be great. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Abaci B Sent: Saturday, 27 February 2016 1:29 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function See https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:setHangupHook for a few ways to exit the lua script (error(), return "exit", return "die", s:destroy("error message")). I personally tried return "exit" but it seems to me that it only exits the calling function, haven't had a chance to look further, it's possible that the calling it from the within a function is different. if you play around and figure out please report back. On Thu, Feb 25, 2016 at 9:33 PM, Andrew Keil > wrote: To FreeSWITCH Users, See below for a sample template for a Lua Service Script running inside FreeSWITCH. The issue I have is fairly straightforward. I need a function to run when hangup is detected (ie. at the end of the call) however I understand this must not delay ending the script. This function is CleanUp(). Then I would like the service to end. The problem I am having is if the caller hangs up during the playback of ?intro.wav? (as shown inside the MainService() function below), then the code jumps to the myHangupHook which calls CleanUp() perfectly, the issue is once CleanUp() is complete I would like the Lua script to end there and then (ie. at the bottom of CleanUp()). What actually happens is it returns to MainService() and continues to try and play ?info.wav?, unless I either check for session:ready() everywhere or add a goto as shown below under each streamFile() function call. My aim is to reduce extra code and to make the Lua script simpler and easier to read. Also I would like to try and avoid goto statements, which I know can be done with if (session:ready()) etc?. So is there a way to stop a Lua script running inside FreeSWITCH cleanly? I have tried the os.exit() this is barred from use by FreeSWITCH. I have also tried session:destroy() which crashes FreeSWITCH (version 1.6.5 on CentOS 6.7, CentOS 7 and windows) 100% of the time! I could look further into the Lua additions done by the FreeSWITCH team in the source code, however if someone has already solved this then that would be the best solution. FYI: Obviously the script below is simple, however I am sure that you understand if the script was complicated having to use ?if (session:ready()) then ?.? or ?if (not session:ready()) then goto HANGUPEXIT end? makes the code ugly. Thanks in advance, Andrew Keil Visytel Pty Ltd ------------------------------------------------------------------------------ Sample Lua Service ----------------------------------------------------------------------- -- Lua template for FreeSWITCH service -- By: Andrew Keil (Visytel Pty Ltd) -- Email: support at visytel.com -- Setup script wide variables here function PreAnswer() freeswitch.consoleLog("INFO", "PRE ANSWER SECTION\n"); -- Add your pre answer code from here -- End of your pre answer code freeswitch.consoleLog("INFO", "PRE ANSWER SECTION COMPLETE\n"); end function AnswerCaller() session:answer() session:sleep(1000) end function MainService() freeswitch.consoleLog("INFO", "MAIN SERVICE SECTION\n"); if (session:ready()) then -- Note (1): If you wish to end the call then simply use: goto ENDSERVICE -- Note (2): To terminate the service sooner when HANGUP is detected use: if (not session:ready()) then goto HANGUPEXIT end -- Add your main service code from here (caller would have been answered) session:streamFile("intro.wav") if (not session:ready()) then goto HANGUPEXIT end session:streamFile("info.wav") if (not session:ready()) then goto HANGUPEXIT end session:streamFile("outro.wav") if (not session:ready()) then goto HANGUPEXIT end -- End of your main service code end ::ENDSERVICE:: if (session:ready()) then -- End of service so hangup session:hangup() -- Should automatically jump to CleanUp() via hangup handler if caller still online at this stage end goto END ::HANGUPEXIT:: freeswitch.consoleLog("INFO", "END OF SERVICE (HANGUP DETECTED)\n"); ::END:: freeswitch.consoleLog("INFO", "MAIN SERVICE SECTION COMPLETE\n"); end function CleanUp() freeswitch.consoleLog("INFO", "CLEANUP SECTION\n"); -- Add your cleanup code from here (caller would have been disconnected) -- End of your cleanup code freeswitch.consoleLog("INFO", "CLEANUP SECTION COMPLETE\n"); end function myHangupHook(s, status, arg) session:hangup() CleanUp() -- Run CleanUp function now since the caller has disconnected end -- Setup Hangup event handler here v_hangup = "HANGUP" session:setHangupHook("myHangupHook", "v_hangup") -- Call service functions in order PreAnswer() AnswerCaller() MainService() -- End of Lua service _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/96420ddc/attachment-0001.html From msc at freeswitch.org Tue Mar 1 01:24:44 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Feb 2016 14:24:44 -0800 Subject: [Freeswitch-users] Recording each leg of a conference call separately In-Reply-To: <4567C63B-8AF4-40A4-B9F5-915E4073F1CF@gmail.com> References: <4567C63B-8AF4-40A4-B9F5-915E4073F1CF@gmail.com> Message-ID: I would test drive this channel var on each leg's dialplan where you do the recording: https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-RECORD_WRITE_ONLY Don't forget about its counterpart RECORD_READ_ONLY. Let us know if one of those works for you. -MC On Mon, Feb 29, 2016 at 10:46 AM, Delvin Varghese wrote: > Hi all, > > I am familiar with the record and record_session commands in freeswitch to > initiate recordings, and also using ESL.. But is there a way to record ONLY > the speech from one device at a time in separate recordings? The way i am > envisioning is that if there are 9 different devices involved in a > conference call, that at the end of it I would be able to access 9 > recordings (each containing only the outbound voice from that device)? > > Is this possible? What are people?s thoughts? > > Delvin > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/a4d372ef/attachment.html From msc at freeswitch.org Tue Mar 1 02:11:58 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Feb 2016 15:11:58 -0800 Subject: [Freeswitch-users] File not found In-Reply-To: References: Message-ID: It's unlikely that you're missing a setting. I was not able to duplicate this on latest git. I would get a second system up and running in a lab environment with 1.6.6 (current release). See if you can reproduce the symptoms and take it from there. -MC On Sun, Feb 28, 2016 at 8:54 PM, Vishal Sharma wrote: > Hi, > I am using FS 1.6.5, when FS tries to play a file > (/doesnotexist/srv/sounds/automation/media-sec.mp3) which doesn't exist on > file system, it takes 20 seconds for it to respond that file is not present > and dead air is played during this time. > > > > On FS 1.4 and 1.2, it used to respond instantly. > > Am i missing some setting ... > > Regards, > Vishal Sharma > > SuperReceptionist is now available on Android mobiles. Track your business > on the go with call analytics, recordings, insights and more: Download > the app here > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/fedd23d5/attachment.html From msc at freeswitch.org Tue Mar 1 02:19:14 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Feb 2016 15:19:14 -0800 Subject: [Freeswitch-users] originate and valet_park In-Reply-To: References: Message-ID: FWIW, this syntax worked for me: originate user/1000 &valet_park('mylot 5555') -MC On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger wrote: > Is it possible to originate call and after answer park it in valet? I > tried something like: > originate user/1000 &valet_park mylot 5555 > > Extension rings and after pickup call is disconnected. > > Please for hint how to correctly format command or how to achive such > scenario in different way. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/0451dcaf/attachment.html From gregor at infomedia.si Tue Mar 1 02:28:23 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Tue, 1 Mar 2016 00:28:23 +0100 Subject: [Freeswitch-users] originate and valet_park In-Reply-To: References: Message-ID: And the Oscar goes to Michael :-) Thank you, it works for me too. 2016-03-01 0:19 GMT+01:00 Michael Collins : > FWIW, this syntax worked for me: > > originate user/1000 &valet_park('mylot 5555') > > -MC > > On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: > >> Is it possible to originate call and after answer park it in valet? I >> tried something like: >> originate user/1000 &valet_park mylot 5555 >> >> Extension rings and after pickup call is disconnected. >> >> Please for hint how to correctly format command or how to achive such >> scenario in different way. >> >> Best regards, Gregor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/048e0c42/attachment-0001.html From mandra at gmail.com Tue Mar 1 03:45:39 2016 From: mandra at gmail.com (Chris Mandra) Date: Mon, 29 Feb 2016 19:45:39 -0500 Subject: [Freeswitch-users] module question Message-ID: Hey guys - I've been working on a ladspa module and I thought that after I make a change to it and recompile I can just run reload and hear my changes, but it's not working, so I tried unload and reload and that's not allowing me to hear my changes either. Restarting freeSWITCH does allow me to hear my changes. Any ideas why this would be happening. I'm running 1.6 I know about the how the modules shutdown function is supposed to work ( https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module"N.B. your module's Shutdown function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work properly.") and this used to work without issue, so I'm wondering what might be going on here. Any suggestions appreciated, thanks, chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160229/45943cc2/attachment.html From s.safarov at gmail.com Tue Mar 1 08:53:13 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 01 Mar 2016 05:53:13 +0000 Subject: [Freeswitch-users] Today one more free WebRTC book Message-ID: https://www.packtpub.com/packt/offers/free-learning -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/4da94f82/attachment.html From udy786 at gmail.com Tue Mar 1 10:48:15 2016 From: udy786 at gmail.com (Uday kumar) Date: Tue, 1 Mar 2016 13:18:15 +0530 Subject: [Freeswitch-users] Help Message-ID: Hello, I am trying to run smpp on my freeswitch 1.6. I have installed freeswitcha and also smpp module. Yesterday I configured smpp account and it was registered at provider end. But today when I am checking it, getting an error. 2016-03-01 02:17:39.339566 [ERR] mod_smpp_gateway.c:145 Failed to send on the socket 2016-03-01 02:17:40.339560 [ERR] mod_smpp_gateway.c:208 Failed to recv on the socket Also when I am trying reload mod_smpp that getting error "freeswitch socket interrupted bye". Please help me. -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/acd8d29a/attachment.html From asilva at wirelessmundi.com Tue Mar 1 12:00:37 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 1 Mar 2016 10:00:37 +0100 Subject: [Freeswitch-users] segfaults because odbc mysql driver In-Reply-To: References: Message-ID: <56D55A35.6000702@wirelessmundi.com> Hi, I use mysql. I had segfaults as well. i change to unixodbc 2.3.4 and it solves it, also in the odbc configuration i have Threading = 0. On 02/29/2016 10:05 PM, Sergey Safarov wrote: > I use PostgreSQL. > > On Mon, Feb 29, 2016 at 10:01 PM, ???? ?????? > wrote: > > Hi guys, > > As far as I know there is one already known problems with FS > segfaults that happen because of odbc mysql driver. > I have latest recommended setup with debian 8.3 + FS 1.6. > Somebody mentioned that version of unixODBC should be higher than > 2.3 to solve this but... I have unixODBC 2.3.1 and it doesn't help. > > Everybody use pgsql ? :) > > Please advice if somebody use mysql with FS 1.6 and still happy. > > I also have backtrace file here - > https://freeswitch.org/jira/browse/FS-8857 > and will be glad any ideas. > > Thanks. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/7e6ab808/attachment.html From guoqiuping81112 at 163.com Tue Mar 1 12:11:43 2016 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Tue, 1 Mar 2016 17:11:43 +0800 Subject: [Freeswitch-users] H264 Encoding Error Message-ID: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> Hi All: My box is CentOS6.5, and FS is 1.6.4 When I use H264 as the video codec. FS report encoding fail as below. [ERR] avcodec.c:1117 Encoding Error -1 and x264 report lookahead thread is already stopped I checked the source code, I found that when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. switch_h264_encode: if (*got_output) { // Could be more delayed frames ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); Is it a bug of mod_av or how can i solve the problem? Thanks a lot -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/8109872c/attachment.html From john.nash778 at gmail.com Tue Mar 1 12:15:26 2016 From: john.nash778 at gmail.com (John Nash) Date: Tue, 1 Mar 2016 14:45:26 +0530 Subject: [Freeswitch-users] XML CDR end_stamp question Message-ID: end_stamp stores the timestamp when call is disconnected. My question is does it store timestamp when "BYE" received from either of end point or when we receive 200 OK of BYE? Is there any setting to control this? Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/fd581e96/attachment-0001.html From delvin.friends at gmail.com Tue Mar 1 12:15:59 2016 From: delvin.friends at gmail.com (Delvin Varghese) Date: Tue, 1 Mar 2016 09:15:59 +0000 Subject: [Freeswitch-users] Recording each leg of a conference call separately In-Reply-To: References: Message-ID: <25057566-239B-4476-AFBB-04357E213148@gmail.com> I have considered using sox to split the audio, but that is a very last resort i want to consider? Trying to build a quality system where the user can chose which participant(s) to have in the final audio recording? So we don?t want everyone in a conference to be heard in the final audio file.. @Michael, i will try out the RECORD_WRITE_ONLY and READ_ONLY variables to see what i can do with it! Thanks, Delvin > On 29 Feb 2016, at 23:29, freeswitch-users-request at lists.freeswitch.org wrote: > > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > Today's Topics: > > 1. Re: Recording each leg of a conference call separately > (Michael Collins) > 2. Re: File not found (Michael Collins) > 3. Re: originate and valet_park (Michael Collins) > 4. Re: originate and valet_park (Gregor Nanger) > > From: Michael Collins > Subject: Re: [Freeswitch-users] Recording each leg of a conference call separately > Date: 29 February 2016 at 22:24:44 GMT > To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > > > I would test drive this channel var on each leg's dialplan where you do the recording: > https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-RECORD_WRITE_ONLY > > Don't forget about its counterpart RECORD_READ_ONLY. > > Let us know if one of those works for you. > > -MC > > On Mon, Feb 29, 2016 at 10:46 AM, Delvin Varghese > wrote: > Hi all, > > I am familiar with the record and record_session commands in freeswitch to initiate recordings, and also using ESL.. But is there a way to record ONLY the speech from one device at a time in separate recordings? The way i am envisioning is that if there are 9 different devices involved in a conference call, that at the end of it I would be able to access 9 recordings (each containing only the outbound voice from that device)? > > Is this possible? What are people?s thoughts? > > Delvin > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > From: Michael Collins > Subject: Re: [Freeswitch-users] File not found > Date: 29 February 2016 at 23:11:58 GMT > To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > > > It's unlikely that you're missing a setting. I was not able to duplicate this on latest git. I would get a second system up and running in a lab environment with 1.6.6 (current release). See if you can reproduce the symptoms and take it from there. > > -MC > > On Sun, Feb 28, 2016 at 8:54 PM, Vishal Sharma > wrote: > Hi, > I am using FS 1.6.5, when FS tries to play a file (/doesnotexist/srv/sounds/automation/media-sec.mp3) which doesn't exist on file system, it takes 20 seconds for it to respond that file is not present and dead air is played during this time. > > > > On FS 1.4 and 1.2, it used to respond instantly. > > Am i missing some setting ... > > Regards, > Vishal Sharma > > SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > From: Michael Collins > Subject: Re: [Freeswitch-users] originate and valet_park > Date: 29 February 2016 at 23:19:14 GMT > To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > > > FWIW, this syntax worked for me: > > originate user/1000 &valet_park('mylot 5555') > > -MC > > On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: > Is it possible to originate call and after answer park it in valet? I tried something like: > originate user/1000 &valet_park mylot 5555 > > Extension rings and after pickup call is disconnected. > > Please for hint how to correctly format command or how to achive such scenario in different way. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > From: Gregor Nanger > Subject: Re: [Freeswitch-users] originate and valet_park > Date: 29 February 2016 at 23:28:23 GMT > To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > > > And the Oscar goes to Michael :-) > > Thank you, it works for me too. > > 2016-03-01 0:19 GMT+01:00 Michael Collins >: > FWIW, this syntax worked for me: > > originate user/1000 &valet_park('mylot 5555') > > -MC > > On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: > Is it possible to originate call and after answer park it in valet? I tried something like: > originate user/1000 &valet_park mylot 5555 > > Extension rings and after pickup call is disconnected. > > Please for hint how to correctly format command or how to achive such scenario in different way. > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Gregor Nanger > > CTO > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/aa54b959/attachment-0001.html From deforceczt at gmail.com Tue Mar 1 12:25:45 2016 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Tue, 1 Mar 2016 11:25:45 +0200 Subject: [Freeswitch-users] Unable to compile mod_sndfile on CentOS 7 In-Reply-To: References: Message-ID: branch v1.6 was not compiling, with FreeSWITCH Version 1.7.0+git~20160229T230042Z~041dc0a62d~64bit it's all ok. Thanks! 2016-02-29 23:02 GMT+02:00 Sergey Safarov : > I has compiled 9f4f67d with standard libs > > [build at build ~]$ rpm -qa | grep sndfile > > lib*sndfile*-1.0.25-10.el7.x86_64 > lib*sndfile*-devel-1.0.25-10.el7.x86_64 > > freeswitch at build.rcsnet.ru> status > > UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, 586 > microseconds > > FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is ready > > 10248 session(s) since startup > > 0 session(s) - peak 17, last 5min 1 > > 0 session(s) per Sec out of max 30, peak 5, last 5min 1 > > 1000 session(s) max > > min idle cpu 0.00/99.10 > > Current Stack Size/Max 240K/8192K > > > freeswitch at build.rcsnet.ru> reload mod_sndfile > > +OK Reloading XML > > -ERR unloading module [Module in use.] > > -ERR loading module [Module already loaded] > > > 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 Module > mod_sndfile is in use, cannot unload. > > 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 Module > mod_sndfile Already Loaded! > > 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded > > 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded > 1781 definitions > > freeswitch at build.rcsnet.ru> > > On Mon, Feb 29, 2016 at 10:09 PM, SamyGo wrote: > >> Hi, >> I recently got into trouble where I compiled FS on ubuntu 14.04 and got >> error on this module - so I commented it out. Turned out that I was unable >> to play .wav files in FS. >> Hence I had to compile this module using an older version of >> libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev. >> >> It seems like you already have the same version which worked for me, >> maybe try executing command "ldconfig" on shell and then try. >> >> Thanks >> Sammy >> >> On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov >> wrote: >> >>> Yeah, I need it... >>> >>> 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine : >>> >>>> If you do not need this module then simply comment it out in >>>> modules.conf; that's what I did... >>>> >>>> __Yehavi: >>>> >>>> 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov : >>>> >>>>> Hey guys, >>>>> >>>>> I'm unable to compile mod_sndfile even though I have installed all the >>>>> devel packages. >>>>> >>>>> # yum install libsndfile-devel >>>>> Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and >>>>> latest version >>>>> >>>>> # make mod_sndfile >>>>> make[1]: Entering directory `/opt/freeswitch' >>>>> make libfreeswitch.la >>>>> make[2]: Entering directory `/opt/freeswitch' >>>>> make[2]: Leaving directory `/opt/freeswitch' >>>>> make[1]: Leaving directory `/opt/freeswitch' >>>>> make[1]: Entering directory `/opt/freeswitch/src/mod' >>>>> make[2]: Entering directory `/opt/freeswitch/src/mod' >>>>> >>>>> making all mod_sndfile >>>>> make[3]: Entering directory >>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>> Makefile:888: *** You must install libsndfile-dev to build >>>>> mod_sndfile. Stop. >>>>> make[3]: Leaving directory >>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>> make[2]: *** [mod_sndfile-all] Error 1 >>>>> make[2]: Leaving directory `/opt/freeswitch/src/mod' >>>>> make[1]: *** [mod_sndfile] Error 2 >>>>> make[1]: Leaving directory `/opt/freeswitch/src/mod' >>>>> make: *** [mod_sndfile] Error 2 >>>>> >>>>> >>>>> Any tips? >>>>> Best Regards. >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/60f3915d/attachment.html From deforceczt at gmail.com Tue Mar 1 12:50:18 2016 From: deforceczt at gmail.com (Vladislav Ivanov) Date: Tue, 1 Mar 2016 11:50:18 +0200 Subject: [Freeswitch-users] Unable to compile mod_sndfile on CentOS 7 In-Reply-To: References: Message-ID: Think I have a problem again, it is not compiling as I though: CXX switch_cpp.lo cat /opt/freeswitch2/src/include/switch_cpp.h | perl /opt/freeswitch2/build/ strip.pl > /opt/freeswitch2/src/include/switch_swigable_cpp.h CXXLD libfreeswitch.la *** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! 2016-03-01 11:25 GMT+02:00 Vladislav Ivanov : > branch v1.6 was not compiling, with FreeSWITCH Version > 1.7.0+git~20160229T230042Z~041dc0a62d~64bit it's all ok. > Thanks! > > 2016-02-29 23:02 GMT+02:00 Sergey Safarov : > >> I has compiled 9f4f67d with standard libs >> >> [build at build ~]$ rpm -qa | grep sndfile >> >> lib*sndfile*-1.0.25-10.el7.x86_64 >> lib*sndfile*-devel-1.0.25-10.el7.x86_64 >> >> freeswitch at build.rcsnet.ru> status >> >> UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, 586 >> microseconds >> >> FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is ready >> >> 10248 session(s) since startup >> >> 0 session(s) - peak 17, last 5min 1 >> >> 0 session(s) per Sec out of max 30, peak 5, last 5min 1 >> >> 1000 session(s) max >> >> min idle cpu 0.00/99.10 >> >> Current Stack Size/Max 240K/8192K >> >> >> freeswitch at build.rcsnet.ru> reload mod_sndfile >> >> +OK Reloading XML >> >> -ERR unloading module [Module in use.] >> >> -ERR loading module [Module already loaded] >> >> >> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 Module >> mod_sndfile is in use, cannot unload. >> >> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 Module >> mod_sndfile Already Loaded! >> >> 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded >> >> 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded >> 1781 definitions >> >> freeswitch at build.rcsnet.ru> >> >> On Mon, Feb 29, 2016 at 10:09 PM, SamyGo wrote: >> >>> Hi, >>> I recently got into trouble where I compiled FS on ubuntu 14.04 and got >>> error on this module - so I commented it out. Turned out that I was unable >>> to play .wav files in FS. >>> Hence I had to compile this module using an older version of >>> libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev. >>> >>> It seems like you already have the same version which worked for me, >>> maybe try executing command "ldconfig" on shell and then try. >>> >>> Thanks >>> Sammy >>> >>> On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov >>> wrote: >>> >>>> Yeah, I need it... >>>> >>>> 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine : >>>> >>>>> If you do not need this module then simply comment it out in >>>>> modules.conf; that's what I did... >>>>> >>>>> __Yehavi: >>>>> >>>>> 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov : >>>>> >>>>>> Hey guys, >>>>>> >>>>>> I'm unable to compile mod_sndfile even though I have installed all >>>>>> the devel packages. >>>>>> >>>>>> # yum install libsndfile-devel >>>>>> Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and >>>>>> latest version >>>>>> >>>>>> # make mod_sndfile >>>>>> make[1]: Entering directory `/opt/freeswitch' >>>>>> make libfreeswitch.la >>>>>> make[2]: Entering directory `/opt/freeswitch' >>>>>> make[2]: Leaving directory `/opt/freeswitch' >>>>>> make[1]: Leaving directory `/opt/freeswitch' >>>>>> make[1]: Entering directory `/opt/freeswitch/src/mod' >>>>>> make[2]: Entering directory `/opt/freeswitch/src/mod' >>>>>> >>>>>> making all mod_sndfile >>>>>> make[3]: Entering directory >>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>>> Makefile:888: *** You must install libsndfile-dev to build >>>>>> mod_sndfile. Stop. >>>>>> make[3]: Leaving directory >>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>>> make[2]: *** [mod_sndfile-all] Error 1 >>>>>> make[2]: Leaving directory `/opt/freeswitch/src/mod' >>>>>> make[1]: *** [mod_sndfile] Error 2 >>>>>> make[1]: Leaving directory `/opt/freeswitch/src/mod' >>>>>> make: *** [mod_sndfile] Error 2 >>>>>> >>>>>> >>>>>> Any tips? >>>>>> Best Regards. >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/bfce4376/attachment-0001.html From s.safarov at gmail.com Tue Mar 1 13:36:49 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Mar 2016 13:36:49 +0300 Subject: [Freeswitch-users] Unable to compile mod_sndfile on CentOS 7 In-Reply-To: References: Message-ID: look https://freeswitch.org/stash/projects/SD/repos/libvpx/pull-requests/4/overview and http://lists.freeswitch.org/pipermail/freeswitch-users/2016-February/118847.html I has successfuly compiled master with static libvpx linking five days ago. I use RPM spec file to compile FS sources. On Tue, Mar 1, 2016 at 12:50 PM, Vladislav Ivanov wrote: > Think I have a problem again, it is not compiling as I though: > > CXX switch_cpp.lo > cat /opt/freeswitch2/src/include/switch_cpp.h | perl > /opt/freeswitch2/build/strip.pl > > /opt/freeswitch2/src/include/switch_swigable_cpp.h > CXXLD libfreeswitch.la > > *** Warning: Linking the shared library libfreeswitch.la against the > *** static library libs/libvpx/libvpx.a is not portable! > > > 2016-03-01 11:25 GMT+02:00 Vladislav Ivanov : > >> branch v1.6 was not compiling, with FreeSWITCH Version >> 1.7.0+git~20160229T230042Z~041dc0a62d~64bit it's all ok. >> Thanks! >> >> 2016-02-29 23:02 GMT+02:00 Sergey Safarov : >> >>> I has compiled 9f4f67d with standard libs >>> >>> [build at build ~]$ rpm -qa | grep sndfile >>> >>> lib*sndfile*-1.0.25-10.el7.x86_64 >>> lib*sndfile*-devel-1.0.25-10.el7.x86_64 >>> >>> freeswitch at build.rcsnet.ru> status >>> >>> UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, >>> 586 microseconds >>> >>> FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is >>> ready >>> >>> 10248 session(s) since startup >>> >>> 0 session(s) - peak 17, last 5min 1 >>> >>> 0 session(s) per Sec out of max 30, peak 5, last 5min 1 >>> >>> 1000 session(s) max >>> >>> min idle cpu 0.00/99.10 >>> >>> Current Stack Size/Max 240K/8192K >>> >>> >>> freeswitch at build.rcsnet.ru> reload mod_sndfile >>> >>> +OK Reloading XML >>> >>> -ERR unloading module [Module in use.] >>> >>> -ERR loading module [Module already loaded] >>> >>> >>> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 >>> Module mod_sndfile is in use, cannot unload. >>> >>> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 >>> Module mod_sndfile Already Loaded! >>> >>> 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded >>> >>> 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded >>> 1781 definitions >>> >>> freeswitch at build.rcsnet.ru> >>> >>> On Mon, Feb 29, 2016 at 10:09 PM, SamyGo wrote: >>> >>>> Hi, >>>> I recently got into trouble where I compiled FS on ubuntu 14.04 and got >>>> error on this module - so I commented it out. Turned out that I was unable >>>> to play .wav files in FS. >>>> Hence I had to compile this module using an older version of >>>> libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev. >>>> >>>> It seems like you already have the same version which worked for me, >>>> maybe try executing command "ldconfig" on shell and then try. >>>> >>>> Thanks >>>> Sammy >>>> >>>> On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov >>> > wrote: >>>> >>>>> Yeah, I need it... >>>>> >>>>> 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine >>>>> : >>>>> >>>>>> If you do not need this module then simply comment it out in >>>>>> modules.conf; that's what I did... >>>>>> >>>>>> __Yehavi: >>>>>> >>>>>> 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov : >>>>>> >>>>>>> Hey guys, >>>>>>> >>>>>>> I'm unable to compile mod_sndfile even though I have installed all >>>>>>> the devel packages. >>>>>>> >>>>>>> # yum install libsndfile-devel >>>>>>> Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and >>>>>>> latest version >>>>>>> >>>>>>> # make mod_sndfile >>>>>>> make[1]: Entering directory `/opt/freeswitch' >>>>>>> make libfreeswitch.la >>>>>>> make[2]: Entering directory `/opt/freeswitch' >>>>>>> make[2]: Leaving directory `/opt/freeswitch' >>>>>>> make[1]: Leaving directory `/opt/freeswitch' >>>>>>> make[1]: Entering directory `/opt/freeswitch/src/mod' >>>>>>> make[2]: Entering directory `/opt/freeswitch/src/mod' >>>>>>> >>>>>>> making all mod_sndfile >>>>>>> make[3]: Entering directory >>>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>>>> Makefile:888: *** You must install libsndfile-dev to build >>>>>>> mod_sndfile. Stop. >>>>>>> make[3]: Leaving directory >>>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile' >>>>>>> make[2]: *** [mod_sndfile-all] Error 1 >>>>>>> make[2]: Leaving directory `/opt/freeswitch/src/mod' >>>>>>> make[1]: *** [mod_sndfile] Error 2 >>>>>>> make[1]: Leaving directory `/opt/freeswitch/src/mod' >>>>>>> make: *** [mod_sndfile] Error 2 >>>>>>> >>>>>>> >>>>>>> Any tips? >>>>>>> Best Regards. >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/be56bac1/attachment.html From s.safarov at gmail.com Tue Mar 1 13:42:05 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 1 Mar 2016 13:42:05 +0300 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> Message-ID: Please look FS-8851 . Are is related to your case? On Tue, Mar 1, 2016 at 12:11 PM, ??? wrote: > Hi All: > > My box is CentOS6.5, and FS is 1.6.4 > > When I use H264 as the video codec. > FS report encoding fail as below. > [ERR] avcodec.c:1117 Encoding Error -1 > and x264 report > lookahead thread is already stopped > > I checked the source code, I found that > when switch_h264_encode encode is invoked first time, it results > that context->got_encoded_output is set to 1. > and after that, if switch_h264_encode is invoked again, it will check > context->got_encoded_output , and then pass null frame > to avcodec_encode_video2 which will stop the lookahead thread because of > the null frame. > switch_h264_encode: > if (*got_output) { // Could be more delayed frames > ret = avcodec_encode_video2(avctx, pkt, *NULL*, got_output); > > Is it a bug of mod_av or how can i solve the problem? > > Thanks a lot > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/f5bdf24c/attachment-0001.html From ynasida at gmail.com Tue Mar 1 14:10:04 2016 From: ynasida at gmail.com (=?UTF-8?B?0K7RgNC40Lkg0J3QsNGB0LjQtNCw?=) Date: Tue, 1 Mar 2016 14:10:04 +0300 Subject: [Freeswitch-users] segfaults because odbc mysql driver In-Reply-To: <56D55A35.6000702@wirelessmundi.com> References: <56D55A35.6000702@wirelessmundi.com> Message-ID: Antonio, thanks a lot for feedback! I suppose you have installed unixodbc 2.3.4 from source. Do you know should I re-install FS after this ? 2016-03-01 12:00 GMT+03:00 Antonio Silva : > Hi, > > I use mysql. > > I had segfaults as well. i change to unixodbc 2.3.4 and it solves it, > also in the odbc configuration i have Threading = 0. > > > > On 02/29/2016 10:05 PM, Sergey Safarov wrote: > > I use PostgreSQL. > > On Mon, Feb 29, 2016 at 10:01 PM, ???? ?????? wrote: > >> Hi guys, >> >> As far as I know there is one already known problems with FS segfaults >> that happen because of odbc mysql driver. >> I have latest recommended setup with debian 8.3 + FS 1.6. >> Somebody mentioned that version of unixODBC should be higher than 2.3 to >> solve this but... I have unixODBC 2.3.1 and it doesn't help. >> >> Everybody use pgsql ? :) >> >> Please advice if somebody use mysql with FS 1.6 and still happy. >> >> I also have backtrace file here - >> >> https://freeswitch.org/jira/browse/FS-8857 >> and will be glad any ideas. >> >> Thanks. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > -- > > Saludos / Regards / Cumprimentos, > Ant?nio silva > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/c19711b2/attachment.html From lists at kavun.ch Tue Mar 1 14:45:05 2016 From: lists at kavun.ch (Emrah) Date: Tue, 1 Mar 2016 12:45:05 +0100 Subject: [Freeswitch-users] SRTP breaks my TLS session In-Reply-To: <14EF2D3F-9034-4D59-BC37-16B6E20BAEE8@kavun.ch> References: <84F64031-B943-4671-A0BC-66FC02DF7C51@kavun.ch> <88ACC7C7-589C-4CC8-A146-3DBF31B84A2E@mgtech.com> <93C84919-0D70-4DD3-BB86-46DE87492F9C@kavun.ch> <14EF2D3F-9034-4D59-BC37-16B6E20BAEE8@kavun.ch> Message-ID: Hello all, Pinging the list in search of brilliant minds for more recommendations on how to solve this overwhelmingly frustrating issue. I just love FS and all it lets me accomplish. But this bug and the unpredictability and inability to effectively troubleshoot just leaves a bad impression, accentuated by the fact that no one seems to care about it. I call it a bug because I do not experience this issue with other SIP servers. Who is available to exchange SIP credentials in order to cross-test this? Especially if you believe you are immunized! Best, Emrah > On Feb 28, 2016, at 7:33 PM, Emrah wrote: > > Hello there, > I can confirm that a PCAP gives me a bunch of TLS packets. > How do you suggest debugging this? > > Thanks! >> On Feb 26, 2016, at 10:36 AM, Emrah > wrote: >> >> Thanks for this. >> >> This isn?t just a yealink thing. I?ve encountered sporadic issues with soft phones and other desk phones as well. >> >> I didn?t use the PCap capture feature because I had assumed it would give me a bunch of TLS packets. I?ll test that and revert back. >> >> How can we explain that I have more calls failing if I register multiple accounts? >> >> Emrah >> >>> On Feb 26, 2016, at 6:37 AM, Mario G > wrote: >>> >>> You may want to run a pcap trace on the Yealink. It?s under settings->Configuration. Start/test/export. >>> >>>> On Feb 25, 2016, at 3:35 PM, Brian West > wrote: >>>> >>>> Sounds like there may be a bug in the yealink if packet size is of issue on TCP/TLS connections. >>>> >>>> On Thu, Feb 25, 2016 at 5:13 PM, Emrah > wrote: >>>> Hello list, >>>> I thought I had solved this issue by reducing my codec list to a minimum, but it still persists, unfortunately. This was to reduce the TLS packet size. >>>> Anytime I enable SRTP on my phones, outgoing calls will randomly fail. The problem goes away when I disable SRTP. I only work over TLS. >>>> Incoming calls work reliably with or without SRTP. >>>> >>>> How do you suggest debugging this? >>>> I tried setting up a fresh instance of FS but the issue persists. >>>> Now. It should be noted that calls fail sensibly more often when I have more than one account registered on the same server with the same device. >>>> >>>> Any suggestion is welcome. Have you experienced this? >>>> >>>> I?m running FreeSWITCH Version 1.6.5 on Debian. My phone in this case is a Yealink SIP-T46G running firmware 28.80.0.95. >>>> >>>> E >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> -- >>>> Brian West >>>> brian at freeswitch.org >>>> >>>> Twitter: @FreeSWITCH , @briankwest >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> Got Bugs? Report them here ! | Reddit: /r/freeswitch >>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/ade1807b/attachment-0001.html From asilva at wirelessmundi.com Tue Mar 1 14:47:12 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 1 Mar 2016 12:47:12 +0100 Subject: [Freeswitch-users] segfaults because odbc mysql driver In-Reply-To: References: <56D55A35.6000702@wirelessmundi.com> Message-ID: <56D58140.9030707@wirelessmundi.com> Yes, no really sure if needed... but i compiled and installed everything from scratch to avoid dependency issues. On 03/01/2016 12:10 PM, ???? ?????? wrote: > Antonio, thanks a lot for feedback! > > I suppose you have installed unixodbc 2.3.4 from source. Do you know > should I re-install FS after this ? > > 2016-03-01 12:00 GMT+03:00 Antonio Silva >: > > Hi, > > I use mysql. > > I had segfaults as well. i change to unixodbc 2.3.4 and it solves > it, also in the odbc configuration i have Threading = 0. > > > > On 02/29/2016 10:05 PM, Sergey Safarov wrote: >> I use PostgreSQL. >> >> On Mon, Feb 29, 2016 at 10:01 PM, ???? ?????? > > wrote: >> >> Hi guys, >> >> As far as I know there is one already known problems with FS >> segfaults that happen because of odbc mysql driver. >> I have latest recommended setup with debian 8.3 + FS 1.6. >> Somebody mentioned that version of unixODBC should be higher >> than 2.3 to solve this but... I have unixODBC 2.3.1 and it >> doesn't help. >> >> Everybody use pgsql ? :) >> >> Please advice if somebody use mysql with FS 1.6 and still happy. >> >> I also have backtrace file here - >> https://freeswitch.org/jira/browse/FS-8857 >> and will be glad any ideas. >> >> Thanks. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -- > > Saludos / Regards / Cumprimentos, > Ant?nio silva > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/ffef77ff/attachment.html From sdame at 207me.com Tue Mar 1 16:28:49 2016 From: sdame at 207me.com (Stephen Dame) Date: Tue, 1 Mar 2016 08:28:49 -0500 Subject: [Freeswitch-users] Recording each leg of a conference call separately In-Reply-To: <25057566-239B-4476-AFBB-04357E213148@gmail.com> References: <25057566-239B-4476-AFBB-04357E213148@gmail.com> Message-ID: <0cde01d173be$72271740$567545c0$@207me.com> Daniel, We use this in dialplan right before transfering user into conference for testing only. Gives us recording of audio before it goes into mod_conference, and also what the user hears back. This is mostly for testing stereo spatial audio changes when we debug to see if audio pops are generated prior to going into the conference. You can just record the ?write? and get a file for each member. Regards, Stephen 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Delvin Varghese Sent: Tuesday, March 01, 2016 4:16 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Recording each leg of a conference call separately I have considered using sox to split the audio, but that is a very last resort i want to consider? Trying to build a quality system where the user can chose which participant(s) to have in the final audio recording? So we don?t want everyone in a conference to be heard in the final audio file.. @Michael, i will try out the RECORD_WRITE_ONLY and READ_ONLY variables to see what i can do with it! Thanks, Delvin On 29 Feb 2016, at 23:29, freeswitch-users-request at lists.freeswitch.org wrote: Send FreeSWITCH-users mailing list submissions to freeswitch-users at lists.freeswitch.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request at lists.freeswitch.org You can reach the person managing the list at freeswitch-users-owner at lists.freeswitch.org When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..." Today's Topics: 1. Re: Recording each leg of a conference call separately (Michael Collins) 2. Re: File not found (Michael Collins) 3. Re: originate and valet_park (Michael Collins) 4. Re: originate and valet_park (Gregor Nanger) From: Michael Collins > Subject: Re: [Freeswitch-users] Recording each leg of a conference call separately Date: 29 February 2016 at 22:24:44 GMT To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > I would test drive this channel var on each leg's dialplan where you do the recording: https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-RECORD_WRITE_ONLY Don't forget about its counterpart RECORD_READ_ONLY. Let us know if one of those works for you. -MC On Mon, Feb 29, 2016 at 10:46 AM, Delvin Varghese > wrote: Hi all, I am familiar with the record and record_session commands in freeswitch to initiate recordings, and also using ESL.. But is there a way to record ONLY the speech from one device at a time in separate recordings? The way i am envisioning is that if there are 9 different devices involved in a conference call, that at the end of it I would be able to access 9 recordings (each containing only the outbound voice from that device)? Is this possible? What are people?s thoughts? Delvin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From: Michael Collins > Subject: Re: [Freeswitch-users] File not found Date: 29 February 2016 at 23:11:58 GMT To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > It's unlikely that you're missing a setting. I was not able to duplicate this on latest git. I would get a second system up and running in a lab environment with 1.6.6 (current release). See if you can reproduce the symptoms and take it from there. -MC On Sun, Feb 28, 2016 at 8:54 PM, Vishal Sharma > wrote: Hi, I am using FS 1.6.5, when FS tries to play a file (/doesnotexist/srv/sounds/automation/media-sec.mp3) which doesn't exist on file system, it takes 20 seconds for it to respond that file is not present and dead air is played during this time. On FS 1.4 and 1.2, it used to respond instantly. Am i missing some setting ... Regards, Vishal Sharma SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From: Michael Collins > Subject: Re: [Freeswitch-users] originate and valet_park Date: 29 February 2016 at 23:19:14 GMT To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > FWIW, this syntax worked for me: originate user/1000 &valet_park('mylot 5555') -MC On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: Is it possible to originate call and after answer park it in valet? I tried something like: originate user/1000 &valet_park mylot 5555 Extension rings and after pickup call is disconnected. Please for hint how to correctly format command or how to achive such scenario in different way. Best regards, Gregor _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From: Gregor Nanger > Subject: Re: [Freeswitch-users] originate and valet_park Date: 29 February 2016 at 23:28:23 GMT To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > And the Oscar goes to Michael :-) Thank you, it works for me too. 2016-03-01 0:19 GMT+01:00 Michael Collins >: FWIW, this syntax worked for me: originate user/1000 &valet_park('mylot 5555') -MC On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: Is it possible to originate call and after answer park it in valet? I tried something like: originate user/1000 &valet_park mylot 5555 Extension rings and after pickup call is disconnected. Please for hint how to correctly format command or how to achive such scenario in different way. Best regards, Gregor _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Gregor Nanger CTO t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/fef973e4/attachment-0001.html From guoqiuping81112 at 163.com Tue Mar 1 16:55:15 2016 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Tue, 1 Mar 2016 21:55:15 +0800 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> Message-ID: <06DD097B-0065-41FB-85B1-01769E6E7B93@163.com> I think they are not the same. H263 is fine. but H264 fail > ? 2016?3?1????6:42?Sergey Safarov ??? > > Please look FS-8851 . Are is related to your case? > > On Tue, Mar 1, 2016 at 12:11 PM, ??? > wrote: > Hi All: > > My box is CentOS6.5, and FS is 1.6.4 > > When I use H264 as the video codec. > FS report encoding fail as below. > [ERR] avcodec.c:1117 Encoding Error -1 > and x264 report > lookahead thread is already stopped > > I checked the source code, I found that > when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. > and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. > switch_h264_encode: > if (*got_output) { // Could be more delayed frames > ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); > > Is it a bug of mod_av or how can i solve the problem? > > Thanks a lot > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/2aed232c/attachment.html From at at cubeio.com Tue Mar 1 13:34:55 2016 From: at at cubeio.com (=?UTF-8?Q?Asbj=C3=B8rn_Thegler?=) Date: Tue, 1 Mar 2016 11:34:55 +0100 Subject: [Freeswitch-users] Two outbound ESL connections Message-ID: Hello there, I have a setup where I would like FreeSWITCH to make an outbound ESL connection to a proxy-like service. The proxy-like service should then make FreeSWITCH open another outbound ESL connection to a different service that will handle the call. The proxy-like service should be as transparent as possible. Ideally, it should be possible to 'skip' it, and point FreeSWITCH directly to the service that handles the call. Currently, I have a dialplan that looks like this: -- -- The proxy-like service listenens on port 3000. It will order FreeSWITCH to execute the following command: socket 127.0.0.1:3001 async full This works, somewhat. I would like the proxy-service to terminate the connection as fast as possible. However, if I send the exit-command[1] before the call is bridged to the hangup from the XML dialplan is executed. If the call is bridged when I send the exit-command, it works fine. I would like the service on 3001 to emit a custom event, which the proxy-like service listens for and terminates the ESL connection. Currently I need to sleep a little while and then terminate the ESL connection. How do I keep the hangup from being executed, when there is an open outbound ESL connection? I currently use FreeSWITCH Version 1.4.15+git~20141229T185951Z~507a0f22c5~64bit (git 507a0f2 2014-12-29 18:59:51Z 64bit). I hope this makes sense. Regards, Asbj?rn [1] https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-exit -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/a04816c0/attachment.html From martin at maxnet.ao Tue Mar 1 13:39:01 2016 From: martin at maxnet.ao (Martin Boese) Date: Tue, 1 Mar 2016 11:39:01 +0100 Subject: [Freeswitch-users] sofia_contact not resolving Message-ID: <20160301113901.1f06512b@bones-tp> Hello.. I need to bridge a call to a sip-registered user. I only know the username, so I want to use the sofia_contact function. But I have two possible profiles a user can register to. It works for a user on one profile but not on another - see below. The two sip-profiles are indentical, just sip/rtp IP changes. So I am running out of ideas here. Please help! freeswitch at internal> show registrations reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata mypbx,10.255.0.22,5631334372ce72703e065a6c229ed744 at 0.0.0.0,sofia/voice-cust/sip:mypbx at 10.255.0.21,1456827880,10.255.0.21,5060,udp,voices1, martin,197.234.112.90,854360386,sofia/public-ip/sip:martin at 195.216.48.154:65476;line=0e91ea8856947c7,1456827842,195.216.48.154,65476,udp,voices1, freeswitch at internal> sofia_contact martin sofia/public-ip/sip:martin at 195.216.48.154:65476;line=0e91ea8856947c7 ..great, but the other user: freeswitch at internal> sofia_contact mypbx error/user_not_registered freeswitch at internal> sofia_contact */mypbx error/user_not_registered freeswitch at internal> sofia_contact */mypbx at 10.255.0.21 error/user_not_registered Version: freeswitch at internal> version FreeSWITCH Version 1.6.6-13-d2d0b32~64bit (-13-d2d0b32 64bit) Thanks! Martin From udy786 at gmail.com Tue Mar 1 15:10:48 2016 From: udy786 at gmail.com (Uday kumar) Date: Tue, 1 Mar 2016 17:40:48 +0530 Subject: [Freeswitch-users] smpp error Message-ID: Hello, I am trying to run smpp on my freeswitch 1.6. I have installed freeswitcha and also smpp module. Yesterday I configured smpp account and it was registered at provider end. But today when I am checking it, getting an error. 2016-03-01 02:17:39.339566 [ERR] mod_smpp_gateway.c:145 Failed to send on the socket 2016-03-01 02:17:40.339560 [ERR] mod_smpp_gateway.c:208 Failed to recv on the socket Also when I am trying reload mod_smpp that getting error "freeswitch socket interrupted bye". Please help me. -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/870cb1fc/attachment.html From mandra at gmail.com Tue Mar 1 17:22:27 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 1 Mar 2016 09:22:27 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: Message-ID: More grist for the mill: I'm able to unload the module, and freeswitch reports the module unloaded, but if I make changes to the module and make and make install and then load the module again it doesn't reflect the changes made, and resorts too old behavior. The only way to see the new behavior is to restart fs. it's like it's caching the module but it's not bc if you unload it and then exercise the API command free switch reports the command is not found. Is there something I need to configure to make this work maybe also the modules written in C++ if that matters. Thanks, it's really annoying to have to restart fs each time I want to see a change. Chris On Monday, February 29, 2016, Chris Mandra wrote: > Hey guys - I've been working on a ladspa module and I thought that after I > make a change to it and recompile I can just run reload and hear my > changes, but it's not working, so I tried unload and reload and that's not > allowing me to hear my changes either. Restarting freeSWITCH does allow me > to hear my changes. Any ideas why this would be happening. I'm running 1.6 > > I know about the how the modules shutdown function is supposed to work > ( > https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module"N.B. > your module's Shutdown function must accomplish a complete reversion of any > setup that happens in it's Load function for a reload to work properly.") > and this used to work without issue, so I'm wondering what might be going > on here. > > Any suggestions appreciated, > > thanks, chris > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/259af987/attachment-0001.html From nneul at mst.edu Tue Mar 1 17:33:04 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 1 Mar 2016 08:33:04 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: Message-ID: <56D5A820.4020104@mst.edu> Are you sure the 'make install' is replacing the path you think it is? I'd suggest as a test explicitly removing the .so and make sure that a reload/load fails. Then try the make install. -- Nathan On 03/01/2016 08:22 AM, Chris Mandra wrote: > More grist for the mill: > I'm able to unload the module, and freeswitch reports the module unloaded, but if I make changes to the module and make > and make install and then load the module again it doesn't reflect the changes made, and resorts too old behavior. The > only way to see the new behavior is to restart fs. it's like it's caching the module but it's not bc if you unload it > and then exercise the API command free switch reports the command is not found. > > Is there something I need to configure to make this work maybe also the modules written in C++ if that matters. Thanks, > it's really annoying to have to restart fs each time I want to see a change. > Chris > > On Monday, February 29, 2016, Chris Mandra > wrote: > > Hey guys - I've been working on a ladspa module and I thought that after I make a change to it and recompile I can > just run reload and hear my changes, but it's not working, so I tried unload and reload and that's not allowing me > to hear my changes either. Restarting freeSWITCH does allow me to hear my changes. Any ideas why this would be > happening. I'm running 1.6 > > I know about the how the modules shutdown function is supposed to work > (https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module"N.B. your module's Shutdown > function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work > properly.") and this used to work without issue, so I'm wondering what might be going on here. > > Any suggestions appreciated, > > thanks, chris > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From mandra at gmail.com Tue Mar 1 18:41:21 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 1 Mar 2016 10:41:21 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D5A820.4020104@mst.edu> References: <56D5A820.4020104@mst.edu> Message-ID: thanks for the reply Nathan - this is really weird: after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads *[* 10:33 *]* freeswitch at internal> reload mod_sc_dsp +OK Reloading XML +OK module unloaded +OK module loaded 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run' 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:980 Write lock interface 'test_dsp_run' to wait for existing references. 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp' 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:1035 Write lock interface 'uuid_test_dsp' to wait for existing references. 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded. 2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp] 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run' 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp' 2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions freeswitch at internal> freeswitch at internal> *[* 10:33 *]* how is that possible -what does it mean if when i delete the shared objects it still reports loading? On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger wrote: > Are you sure the 'make install' is replacing the path you think it is? > > I'd suggest as a test explicitly removing the .so and make sure that a > reload/load fails. Then try the make install. > > -- Nathan > > On 03/01/2016 08:22 AM, Chris Mandra wrote: > > More grist for the mill: > > I'm able to unload the module, and freeswitch reports the module > unloaded, but if I make changes to the module and make > > and make install and then load the module again it doesn't reflect the > changes made, and resorts too old behavior. The > > only way to see the new behavior is to restart fs. it's like it's > caching the module but it's not bc if you unload it > > and then exercise the API command free switch reports the command is not > found. > > > > Is there something I need to configure to make this work maybe also the > modules written in C++ if that matters. Thanks, > > it's really annoying to have to restart fs each time I want to see a > change. > > Chris > > > > On Monday, February 29, 2016, Chris Mandra mandra at gmail.com>> wrote: > > > > Hey guys - I've been working on a ladspa module and I thought that > after I make a change to it and recompile I can > > just run reload and hear my changes, but it's not working, so I > tried unload and reload and that's not allowing me > > to hear my changes either. Restarting freeSWITCH does allow me to > hear my changes. Any ideas why this would be > > happening. I'm running 1.6 > > > > I know about the how the modules shutdown function is supposed to > work > > ( > https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module"N.B. > your module's Shutdown > > function must accomplish a complete reversion of any setup that > happens in it's Load function for a reload to work > > properly.") and this used to work without issue, so I'm wondering > what might be going on here. > > > > Any suggestions appreciated, > > > > thanks, chris > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/b381e901/attachment.html From brian at freeswitch.org Tue Mar 1 19:13:55 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 1 Mar 2016 10:13:55 -0600 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> Message-ID: You've lost me at "My box is CentOS6.5" On Tue, Mar 1, 2016 at 3:11 AM, ??? wrote: > Hi All: > > My box is CentOS6.5, and FS is 1.6.4 > > When I use H264 as the video codec. > FS report encoding fail as below. > [ERR] avcodec.c:1117 Encoding Error -1 > and x264 report > lookahead thread is already stopped > > I checked the source code, I found that > when switch_h264_encode encode is invoked first time, it results > that context->got_encoded_output is set to 1. > and after that, if switch_h264_encode is invoked again, it will check > context->got_encoded_output , and then pass null frame > to avcodec_encode_video2 which will stop the lookahead thread because of > the null frame. > switch_h264_encode: > if (*got_output) { // Could be more delayed frames > ret = avcodec_encode_video2(avctx, pkt, *NULL*, got_output); > > Is it a bug of mod_av or how can i solve the problem? > > Thanks a lot > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/737c37fe/attachment-0001.html From guoqiuping81112 at 163.com Tue Mar 1 19:23:51 2016 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Wed, 2 Mar 2016 00:23:51 +0800 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> Message-ID: <7E9D3075-57DB-44CD-8887-EDB862858C5B@163.com> sorry, my mistake. my operation system is CentOS 7.1.1503 > ? 2016?3?2????12:13?Brian West ??? > > You've lost me at "My box is CentOS6.5" > > On Tue, Mar 1, 2016 at 3:11 AM, ??? > wrote: > Hi All: > > My box is CentOS6.5, and FS is 1.6.4 > > When I use H264 as the video codec. > FS report encoding fail as below. > [ERR] avcodec.c:1117 Encoding Error -1 > and x264 report > lookahead thread is already stopped > > I checked the source code, I found that > when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. > and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. > switch_h264_encode: > if (*got_output) { // Could be more delayed frames > ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); > > Is it a bug of mod_av or how can i solve the problem? > > Thanks a lot > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > Got Bugs? Report them here ! | Reddit: /r/freeswitch > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/e5aeec30/attachment.html From bobjectsfreeswitch at gmail.com Tue Mar 1 19:24:51 2016 From: bobjectsfreeswitch at gmail.com (Bob Hartwig) Date: Tue, 1 Mar 2016 10:24:51 -0600 Subject: [Freeswitch-users] Recording each leg of a conference call separately In-Reply-To: <25057566-239B-4476-AFBB-04357E213148@gmail.com> References: <25057566-239B-4476-AFBB-04357E213148@gmail.com> Message-ID: How would you synchronize the tracks, especially if the conferees arrive at different times? On Tue, Mar 1, 2016 at 3:15 AM, Delvin Varghese wrote: > I have considered using sox to split the audio, but that is a very last > resort i want to consider? Trying to build a quality system where the user > can chose which participant(s) to have in the final audio recording? So we > don?t want everyone in a conference to be heard in the final audio file.. > > @Michael, i will try out the RECORD_WRITE_ONLY and READ_ONLY variables to > see what i can do with it! > > Thanks, > > Delvin > > On 29 Feb 2016, at 23:29, freeswitch-users-request at lists.freeswitch.org > wrote: > > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > Today's Topics: > > 1. Re: Recording each leg of a conference call separately > (Michael Collins) > 2. Re: File not found (Michael Collins) > 3. Re: originate and valet_park (Michael Collins) > 4. Re: originate and valet_park (Gregor Nanger) > > *From: *Michael Collins > *Subject: **Re: [Freeswitch-users] Recording each leg of a conference > call separately* > *Date: *29 February 2016 at 22:24:44 GMT > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > I would test drive this channel var on each leg's dialplan where you do > the recording: > > https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-RECORD_WRITE_ONLY > > Don't forget about its counterpart RECORD_READ_ONLY. > > Let us know if one of those works for you. > > -MC > > On Mon, Feb 29, 2016 at 10:46 AM, Delvin Varghese < > delvin.friends at gmail.com> wrote: > >> Hi all, >> >> I am familiar with the record and record_session commands in freeswitch >> to initiate recordings, and also using ESL.. But is there a way to record >> ONLY the speech from one device at a time in separate recordings? The way i >> am envisioning is that if there are 9 different devices involved in a >> conference call, that at the end of it I would be able to access 9 >> recordings (each containing only the outbound voice from that device)? >> >> Is this possible? What are people?s thoughts? >> >> Delvin >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > > *From: *Michael Collins > *Subject: **Re: [Freeswitch-users] File not found* > *Date: *29 February 2016 at 23:11:58 GMT > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > It's unlikely that you're missing a setting. I was not able to duplicate > this on latest git. I would get a second system up and running in a lab > environment with 1.6.6 (current release). See if you can reproduce the > symptoms and take it from there. > > -MC > > On Sun, Feb 28, 2016 at 8:54 PM, Vishal Sharma < > vishal.sharma at knowlarity.com> wrote: > >> Hi, >> I am using FS 1.6.5, when FS tries to play a file >> (/doesnotexist/srv/sounds/automation/media-sec.mp3) which doesn't exist on >> file system, it takes 20 seconds for it to respond that file is not present >> and dead air is played during this time. >> >> >> >> On FS 1.4 and 1.2, it used to respond instantly. >> >> Am i missing some setting ... >> >> Regards, >> Vishal Sharma >> >> SuperReceptionist is now available on Android mobiles. Track your >> business on the go with call analytics, recordings, insights and more: Download >> the app here >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > > *From: *Michael Collins > *Subject: **Re: [Freeswitch-users] originate and valet_park* > *Date: *29 February 2016 at 23:19:14 GMT > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > FWIW, this syntax worked for me: > > originate user/1000 &valet_park('mylot 5555') > > -MC > > On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger > wrote: > >> Is it possible to originate call and after answer park it in valet? I >> tried something like: >> originate user/1000 &valet_park mylot 5555 >> >> Extension rings and after pickup call is disconnected. >> >> Please for hint how to correctly format command or how to achive such >> scenario in different way. >> >> Best regards, Gregor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > > *From: *Gregor Nanger > *Subject: **Re: [Freeswitch-users] originate and valet_park* > *Date: *29 February 2016 at 23:28:23 GMT > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > And the Oscar goes to Michael :-) > > Thank you, it works for me too. > > 2016-03-01 0:19 GMT+01:00 Michael Collins : > >> FWIW, this syntax worked for me: >> >> originate user/1000 &valet_park('mylot 5555') >> >> -MC >> >> On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger >> wrote: >> >>> Is it possible to originate call and after answer park it in valet? I >>> tried something like: >>> originate user/1000 &valet_park mylot 5555 >>> >>> Extension rings and after pickup call is disconnected. >>> >>> Please for hint how to correctly format command or how to achive such >>> scenario in different way. >>> >>> Best regards, Gregor >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > > _______________________________________________ > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/9f259b19/attachment-0001.html From italo at freeswitch.org Tue Mar 1 21:04:59 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 01 Mar 2016 10:04:59 -0800 (PST) Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> Message-ID: <65o401ieih2t8ly8tre6ws0av-0@mailer.nylas.com> You have, by any chance, installed FS with packages and then switched to compiling from source? My guess is that you copied the first release of you module to the dir where the FS from packages looks for and by restarting freeswitch you are in fact starting the compiled from source one.. ?talo Rossi italo at freeswitch.org IRC chat.freenode.net #freeswitch #freeswitch-dev Bugs? https://freeswitch.org/jira Docs? https://freeswitch.org/jira Chat? https://hipchat.freeswitch.org/gUdAgy0m6 > On Mar 1 2016, at 12:44 pm, Chris Mandra <mandra at gmail.com> wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > __ > > [_[___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049) > > [10:33](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049) > > [_]___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049) > > freeswitch at internal> reload mod_sc_dsp > > +OK Reloading XML > > +OK module unloaded > > +OK module loaded > > 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run' > > > > 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:980 Write lock interface 'test_dsp_run' to wait for existing references. > > > > 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp' > > > > 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:1035 Write lock interface 'uuid_test_dsp' to wait for existing references. > > > > 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp > > > > 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded. > > > > 2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded > > > > 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp] > > > > 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run' > > > > 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp' > > > > 2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions > > > > freeswitch at internal> freeswitch at internal> > > > > > > [_[___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050) > > [10:33](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050) > > [_]___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050) > > how is that possible -what does it mean if when i delete the shared objects it still reports loading? > > > > On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger <[nneul at mst.edu](mailto:nneul at mst.edu)> wrote: > >> Are you sure the 'make install' is replacing the path you think it is? I'd suggest as a test explicitly removing the .so and make sure that a reload/load fails. Then try the make install. \-- Nathan On 03/01/2016 08:22 AM, Chris Mandra wrote: > More grist for the mill: > I'm able to unload the module, and freeswitch reports the module unloaded, but if I make changes to the module and make > and make install and then load the module again it doesn't reflect the changes made, and resorts too old behavior. The > only way to see the new behavior is to restart fs. it's like it's caching the module but it's not bc if you unload it > and then exercise the API command free switch reports the command is not found. > > Is there something I need to configure to make this work maybe also the modules written in C++ if that matters. Thanks, > it's really annoying to have to restart fs each time I want to see a change. > Chris > > On Monday, February 29, 2016, Chris Mandra <[mandra at gmail.com](mailto:mandra at gmail.com) <mailto:[mandra at gmail.com](mailto:mandra at gmail.com)>> wrote: > > Hey guys - I've been working on a ladspa module and I thought that after I make a change to it and recompile I can > just run reload and hear my changes, but it's not working, so I tried unload and reload and that's not allowing me > to hear my changes either. Restarting freeSWITCH does allow me to hear my changes. Any ideas why this would be > happening. I'm running 1.6 > > I know about the how the modules shutdown function is supposed to work > ("N.B. your module's Shutdown > function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work > properly.") and this used to work without issue, so I'm wondering what might be going on here. > > Any suggestions appreciated, > > thanks, chris > > > > \-- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > [consulting at freeswitch.org](mailto:consulting at freeswitch.org) > > > Official FreeSWITCH Sites > > > > > FreeSWITCH-users mailing list > [FreeSWITCH-users at lists.freeswitch.org](mailto:FreeSWITCH- users at lists.freeswitch.org) > > UNSUBSCRIBE: > > \-- \------------------------------------------------------------ Nathan Neulinger [nneul at mst.edu](mailto:nneul at mst.edu) Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: [consulting at freeswitch.org](mailto:consulting at freeswitch.org) Official FreeSWITCH Sites FreeSWITCH-users mailing list [FreeSWITCH-users at lists.freeswitch.org](mailto:FreeSWITCH- users at lists.freeswitch.org) UNSUBSCRIBE: > > > > > > \-- > > mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/b79f936f/attachment.html From nneul at mst.edu Tue Mar 1 20:34:25 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 1 Mar 2016 11:34:25 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> Message-ID: <56D5D2A1.9090505@mst.edu> On 03/01/2016 09:41 AM, Chris Mandra wrote: > thanks for the reply Nathan - this is really weird: > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location. Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc. -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From mandra at gmail.com Tue Mar 1 23:28:43 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 1 Mar 2016 15:28:43 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D5D2A1.9090505@mst.edu> References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: So, FS is reporting reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so however that file doesn?t even exist and yet it still says it?s loading it how is that possible? On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger wrote: > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) > it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so > file that it loaded. It's likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the > reload, then kill the strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/196af5b7/attachment-0001.html From aqsyounas at gmail.com Wed Mar 2 00:36:51 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 2 Mar 2016 02:36:51 +0500 Subject: [Freeswitch-users] libsilk-dev for mod_silk (Ubuntu) Message-ID: Hi, I am trying to install silk codec and siren on ubuntu. uname -a Linux r4-c3-n6-devrs 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 13:24:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux When i try to make in codec directory i encounter this. Makefile:794: *** You must install libsilk-dev to build mod_silk. Stop. But when i run /usr/src/freeswitch-1.6.6/src/mod/codecs/mod_silk# aptitude search silk p famfamfam-silk - a smooth, free icon set p libicon-famfamfam-silk-perl - module containing the famous FamFamFam Silk icon theme p python-flask-silk - FamFamFam Silk icon set for Flask applications p python-flask-silk-doc - FamFamFam Silk icon set for Flask applications (documentation) Same is the case for siren. Makefile:794: *** You must install libg7221-dev to build mod_siren. Stop. How can i install them on ubuntu? Any pointer is much appreciated. Thanks. This email has been sent from a virus-free computer protected by Avast. www.avast.com <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/28a73047/attachment.html From support at respond2me.com Wed Mar 2 00:52:38 2016 From: support at respond2me.com (Respond2Me Support) Date: Tue, 1 Mar 2016 16:52:38 -0500 Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference Message-ID: <56D60F26.3010002@respond2me.com> We are running into a constant crash on Debian Jessie with the current git master branch (041dc0a62dc4dcfc47da4aed0ec6820494165976). It began after the changes for libvpx2 being built in the core.(from MikeJ). The crash occurs when recording a conference using mod_vlc as can be seen on the backtrace: https://pastebin.freeswitch.org/24576 Any ideas on how to get mod_vlc working? We tried re-boostraping and rebuilding everything. also tried with the latest VLC from git (3.0). From krice at freeswitch.org Wed Mar 2 00:54:18 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 1 Mar 2016 15:54:18 -0600 Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference In-Reply-To: <56D60F26.3010002@respond2me.com> References: <56D60F26.3010002@respond2me.com> Message-ID: <478601d17404$e851ef30$b8f5cd90$@freeswitch.org> Bug reports go to jira so that they don't get lost. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Respond2Me Support Sent: Tuesday, March 1, 2016 3:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference We are running into a constant crash on Debian Jessie with the current git master branch (041dc0a62dc4dcfc47da4aed0ec6820494165976). It began after the changes for libvpx2 being built in the core.(from MikeJ). The crash occurs when recording a conference using mod_vlc as can be seen on the backtrace: https://pastebin.freeswitch.org/24576 Any ideas on how to get mod_vlc working? We tried re-boostraping and rebuilding everything. also tried with the latest VLC from git (3.0). _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From brian at freeswitch.org Wed Mar 2 00:56:09 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 1 Mar 2016 15:56:09 -0600 Subject: [Freeswitch-users] libsilk-dev for mod_silk (Ubuntu) In-Reply-To: References: Message-ID: https://freeswitch.org/stash/projects/SD/repos/libg7221/browse https://freeswitch.org/stash/projects/SD/repos/libsilk/browse On Tue, Mar 1, 2016 at 3:36 PM, Aqs Younas wrote: > Hi, > > I am trying to install silk codec and siren on ubuntu. > > uname -a > Linux r4-c3-n6-devrs 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 13:24:41 > UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > > When i try to make in codec directory i encounter this. > > Makefile:794: *** You must install libsilk-dev to build mod_silk. Stop. > > But when i run > > /usr/src/freeswitch-1.6.6/src/mod/codecs/mod_silk# aptitude search silk > > p famfamfam-silk > - a smooth, free icon set > p libicon-famfamfam-silk-perl > - module containing the famous FamFamFam Silk icon theme > p python-flask-silk > - FamFamFam Silk icon set for Flask applications > p python-flask-silk-doc > - FamFamFam Silk icon set for Flask applications (documentation) > > Same is the case for siren. > > Makefile:794: *** You must install libg7221-dev to build mod_siren. Stop. > > How can i install them on ubuntu? > > Any pointer is much appreciated. > > Thanks. > > This email has been sent from a virus-free computer protected by Avast. > www.avast.com > > <#-1371448952_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/47ad32a3/attachment.html From support at respond2me.com Wed Mar 2 01:00:38 2016 From: support at respond2me.com (Respond2Me Support) Date: Tue, 1 Mar 2016 17:00:38 -0500 Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference In-Reply-To: <478601d17404$e851ef30$b8f5cd90$@freeswitch.org> References: <56D60F26.3010002@respond2me.com> <478601d17404$e851ef30$b8f5cd90$@freeswitch.org> Message-ID: <56D61106.8020704@respond2me.com> Was not sure it is a bug on FS Ken...wanted to run it pass the list before a Jira is filed... On 3/1/16 4:54 PM, Ken Rice wrote: > Bug reports go to jira so that they don't get lost. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Respond2Me Support > Sent: Tuesday, March 1, 2016 3:53 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while > using mod_vlc to record a conference > > We are running into a constant crash on Debian Jessie with the current git > master branch (041dc0a62dc4dcfc47da4aed0ec6820494165976). > It began after the changes for libvpx2 being built in the core.(from MikeJ). > > The crash occurs when recording a conference using mod_vlc as can be seen on > the backtrace: https://pastebin.freeswitch.org/24576 > > Any ideas on how to get mod_vlc working? We tried re-boostraping and > rebuilding everything. also tried with the latest VLC from git (3.0). > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Wed Mar 2 01:18:01 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 1 Mar 2016 16:18:01 -0600 Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference In-Reply-To: <56D61106.8020704@respond2me.com> References: <56D60F26.3010002@respond2me.com> <478601d17404$e851ef30$b8f5cd90$@freeswitch.org> <56D61106.8020704@respond2me.com> Message-ID: <47ad01d17408$388e3820$a9aaa860$@freeswitch.org> Segfaults are always bugs. Either in FS itself or in the underlying supporting library that FreeSWITCH is using. K -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Respond2Me Support Sent: Tuesday, March 1, 2016 4:01 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] FS Crash with latest git master on Jessie, while using mod_vlc to record a conference Was not sure it is a bug on FS Ken...wanted to run it pass the list before a Jira is filed... On 3/1/16 4:54 PM, Ken Rice wrote: > Bug reports go to jira so that they don't get lost. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Respond2Me Support > Sent: Tuesday, March 1, 2016 3:53 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] FS Crash with latest git master on Jessie, > while using mod_vlc to record a conference > > We are running into a constant crash on Debian Jessie with the current > git master branch (041dc0a62dc4dcfc47da4aed0ec6820494165976). > It began after the changes for libvpx2 being built in the core.(from MikeJ). > > The crash occurs when recording a conference using mod_vlc as can be > seen on the backtrace: https://pastebin.freeswitch.org/24576 > > Any ideas on how to get mod_vlc working? We tried re-boostraping and > rebuilding everything. also tried with the latest VLC from git (3.0). > > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From msc at freeswitch.org Wed Mar 2 01:47:51 2016 From: msc at freeswitch.org (Michael Collins) Date: Tue, 1 Mar 2016 14:47:51 -0800 Subject: [Freeswitch-users] XML CDR end_stamp question In-Reply-To: References: Message-ID: Just curious - in your environment what kind of delta to you see between sending a BYE and receiving the corresponding 200 OK? On Tue, Mar 1, 2016 at 1:15 AM, John Nash wrote: > end_stamp stores the timestamp when call is disconnected. My question is > does it store timestamp when "BYE" received from either of end point or > when we receive 200 OK of BYE? > > Is there any setting to control this? > > Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/fdfa7278/attachment.html From mandra at gmail.com Wed Mar 2 02:11:45 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 1 Mar 2016 18:11:45 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result. On Tuesday, March 1, 2016, Chris Mandra wrote: > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn?t even exist > > and yet it still says it?s loading it > > how is that possible? > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > >> >> >> On 03/01/2016 09:41 AM, Chris Mandra wrote: >> > thanks for the reply Nathan - this is really weird: >> > >> > after i remove the .so files (and make sure they're gone from my disk) >> it still reports it successfully reloads >> > >> >> Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so >> file that it loaded. It's likely pulling it in >> from a different location. >> >> Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the >> reload, then kill the strace and look for what >> file/path it searched/etc. >> >> -- Nathan >> >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> >> Missouri S&T Information Technology (573) 612-1412 >> System Administrator - Architect >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/4bd684fe/attachment.html From mike at jerris.com Wed Mar 2 02:20:54 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 1 Mar 2016 16:20:54 -0700 Subject: [Freeswitch-users] Debugging Perl code In-Reply-To: References: Message-ID: You would use gdb to pull a backtrace from the core file. There are some details on confluence on how to do that. I would retest on master as we did fix some things in this space, if that works try the latest 1.6 release too, there is really no reason left to be using our previous releases. If there is still a crash in master, please file a jira. > On Feb 29, 2016, at 5:59 AM, ik wrote: > > Hello, > > I have Perl code that does new freeswitch::Session. > > When that happens, freeswitch crashes. > > It's an old freeswitch v1.4.26. > > I execute it from now using the cli either by perl > or perlrun. > > How can I debug the cause of such crash? > > Thank you > Ido > > ___ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/0f222270/attachment.html From mike at jerris.com Wed Mar 2 02:22:01 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 1 Mar 2016 16:22:01 -0700 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: Message-ID: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> If you get this working, I'd love to have that open sourced if at all possible. We have been wanting to work on it so it will get done eventually but if you get it sorted out first it would be a big help. > On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz wrote: > > super, thanks > > On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz > wrote: > Hi all, > > Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any documentation regarding the dialogParams on verto.invite method? > > The only documentation I found was : https://freeswitch.org/confluence/display/FREESWITCH/mod_verto > > Thanks :) > > -- > > Shlomi Schwartz > R&D Technical Leader > T: +972-74-700-4511 > We Create Meaningful Connections > > > > > -- > > Shlomi Schwartz > R&D Technical Leader > T: +972-74-700-4511 > We Create Meaningful Connections > > > This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. > If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/154c587e/attachment-0001.html From mike at jerris.com Wed Mar 2 02:27:10 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 1 Mar 2016 16:27:10 -0700 Subject: [Freeswitch-users] Unable to compile mod_sndfile on CentOS 7 In-Reply-To: References: Message-ID: <09A08198-D053-4ED7-B0FD-DBF19DEEFE89@jerris.com> you can ignore that warning.. its libtool getting over sensitive, it works. > On Mar 1, 2016, at 2:50 AM, Vladislav Ivanov wrote: > > Think I have a problem again, it is not compiling as I though: > > CXX switch_cpp.lo > cat /opt/freeswitch2/src/include/switch_cpp.h | perl /opt/freeswitch2/build/strip.pl > /opt/freeswitch2/src/include/switch_swigable_cpp.h > CXXLD libfreeswitch.la > > *** Warning: Linking the shared library libfreeswitch.la against the > *** static library libs/libvpx/libvpx.a is not portable! > > > 2016-03-01 11:25 GMT+02:00 Vladislav Ivanov >: > branch v1.6 was not compiling, with FreeSWITCH Version 1.7.0+git~20160229T230042Z~041dc0a62d~64bit it's all ok. > Thanks! > > 2016-02-29 23:02 GMT+02:00 Sergey Safarov >: > I has compiled 9f4f67d with standard libs > > [build at build ~]$ rpm -qa | grep sndfile > > libsndfile-1.0.25-10.el7.x86_64 > > libsndfile-devel-1.0.25-10.el7.x86_64 > > freeswitch at build.rcsnet.ru > status > > UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, 586 microseconds > > FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is ready > > 10248 session(s) since startup > > 0 session(s) - peak 17, last 5min 1 > > 0 session(s) per Sec out of max 30, peak 5, last 5min 1 > > 1000 session(s) max > > min idle cpu 0.00/99.10 > > Current Stack Size/Max 240K/8192K > > > > freeswitch at build.rcsnet.ru > reload mod_sndfile > > +OK Reloading XML > > -ERR unloading module [Module in use.] > > -ERR loading module [Module already loaded] > > > > 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 Module mod_sndfile is in use, cannot unload. > > 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 Module mod_sndfile Already Loaded! > > 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded > > 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded 1781 definitions > > freeswitch at build.rcsnet.ru > > > > On Mon, Feb 29, 2016 at 10:09 PM, SamyGo > wrote: > Hi, > I recently got into trouble where I compiled FS on ubuntu 14.04 and got error on this module - so I commented it out. Turned out that I was unable to play .wav files in FS. > Hence I had to compile this module using an older version of libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev. > > It seems like you already have the same version which worked for me, maybe try executing command "ldconfig" on shell and then try. > > Thanks > Sammy > > On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov > wrote: > Yeah, I need it... > > 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine >: > If you do not need this module then simply comment it out in modules.conf; that's what I did... > > __Yehavi: > > 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov >: > Hey guys, > > I'm unable to compile mod_sndfile even though I have installed all the devel packages. > > # yum install libsndfile-devel > Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and latest version > > # make mod_sndfile > make[1]: Entering directory `/opt/freeswitch' > make libfreeswitch.la > make[2]: Entering directory `/opt/freeswitch' > make[2]: Leaving directory `/opt/freeswitch' > make[1]: Leaving directory `/opt/freeswitch' > make[1]: Entering directory `/opt/freeswitch/src/mod' > make[2]: Entering directory `/opt/freeswitch/src/mod' > > making all mod_sndfile > make[3]: Entering directory `/opt/freeswitch/src/mod/formats/mod_sndfile' > Makefile:888: *** You must install libsndfile-dev to build mod_sndfile. Stop. > make[3]: Leaving directory `/opt/freeswitch/src/mod/formats/mod_sndfile' > make[2]: *** [mod_sndfile-all] Error 1 > make[2]: Leaving directory `/opt/freeswitch/src/mod' > make[1]: *** [mod_sndfile] Error 2 > make[1]: Leaving directory `/opt/freeswitch/src/mod' > make: *** [mod_sndfile] Error 2 > > > Any tips? > Best Regards. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/1fa9ba39/attachment-0001.html From mandra at gmail.com Wed Mar 2 05:52:27 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 1 Mar 2016 21:52:27 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: Any other ideas? On Tuesday, March 1, 2016, Chris Mandra wrote: > Thanks for your responses so far guys. Italo, its only built from source > so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > >> So, FS is reporting >> >> reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >> >> however that file doesn?t even exist >> >> and yet it still says it?s loading it >> >> how is that possible? >> >> On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger wrote: >> >>> >>> >>> On 03/01/2016 09:41 AM, Chris Mandra wrote: >>> > thanks for the reply Nathan - this is really weird: >>> > >>> > after i remove the .so files (and make sure they're gone from my >>> disk) it still reports it successfully reloads >>> > >>> >>> Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the >>> .so file that it loaded. It's likely pulling it in >>> from a different location. >>> >>> Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue >>> the reload, then kill the strace and look for what >>> file/path it searched/etc. >>> >>> -- Nathan >>> >>> ------------------------------------------------------------ >>> Nathan Neulinger nneul at mst.edu >>> Missouri S&T Information Technology (573) 612-1412 >>> System Administrator - Architect >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/c95507b5/attachment.html From john.nash778 at gmail.com Wed Mar 2 06:28:58 2016 From: john.nash778 at gmail.com (John Nash) Date: Wed, 2 Mar 2016 08:58:58 +0530 Subject: [Freeswitch-users] XML CDR end_stamp question In-Reply-To: References: Message-ID: Most of the time its negligible (.001 seconds) but in some cases it is upto 200 ms The reason I want to investigate timestamp is because in some calls I see a 1 second difference between carrier billing and my system. I am storing answer_stamp (in milliseconds), end_stamp(in milliseconds) and billmsec. I do not see why this difference should happen unless following cases.. 1- Answer stamp recording in freeswitch happens after ACK for 200 OK is received while the carrier (Genband Switch) may be storing timestamp the moment 200 OK is received regardless of ACK 2- End stamp in freeswitch happens the moment BYE is received while carrier records when 200 OK to BYE is received. JFYI: At the moment I do not have sip_wait_for_aleg_ack enabled On Wed, Mar 2, 2016 at 4:17 AM, Michael Collins wrote: > Just curious - in your environment what kind of delta to you see between > sending a BYE and receiving the corresponding 200 OK? > > On Tue, Mar 1, 2016 at 1:15 AM, John Nash wrote: > >> end_stamp stores the timestamp when call is disconnected. My question is >> does it store timestamp when "BYE" received from either of end point or >> when we receive 200 OK of BYE? >> >> Is there any setting to control this? >> >> Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/87935565/attachment.html From anthony.minessale at gmail.com Wed Mar 2 06:42:53 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 1 Mar 2016 21:42:53 -0600 Subject: [Freeswitch-users] XML CDR end_stamp question In-Reply-To: References: Message-ID: Its recorded when the session gets the hangup command. When the BYE is received or when the BYE is sent depending on direction. On Tue, Mar 1, 2016 at 9:28 PM, John Nash wrote: > Most of the time its negligible (.001 seconds) but in some cases it is > upto 200 ms > > The reason I want to investigate timestamp is because in some calls I see > a 1 second difference between carrier billing and my system. I am storing > answer_stamp (in milliseconds), end_stamp(in milliseconds) and billmsec. I > do not see why this difference should happen unless following cases.. > 1- Answer stamp recording in freeswitch happens after ACK for 200 OK is > received while the carrier (Genband Switch) may be storing timestamp the > moment 200 OK is received regardless of ACK > 2- End stamp in freeswitch happens the moment BYE is received while > carrier records when 200 OK to BYE is received. > > JFYI: At the moment I do not have sip_wait_for_aleg_ack enabled > > > > > > On Wed, Mar 2, 2016 at 4:17 AM, Michael Collins > wrote: > >> Just curious - in your environment what kind of delta to you see between >> sending a BYE and receiving the corresponding 200 OK? >> >> On Tue, Mar 1, 2016 at 1:15 AM, John Nash wrote: >> >>> end_stamp stores the timestamp when call is disconnected. My question is >>> does it store timestamp when "BYE" received from either of end point or >>> when we receive 200 OK of BYE? >>> >>> Is there any setting to control this? >>> >>> Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/cb278c2c/attachment-0001.html From john.nash778 at gmail.com Wed Mar 2 07:03:34 2016 From: john.nash778 at gmail.com (John Nash) Date: Wed, 2 Mar 2016 09:33:34 +0530 Subject: [Freeswitch-users] XML CDR end_stamp question In-Reply-To: References: Message-ID: OK as I am using mod XML CDR in cases where there is delay in getting http 200 OK from http link used to post CDR in DB, would it affect signalling?..like sending SIP 200 OK to the other side? On Wed, Mar 2, 2016 at 9:12 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Its recorded when the session gets the hangup command. > When the BYE is received or when the BYE is sent depending on direction. > > On Tue, Mar 1, 2016 at 9:28 PM, John Nash wrote: > >> Most of the time its negligible (.001 seconds) but in some cases it is >> upto 200 ms >> >> The reason I want to investigate timestamp is because in some calls I see >> a 1 second difference between carrier billing and my system. I am storing >> answer_stamp (in milliseconds), end_stamp(in milliseconds) and billmsec. I >> do not see why this difference should happen unless following cases.. >> 1- Answer stamp recording in freeswitch happens after ACK for 200 OK is >> received while the carrier (Genband Switch) may be storing timestamp the >> moment 200 OK is received regardless of ACK >> 2- End stamp in freeswitch happens the moment BYE is received while >> carrier records when 200 OK to BYE is received. >> >> JFYI: At the moment I do not have sip_wait_for_aleg_ack enabled >> >> >> >> >> >> On Wed, Mar 2, 2016 at 4:17 AM, Michael Collins >> wrote: >> >>> Just curious - in your environment what kind of delta to you see between >>> sending a BYE and receiving the corresponding 200 OK? >>> >>> On Tue, Mar 1, 2016 at 1:15 AM, John Nash >>> wrote: >>> >>>> end_stamp stores the timestamp when call is disconnected. My question >>>> is does it store timestamp when "BYE" received from either of end point or >>>> when we receive 200 OK of BYE? >>>> >>>> Is there any setting to control this? >>>> >>>> Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/1da433db/attachment.html From anthony.minessale at gmail.com Wed Mar 2 07:41:50 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 1 Mar 2016 22:41:50 -0600 Subject: [Freeswitch-users] XML CDR end_stamp question In-Reply-To: References: Message-ID: It should not but if you push the server past its capability there could be a lag from when FS sends the bye and the sip stack actually gets around to doing it because messages are queued. Always make sure to have a nice enough box for the load expected. On Tue, Mar 1, 2016 at 10:03 PM, John Nash wrote: > OK as I am using mod XML CDR in cases where there is delay in getting http > 200 OK from http link used to post CDR in DB, would it affect > signalling?..like sending SIP 200 OK to the other side? > > On Wed, Mar 2, 2016 at 9:12 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Its recorded when the session gets the hangup command. >> When the BYE is received or when the BYE is sent depending on direction. >> >> On Tue, Mar 1, 2016 at 9:28 PM, John Nash wrote: >> >>> Most of the time its negligible (.001 seconds) but in some cases it is >>> upto 200 ms >>> >>> The reason I want to investigate timestamp is because in some calls I >>> see a 1 second difference between carrier billing and my system. I am >>> storing answer_stamp (in milliseconds), end_stamp(in milliseconds) and >>> billmsec. I do not see why this difference should happen unless following >>> cases.. >>> 1- Answer stamp recording in freeswitch happens after ACK for 200 OK is >>> received while the carrier (Genband Switch) may be storing timestamp the >>> moment 200 OK is received regardless of ACK >>> 2- End stamp in freeswitch happens the moment BYE is received while >>> carrier records when 200 OK to BYE is received. >>> >>> JFYI: At the moment I do not have sip_wait_for_aleg_ack enabled >>> >>> >>> >>> >>> >>> On Wed, Mar 2, 2016 at 4:17 AM, Michael Collins >>> wrote: >>> >>>> Just curious - in your environment what kind of delta to you see >>>> between sending a BYE and receiving the corresponding 200 OK? >>>> >>>> On Tue, Mar 1, 2016 at 1:15 AM, John Nash >>>> wrote: >>>> >>>>> end_stamp stores the timestamp when call is disconnected. My question >>>>> is does it store timestamp when "BYE" received from either of end point or >>>>> when we receive 200 OK of BYE? >>>>> >>>>> Is there any setting to control this? >>>>> >>>>> Same way does sip_wait_for_aleg_ack affect answer_stamp in any way? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >> >> ? http://freeswitch.org/ ? http://cluecon.com/ ? >> http://twitter.com/FreeSWITCH >> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/6d541125/attachment-0001.html From naveen.khanna.bm at gmail.com Wed Mar 2 07:52:25 2016 From: naveen.khanna.bm at gmail.com (Naveen Khanna) Date: Wed, 2 Mar 2016 10:22:25 +0530 Subject: [Freeswitch-users] BLF of dialing party In-Reply-To: References: Message-ID: HI, Help needed on BLF. It is not getting lit for the party who is dialling. In other words no BLF for inbound legs. Can anybody help me on this? Regards, Naveen Khanna M : +91-9911393060 | Skype : naveen.khanna.bm > On 17-Feb-2016, at 11:03 AM, Naveen Khanna wrote: > > HI, > > I have come across a situation where BLF of dialing party is not lit. However, if the same user is receiving the Calls then we get proper BLF. > > > Regards, > > > Naveen Khanna > M : +91-9911393060 | Skype : naveen.khanna.bm > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/193d7f2c/attachment.html From Adam.Seeliger at qsc.de Wed Mar 2 11:08:26 2016 From: Adam.Seeliger at qsc.de (Seeliger, Adam) Date: Wed, 2 Mar 2016 08:08:26 +0000 Subject: [Freeswitch-users] all-reg-options-ping and tls issue In-Reply-To: References: <2E67ADAE1D3582409C90EBAE8C64C5070149F6B3@QSCDEMXP01a.ONE4ALL.LAN> <6D3DEA47-DECB-4509-A327-B8DFEC1C1A83@kavun.ch> <2E67ADAE1D3582409C90EBAE8C64C507122D35C1@QSCDEMXP01a.ONE4ALL.LAN> <2E67ADAE1D3582409C90EBAE8C64C507122D35E9@QSCDEMXP01a.ONE4ALL.LAN> <2E67ADAE1D3582409C90EBAE8C64C507122D361C@QSCDEMXP01a.ONE4ALL.LAN> Message-ID: <2E67ADAE1D3582409C90EBAE8C64C507122D3A42@QSCDEMXP01a.ONE4ALL.LAN> Sergey, so you have a version of FS where the options ping feature and TLS are working. Could you please provide the required parameters in your freeswitch config and the version you are using? I opened a jira ticket FS-8885 and attached logs there. Thanks, Adam Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Sergey Safarov Gesendet: Freitag, 26. Februar 2016 16:53 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] all-reg-options-ping and tls issue Registration is correct. Think it bug and requred to fill a jira tiket. I use master 4 mouth old and it work correctly. On Fri, Feb 26, 2016, 18:00 Seeliger, Adam > wrote: Hi, here is the requested output. I changed the real user, domain and ip address values into descriptions. I guess the values are not necessary? Both, FreeSWITCH and the phone are in the same network (no NAT involved here) Registrations: ================================================================================================= Call-ID: 3134353634383833373032323631-ncwgvit2obfp User: user at domain Contact: "User Name" Agent: snom715/8.7.5.35 Status: Registered(AUTO-NAT-2.0)(unknown) EXP(2016-02-26 16:21:32) EXPSECS(1912) Ping-Status: Reachable Host: hostname IP: ip Port: 60206 Auth-User: user Auth-Realm: domain MWI-Account: user at domain Total items returned: 1 ================================================================================================= 2016-02-26 15:50:09.326648 [WARNING] sofia.c:5769 Sip user 'user at domain' is now Unreachable 2016-02-26 15:50:09.326648 [WARNING] sofia.c:5780 Expire sip user 'user at domain' due to options failure As you can see, the user immediately got unregistered again ? Best regards, Adam Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Sergey Safarov Gesendet: Freitag, 26. Februar 2016 15:45 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] all-reg-options-ping and tls issue Please send output of command "sofia status profile internal reg " On Fri, Feb 26, 2016 at 4:21 PM, Seeliger, Adam > wrote: Hi, the phone uses sip+tls. I test using a snom715, got plenty other phones here, but I guess they will behave the same way. It really looks like FreeSWITCH is doing something wrong (or is wrongly configured ? if there are any parameters for options ping supporting both, udp and tls) Regards Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Sergey Safarov Gesendet: Freitag, 26. Februar 2016 13:59 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] all-reg-options-ping and tls issue If your phone has enabled SIPS uri please disable and use sip+tls. On Fri, Feb 26, 2016 at 3:37 PM, Seeliger, Adam > wrote: Hi and thanks for the feedback, sry that I did not respond for a long time. I already use: I also tested all mentioned params below, nothing works. When I register a User via TLS FreeSWITCH does not even try to ping the user. I turned sofia global siptrace on and watched the flow: User Server 13:09:33.311446: REGISTER [TLS] -> 13:09:33.312552: <- 401 UNAUTHORIZED [TLS] 13:09:33.331948: REGISTER (AUTH) [TLS] -> 13:09:33.336959: <- 200 OK [TLS] Nothing happens 2016-02-26 13:10:00.619525 [WARNING] sofia.c:5769 Sip user 'user at host' is now Unreachable 2016-02-26 13:10:00.619525 [WARNING] sofia.c:5780 Expire sip user 'user at host' due to options failure When I REGISTER the User via UDP FreeSWITCH starts to ping (OPTIONS) the user as soon as he is registered. Is there any way to force FreeSWITCH to send OPTIONs in both, udp and tls, depending on the registration? Thanks in advance, Adam Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Emrah Gesendet: Freitag, 29. Januar 2016 09:25 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] all-reg-options-ping and tls issue Hi! This is interesting. I experienced something rather similar where calls would drop because FS would timeout on certain packets sent over UDP instead of TLS. I assume you mean FS exits with port 5060 instead of port 5061? Because the port on the remote end should be dynamically set. I found out that in my case, what works best even with TLS, is to use: This goes as far as it can to lay out the path to contacting the client with all consideration in regards to NAT and dynamic ports. Not sure if it will help you. I?ve personally disabled options-ping an let my clients deal with keep-alive instead. You could also look into: --> --> I?ll leave it up to you to investigate those options more in details on the FS documentation. Please keep us posted! E On Jan 28, 2016, at 11:48 AM, Seeliger, Adam > wrote: Hi all, I have a problem, when I enable TLS and register a phone using TLS on Port 5061. FreeSWITCH still tries to ?ping? the phone using Port 5060 using UDP, which is ignored by the phone. Moments later FreeSWITCH deletes the registration, because ?unregister-on-options-fail? is set to ?true?. I already figured out, that you can set ?all-reg-options-ping? to ?udp-only?, but this would completely disable this feature for TLS. Is there any way to ping TLS registered using TLS? Thanks in advance - Adam _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/b4f9c104/attachment-0001.html From steveayre at gmail.com Wed Mar 2 11:41:40 2016 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 2 Mar 2016 08:41:40 +0000 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. On 2 March 2016 at 02:52, Chris Mandra wrote: > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra wrote: > >> Thanks for your responses so far guys. Italo, its only built from source >> so I don't think that's the issue. >> This is baffling. I've tried it in more one machine, same result. >> >> On Tuesday, March 1, 2016, Chris Mandra wrote: >> >>> So, FS is reporting >>> >>> reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >>> >>> however that file doesn?t even exist >>> >>> and yet it still says it?s loading it >>> >>> how is that possible? >>> >>> On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger wrote: >>> >>>> >>>> >>>> On 03/01/2016 09:41 AM, Chris Mandra wrote: >>>> > thanks for the reply Nathan - this is really weird: >>>> > >>>> > after i remove the .so files (and make sure they're gone from my >>>> disk) it still reports it successfully reloads >>>> > >>>> >>>> Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the >>>> .so file that it loaded. It's likely pulling it in >>>> from a different location. >>>> >>>> Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue >>>> the reload, then kill the strace and look for what >>>> file/path it searched/etc. >>>> >>>> -- Nathan >>>> >>>> ------------------------------------------------------------ >>>> Nathan Neulinger nneul at mst.edu >>>> Missouri S&T Information Technology (573) 612-1412 >>>> System Administrator - Architect >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/3b163d41/attachment.html From aqsyounas at gmail.com Wed Mar 2 14:55:55 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 2 Mar 2016 16:55:55 +0500 Subject: [Freeswitch-users] libsilk-dev for mod_silk (Ubuntu) In-Reply-To: References: Message-ID: Thank you. But i am unable to download it. Could you tell me how can i download them. Sorry for such a naive question. Best Regards. On 2 March 2016 at 02:56, Brian West wrote: > https://freeswitch.org/stash/projects/SD/repos/libg7221/browse > https://freeswitch.org/stash/projects/SD/repos/libsilk/browse > > On Tue, Mar 1, 2016 at 3:36 PM, Aqs Younas wrote: > >> Hi, >> >> I am trying to install silk codec and siren on ubuntu. >> >> uname -a >> Linux r4-c3-n6-devrs 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 >> 13:24:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >> >> When i try to make in codec directory i encounter this. >> >> Makefile:794: *** You must install libsilk-dev to build mod_silk. Stop. >> >> But when i run >> >> /usr/src/freeswitch-1.6.6/src/mod/codecs/mod_silk# aptitude search silk >> >> p famfamfam-silk >> - a smooth, free icon set >> p libicon-famfamfam-silk-perl >> - module containing the famous FamFamFam Silk icon theme >> p python-flask-silk >> - FamFamFam Silk icon set for Flask applications >> p python-flask-silk-doc >> - FamFamFam Silk icon set for Flask applications (documentation) >> >> Same is the case for siren. >> >> Makefile:794: *** You must install libg7221-dev to build mod_siren. Stop. >> >> How can i install them on ubuntu? >> >> Any pointer is much appreciated. >> >> Thanks. >> >> This email has been sent from a virus-free computer protected by Avast. >> www.avast.com >> >> <#1359392393_-1371448952_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/39f16e80/attachment.html From mandra at gmail.com Wed Mar 2 15:14:09 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 2 Mar 2016 07:14:09 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense. Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so however that file doesn?t even exist and yet it still says it?s loading it how is that possible? On Wednesday, March 2, 2016, Steven Ayre wrote: > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof > -p $PID | grep mod_' command... it'll show you a list of the modules > FreeSWITCH currently has loaded. See if it's loading from a different path > that way. > > On 2 March 2016 at 02:52, Chris Mandra > wrote: > >> Any other ideas? >> >> >> On Tuesday, March 1, 2016, Chris Mandra > > wrote: >> >>> Thanks for your responses so far guys. Italo, its only built from source >>> so I don't think that's the issue. >>> This is baffling. I've tried it in more one machine, same result. >>> >>> On Tuesday, March 1, 2016, Chris Mandra wrote: >>> >>>> So, FS is reporting >>>> >>>> reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >>>> >>>> however that file doesn?t even exist >>>> >>>> and yet it still says it?s loading it >>>> >>>> how is that possible? >>>> >>>> On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger >>>> wrote: >>>> >>>>> >>>>> >>>>> On 03/01/2016 09:41 AM, Chris Mandra wrote: >>>>> > thanks for the reply Nathan - this is really weird: >>>>> > >>>>> > after i remove the .so files (and make sure they're gone from my >>>>> disk) it still reports it successfully reloads >>>>> > >>>>> >>>>> Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the >>>>> .so file that it loaded. It's likely pulling it in >>>>> from a different location. >>>>> >>>>> Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue >>>>> the reload, then kill the strace and look for what >>>>> file/path it searched/etc. >>>>> >>>>> -- Nathan >>>>> >>>>> ------------------------------------------------------------ >>>>> Nathan Neulinger nneul at mst.edu >>>>> Missouri S&T Information Technology (573) 612-1412 >>>>> System Administrator - Architect >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> mandra >>>> c:410.258.5281 >>>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >> >> >> -- >> mandra >> c:410.258.5281 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/8d844842/attachment-0001.html From aqsyounas at gmail.com Wed Mar 2 15:54:08 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Wed, 2 Mar 2016 17:54:08 +0500 Subject: [Freeswitch-users] libsilk-dev for mod_silk (Ubuntu) In-Reply-To: References: Message-ID: Figured it out. Thank you very much. On 2 March 2016 at 16:55, Aqs Younas wrote: > Thank you. > > But i am unable to download it. Could you tell me how can i download them. > Sorry for such a naive question. > > > Best Regards. > > On 2 March 2016 at 02:56, Brian West wrote: > >> https://freeswitch.org/stash/projects/SD/repos/libg7221/browse >> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >> >> On Tue, Mar 1, 2016 at 3:36 PM, Aqs Younas wrote: >> >>> Hi, >>> >>> I am trying to install silk codec and siren on ubuntu. >>> >>> uname -a >>> Linux r4-c3-n6-devrs 3.13.0-67-generic #110-Ubuntu SMP Fri Oct 23 >>> 13:24:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >>> >>> When i try to make in codec directory i encounter this. >>> >>> Makefile:794: *** You must install libsilk-dev to build mod_silk. Stop. >>> >>> But when i run >>> >>> /usr/src/freeswitch-1.6.6/src/mod/codecs/mod_silk# aptitude search silk >>> >>> p famfamfam-silk >>> - a smooth, free icon set >>> p libicon-famfamfam-silk-perl >>> - module containing the famous FamFamFam Silk icon theme >>> p python-flask-silk >>> - FamFamFam Silk icon set for Flask applications >>> p python-flask-silk-doc >>> - FamFamFam Silk icon set for Flask applications (documentation) >>> >>> Same is the case for siren. >>> >>> Makefile:794: *** You must install libg7221-dev to build mod_siren. >>> Stop. >>> >>> How can i install them on ubuntu? >>> >>> Any pointer is much appreciated. >>> >>> Thanks. >>> >>> This email has been sent from a virus-free computer protected by Avast. >>> www.avast.com >>> >>> <#-310948882_1359392393_-1371448952_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/84c4d97e/attachment.html From nneul at mst.edu Wed Mar 2 16:36:42 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 2 Mar 2016 07:36:42 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> Message-ID: <56D6EC6A.3000609@mst.edu> Is there any chance you are running freeswitch chroot'd? On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn?t even exist > > and yet it still says it?s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre > wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra > wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn?t even exist > > and yet it still says it?s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From guoqiuping81112 at 163.com Wed Mar 2 17:06:33 2016 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Wed, 2 Mar 2016 22:06:33 +0800 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: <7E9D3075-57DB-44CD-8887-EDB862858C5B@163.com> References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> <7E9D3075-57DB-44CD-8887-EDB862858C5B@163.com> Message-ID: I found the issue is because of the incorrect version of x264. I use x264-snapshot-20150625-0011-stable , then the issue disappears. but now libav report another log: non-existing PPS 0 referenced decode_slice_header error non-existing PPS 0 referenced decode_slice_header error non-existing PPS 0 referenced decode_slice_header error no frame! How can I know the exact version of x264 and libav for FreeSWITH 1.6.4 > ? 2016?3?2????12:23???? ??? > > sorry, my mistake. my operation system is CentOS 7.1.1503 > >> ? 2016?3?2????12:13?Brian West > ??? >> >> You've lost me at "My box is CentOS6.5" >> >> On Tue, Mar 1, 2016 at 3:11 AM, ??? > wrote: >> Hi All: >> >> My box is CentOS6.5, and FS is 1.6.4 >> >> When I use H264 as the video codec. >> FS report encoding fail as below. >> [ERR] avcodec.c:1117 Encoding Error -1 >> and x264 report >> lookahead thread is already stopped >> >> I checked the source code, I found that >> when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. >> and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. >> switch_h264_encode: >> if (*got_output) { // Could be more delayed frames >> ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); >> >> Is it a bug of mod_av or how can i solve the problem? >> >> Thanks a lot >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> Brian West >> brian at freeswitch.org >> >> Twitter: @FreeSWITCH , @briankwest >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> Got Bugs? Report them here ! | Reddit: /r/freeswitch >> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/3c8c1b30/attachment-0001.html From sunil.d.admin at gmail.com Wed Mar 2 17:11:04 2016 From: sunil.d.admin at gmail.com (sunil.d.admin) Date: Wed, 02 Mar 2016 19:41:04 +0530 Subject: [Freeswitch-users] H264 Encoding Error Message-ID: <2smb5j3eqrmdsss5qbtlef99.1456927864727@email.android.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/d58d0f25/attachment.html From mandra at gmail.com Wed Mar 2 17:29:37 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 2 Mar 2016 09:29:37 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D6EC6A.3000609@mst.edu> References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> Message-ID: No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? On Wednesday, March 2, 2016, Nathan Neulinger wrote: > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's reporting what it's reporting and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre >> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | grep mod_' command... it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if > it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra ');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra ');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built > from source so I don't think that's the issue. > > This is baffling. I've tried it in more one machine, same > result. > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger < > nneul at mst.edu > wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure > they're gone from my disk) it still reports it successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look > for the path to the .so file that it loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > > System Administrator - Architect > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > ');> > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > ');> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/f95ec0e8/attachment-0001.html From nneul at mst.edu Wed Mar 2 17:52:04 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 2 Mar 2016 08:52:04 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> Message-ID: <56D6FE14.5030405@mst.edu> Next thing I'd try would be the strace while doing the reload to see if maybe it is loading from a different path - i.e. maybe it never closed the handle to the .so or something. -- Nathan On 03/02/2016 08:29 AM, Chris Mandra wrote: > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre >> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra > ');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra > ');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org ');> > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > ');> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From kworm at sofnet.com Wed Mar 2 17:56:26 2016 From: kworm at sofnet.com (Kevin Wormington) Date: Wed, 2 Mar 2016 08:56:26 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> Message-ID: <82528BFF-F402-4B25-A4A0-65053DA42023@sofnet.com> Assuming the name of your module is mod_test_dsp.so I would, as root, do a ?find / -name mod_test_dsp.so -print? and see if there is more than one file in the filesystem somewhere. If there is more than one then delete all of them but the path you expect. Perhaps it is loading from LD_PATH somehow but I still do not see how lsof of the PID could show a file that does not exist unless it is chroot?ed. Strace or gdb may be the last resort to figure it out. > On Mar 2, 2016, at 8:29 AM, Chris Mandra wrote: > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger wrote: > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre > wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra > wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -- > mandra > c:410.258.5281 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Wed Mar 2 17:59:26 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 2 Mar 2016 08:59:26 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> Message-ID: <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn?t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chris Mandra Sent: Wednesday, March 2, 2016 8:30 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] module question No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? On Wednesday, March 2, 2016, Nathan Neulinger > wrote: Is there any chance you are running freeswitch chroot'd? On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn?t even exist > > and yet it still says it?s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre >> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra ');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra ');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn?t even exist > > and yet it still says it?s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org ');> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org ');> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/c85987ca/attachment-0001.html From nneul at mst.edu Wed Mar 2 18:13:31 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 2 Mar 2016 09:13:31 -0600 Subject: [Freeswitch-users] module question In-Reply-To: <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> Message-ID: <56D7031B.8020809@mst.edu> I think he said earlier that if he shuts down completely, it works fine, but he's wanting to be able to reload on the fly to test new changes. -- Nathan On 03/02/2016 08:59 AM, Ken Rice wrote: > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn?t actually > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, > and restarting FreeSWITCH completely. > > *From:*freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 8:30 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] module question > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre >> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra > ');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra > ');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org ');> > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > ');> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From david.villasmil.work at gmail.com Wed Mar 2 18:20:00 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 2 Mar 2016 16:20:00 +0100 Subject: [Freeswitch-users] Registering and Calling on the same port. Message-ID: Hello guys, It was my understanding that if I: - create a profile with, i.e.: por 5009 - create a gateway on that profile both REGISTERs and INVITES going out would use the same (5009) port? Because I am not seeing this behaviour. Thanks all! David ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/321d820a/attachment.html From brian at freeswitch.org Wed Mar 2 18:32:38 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 2 Mar 2016 09:32:38 -0600 Subject: [Freeswitch-users] Registering and Calling on the same port. In-Reply-To: References: Message-ID: If you're not seeing this then you've got a NAT issue possibly. On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello guys, > > It was my understanding that if I: > > - create a profile with, i.e.: por 5009 > - create a gateway on that profile > > both REGISTERs and INVITES going out would use the same (5009) port? > > Because I am not seeing this behaviour. > > Thanks all! > > > David > ? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/e3d3d34e/attachment.html From david.villasmil.work at gmail.com Wed Mar 2 19:04:13 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 2 Mar 2016 17:04:13 +0100 Subject: [Freeswitch-users] Registering and Calling on the same port. In-Reply-To: References: Message-ID: Hello Brian, Thanks for replying. Actually I'm tracing on the box itself, done with ngrep The register: T 10.0.160.3:35841 -> 1.2.3.4:5060 [AP] REGISTER sip:mydomain.com;transport=tcp SIP/2.0. T 1.2.3.4:5060 -> 10.0.160.3:35841 [AP] SIP/2.0 200 OK. The Call: U 10.0.160.3:5111 -> 1.2.3.4:5060 INVITE sip:2325201 at mydomain.com SIP/2.0. U 1.2.3.4:5060 -> 10.0.160.3:5111 SIP/2.0 100 Trying. U 1.2.3.4:5060 -> 10.0.160.3:5111 SIP/2.0 403 Forbidden. U 10.0.160.3:5111 -> 1.2.3.4:5060 ACK sip:2325201 at mydomain.com SIP/2.0. the profile: ... ... The gateway: Am I doing something wrong? Regards, David On Wed, Mar 2, 2016 at 4:32 PM, Brian West wrote: > If you're not seeing this then you've got a NAT issue possibly. > > On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Hello guys, >> >> It was my understanding that if I: >> >> - create a profile with, i.e.: por 5009 >> - create a gateway on that profile >> >> both REGISTERs and INVITES going out would use the same (5009) port? >> >> Because I am not seeing this behaviour. >> >> Thanks all! >> >> >> David >> ? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/e10b7c21/attachment-0001.html From mandra at gmail.com Wed Mar 2 19:36:54 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 2 Mar 2016 11:36:54 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D7031B.8020809@mst.edu> References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> Message-ID: I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > I think he said earlier that if he shuts down completely, it works fine, > but he's wanting to be able to reload on the > fly to test new changes. > > -- Nathan > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > Have you completely shut FreeSwitch down? There is a chance when you > unload a module, that module doesn?t actually > > unload, its still loaded, just deactivated. You can easily verify this > by making sure the .so for the module is gone, > > and restarting FreeSWITCH completely. > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] module question > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my > makefile? > > > > On Wednesday, March 2, 2016, Nathan Neulinger nneul at mst.edu>> wrote: > > > > Is there any chance you are running freeswitch chroot'd? > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > Thank you for writing Stephen, I've already tried that, and > that's how I know it's reporting what it's reporting > > and how > > > it doesn't make any sense. > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre > >> wrote: > > > > > > When the file is loaded use find FreeSWITCH's PID and then > use the 'lsof -p $PID | grep mod_' command... > > it'll show > > > you a list of the modules FreeSWITCH currently has loaded. > See if it's loading from a different path that way. > > > > > > On 2 March 2016 at 02:52, Chris Mandra > > ');>> > wrote: > > > > > > Any other ideas? > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > ');>> > wrote: > > > > > > Thanks for your responses so far guys. Italo, its > only built from source so I don't think that's the > > issue. > > > This is baffling. I've tried it in more one machine, > same result. > > > > > > On Tuesday, March 1, 2016, Chris Mandra < > mandra at gmail.com > wrote: > > > > > > So, FS is reporting > > > > > > reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > > wrote: > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is > really weird: > > > > > > > > after i remove the .so files (and make sure > they're gone from my disk) it still reports it > > successfully reloads > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and > look for the path to the .so file that it > > loaded. It's > > > likely pulling it in > > > from a different location. > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then issue the reload, then kill the > > > strace and look for what > > > file/path it searched/etc. > > > > > > -- Nathan > > > > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul at mst.edu > > > Missouri S&T Information Technology (573) > 612-1412 > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > ');> > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > ');> > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/9968bbf0/attachment-0001.html From krice at freeswitch.org Wed Mar 2 19:57:27 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 2 Mar 2016 10:57:27 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> Message-ID: <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> What version of FreeSWITCH are you building this against? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chris Mandra Sent: Wednesday, March 2, 2016 10:37 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] module question I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger > wrote: I think he said earlier that if he shuts down completely, it works fine, but he's wanting to be able to reload on the fly to test new changes. -- Nathan On 03/02/2016 08:59 AM, Ken Rice wrote: > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn?t actually > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, > and restarting FreeSWITCH completely. > > *From:*freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 8:30 AM > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] module question > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre > >> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra > ');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra > ');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn?t even exist > > > > and yet it still says it?s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org ');> > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > ');> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/4004ecdd/attachment-0001.html From brian at freeswitch.org Wed Mar 2 19:58:43 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 2 Mar 2016 10:58:43 -0600 Subject: [Freeswitch-users] Registering and Calling on the same port. In-Reply-To: References: Message-ID: Need full sip trace, not slimmed down traces. On Wed, Mar 2, 2016 at 10:04 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello Brian, > > Thanks for replying. Actually I'm tracing on the box itself, done with > ngrep > > The register: > > T 10.0.160.3:35841 -> 1.2.3.4:5060 [AP] > REGISTER sip:mydomain.com;transport=tcp SIP/2.0. > > T 1.2.3.4:5060 -> 10.0.160.3:35841 [AP] > SIP/2.0 200 OK. > > > The Call: > > U 10.0.160.3:5111 -> 1.2.3.4:5060 > INVITE sip:2325201 at mydomain.com SIP/2.0. > > U 1.2.3.4:5060 -> 10.0.160.3:5111 > SIP/2.0 100 Trying. > > U 1.2.3.4:5060 -> 10.0.160.3:5111 > SIP/2.0 403 Forbidden. > > U 10.0.160.3:5111 -> 1.2.3.4:5060 > ACK sip:2325201 at mydomain.com SIP/2.0. > > > > the profile: > > > ... > > ... > > The gateway: > > > > > > > > > > > > > > > > > > Am I doing something wrong? > > Regards, > > > David > > > > > On Wed, Mar 2, 2016 at 4:32 PM, Brian West wrote: > >> If you're not seeing this then you've got a NAT issue possibly. >> >> On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> Hello guys, >>> >>> It was my understanding that if I: >>> >>> - create a profile with, i.e.: por 5009 >>> - create a gateway on that profile >>> >>> both REGISTERs and INVITES going out would use the same (5009) port? >>> >>> Because I am not seeing this behaviour. >>> >>> Thanks all! >>> >>> >>> David >>> ? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > ? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/53e21497/attachment.html From mandra at gmail.com Wed Mar 2 21:00:23 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 2 Mar 2016 13:00:23 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: 1.6 On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice wrote: > What version of FreeSWITCH are you building this against? > > > > > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 10:37 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] module question > > > > I unload, wipe the file reload and it says it's reloaded > This makes no sense > On Wednesday, March 2, 2016, Nathan Neulinger wrote: > > I think he said earlier that if he shuts down completely, it works fine, > but he's wanting to be able to reload on the > fly to test new changes. > > -- Nathan > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > Have you completely shut FreeSwitch down? There is a chance when you > unload a module, that module doesn?t actually > > unload, its still loaded, just deactivated. You can easily verify this > by making sure the .so for the module is gone, > > and restarting FreeSWITCH completely. > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf > > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] module question > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my > makefile? > > > > On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > > > > Is there any chance you are running freeswitch chroot'd? > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > Thank you for writing Stephen, I've already tried that, and > that's how I know it's reporting what it's reporting > > and how > > > it doesn't make any sense. > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre > >> wrote: > > > > > > When the file is loaded use find FreeSWITCH's PID and then > use the 'lsof -p $PID | grep mod_' command... > > it'll show > > > you a list of the modules FreeSWITCH currently has loaded. > See if it's loading from a different path that way. > > > > > > On 2 March 2016 at 02:52, Chris Mandra > > ');>> > wrote: > > > > > > Any other ideas? > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > ');>> > wrote: > > > > > > Thanks for your responses so far guys. Italo, its > only built from source so I don't think that's the > > issue. > > > This is baffling. I've tried it in more one machine, > same result. > > > > > > On Tuesday, March 1, 2016, Chris Mandra > wrote: > > > > > > So, FS is reporting > > > > > > reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > > wrote: > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is > really weird: > > > > > > > > after i remove the .so files (and make sure > they're gone from my disk) it still reports it > > successfully reloads > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and > look for the path to the .so file that it > > loaded. It's > > > likely pulling it in > > > from a different location. > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then issue the reload, then kill the > > > strace and look for what > > > file/path it searched/etc. > > > > > > -- Nathan > > > > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul at mst.edu > > > Missouri S&T Information Technology (573) > 612-1412 > > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > ');> > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > ');> > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/f0f78acf/attachment-0001.html From lists at kavun.ch Wed Mar 2 23:05:23 2016 From: lists at kavun.ch (Emrah) Date: Wed, 2 Mar 2016 21:05:23 +0100 Subject: [Freeswitch-users] SRTP breaks my TLS session In-Reply-To: References: <84F64031-B943-4671-A0BC-66FC02DF7C51@kavun.ch> <88ACC7C7-589C-4CC8-A146-3DBF31B84A2E@mgtech.com> <93C84919-0D70-4DD3-BB86-46DE87492F9C@kavun.ch> <14EF2D3F-9034-4D59-BC37-16B6E20BAEE8@kavun.ch> Message-ID: <3A302E5C-EFB9-4BB2-953B-7DF94B8D98F0@kavun.ch> This issue seems to be very connected to the network topology of the client. I am now having this problem with Bria on iOS. On FreeSWITCH there is hardly anything. First invite results in a 407 proxy required, and after that the session fails and FS reports a wrong_call_state. Is there anyone here using tLS willing to provide me with a SIP account to test this over their instance of FreeSWITCH? Cheers > On Mar 1, 2016, at 12:45 PM, Emrah wrote: > > Hello all, > Pinging the list in search of brilliant minds for more recommendations on how to solve this overwhelmingly frustrating issue. > > I just love FS and all it lets me accomplish. But this bug and the unpredictability and inability to effectively troubleshoot just leaves a bad impression, accentuated by the fact that no one seems to care about it. I call it a bug because I do not experience this issue with other SIP servers. > > Who is available to exchange SIP credentials in order to cross-test this? Especially if you believe you are immunized! > > Best, > Emrah > >> On Feb 28, 2016, at 7:33 PM, Emrah > wrote: >> >> Hello there, >> I can confirm that a PCAP gives me a bunch of TLS packets. >> How do you suggest debugging this? >> >> Thanks! >>> On Feb 26, 2016, at 10:36 AM, Emrah > wrote: >>> >>> Thanks for this. >>> >>> This isn?t just a yealink thing. I?ve encountered sporadic issues with soft phones and other desk phones as well. >>> >>> I didn?t use the PCap capture feature because I had assumed it would give me a bunch of TLS packets. I?ll test that and revert back. >>> >>> How can we explain that I have more calls failing if I register multiple accounts? >>> >>> Emrah >>> >>>> On Feb 26, 2016, at 6:37 AM, Mario G > wrote: >>>> >>>> You may want to run a pcap trace on the Yealink. It?s under settings->Configuration. Start/test/export. >>>> >>>>> On Feb 25, 2016, at 3:35 PM, Brian West > wrote: >>>>> >>>>> Sounds like there may be a bug in the yealink if packet size is of issue on TCP/TLS connections. >>>>> >>>>> On Thu, Feb 25, 2016 at 5:13 PM, Emrah > wrote: >>>>> Hello list, >>>>> I thought I had solved this issue by reducing my codec list to a minimum, but it still persists, unfortunately. This was to reduce the TLS packet size. >>>>> Anytime I enable SRTP on my phones, outgoing calls will randomly fail. The problem goes away when I disable SRTP. I only work over TLS. >>>>> Incoming calls work reliably with or without SRTP. >>>>> >>>>> How do you suggest debugging this? >>>>> I tried setting up a fresh instance of FS but the issue persists. >>>>> Now. It should be noted that calls fail sensibly more often when I have more than one account registered on the same server with the same device. >>>>> >>>>> Any suggestion is welcome. Have you experienced this? >>>>> >>>>> I?m running FreeSWITCH Version 1.6.5 on Debian. My phone in this case is a Yealink SIP-T46G running firmware 28.80.0.95. >>>>> >>>>> E >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> -- >>>>> Brian West >>>>> brian at freeswitch.org >>>>> >>>>> Twitter: @FreeSWITCH , @briankwest >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> Got Bugs? Report them here ! | Reddit: /r/freeswitch >>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/46181a93/attachment.html From olegstolyar at gmail.com Wed Mar 2 23:05:51 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 2 Mar 2016 12:05:51 -0800 Subject: [Freeswitch-users] Finding session variables by name pattern Message-ID: Hi guys, is there a way to find all the session variable with a certain name pattern *in lua*? For example I need to find all the session variables whose names start with "bla_" As an alternative is there a way to iterate over all the session variables? Then I can just do that and find the variables I need this way. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/dd2949e6/attachment.html From neuhaus at tyntec.com Wed Mar 2 15:09:43 2016 From: neuhaus at tyntec.com (Sven Neuhaus) Date: Wed, 2 Mar 2016 13:09:43 +0100 Subject: [Freeswitch-users] mod_sofia: Getting "sip_remove_183sdp" flag into upstream Message-ID: <56D6D807.4020309@tyntec.com> Hello, there is a patch by Artur Cichocki to add a "sip_remove_183sdp" flag that I am using. It was posted at a while ago. I'd like to see this patch integrated into the upstream version. What's the best way to achieve this? Regards, -Sven -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/8bccbe64/attachment-0001.bin From jaceksburghardt at gmail.com Wed Mar 2 20:17:39 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Wed, 2 Mar 2016 10:17:39 -0700 Subject: [Freeswitch-users] installation script Message-ID: I wonder if anyone has a copy of fusion switch install script for centos 7? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/6601062b/attachment-0001.html From krice at freeswitch.org Wed Mar 2 23:23:34 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 2 Mar 2016 14:23:34 -0600 Subject: [Freeswitch-users] mod_sofia: Getting "sip_remove_183sdp" flag into upstream In-Reply-To: <56D6D807.4020309@tyntec.com> References: <56D6D807.4020309@tyntec.com> Message-ID: <4c2101d174c1$65f12e30$31d38a90$@freeswitch.org> It needs to be updated to current master and a pull request done. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sven Neuhaus Sent: Wednesday, March 2, 2016 6:10 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] mod_sofia: Getting "sip_remove_183sdp" flag into upstream Hello, there is a patch by Artur Cichocki to add a "sip_remove_183sdp" flag that I am using. It was posted at a while ago. I'd like to see this patch integrated into the upstream version. What's the best way to achieve this? Regards, -Sven From luis.daniel.lucio at gmail.com Thu Mar 3 01:35:35 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Wed, 2 Mar 2016 17:35:35 -0500 Subject: [Freeswitch-users] installation script In-Reply-To: References: Message-ID: When you say fusion, are you referring to Fusionpbx? Le 2 mars 2016 3:22 PM, "jacek burghardt" a ?crit : > I wonder if anyone has a copy of fusion switch install script for centos > 7? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/1fb63c9a/attachment.html From msc at freeswitch.org Thu Mar 3 01:57:35 2016 From: msc at freeswitch.org (Michael Collins) Date: Wed, 2 Mar 2016 14:57:35 -0800 Subject: [Freeswitch-users] Finding session variables by name pattern In-Reply-To: References: Message-ID: You can use the uuid_dump command to get all the channel variables and values. Here's some rudimentary code which accepts the uuid as an argument: -- Lua has no split function, so we need to create one function string:split( inSplitPattern, outResults ) if not outResults then outResults = {} end local theStart = 1 local theSplitStart, theSplitEnd = string.find( self, inSplitPattern, theStart ) while theSplitStart do table.insert( outResults, string.sub( self, theStart, theSplitStart-1 ) ) theStart = theSplitEnd + 1 theSplitStart, theSplitEnd = string.find( self, inSplitPattern, theStart ) end table.insert( outResults, string.sub( self, theStart ) ) return outResults end api = freeswitch.API() uuid = argv[1] -- uuid_dump gets all vars for a particular channel res = api:execute('uuid_dump',uuid) freeswitch.consoleLog('INFO',"Complete vars list: " .. res .. "\n") -- lines is a table, one row per var: val pair lines = string.split(res,"\n") for i=1,#lines do -- check for variable name using pattern match -- Adjust the pattern to whatever you are trying to find myPattern = 'variable_' if string.match(lines[i], myPattern) then varval = string.split(lines[i],": ") freeswitch.consoleLog("NOTICE","Variable '" .. varval[1] .. "' contains '" .. varval[2] .. "'\n") end end I don't know if this is the most efficient way of doing what you're trying to do but it does demonstrate the power and flexibility of Lua and FreeSWITCH API's like uuid_dump. -MC On Wed, Mar 2, 2016 at 12:05 PM, Oleg Stolyar wrote: > Hi guys, > > is there a way to find all the session variable with a certain name > pattern *in lua*? > > For example I need to find all the session variables whose names start > with "bla_" > > As an alternative is there a way to iterate over all the session > variables? Then I can just do that and find the variables I need this way. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/bea14cee/attachment.html From olegstolyar at gmail.com Thu Mar 3 02:11:59 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 2 Mar 2016 15:11:59 -0800 Subject: [Freeswitch-users] Finding session variables by name pattern In-Reply-To: References: Message-ID: Thanks Michael, looks like a very workable solution! On Wed, Mar 2, 2016 at 2:57 PM, Michael Collins wrote: > You can use the uuid_dump command to get all the channel variables and > values. Here's some rudimentary code which accepts the uuid as an argument: > > -- Lua has no split function, so we need to create one > function string:split( inSplitPattern, outResults ) > if not outResults then > outResults = {} > end > local theStart = 1 > local theSplitStart, theSplitEnd = string.find( self, inSplitPattern, > theStart ) > while theSplitStart do > table.insert( outResults, string.sub( self, theStart, > theSplitStart-1 ) ) > theStart = theSplitEnd + 1 > theSplitStart, theSplitEnd = string.find( self, inSplitPattern, > theStart ) > end > table.insert( outResults, string.sub( self, theStart ) ) > return outResults > end > > api = freeswitch.API() > uuid = argv[1] > > -- uuid_dump gets all vars for a particular channel > res = api:execute('uuid_dump',uuid) > freeswitch.consoleLog('INFO',"Complete vars list: " .. res .. "\n") > > -- lines is a table, one row per var: val pair > lines = string.split(res,"\n") > > for i=1,#lines do > -- check for variable name using pattern match > -- Adjust the pattern to whatever you are trying to find > myPattern = 'variable_' > if string.match(lines[i], myPattern) then > varval = string.split(lines[i],": ") > freeswitch.consoleLog("NOTICE","Variable '" .. varval[1] .. "' > contains '" .. varval[2] .. "'\n") > end > end > > I don't know if this is the most efficient way of doing what you're trying > to do but it does demonstrate the power and flexibility of Lua and > FreeSWITCH API's like uuid_dump. > > -MC > > On Wed, Mar 2, 2016 at 12:05 PM, Oleg Stolyar > wrote: > >> Hi guys, >> >> is there a way to find all the session variable with a certain name >> pattern *in lua*? >> >> For example I need to find all the session variables whose names start >> with "bla_" >> >> As an alternative is there a way to iterate over all the session >> variables? Then I can just do that and find the variables I need this way. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160302/d6f5b13c/attachment-0001.html From guoqiuping81112 at 163.com Thu Mar 3 05:28:29 2016 From: guoqiuping81112 at 163.com (=?gb2312?B?ufnH78a9?=) Date: Thu, 3 Mar 2016 10:28:29 +0800 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> <7E9D3075-57DB-44CD-8887-EDB862858C5B@163.com> Message-ID: <22E57449-0364-456A-813C-B28D4F568210@163.com> This issue is because the client does not send keyframe to FS > ? 2016?3?2????10:06???? ??? > > I found the issue is because of the incorrect version of x264. > > I use x264-snapshot-20150625-0011-stable , then the issue disappears. > but now libav report another log: > non-existing PPS 0 referenced > decode_slice_header error > non-existing PPS 0 referenced > decode_slice_header error > non-existing PPS 0 referenced > decode_slice_header error > no frame! > > How can I know the exact version of x264 and libav for FreeSWITH 1.6.4 > > >> ? 2016?3?2????12:23???? > ??? >> >> sorry, my mistake. my operation system is CentOS 7.1.1503 >> >>> ? 2016?3?2????12:13?Brian West > ??? >>> >>> You've lost me at "My box is CentOS6.5" >>> >>> On Tue, Mar 1, 2016 at 3:11 AM, ??? > wrote: >>> Hi All: >>> >>> My box is CentOS6.5, and FS is 1.6.4 >>> >>> When I use H264 as the video codec. >>> FS report encoding fail as below. >>> [ERR] avcodec.c:1117 Encoding Error -1 >>> and x264 report >>> lookahead thread is already stopped >>> >>> I checked the source code, I found that >>> when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. >>> and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. >>> switch_h264_encode: >>> if (*got_output) { // Could be more delayed frames >>> ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); >>> >>> Is it a bug of mod_av or how can i solve the problem? >>> >>> Thanks a lot >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> -- >>> Brian West >>> brian at freeswitch.org >>> >>> Twitter: @FreeSWITCH , @briankwest >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> Got Bugs? Report them here ! | Reddit: /r/freeswitch >>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/a8cdbcf8/attachment.html From s.safarov at gmail.com Thu Mar 3 07:32:36 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 3 Mar 2016 07:32:36 +0300 Subject: [Freeswitch-users] installation script In-Reply-To: References: Message-ID: Look https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7 On Thu, Mar 3, 2016 at 1:35 AM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > When you say fusion, are you referring to Fusionpbx? > Le 2 mars 2016 3:22 PM, "jacek burghardt" a > ?crit : > >> I wonder if anyone has a copy of fusion switch install script for centos >> 7? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/961bca9d/attachment.html From bhavikpatel14388 at gmail.com Thu Mar 3 10:09:27 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Thu, 3 Mar 2016 12:39:27 +0530 Subject: [Freeswitch-users] Call failed with mod_verto Message-ID: Hi All, I have Freeswitch-1.6.5 running on Debian-8.2. I want to use mod_verto for webrtc and followed steps mentioned at https://freeswitch.org/confluence/display/FREESWITCH/mod_verto. But calls are not working. Outbound call fails with NORMAL_TEMPORARY_FAILURE. When make inbound call it rings at destination and drops as soon as it answer. Here i am attaching logs for both type of calls. Let me know if you require anything else from my end. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/4dc49707/attachment-0001.html -------------- next part -------------- 2016-03-03 07:46:12.710903 [ALERT] mod_verto.c:1365 READ x.x.x.47:53413 [{ "jsonrpc": "2.0", "method": "verto.invite", "params": { "sdp": "v=0\r\no=- 6994444900162466811 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio\r\na=msid-semantic: WMS DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM\r\nm=audio 45441 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126\r\nc=IN IP4 x.x.x.47\r\na=rtcp:34074 IN IP4 x.x.x.47\r\na=candidate:4106396162 1 udp 2122260223 192.168.1.39 45441 typ host generation 0\r\na=candidate:4106396162 2 udp 2122260222 192.168.1.39 34074 typ host generation 0\r\na=candidate:3124846322 1 tcp 1518280447 192.168.1.39 0 typ host tcptype active generation 0\r\na=candidate:3124846322 2 tcp 1518280446 192.168.1.39 0 typ host tcptype active generation 0\r\na=candidate:47373270 2 udp 1686052606 x.x.x.47 34074 typ srflx raddr 192.168.1.39 rport 34074 generation 0\r\na=candidate:47373270 1 udp 1686052607 x.x.x.47 45441 typ srflx raddr 192.168.1.39 rport 45441 generation 0\r\na=ice-ufrag:vhxQy5vdlAll+tmy\r\na=ice-pwd:VyA/8l9Dnx3mCkiFQ25qARKJ\r\na=fingerprint:sha-256 42:22:F0:A4:63:91:9F:F5:8F:55:94:8C:6C:10:77:EB:2A:C3:74:FC:F5:D5:FC:B1:AB:AF:4E:FD:69:F2:9B:5A\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10; useinbandfec=1; stereo=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:4109156413 cname:YDTR1R8FHDG9qb2V\r\na=ssrc:4109156413 msid:DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM 675477fc-8790-43bb-af5e-a4faf5298a0e\r\na=ssrc:4109156413 mslabel:DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM\r\na=ssrc:4109156413 label:675477fc-8790-43bb-af5e-a4faf5298a0e\r\n", "dialogParams": { "useVideo": false, "useStereo": true, "screenShare": false, "useCamera": "any", "useMic": "any", "useSpeak": "any", "tag": "webcam", "localTag": null, "login": "456456 at x.x.x.91", "videoParams": { "minWidth": "1280", "minHeight": "720", "minFrameRate": 30 }, "destination_number": "xxxxxxxxx30", "caller_id_name": "FreeSWITCH User", "caller_id_number": "456456", "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "xxxxxxxxx30" }, "sessid": "c1ad8c94-e597-77f7-6818-8510c872ab35" }, "id": 23 }] 2016-03-03 07:46:12.710903 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT 2016-03-03 07:46:12.710903 [DEBUG] switch_core_session.c:613 N/A set UUID=25d59fdb-0aae-dd50-e15d-2a8ccef6bc64 2016-03-03 07:46:12.710903 [NOTICE] switch_channel.c:1091 New Channel verto.rtc/xxxxxxxxx30 [25d59fdb-0aae-dd50-e15d-2a8ccef6bc64] 2016-03-03 07:46:12.810902 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/xxxxxxxxx30: v=0 o=- 6994444900162466811 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio a=msid-semantic: WMS DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM m=audio 45441 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 c=IN IP4 x.x.x.47 a=rtcp:34074 IN IP4 x.x.x.47 a=candidate:4106396162 1 udp 2122260223 192.168.1.39 45441 typ host generation 0 a=candidate:4106396162 2 udp 2122260222 192.168.1.39 34074 typ host generation 0 a=candidate:3124846322 1 tcp 1518280447 192.168.1.39 0 typ host tcptype active generation 0 a=candidate:3124846322 2 tcp 1518280446 192.168.1.39 0 typ host tcptype active generation 0 a=candidate:47373270 2 udp 1686052606 x.x.x.47 34074 typ srflx raddr 192.168.1.39 rport 34074 generation 0 a=candidate:47373270 1 udp 1686052607 x.x.x.47 45441 typ srflx raddr 192.168.1.39 rport 45441 generation 0 a=ice-ufrag:vhxQy5vdlAll+tmy a=ice-pwd:VyA/8l9Dnx3mCkiFQ25qARKJ a=fingerprint:sha-256 42:22:F0:A4:63:91:9F:F5:8F:55:94:8C:6C:10:77:EB:2A:C3:74:FC:F5:D5:FC:B1:AB:AF:4E:FD:69:F2:9B:5A a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; useinbandfec=1; stereo=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000 a=maxptime:60 a=ssrc:4109156413 cname:YDTR1R8FHDG9qb2V a=ssrc:4109156413 msid:DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM 675477fc-8790-43bb-af5e-a4faf5298a0e a=ssrc:4109156413 mslabel:DjCUvVuYkcSSyzcDTHurGoyKwvu2rUtjU6eM a=ssrc:4109156413 label:675477fc-8790-43bb-af5e-a4faf5298a0e 2016-03-03 07:46:12.810902 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53413 [{ "jsonrpc": "2.0", "id": 23, "result": { "message": "CALL CREATED", "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "sessid": "c1ad8c94-e597-77f7-6818-8510c872ab35" } }] 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx30) Running State Change CS_INIT 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/xxxxxxxxx30) State INIT 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:40 verto.rtc/xxxxxxxxx30 Standard INIT 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/xxxxxxxxx30) State Change CS_INIT -> CS_ROUTING 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/xxxxxxxxx30) State INIT going to sleep 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx30) Running State Change CS_ROUTING 2016-03-03 07:46:12.810902 [DEBUG] switch_channel.c:2239 (verto.rtc/xxxxxxxxx30) Callstate Change DOWN -> RINGING 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/xxxxxxxxx30) State ROUTING 2016-03-03 07:46:12.810902 [DEBUG] mod_rtc.c:89 verto.rtc/xxxxxxxxx30 RTC ROUTING 2016-03-03 07:46:12.810902 [DEBUG] switch_core_state_machine.c:166 verto.rtc/xxxxxxxxx30 Standard ROUTING 2016-03-03 07:46:12.810902 [INFO] mod_dialplan_xml.c:637 Processing FreeSWITCH User <456456>->xxxxxxxxx30 in context default Dialplan: verto.rtc/xxxxxxxxx30 parsing [default->] continue=false Dialplan: verto.rtc/xxxxxxxxx30 Regex (PASS) [] destination_number(xxxxxxxxx30) =~ // break=on-false Dialplan: verto.rtc/xxxxxxxxx30 Action set(callstart=2016-03-03 05:46:12) Dialplan: verto.rtc/xxxxxxxxx30 Action set(call_processed=internal) Dialplan: verto.rtc/xxxxxxxxx30 Action set(originated_destination_number=xxxxxxxxx30) Dialplan: verto.rtc/xxxxxxxxx30 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/xxxxxxxxx30 Action set(fax_enable_t38=true) Dialplan: verto.rtc/xxxxxxxxx30 Action set(fax_enable_t38_request=true) Dialplan: verto.rtc/xxxxxxxxx30 Action export(t38_passthru=true) Dialplan: verto.rtc/xxxxxxxxx30 Action set(call_direction=inbound) Dialplan: verto.rtc/xxxxxxxxx30 Action set(calltype=DID) Dialplan: verto.rtc/xxxxxxxxx30 Action sched_hangup(+6000 allotted_timeout) Dialplan: verto.rtc/xxxxxxxxx30 Action export(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: verto.rtc/xxxxxxxxx30 Action set(effective_destination_number=xxxxxxxxx30) Dialplan: verto.rtc/xxxxxxxxx30 Action limit(db xxxxxxxxx30 db_xxxxxxxxx30 3) Dialplan: verto.rtc/xxxxxxxxx30 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/xxxxxxxxx30 Action set(continue_on_fail=true) Dialplan: verto.rtc/xxxxxxxxx30 Action export(absolute_codec_string=opus,G729,PCMA,PCMU) Dialplan: verto.rtc/xxxxxxxxx30 Action bridge({sip_invite_to_uri= CS_EXECUTE 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/xxxxxxxxx30) State ROUTING going to sleep 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx30) Running State Change CS_EXECUTE 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/xxxxxxxxx30) State EXECUTE 2016-03-03 07:46:12.930846 [DEBUG] mod_rtc.c:120 verto.rtc/xxxxxxxxx30 RTC EXECUTE 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:258 verto.rtc/xxxxxxxxx30 Standard EXECUTE EXECUTE verto.rtc/xxxxxxxxx30 set(callstart=2016-03-03 05:46:12) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [callstart]=[2016-03-03 05:46:12] EXECUTE verto.rtc/xxxxxxxxx30 set(call_processed=internal) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [call_processed]=[internal] EXECUTE verto.rtc/xxxxxxxxx30 set(originated_destination_number=xxxxxxxxx30) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [originated_destination_number]=[xxxxxxxxx30] EXECUTE verto.rtc/xxxxxxxxx30 set(hangup_after_bridge=true) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [hangup_after_bridge]=[true] EXECUTE verto.rtc/xxxxxxxxx30 set(fax_enable_t38=true) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [fax_enable_t38]=[true] EXECUTE verto.rtc/xxxxxxxxx30 set(fax_enable_t38_request=true) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [fax_enable_t38_request]=[true] EXECUTE verto.rtc/xxxxxxxxx30 export(t38_passthru=true) 2016-03-03 07:46:12.930846 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE verto.rtc/xxxxxxxxx30 set(call_direction=inbound) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [call_direction]=[inbound] EXECUTE verto.rtc/xxxxxxxxx30 set(calltype=DID) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [calltype]=[DID] EXECUTE verto.rtc/xxxxxxxxx30 sched_hangup(+6000 allotted_timeout) 2016-03-03 07:46:12.930846 [DEBUG] switch_scheduler.c:249 Added task 103 switch_ivr_schedule_hangup (25d59fdb-0aae-dd50-e15d-2a8ccef6bc64) to run at 1456989972 EXECUTE verto.rtc/xxxxxxxxx30 export(rtp_append_audio_sdp=a=fmtp:18 annexb=no) 2016-03-03 07:46:12.930846 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [rtp_append_audio_sdp]=[a=fmtp:18 annexb=no] EXECUTE verto.rtc/xxxxxxxxx30 set(effective_destination_number=xxxxxxxxx30) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [effective_destination_number]=[xxxxxxxxx30] EXECUTE verto.rtc/xxxxxxxxx30 limit(db xxxxxxxxx30 db_xxxxxxxxx30 3) 2016-03-03 07:46:12.930846 [DEBUG] switch_limit.c:126 incr called: xxxxxxxxx30_db_xxxxxxxxx30 max:3, interval:0 2016-03-03 07:46:12.930846 [DEBUG] mod_db.c:194 Usage for xxxxxxxxx30_db_xxxxxxxxx30 is now 1/3 EXECUTE verto.rtc/xxxxxxxxx30 set(hangup_after_bridge=true) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [hangup_after_bridge]=[true] EXECUTE verto.rtc/xxxxxxxxx30 set(continue_on_fail=true) 2016-03-03 07:46:12.930846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx30 [continue_on_fail]=[true] EXECUTE verto.rtc/xxxxxxxxx30 export(absolute_codec_string=opus,G729,PCMA,PCMU) 2016-03-03 07:46:12.930846 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [absolute_codec_string]=[opus,G729,PCMA,PCMU] EXECUTE verto.rtc/xxxxxxxxx30 bridge({sip_invite_to_uri= CS_INIT 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_INIT 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State INIT 2016-03-03 07:46:12.930846 [DEBUG] mod_sofia.c:88 sofia/default/xxxxxxx4444 at x.x.x.109:5062 SOFIA INIT 2016-03-03 07:46:12.930846 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91;lr;received=sip:x.x.x.109:5062 Setting proxy route to sofia/default/xxxxxxx4444 at x.x.x.109:5062 2016-03-03 07:46:12.930846 [DEBUG] sofia_glue.c:1257 sofia/default/xxxxxxx4444 at x.x.x.109:5062 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1456954140 1456954141 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 m=audio 29832 RTP/AVP 111 18 8 0 102 101 a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; useinbandfec=1; stereo=1 a=rtpmap:18 G729/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:102 telephone-event/48000 a=fmtp:102 0-16 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=fmtp:18 annexb=no a=ptime:20 a=sendrecv 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:40 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Standard INIT 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:48 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State Change CS_INIT -> CS_ROUTING 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State INIT going to sleep 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_ROUTING 2016-03-03 07:46:12.930846 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [calling][0] 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State ROUTING 2016-03-03 07:46:12.930846 [DEBUG] mod_sofia.c:141 sofia/default/xxxxxxx4444 at x.x.x.109:5062 SOFIA ROUTING 2016-03-03 07:46:12.930846 [DEBUG] switch_ivr_originate.c:67 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State ROUTING going to sleep 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_CONSUME_MEDIA 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State CONSUME_MEDIA 2016-03-03 07:46:12.930846 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State CONSUME_MEDIA going to sleep 2016-03-03 07:46:13.050889 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [proceeding][180] 2016-03-03 07:46:13.050889 [NOTICE] sofia.c:6852 Ring-Ready sofia/default/xxxxxxx4444 at x.x.x.109:5062! 2016-03-03 07:46:13.050889 [DEBUG] switch_channel.c:3332 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Callstate Change DOWN -> RINGING 2016-03-03 07:46:13.070897 [NOTICE] switch_ivr_originate.c:528 Ring Ready verto.rtc/xxxxxxxxx30! 2016-03-03 07:46:13.070897 [NOTICE] switch_ivr_originate.c:528 Ring-Ready verto.rtc/xxxxxxxxx30! 2016-03-03 07:46:17.770920 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [completing][200] 2016-03-03 07:46:17.770920 [DEBUG] sofia.c:6760 Remote SDP: v=0 o=- 20012 20012 IN IP4 x.x.x.109 s=SDP data c=IN IP4 x.x.x.109 t=0 0 m=audio 11782 RTP/AVP 18 102 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:102 telephone-event/8000 a=fmtp:102 0-15 a=ptime:20 2016-03-03 07:46:17.770920 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [ready][200] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:20:8000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with G729 at 8000h@20i 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 102 at 8000 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:2898 Set Codec sofia/default/xxxxxxx4444 at x.x.x.109:5062 G729/8000 20 ms 160 samples 8000 bits 1 channels 2016-03-03 07:46:17.790854 [DEBUG] switch_core_codec.c:111 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Original read codec set to G729:18 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 102 at 8000 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4473 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Set 2833 dtmf send payload to 102 recv payload to 101 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6027 AUDIO RTP [sofia/default/xxxxxxx4444 at x.x.x.109:5062] x.x.x.88 port 29832 -> x.x.x.109 port 11782 codec: 18 ms: 20 2016-03-03 07:46:17.790854 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 160 bytes per 20ms 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6326 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Set 2833 dtmf send payload to 102 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6333 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Set 2833 dtmf receive payload to 101 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6356 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Set rtp dtmf delay to 40 2016-03-03 07:46:17.790854 [NOTICE] sofia.c:7714 Channel [sofia/default/xxxxxxx4444 at x.x.x.109:5062] has been answered 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [opus:116:48000:20:0:1] ++++ is saved as a match 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G722:9:8000:60:64000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G722:9:8000:60:64000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G722:9:8000:60:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G722:9:8000:60:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 126 at 8000 2016-03-03 07:46:17.790854 [DEBUG] mod_opus.c:559 Opus encoder: set bitrate to local settings [120000bps] 2016-03-03 07:46:17.790854 [DEBUG] mod_opus.c:559 Opus encoder: set bitrate to local settings [120000bps] 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:2898 Set Codec verto.rtc/xxxxxxxxx30 opus/48000 20 ms 960 samples 0 bits 2 channels 2016-03-03 07:46:17.790854 [DEBUG] switch_core_codec.c:111 verto.rtc/xxxxxxxxx30 Original read codec set to opus:116 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.1.39:45441 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 2 proto: udp type: host addr: 192.168.1.39:34074 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 2 proto: udp type: srflx addr: x.x.x.47:34074 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 1 proto: udp type: srflx addr: x.x.x.47:45441 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3336 Searching for rtp candidate. 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3341 Choose rtp candidate, index 1, x.x.x.47:45441 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3127 verto.rtc/xxxxxxxxx30 choosing family v4 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3352 Choose same candidate, index 2, for rtcp based on rtcp-mux attribute x.x.x.47:45441 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3397 setting remote audio ice addr to index 1 x.x.x.47:45441 based on candidate 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:3418 Setting remote rtcp audio addr to x.x.x.47:45441 based on candidate 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:4473 verto.rtc/xxxxxxxxx30 Set 2833 dtmf send payload to 126 recv payload to 126 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6027 AUDIO RTP [verto.rtc/xxxxxxxxx30] x.x.x.88 port 23278 -> x.x.x.47 port 45441 codec: 111 ms: 20 2016-03-03 07:46:17.790854 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 960 bytes per 20ms 2016-03-03 07:46:17.790854 [INFO] switch_core_media.c:6202 Activating Audio ICE 2016-03-03 07:46:17.790854 [NOTICE] switch_rtp.c:4270 Activating RTP audio ICE: vhxQy5vdlAll+tmy:GokVq0hjtBlRqdQ7 x.x.x.47:45441 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6245 Activating RTCP PORT 45441 2016-03-03 07:46:17.790854 [DEBUG] switch_rtp.c:4167 RTCP send rate is: 5000 and packet rate is: 20000 Remote Port: 45441 2016-03-03 07:46:17.790854 [INFO] switch_core_media.c:6253 Skipping RTCP ICE (Same as RTP) 2016-03-03 07:46:17.790854 [INFO] switch_rtp.c:3286 Activate RTP/RTCP audio DTLS client 2016-03-03 07:46:17.790854 [INFO] switch_rtp.c:3415 Changing audio DTLS state from OFF to HANDSHAKE 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:1939 Setting Jitterbuffer to 20ms (1 frames) (50 max frames) 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6326 verto.rtc/xxxxxxxxx30 Set 2833 dtmf send payload to 126 2016-03-03 07:46:17.790854 [DEBUG] switch_core_media.c:6333 verto.rtc/xxxxxxxxx30 Set 2833 dtmf receive payload to 126 2016-03-03 07:46:17.790854 [DEBUG] mod_verto.c:2437 Local SDP verto.rtc/xxxxxxxxx30: v=0 o=FreeSWITCH 1456960699 1456960700 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 a=msid-semantic: WMS K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18 m=audio 23278 UDP/TLS/RTP/SAVPF 111 126 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=0; minptime=10; stereo=1 a=rtpmap:126 telephone-event/8000 a=silenceSupp:off - - - - a=fmtp:18 annexb=no a=ptime:20 a=sendrecv a=fingerprint:sha-256 AC:05:AC:85:29:10:9B:21:01:B5:0C:36:78:36:F7:D3:F5:02:2E:DB:B1:7D:85:FE:52:D8:0D:B3:2E:05:F4:B5 a=setup:active a=rtcp-mux a=rtcp:23278 IN IP4 x.x.x.88 a=ice-ufrag:GokVq0hjtBlRqdQ7 a=ice-pwd:GaPaULzskjqMkb6QqhCG8JPr a=candidate:4458760031 1 udp 659136 x.x.x.88 23278 typ host generation 0 a=ssrc:3806209908 cname:RDuRDT6yHJU8CbUt a=ssrc:3806209908 msid:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18 a0 a=ssrc:3806209908 mslabel:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18 a=ssrc:3806209908 label:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18a0 2016-03-03 07:46:17.790854 [NOTICE] switch_ivr_originate.c:3549 Channel [verto.rtc/xxxxxxxxx30] has been answered EXECUTE verto.rtc/xxxxxxxxx30 record_session(/var/www/html/recording_files/4/25d59fdb-0aae-dd50-e15d-2a8ccef6bc64.wav) 2016-03-03 07:46:17.810838 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to sofia/default/xxxxxxx4444 at x.x.x.109:5062 2016-03-03 07:46:17.810838 [DEBUG] switch_channel.c:3759 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Callstate Change RINGING -> ACTIVE 2016-03-03 07:46:17.810838 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to verto.rtc/xxxxxxxxx30 2016-03-03 07:46:17.810838 [DEBUG] switch_channel.c:3759 (verto.rtc/xxxxxxxxx30) Callstate Change RINGING -> ACTIVE 2016-03-03 07:46:17.810838 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/default/xxxxxxx4444 at x.x.x.109:5062] 2016-03-03 07:46:17.810838 [DEBUG] switch_core_media.c:9118 verto.rtc/xxxxxxxxx30 PAUSE Jitterbuffer 2016-03-03 07:46:17.830845 [DEBUG] switch_ivr_bridge.c:1591 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2016-03-03 07:46:17.830845 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_EXCHANGE_MEDIA 2016-03-03 07:46:17.830845 [DEBUG] switch_core_state_machine.c:542 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State EXCHANGE_MEDIA 2016-03-03 07:46:17.830845 [DEBUG] mod_sofia.c:613 SOFIA EXCHANGE_MEDIA 2016-03-03 07:46:17.830845 [DEBUG] switch_ivr_async.c:1473 No silence detection configured; assuming start of speech 2016-03-03 07:46:17.830845 [DEBUG] switch_ivr_async.c:1473 No silence detection configured; assuming start of speech 2016-03-03 07:46:17.830845 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53413 [{ "jsonrpc": "2.0", "id": 68, "method": "verto.answer", "params": { "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "sdp": "v=0\no=FreeSWITCH 1456960699 1456960700 IN IP4 x.x.x.88\ns=FreeSWITCH\nc=IN IP4 x.x.x.88\nt=0 0\na=msid-semantic: WMS K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18\nm=audio 23278 UDP/TLS/RTP/SAVPF 111 126\na=rtpmap:111 opus/48000/2\na=fmtp:111 useinbandfec=0; minptime=10; stereo=1\na=rtpmap:126 telephone-event/8000\na=silenceSupp:off - - - -\na=fmtp:18 annexb=no\na=ptime:20\na=sendrecv\na=fingerprint:sha-256 AC:05:AC:85:29:10:9B:21:01:B5:0C:36:78:36:F7:D3:F5:02:2E:DB:B1:7D:85:FE:52:D8:0D:B3:2E:05:F4:B5\na=setup:active\na=rtcp-mux\na=rtcp:23278 IN IP4 x.x.x.88\na=ice-ufrag:GokVq0hjtBlRqdQ7\na=ice-pwd:GaPaULzskjqMkb6QqhCG8JPr\na=candidate:4458760031 1 udp 659136 x.x.x.88 23278 typ host generation 0\na=ssrc:3806209908 cname:RDuRDT6yHJU8CbUt\na=ssrc:3806209908 msid:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18 a0\na=ssrc:3806209908 mslabel:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18\na=ssrc:3806209908 label:K2Lv9azp4XMvA3rW1FE1pbPv2CucyZ18a0\n" } }] 2016-03-03 07:46:17.830845 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53413 [{ "jsonrpc": "2.0", "id": 69, "method": "verto.display", "params": { "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "display_name": "Outbound Call", "display_number": "xxxxxxx4444", "caller_id_name": "FreeSWITCH User", "caller_id_number": "456456", "callee_id_name": "Outbound Call", "callee_id_number": "xxxxxxx4444", "display_direction": "inbound" } }] 2016-03-03 07:46:17.870900 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [calling][0] 2016-03-03 07:46:17.950897 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 entering state [ready][200] 2016-03-03 07:46:17.950897 [DEBUG] sofia.c:6760 Remote SDP: v=0 o=- 20012 20013 IN IP4 x.x.x.109 s=SDP data c=IN IP4 x.x.x.109 t=0 0 m=audio 11782 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:3966 Session is connected to a media bug. Re-Negotiation implicitly disabled. 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with G729 at 8000h@20i 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 101 at 8000 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 101 at 8000 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:4473 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Set 2833 dtmf send payload to 101 recv payload to 101 2016-03-03 07:46:17.950897 [DEBUG] sofia.c:7557 Processing updated SDP 2016-03-03 07:46:17.950897 [DEBUG] switch_core_media.c:6010 Audio params are unchanged for sofia/default/xxxxxxx4444 at x.x.x.109:5062. 2016-03-03 07:46:18.130918 [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18 2016-03-03 07:46:18.130918 [INFO] mod_com_g729.c:164 DECODER LICENSE ALLOCATED--->0x7fd02403a1d0 0x7fd02403a1d8 2016-03-03 07:46:18.130918 [INFO] mod_com_g729.c:171 DECODER CREATED------------->0x7fd02403a1d0 0x7fd02403a1d8 2016-03-03 07:46:18.130918 [INFO] mod_com_g729.c:164 DECODER LICENSE ALLOCATED--->0x7fd03c02c6e8 0x7fd03c02c6f0 2016-03-03 07:46:18.130918 [INFO] mod_com_g729.c:171 DECODER CREATED------------->0x7fd03c02c6e8 0x7fd03c02c6f0 2016-03-03 07:46:18.130918 [NOTICE] switch_core_io.c:1191 Activating write resampler 2016-03-03 07:46:18.210913 [ALERT] mod_verto.c:1365 READ x.x.x.47:53413 [{ "jsonrpc": "2.0", "method": "verto.bye", "params": { "dialogParams": { "useVideo": false, "useStereo": true, "screenShare": false, "useCamera": "any", "useMic": "any", "useSpeak": "any", "tag": "webcam", "localTag": null, "login": "456456 at x.x.x.91", "videoParams": { "minWidth": "1280", "minHeight": "720", "minFrameRate": 30 }, "destination_number": "xxxxxxxxx30", "caller_id_name": "FreeSWITCH User", "caller_id_number": "456456", "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "xxxxxxxxx30" }, "sessid": "c1ad8c94-e597-77f7-6818-8510c872ab35" }, "id": 24 }] 2016-03-03 07:46:18.210913 [NOTICE] mod_verto.c:2738 Hangup verto.rtc/xxxxxxxxx30 [CS_EXECUTE] [NORMAL_CLEARING] 2016-03-03 07:46:18.210913 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53413 [{ "jsonrpc": "2.0", "id": 24, "result": { "callID": "25d59fdb-0aae-dd50-e15d-2a8ccef6bc64", "message": "CALL ENDED", "causeCode": 16, "cause": "NORMAL_CLEARING", "sessid": "c1ad8c94-e597-77f7-6818-8510c872ab35" } }] 2016-03-03 07:46:18.210913 [ALERT] mod_verto.c:1365 READ x.x.x.47:53413 [{ "jsonrpc": "2.0", "id": 69, "result": { "method": "verto.display" } }] 2016-03-03 07:46:18.210913 [DEBUG] switch_ivr_bridge.c:705 verto.rtc/xxxxxxxxx30 ending bridge by request from read function 2016-03-03 07:46:18.210913 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [verto.rtc/xxxxxxxxx30] 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_bridge.c:699 verto.rtc/xxxxxxxxx30 ending bridge by request from write function 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/default/xxxxxxx4444 at x.x.x.109:5062] 2016-03-03 07:46:18.230880 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/default/xxxxxxx4444 at x.x.x.109:5062 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:542 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State EXCHANGE_MEDIA going to sleep 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_HANGUP 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_bridge.c:1689 sofia/default/xxxxxxx4444 at x.x.x.109:5062 skip receive message [UNBRIDGE] (channel is hungup already) 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_bridge.c:1692 verto.rtc/xxxxxxxxx30 skip receive message [UNBRIDGE] (channel is hungup already) 2016-03-03 07:46:18.230880 [DEBUG] switch_core_session.c:2796 verto.rtc/xxxxxxxxx30 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/xxxxxxxxx30) State EXECUTE going to sleep 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx30) Running State Change CS_HANGUP 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_async.c:1356 Channel is hung up 2016-03-03 07:46:18.230880 [DEBUG] switch_core_media_bug.c:1118 Removing BUG from verto.rtc/xxxxxxxxx30 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/xxxxxxxxx30) Callstate Change ACTIVE -> HANGUP 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/xxxxxxxxx30) State HANGUP 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:60 verto.rtc/xxxxxxxxx30 Standard HANGUP, cause: NORMAL_CLEARING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/xxxxxxxxx30) State HANGUP going to sleep 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/xxxxxxxxx30) State Change CS_HANGUP -> CS_REPORTING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx30) Running State Change CS_REPORTING 2016-03-03 07:46:18.230880 [DEBUG] switch_ivr_async.c:1356 Channel is hung up 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/xxxxxxxxx30) State REPORTING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_media_bug.c:1118 Removing BUG from sofia/default/xxxxxxx4444 at x.x.x.109:5062 2016-03-03 07:46:18.230880 [INFO] mod_com_g729.c:95 DECODER DESTROYED----------->0x7fd02403a1d0 0x7fd02403a1d8 2016-03-03 07:46:18.230880 [INFO] mod_com_g729.c:98 DECODER LICENSE DEALLOCATED->0x7fd02403a1d0 0x7fd02403a1d8 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:739 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Callstate Change ACTIVE -> HANGUP 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State HANGUP 2016-03-03 07:46:18.230880 [DEBUG] mod_sofia.c:431 Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 hanging up, cause: NORMAL_CLEARING 2016-03-03 07:46:18.230880 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/default/xxxxxxx4444 at x.x.x.109:5062 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:60 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Standard HANGUP, cause: NORMAL_CLEARING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State HANGUP going to sleep 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:508 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State Change CS_HANGUP -> CS_REPORTING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_REPORTING 2016-03-03 07:46:18.230880 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State REPORTING 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:104 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Standard REPORTING, cause: NORMAL_CLEARING 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State REPORTING going to sleep 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:499 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State Change CS_REPORTING -> CS_DESTROY 2016-03-03 07:46:18.490846 [DEBUG] switch_core_session.c:1646 Session 211 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Locked, Waiting on external entities 2016-03-03 07:46:18.490846 [NOTICE] switch_core_session.c:1664 Session 211 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Ended 2016-03-03 07:46:18.490846 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/xxxxxxx4444 at x.x.x.109:5062 [CS_DESTROY] 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:630 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) Running State Change CS_DESTROY 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State DESTROY 2016-03-03 07:46:18.490846 [DEBUG] mod_sofia.c:341 sofia/default/xxxxxxx4444 at x.x.x.109:5062 SOFIA DESTROY 2016-03-03 07:46:18.490846 [INFO] mod_com_g729.c:95 DECODER DESTROYED----------->0x7fd03c02c6e8 0x7fd03c02c6f0 2016-03-03 07:46:18.490846 [INFO] mod_com_g729.c:98 DECODER LICENSE DEALLOCATED->0x7fd03c02c6e8 0x7fd03c02c6f0 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:111 sofia/default/xxxxxxx4444 at x.x.x.109:5062 Standard DESTROY 2016-03-03 07:46:18.490846 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxx4444 at x.x.x.109:5062) State DESTROY going to sleep 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:104 verto.rtc/xxxxxxxxx30 Standard REPORTING, cause: NORMAL_CLEARING 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/xxxxxxxxx30) State REPORTING going to sleep 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/xxxxxxxxx30) State Change CS_REPORTING -> CS_DESTROY 2016-03-03 07:46:18.530852 [DEBUG] switch_core_session.c:1646 Session 210 (verto.rtc/xxxxxxxxx30) Locked, Waiting on external entities 2016-03-03 07:46:18.530852 [NOTICE] switch_core_session.c:1664 Session 210 (verto.rtc/xxxxxxxxx30) Ended 2016-03-03 07:46:18.530852 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/xxxxxxxxx30 [CS_DESTROY] 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:630 (verto.rtc/xxxxxxxxx30) Running State Change CS_DESTROY 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/xxxxxxxxx30) State DESTROY 2016-03-03 07:46:18.530852 [DEBUG] mod_rtc.c:132 verto.rtc/xxxxxxxxx30 RTC DESTROY 2016-03-03 07:46:18.530852 [DEBUG] mod_opus.c:661 Opus decoder stats: Frames[0] PLC[0] FEC[0] 2016-03-03 07:46:18.530852 [DEBUG] mod_opus.c:661 Opus decoder stats: Frames[0] PLC[0] FEC[0] 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:111 verto.rtc/xxxxxxxxx30 Standard DESTROY 2016-03-03 07:46:18.530852 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/xxxxxxxxx30) State DESTROY going to sleep 2016-03-03 07:46:18.930898 [DEBUG] switch_scheduler.c:144 Deleting task 103 switch_ivr_schedule_hangup (25d59fdb-0aae-dd50-e15d-2a8ccef6bc64) -------------- next part -------------- 2016-03-03 08:01:52.810916 [ALERT] mod_verto.c:1365 READ x.x.x.47:45905 [{ "jsonrpc": "2.0", "method": "verto.invite", "params": { "sdp": "v=0\r\no=- 6394623381710128159 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio\r\na=msid-semantic: WMS CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc\r\nm=audio 52550 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 x.x.x.47\r\na=rtcp:52550 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 52550 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 52550 typ host generation 0\r\na=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:1836006322 1 udp 1686052607 x.x.x.47 52550 typ srflx raddr 192.168.1.33 rport 52550 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 52550 typ srflx raddr 192.168.1.33 rport 52550 generation 0\r\na=ice-ufrag:g/XzIwk/FmJyN58u\r\na=ice-pwd:LIaaZisCkhtq5VHrFloGF8Zf\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 D2:2D:74:F4:FF:10:85:48:FE:C6:B9:76:30:B9:06:B1:75:7C:C2:28:1E:CD:01:D5:9E:38:22:5E:AE:91:D7:3C\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10; stereo=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:2908524814 cname:zrTZ84hefkswtwKu\r\na=ssrc:2908524814 msid:CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc 97fae677-74be-4b0a-b226-675b82268309\r\na=ssrc:2908524814 mslabel:CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc\r\na=ssrc:2908524814 label:97fae677-74be-4b0a-b226-675b82268309\r\n", "dialogParams": { "useVideo": false, "useStereo": true, "screenShare": false, "useCamera": "any", "useMic": "any", "useSpeak": "any", "tag": "webcam", "localTag": null, "login": "789789 at x.x.x.91", "videoParams": { "minWidth": "1280", "minHeight": "720", "minFrameRate": 30 }, "destination_number": "xxxxxxxxx65", "caller_id_name": "xxxxxxxxx30", "caller_id_number": "xxxxxxxxx30", "callID": "e5e502f3-53ad-879e-bcf6-8e8ac38cbb98", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "xxxxxxxxx65" }, "sessid": "9b3c8df0-00fc-9860-b7b6-60186ddd5071" }, "id": 56 }] 2016-03-03 08:01:52.810916 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT 2016-03-03 08:01:52.810916 [DEBUG] switch_core_session.c:613 N/A set UUID=e5e502f3-53ad-879e-bcf6-8e8ac38cbb98 2016-03-03 08:01:52.810916 [NOTICE] switch_channel.c:1091 New Channel verto.rtc/xxxxxxxxx65 [e5e502f3-53ad-879e-bcf6-8e8ac38cbb98] 2016-03-03 08:01:52.930847 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/xxxxxxxxx65: v=0 o=- 6394623381710128159 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio a=msid-semantic: WMS CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc m=audio 52550 RTP/SAVPF 111 103 104 0 8 106 105 13 126 c=IN IP4 x.x.x.47 a=rtcp:52550 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 52550 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 52550 typ host generation 0 a=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:1836006322 1 udp 1686052607 x.x.x.47 52550 typ srflx raddr 192.168.1.33 rport 52550 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 52550 typ srflx raddr 192.168.1.33 rport 52550 generation 0 a=ice-ufrag:g/XzIwk/FmJyN58u a=ice-pwd:LIaaZisCkhtq5VHrFloGF8Zf a=ice-options:google-ice a=fingerprint:sha-256 D2:2D:74:F4:FF:10:85:48:FE:C6:B9:76:30:B9:06:B1:75:7C:C2:28:1E:CD:01:D5:9E:38:22:5E:AE:91:D7:3C a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; stereo=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000 a=maxptime:60 a=ssrc:2908524814 cname:zrTZ84hefkswtwKu a=ssrc:2908524814 msid:CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc 97fae677-74be-4b0a-b226-675b82268309 a=ssrc:2908524814 mslabel:CL1gc0JpOcppsQ0KwbVTGs1EX0ooFmPQp4yc a=ssrc:2908524814 label:97fae677-74be-4b0a-b226-675b82268309 2016-03-03 08:01:52.930847 [ALERT] mod_verto.c:604 WRITE x.x.x.47:45905 [{ "jsonrpc": "2.0", "id": 56, "result": { "message": "CALL CREATED", "callID": "e5e502f3-53ad-879e-bcf6-8e8ac38cbb98", "sessid": "9b3c8df0-00fc-9860-b7b6-60186ddd5071" } }] 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx65) Running State Change CS_INIT 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/xxxxxxxxx65) State INIT 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:40 verto.rtc/xxxxxxxxx65 Standard INIT 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/xxxxxxxxx65) State Change CS_INIT -> CS_ROUTING 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/xxxxxxxxx65) State INIT going to sleep 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx65) Running State Change CS_ROUTING 2016-03-03 08:01:52.930847 [DEBUG] switch_channel.c:2239 (verto.rtc/xxxxxxxxx65) Callstate Change DOWN -> RINGING 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/xxxxxxxxx65) State ROUTING 2016-03-03 08:01:52.930847 [DEBUG] mod_rtc.c:89 verto.rtc/xxxxxxxxx65 RTC ROUTING 2016-03-03 08:01:52.930847 [DEBUG] switch_core_state_machine.c:166 verto.rtc/xxxxxxxxx65 Standard ROUTING 2016-03-03 08:01:52.930847 [INFO] mod_dialplan_xml.c:637 Processing xxxxxxxxx30 ->xxxxxxxxx65 in context default Dialplan: verto.rtc/xxxxxxxxx65 parsing [default->] continue=false Dialplan: verto.rtc/xxxxxxxxx65 Regex (PASS) [] destination_number(xxxxxxxxx65) =~ // break=on-false Dialplan: verto.rtc/xxxxxxxxx65 Action set(callstart=2016-03-03 06:01:53) Dialplan: verto.rtc/xxxxxxxxx65 Action set(call_processed=internal) Dialplan: verto.rtc/xxxxxxxxx65 Action set(originated_destination_number=xxxxxxxxx65) Dialplan: verto.rtc/xxxxxxxxx65 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/xxxxxxxxx65 Action set(continue_on_fail=true) Dialplan: verto.rtc/xxxxxxxxx65 Action set(fax_enable_t38=true) Dialplan: verto.rtc/xxxxxxxxx65 Action set(fax_enable_t38_request=true) Dialplan: verto.rtc/xxxxxxxxx65 Action export(t38_passthru=true) Dialplan: verto.rtc/xxxxxxxxx65 Action set(absolute_codec_string='^^G729:PCMA:PCMU:opus') Dialplan: verto.rtc/xxxxxxxxx65 Action limit_execute(db Demo_xxxxxxxxx30 gw_Demo_xxxxxxxxx30 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) Dialplan: verto.rtc/xxxxxxxxx65 Action set(effective_destination_number=xxxxxxxxx65) Dialplan: verto.rtc/xxxxxxxxx65 Action set(absolute_codec_string='^^G729:PCMA:PCMU:opus') Dialplan: verto.rtc/xxxxxxxxx65 Action limit_execute(db Demo_xxxxxxxxx30 gw_Demo_xxxxxxxxx30 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) 2016-03-03 08:01:53.030847 [DEBUG] switch_core_state_machine.c:216 (verto.rtc/xxxxxxxxx65) State Change CS_ROUTING -> CS_EXECUTE 2016-03-03 08:01:53.030847 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/xxxxxxxxx65) State ROUTING going to sleep 2016-03-03 08:01:53.030847 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx65) Running State Change CS_EXECUTE 2016-03-03 08:01:53.030847 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/xxxxxxxxx65) State EXECUTE 2016-03-03 08:01:53.030847 [DEBUG] mod_rtc.c:120 verto.rtc/xxxxxxxxx65 RTC EXECUTE 2016-03-03 08:01:53.030847 [DEBUG] switch_core_state_machine.c:258 verto.rtc/xxxxxxxxx65 Standard EXECUTE EXECUTE verto.rtc/xxxxxxxxx65 set(callstart=2016-03-03 06:01:53) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [callstart]=[2016-03-03 06:01:53] EXECUTE verto.rtc/xxxxxxxxx65 set(call_processed=internal) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [call_processed]=[internal] EXECUTE verto.rtc/xxxxxxxxx65 set(originated_destination_number=xxxxxxxxx65) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [originated_destination_number]=[xxxxxxxxx65] EXECUTE verto.rtc/xxxxxxxxx65 set(hangup_after_bridge=true) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [hangup_after_bridge]=[true] EXECUTE verto.rtc/xxxxxxxxx65 set(continue_on_fail=true) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [continue_on_fail]=[true] EXECUTE verto.rtc/xxxxxxxxx65 set(fax_enable_t38=true) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [fax_enable_t38]=[true] EXECUTE verto.rtc/xxxxxxxxx65 set(fax_enable_t38_request=true) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [fax_enable_t38_request]=[true] EXECUTE verto.rtc/xxxxxxxxx65 export(t38_passthru=true) 2016-03-03 08:01:53.030847 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE verto.rtc/xxxxxxxxx65 set(call_direction=outbound) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [call_direction]=[outbound] EXECUTE verto.rtc/xxxxxxxxx65 set(calltype=STANDARD) 2016-03-03 08:01:53.030847 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [calltype]=[STANDARD] EXECUTE verto.rtc/xxxxxxxxx65 sched_hangup(+1440 allotted_timeout) 2016-03-03 08:01:53.030847 [DEBUG] switch_scheduler.c:249 Added task 107 switch_ivr_schedule_hangup (e5e502f3-53ad-879e-bcf6-8e8ac38cbb98) to run at 1456986353 EXECUTE verto.rtc/xxxxxxxxx65 set(absolute_codec_string='^^G729:PCMA:PCMU:opus') 2016-03-03 08:01:53.050843 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [absolute_codec_string]=['^^G729:PCMA:PCMU:opus'] EXECUTE verto.rtc/xxxxxxxxx65 limit_execute(db Demo_xxxxxxxxx30 gw_Demo_xxxxxxxxx30 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) 2016-03-03 08:01:53.050843 [DEBUG] switch_limit.c:126 incr called: Demo_xxxxxxxxx30_gw_Demo_xxxxxxxxx30 max:4, interval:0 2016-03-03 08:01:53.050843 [DEBUG] mod_db.c:194 Usage for Demo_xxxxxxxxx30_gw_Demo_xxxxxxxxx30 is now 1/4 EXECUTE verto.rtc/xxxxxxxxx65 bridge({absolute_codec_string=^^G729:PCMA:PCMU:opus}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) 2016-03-03 08:01:53.050843 [DEBUG] switch_channel.c:1237 verto.rtc/xxxxxxxxx65 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-03 08:01:53.050843 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-03 08:01:53.050843 [NOTICE] switch_channel.c:1091 New Channel sofia/default/xxxxxxxxx65 [de7384fd-8cf3-4b25-ab09-6d029f6b3c28] 2016-03-03 08:01:53.050843 [DEBUG] mod_sofia.c:4765 (sofia/default/xxxxxxxxx65) State Change CS_NEW -> CS_INIT 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_INIT 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxxxx65) State INIT 2016-03-03 08:01:53.050843 [DEBUG] mod_sofia.c:88 sofia/default/xxxxxxxxx65 SOFIA INIT 2016-03-03 08:01:53.050843 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/xxxxxxxxx65 2016-03-03 08:01:53.050843 [DEBUG] sofia_glue.c:1257 sofia/default/xxxxxxxxx65 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1456966735 1456966736 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:40 sofia/default/xxxxxxxxx65 Standard INIT 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:48 (sofia/default/xxxxxxxxx65) State Change CS_INIT -> CS_ROUTING 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxxxx65) State INIT going to sleep 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_ROUTING 2016-03-03 08:01:53.050843 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxxxx65 entering state [calling][0] 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxxxx65) State ROUTING 2016-03-03 08:01:53.050843 [DEBUG] mod_sofia.c:141 sofia/default/xxxxxxxxx65 SOFIA ROUTING 2016-03-03 08:01:53.050843 [DEBUG] switch_ivr_originate.c:67 (sofia/default/xxxxxxxxx65) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxxxx65) State ROUTING going to sleep 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_CONSUME_MEDIA 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxxxx65) State CONSUME_MEDIA 2016-03-03 08:01:53.050843 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxxxx65) State CONSUME_MEDIA going to sleep 2016-03-03 08:01:53.070844 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxxxx65 entering state [terminated][400] 2016-03-03 08:01:53.070844 [NOTICE] sofia.c:7769 Hangup sofia/default/xxxxxxxxx65 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2016-03-03 08:01:53.070844 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_HANGUP 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:739 (sofia/default/xxxxxxxxx65) Callstate Change DOWN -> HANGUP 2016-03-03 08:01:53.070844 [INFO] mod_dptools.c:3379 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxxxx65) State HANGUP 2016-03-03 08:01:53.070844 [DEBUG] mod_sofia.c:431 Channel sofia/default/xxxxxxxxx65 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.070844 [INFO] mod_dptools.c:4602 immediately releasing 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:60 sofia/default/xxxxxxxxx65 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxxxx65) State HANGUP going to sleep 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:508 (sofia/default/xxxxxxxxx65) State Change CS_HANGUP -> CS_REPORTING 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_REPORTING 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxxxx65) State REPORTING EXECUTE verto.rtc/xxxxxxxxx65 set(effective_destination_number=xxxxxxxxx65) 2016-03-03 08:01:53.070844 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [effective_destination_number]=[xxxxxxxxx65] EXECUTE verto.rtc/xxxxxxxxx65 set(absolute_codec_string='^^G729:PCMA:PCMU:opus') 2016-03-03 08:01:53.070844 [DEBUG] mod_dptools.c:1498 SET verto.rtc/xxxxxxxxx65 [absolute_codec_string]=['^^G729:PCMA:PCMU:opus'] EXECUTE verto.rtc/xxxxxxxxx65 limit_execute(db Demo_xxxxxxxxx30 gw_Demo_xxxxxxxxx30 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) 2016-03-03 08:01:53.070844 [DEBUG] switch_limit.c:126 incr called: Demo_xxxxxxxxx30_gw_Demo_xxxxxxxxx30 max:4, interval:0 2016-03-03 08:01:53.070844 [DEBUG] mod_db.c:194 Usage for Demo_xxxxxxxxx30_gw_Demo_xxxxxxxxx30 is now 1/4 EXECUTE verto.rtc/xxxxxxxxx65 bridge({absolute_codec_string=^^G729:PCMA:PCMU:opus}sofia/gateway/Demo_xxxxxxxxx30/xxxxxxxxx65) 2016-03-03 08:01:53.070844 [DEBUG] switch_channel.c:1237 verto.rtc/xxxxxxxxx65 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-03 08:01:53.070844 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-03 08:01:53.070844 [NOTICE] switch_channel.c:1091 New Channel sofia/default/xxxxxxxxx65 [d197e1e0-daa2-45a0-88ac-a25c34802252] 2016-03-03 08:01:53.070844 [DEBUG] mod_sofia.c:4765 (sofia/default/xxxxxxxxx65) State Change CS_NEW -> CS_INIT 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_INIT 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxxxx65) State INIT 2016-03-03 08:01:53.070844 [DEBUG] mod_sofia.c:88 sofia/default/xxxxxxxxx65 SOFIA INIT 2016-03-03 08:01:53.070844 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/xxxxxxxxx65 2016-03-03 08:01:53.070844 [DEBUG] sofia_glue.c:1257 sofia/default/xxxxxxxxx65 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1456966619 1456966620 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:40 sofia/default/xxxxxxxxx65 Standard INIT 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:48 (sofia/default/xxxxxxxxx65) State Change CS_INIT -> CS_ROUTING 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxxxxxxx65) State INIT going to sleep 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_ROUTING 2016-03-03 08:01:53.070844 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxxxx65 entering state [calling][0] 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxxxx65) State ROUTING 2016-03-03 08:01:53.070844 [DEBUG] mod_sofia.c:141 sofia/default/xxxxxxxxx65 SOFIA ROUTING 2016-03-03 08:01:53.070844 [DEBUG] switch_ivr_originate.c:67 (sofia/default/xxxxxxxxx65) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:532 (sofia/default/xxxxxxxxx65) State ROUTING going to sleep 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_CONSUME_MEDIA 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxxxx65) State CONSUME_MEDIA 2016-03-03 08:01:53.070844 [DEBUG] switch_core_state_machine.c:551 (sofia/default/xxxxxxxxx65) State CONSUME_MEDIA going to sleep 2016-03-03 08:01:53.090844 [DEBUG] sofia.c:6750 Channel sofia/default/xxxxxxxxx65 entering state [terminated][400] 2016-03-03 08:01:53.090844 [NOTICE] sofia.c:7769 Hangup sofia/default/xxxxxxxxx65 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_HANGUP 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:739 (sofia/default/xxxxxxxxx65) Callstate Change DOWN -> HANGUP 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxxxx65) State HANGUP 2016-03-03 08:01:53.090844 [DEBUG] mod_sofia.c:431 Channel sofia/default/xxxxxxxxx65 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:60 sofia/default/xxxxxxxxx65 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:741 (sofia/default/xxxxxxxxx65) State HANGUP going to sleep 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:508 (sofia/default/xxxxxxxxx65) State Change CS_HANGUP -> CS_REPORTING 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxxxxxxx65) Running State Change CS_REPORTING 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxxxx65) State REPORTING 2016-03-03 08:01:53.090844 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2016-03-03 08:01:53.090844 [INFO] mod_dptools.c:3379 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.090844 [INFO] mod_dptools.c:4602 immediately releasing 2016-03-03 08:01:53.090844 [NOTICE] switch_core_state_machine.c:315 verto.rtc/xxxxxxxxx65 has executed the last dialplan instruction, hanging up. 2016-03-03 08:01:53.090844 [NOTICE] switch_core_state_machine.c:317 Hangup verto.rtc/xxxxxxxxx65 [CS_EXECUTE] [NORMAL_CLEARING] 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/xxxxxxxxx65) State EXECUTE going to sleep 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx65) Running State Change CS_HANGUP 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/xxxxxxxxx65) Callstate Change RINGING -> HANGUP 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/xxxxxxxxx65) State HANGUP 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:60 verto.rtc/xxxxxxxxx65 Standard HANGUP, cause: NORMAL_CLEARING 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/xxxxxxxxx65) State HANGUP going to sleep 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/xxxxxxxxx65) State Change CS_HANGUP -> CS_REPORTING 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/xxxxxxxxx65) Running State Change CS_REPORTING 2016-03-03 08:01:53.090844 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/xxxxxxxxx65) State REPORTING 2016-03-03 08:01:53.130881 [ALERT] mod_verto.c:604 WRITE x.x.x.47:45905 [{ "jsonrpc": "2.0", "id": 77, "method": "verto.bye", "params": { "callID": "e5e502f3-53ad-879e-bcf6-8e8ac38cbb98", "causeCode": 16, "cause": "NORMAL_CLEARING" } }] 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:104 sofia/default/xxxxxxxxx65 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxxxx65) State REPORTING going to sleep 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:499 (sofia/default/xxxxxxxxx65) State Change CS_REPORTING -> CS_DESTROY 2016-03-03 08:01:53.330850 [DEBUG] switch_core_session.c:1646 Session 224 (sofia/default/xxxxxxxxx65) Locked, Waiting on external entities 2016-03-03 08:01:53.330850 [NOTICE] switch_core_session.c:1664 Session 224 (sofia/default/xxxxxxxxx65) Ended 2016-03-03 08:01:53.330850 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/xxxxxxxxx65 [CS_DESTROY] 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:630 (sofia/default/xxxxxxxxx65) Running State Change CS_DESTROY 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxxxx65) State DESTROY 2016-03-03 08:01:53.330850 [DEBUG] mod_sofia.c:341 sofia/default/xxxxxxxxx65 SOFIA DESTROY 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:111 sofia/default/xxxxxxxxx65 Standard DESTROY 2016-03-03 08:01:53.330850 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxxxx65) State DESTROY going to sleep 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:104 sofia/default/xxxxxxxxx65 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:827 (sofia/default/xxxxxxxxx65) State REPORTING going to sleep 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:499 (sofia/default/xxxxxxxxx65) State Change CS_REPORTING -> CS_DESTROY 2016-03-03 08:01:53.350903 [DEBUG] switch_core_session.c:1646 Session 225 (sofia/default/xxxxxxxxx65) Locked, Waiting on external entities 2016-03-03 08:01:53.350903 [NOTICE] switch_core_session.c:1664 Session 225 (sofia/default/xxxxxxxxx65) Ended 2016-03-03 08:01:53.350903 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/xxxxxxxxx65 [CS_DESTROY] 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:630 (sofia/default/xxxxxxxxx65) Running State Change CS_DESTROY 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxxxx65) State DESTROY 2016-03-03 08:01:53.350903 [DEBUG] mod_sofia.c:341 sofia/default/xxxxxxxxx65 SOFIA DESTROY 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:111 sofia/default/xxxxxxxxx65 Standard DESTROY 2016-03-03 08:01:53.350903 [DEBUG] switch_core_state_machine.c:640 (sofia/default/xxxxxxxxx65) State DESTROY going to sleep 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:104 verto.rtc/xxxxxxxxx65 Standard REPORTING, cause: NORMAL_CLEARING 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/xxxxxxxxx65) State REPORTING going to sleep 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/xxxxxxxxx65) State Change CS_REPORTING -> CS_DESTROY 2016-03-03 08:01:53.370882 [DEBUG] switch_core_session.c:1646 Session 223 (verto.rtc/xxxxxxxxx65) Locked, Waiting on external entities 2016-03-03 08:01:53.370882 [NOTICE] switch_core_session.c:1664 Session 223 (verto.rtc/xxxxxxxxx65) Ended 2016-03-03 08:01:53.370882 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/xxxxxxxxx65 [CS_DESTROY] 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:630 (verto.rtc/xxxxxxxxx65) Running State Change CS_DESTROY 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/xxxxxxxxx65) State DESTROY 2016-03-03 08:01:53.370882 [DEBUG] mod_rtc.c:132 verto.rtc/xxxxxxxxx65 RTC DESTROY 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:111 verto.rtc/xxxxxxxxx65 Standard DESTROY 2016-03-03 08:01:53.370882 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/xxxxxxxxx65) State DESTROY going to sleep 2016-03-03 08:01:53.490915 [ALERT] mod_verto.c:1365 READ x.x.x.47:45905 [{ "jsonrpc": "2.0", "method": "verto.bye", "params": { "dialogParams": { "useVideo": false, "useStereo": true, "screenShare": false, "useCamera": "any", "useMic": "any", "useSpeak": "any", "tag": "webcam", "localTag": null, "login": "789789 at x.x.x.91", "videoParams": { "minWidth": "1280", "minHeight": "720", "minFrameRate": 30 }, "destination_number": "xxxxxxxxx65", "caller_id_name": "xxxxxxxxx30", "caller_id_number": "xxxxxxxxx30", "callID": "e5e502f3-53ad-879e-bcf6-8e8ac38cbb98", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "xxxxxxxxx65" }, "sessid": "9b3c8df0-00fc-9860-b7b6-60186ddd5071" }, "id": 57 }] 2016-03-03 08:01:53.490915 [ALERT] mod_verto.c:604 WRITE x.x.x.47:45905 [{ "jsonrpc": "2.0", "id": 57, "error": { "callID": "e5e502f3-53ad-879e-bcf6-8e8ac38cbb98", "message": "CALL DOES NOT EXIST", "code": -32002 } }] 2016-03-03 08:01:53.510839 [ALERT] mod_verto.c:1365 READ x.x.x.47:45905 [{ "jsonrpc": "2.0", "id": 77, "result": { "method": "verto.bye" } }] 2016-03-03 08:01:53.550886 [DEBUG] switch_scheduler.c:144 Deleting task 107 switch_ivr_schedule_hangup (e5e502f3-53ad-879e-bcf6-8e8ac38cbb98) From shlomis at liveperson.com Thu Mar 3 11:25:05 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Thu, 3 Mar 2016 10:25:05 +0200 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: Sure, I'll do that - for now I'm in the signaling phase. Is there a place where I can find more information, like error codes and method invocation flow? On Wed, Mar 2, 2016 at 1:22 AM, Michael Jerris wrote: > If you get this working, I'd love to have that open sourced if at all > possible. We have been wanting to work on it so it will get done > eventually but if you get it sorted out first it would be a big help. > > On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz > wrote: > > super, thanks > > On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz > wrote: > >> Hi all, >> >> Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any >> documentation regarding the dialogParams on verto.invite method? >> >> The only documentation I found was : >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >> >> Thanks :) >> >> -- >> Shlomi Schwartz >> R&D Technical Leader >> T: +972-74-700-4511 >> >> We Create Meaningful Connections >> >> >> > > > > -- > Shlomi Schwartz > R&D Technical Leader > T: +972-74-700-4511 > > We Create Meaningful Connections > > > > This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this on behalf of > the addressee you must not use, copy, disclose or take action based on this > message or any information herein. > If you have received this message in error, please advise the sender > immediately by reply email and delete this message. Thank you. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 We Create Meaningful Connections -- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/e0c4d920/attachment.html From telishisheer at gmail.com Thu Mar 3 13:26:13 2016 From: telishisheer at gmail.com (Shisheer Teli) Date: Thu, 3 Mar 2016 15:56:13 +0530 Subject: [Freeswitch-users] Not able to register single extension from any client Message-ID: Dear Team, I configured FreeSWITCH on a linux server. Initially, I configured extension 6219 on FreeSWITCH and its working fine. but from last few days, i am not able to register 6219 extension from any client. i tried with xlite , zoiper but its not working. i changed client machine too. All credential for 6219 is correct but still its not working. -- Regards, Shisheer T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/a2d6498f/attachment-0001.html From john.nash778 at gmail.com Thu Mar 3 13:47:32 2016 From: john.nash778 at gmail.com (John Nash) Date: Thu, 3 Mar 2016 16:17:32 +0530 Subject: [Freeswitch-users] XML CDR resend curl command Message-ID: When using XML CDR to resubmit XML CDR I have a shell script which resends XML CDR from error directory again to the web server (As per doc https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_cdr) In this script following curl command is doing the trick for CDR in $(find $CDRDIR -name "*.cdr.xml"); do echo "Resubmitting $(basename $CDR .cdr.xml)..." echo -n 'cdr='$(cat $CDR) | \ curl -sS -X POST -f --$AUTH_SCHEME -u $CRED -d @- $URL >/dev/null \ && echo "OK, removing CDR file" \ && rm -f $CDR done My question is how to handle the case when even this submission fails because of any reason?..I want to skip the remove file step in case again some error happens with web server, How can I do that? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/ff3e1d22/attachment.html From italo at freeswitch.org Thu Mar 3 15:42:15 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 3 Mar 2016 09:42:15 -0300 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Have you tried setting media_mix_inbound_outbound_codec=true ? On Thu, Mar 3, 2016 at 4:09 AM, bhavik patel wrote: > Hi All, > > I have Freeswitch-1.6.5 running on Debian-8.2. > > I want to use mod_verto for webrtc and followed steps mentioned at > https://freeswitch.org/confluence/display/FREESWITCH/mod_verto. > But calls are not working. > > Outbound call fails with NORMAL_TEMPORARY_FAILURE. > > When make inbound call it rings at destination and drops as soon as it > answer. > > Here i am attaching logs for both type of calls. > > Let me know if you require anything else from my end. > > > > Thanks > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/20a0cd3c/attachment.html From mandra at gmail.com Thu Mar 3 16:07:39 2016 From: mandra at gmail.com (Chris Mandra) Date: Thu, 3 Mar 2016 08:07:39 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: Does that make anything come to mind? On Wednesday, March 2, 2016, Chris Mandra wrote: > 1.6 > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice > wrote: > >> What version of FreeSWITCH are you building this against? >> >> >> >> >> >> >> >> >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org >> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org >> ] >> *On Behalf Of *Chris Mandra >> *Sent:* Wednesday, March 2, 2016 10:37 AM >> *To:* FreeSWITCH Users Help > > >> *Subject:* [Freeswitch-users] module question >> >> >> >> I unload, wipe the file reload and it says it's reloaded >> This makes no sense >> On Wednesday, March 2, 2016, Nathan Neulinger wrote: >> >> I think he said earlier that if he shuts down completely, it works fine, >> but he's wanting to be able to reload on the >> fly to test new changes. >> >> -- Nathan >> >> On 03/02/2016 08:59 AM, Ken Rice wrote: >> > Have you completely shut FreeSwitch down? There is a chance when you >> unload a module, that module doesn?t actually >> > unload, its still loaded, just deactivated. You can easily verify this >> by making sure the .so for the module is gone, >> > and restarting FreeSWITCH completely. >> > >> > *From:*freeswitch-users-bounces at lists.freeswitch.org >> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org >> ] >> *On Behalf >> > Of *Chris Mandra >> > *Sent:* Wednesday, March 2, 2016 8:30 AM >> > *To:* FreeSWITCH Users Help > > >> > *Subject:* Re: [Freeswitch-users] module question >> > >> > No, not chroot'd. I'm compiling a bunch of my own classes, could be my >> makefile? >> > >> > On Wednesday, March 2, 2016, Nathan Neulinger > > >> >> wrote: >> > >> > Is there any chance you are running freeswitch chroot'd? >> > >> > On 03/02/2016 06:14 AM, Chris Mandra wrote: >> > > Thank you for writing Stephen, I've already tried that, and >> that's how I know it's reporting what it's reporting >> > and how >> > > it doesn't make any sense. >> > > >> > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >> > > >> > > however that file doesn?t even exist >> > > >> > > and yet it still says it?s loading it >> > > >> > > how is that possible? >> > > >> > > >> > > On Wednesday, March 2, 2016, Steven Ayre > > > >> > > >> >> wrote: >> > > >> > > When the file is loaded use find FreeSWITCH's PID and then >> use the 'lsof -p $PID | grep mod_' command... >> > it'll show >> > > you a list of the modules FreeSWITCH currently has loaded. >> See if it's loading from a different path that way. >> > > >> > > On 2 March 2016 at 02:52, Chris Mandra > > > >> > > ');>> >> wrote: >> > > >> > > Any other ideas? >> > > >> > > >> > > On Tuesday, March 1, 2016, Chris Mandra > > > >> > > ');>> >> wrote: >> > > >> > > Thanks for your responses so far guys. Italo, its >> only built from source so I don't think that's the >> > issue. >> > > This is baffling. I've tried it in more one machine, >> same result. >> > > >> > > On Tuesday, March 1, 2016, Chris Mandra > > >> >> wrote: >> > > >> > > So, FS is reporting >> > > >> > > reporting this: >> /usr/local/freeswitch/mod/mod_test_dsp.so >> > > >> > > however that file doesn?t even exist >> > > >> > > and yet it still says it?s loading it >> > > >> > > how is that possible? >> > > >> > > >> > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan >> Neulinger > >> >> wrote: >> > > >> > > >> > > >> > > On 03/01/2016 09:41 AM, Chris Mandra wrote: >> > > > thanks for the reply Nathan - this is >> really weird: >> > > > >> > > > after i remove the .so files (and make >> sure they're gone from my disk) it still reports it >> > successfully reloads >> > > > >> > > >> > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and >> look for the path to the .so file that it >> > loaded. It's >> > > likely pulling it in >> > > from a different location. >> > > >> > > Or 'strace -v -f -s 500 -o /tmp/trc -p >> PID_OF_FREESWITCH', then issue the reload, then kill the >> > > strace and look for what >> > > file/path it searched/etc. >> > > >> > > -- Nathan >> > > >> > > >> ------------------------------------------------------------ >> > > Nathan Neulinger nneul at mst.edu >> >> > > Missouri S&T Information Technology (573) >> 612-1412 > >> > > System Administrator - Architect >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> >> >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> >> >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> > > >> > > >> > > >> > > >> > > -- >> > > mandra >> > > c:410.258.5281 > >> > > >> > > >> > > >> > > -- >> > > mandra >> > > c:410.258.5281 > >> > > >> > > >> > > >> > > -- >> > > mandra >> > > c:410.258.5281 > >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> >> > >> ');> >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> >> >> > > >> ');> >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> > > >> > > >> > > >> > > >> > > -- >> > > mandra >> > > c:410.258.5281 >> > > >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> >> >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> >> >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> > > >> > >> > -- >> > ------------------------------------------------------------ >> > Nathan Neulinger nneul at mst.edu >> >> > Missouri S&T Information Technology (573) 612-1412 >> > System Administrator - Architect >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> >> >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> >> -- >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> >> Missouri S&T Information Technology (573) 612-1412 >> System Administrator - Architect >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> mandra >> c:410.258.5281 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/8ffea828/attachment-0001.html From italo at freeswitch.org Thu Mar 3 16:08:17 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 3 Mar 2016 10:08:17 -0300 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: We can't help you without logs and more setup details. Try to get a siptrace and paste it on pastebin.freeswitch.org Open fs_cli and type: sofia global siptrace on Try to register, look for the output in your terminal, paste it on pastebin and send us the link. On Thu, Mar 3, 2016 at 7:26 AM, Shisheer Teli wrote: > Dear Team, > > I configured FreeSWITCH on a linux server. > > Initially, I configured extension 6219 on FreeSWITCH and its working fine. > > but from last few days, i am not able to register 6219 extension from any > client. > > i tried with xlite , zoiper but its not working. i changed client machine > too. > > All credential for 6219 is correct but still its not working. > > -- > Regards, > Shisheer T > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/39b53351/attachment.html From bhavikpatel14388 at gmail.com Thu Mar 3 16:29:01 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Thu, 3 Mar 2016 18:59:01 +0530 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Thanks for the reply. I tried not this params and getting *Originate Failed. Cause: INCOMPATIBLE_DESTINATION.* Any other Clue. On Thu, Mar 3, 2016 at 6:12 PM, ?talo Rossi wrote: > Have you tried setting media_mix_inbound_outbound_codec=true ? > > On Thu, Mar 3, 2016 at 4:09 AM, bhavik patel > wrote: > >> Hi All, >> >> I have Freeswitch-1.6.5 running on Debian-8.2. >> >> I want to use mod_verto for webrtc and followed steps mentioned at >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto. >> But calls are not working. >> >> Outbound call fails with NORMAL_TEMPORARY_FAILURE. >> >> When make inbound call it rings at destination and drops as soon as it >> answer. >> >> Here i am attaching logs for both type of calls. >> >> Let me know if you require anything else from my end. >> >> >> >> Thanks >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/bda8d734/attachment.html From shlomis at liveperson.com Thu Mar 3 16:36:23 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Thu, 3 Mar 2016 15:36:23 +0200 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: While developing the MOD_VERTO on IOS, I was able to get remote stream back from my chrome browser. However this video stream appears black (I do here audio, from my PC on my iPhone). So I went over to https://webrtc.freeswitch.org/verto/index.html#page-main (CHrome - Version 48.0.2564.116 (64-bit)) and unfortunatly the demo page have similar issues: The local video is frozen, and on the remote side the video is black. I'm not sure where to start, if anyone can point me to the right direction that would be great :) On Thu, Mar 3, 2016 at 10:25 AM, Shlomi Schwartz wrote: > Sure, I'll do that - for now I'm in the signaling phase. Is there a place > where I can find more information, like error codes and method invocation > flow? > > On Wed, Mar 2, 2016 at 1:22 AM, Michael Jerris wrote: > >> If you get this working, I'd love to have that open sourced if at all >> possible. We have been wanting to work on it so it will get done >> eventually but if you get it sorted out first it would be a big help. >> >> On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz >> wrote: >> >> super, thanks >> >> On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz >> wrote: >> >>> Hi all, >>> >>> Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any >>> documentation regarding the dialogParams on verto.invite method? >>> >>> The only documentation I found was : >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >>> >>> Thanks :) >>> >>> -- >>> Shlomi Schwartz >>> R&D Technical Leader >>> T: +972-74-700-4511 >>> >>> We Create Meaningful Connections >>> >>> >>> >> >> >> >> -- >> Shlomi Schwartz >> R&D Technical Leader >> T: +972-74-700-4511 >> >> We Create Meaningful Connections >> >> >> >> This message may contain confidential and/or privileged information. >> If you are not the addressee or authorized to receive this on behalf of >> the addressee you must not use, copy, disclose or take action based on this >> message or any information herein. >> If you have received this message in error, please advise the sender >> immediately by reply email and delete this message. Thank you. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Shlomi Schwartz > R&D Technical Leader > T: +972-74-700-4511 > > We Create Meaningful Connections > > > -- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 We Create Meaningful Connections -- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/d19dbada/attachment-0001.html From william at williamcollsassoc.ca Thu Mar 3 16:44:34 2016 From: william at williamcollsassoc.ca (William Colls) Date: Thu, 3 Mar 2016 08:44:34 -0500 Subject: [Freeswitch-users] Beginners Question - Bridge vs. Transfer Message-ID: <56D83FC2.40704@williamcollsassoc.ca> Where might I find guidance on the difference between these two and best practice for using each? Thanks for your time. William. From bote_radio at botecomm.com Thu Mar 3 17:12:12 2016 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 3 Mar 2016 09:12:12 -0500 Subject: [Freeswitch-users] Beginners Question - Bridge vs. Transfer In-Reply-To: <56D83FC2.40704@williamcollsassoc.ca> References: <56D83FC2.40704@williamcollsassoc.ca> Message-ID: <022201d17556$aee5d470$0cb17d50$@botecomm.com> A good start: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+transfer In a typicall call scenario bridge connects the inbound leg A to on outbound leg B. Transfer can select a new context (think: class of service) and make another pass through the associated dialplan. That's a very simplified explanation, but it gets to the core difference. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: William Colls > Sent: Thursday, 03 March, 2016 08:45 > Subject: [Freeswitch-users] Beginners Question - Bridge vs. Transfer > > > Where might I find guidance on the difference between these two and best > practice for using each? > > Thanks for your time. > > William. > From dujinfang at gmail.com Thu Mar 3 17:40:28 2016 From: dujinfang at gmail.com (Seven Du) Date: Thu, 3 Mar 2016 22:40:28 +0800 Subject: [Freeswitch-users] H264 Encoding Error In-Reply-To: <22E57449-0364-456A-813C-B28D4F568210@163.com> References: <1B119B37-56FC-4A1E-809A-4622F460EC73@163.com> <7E9D3075-57DB-44CD-8887-EDB862858C5B@163.com> <22E57449-0364-456A-813C-B28D4F568210@163.com> Message-ID: yes, the encoder err is caused by libx264 API change, old x264 version works but I?m not sure the exact version that breaks it. we are working on find out what changed and trying to fix that. hints and patches are welcome. If there?s not yet an open jira on this subject, please make one and assign to me. and we also working on get ffmpeg 2.6/2.8/3.0 working, there?s a jira assigned to me but I cannot access jira so cannot put the link here atm. let me know if anyone has any patch I?d like to review. On Thursday, March 3, 2016 at 10:28 AM, ??? wrote: > This issue is because the client does not send keyframe to FS > > > > > > ? 2016?3?2????10:06???? ??? > > I found the issue is because of the incorrect version of x264. > > > > I use x264-snapshot-20150625-0011-stable , then the issue disappears. > > but now libav report another log: > > non-existing PPS 0 referenced > > decode_slice_header error > > non-existing PPS 0 referenced > > decode_slice_header error > > non-existing PPS 0 referenced > > decode_slice_header error > > no frame! > > > > > > How can I know the exact version of x264 and libav for FreeSWITH 1.6.4 > > > > > > > ? 2016?3?2????12:23???? ??? > > > sorry, my mistake. my operation system is CentOS 7.1.1503 > > > > ? 2016?3?2????12:13?Brian West ??? > > > > You've lost me at "My box is CentOS6.5" > > > > > > > > On Tue, Mar 1, 2016 at 3:11 AM, ??? wrote: > > > > > Hi All: > > > > > > > > > > My box is CentOS6.5, and FS is 1.6.4 > > > > > > > > > > When I use H264 as the video codec. > > > > > FS report encoding fail as below. > > > > > [ERR] avcodec.c:1117 Encoding Error -1 > > > > > and x264 report > > > > > lookahead thread is already stopped > > > > > > > > > > I checked the source code, I found that > > > > > when switch_h264_encode encode is invoked first time, it results that context->got_encoded_output is set to 1. > > > > > and after that, if switch_h264_encode is invoked again, it will check context->got_encoded_output , and then pass null frame to avcodec_encode_video2 which will stop the lookahead thread because of the null frame. > > > > > switch_h264_encode: > > > > > if (*got_output) { // Could be more delayed frames > > > > > ret = avcodec_encode_video2(avctx, pkt, NULL, got_output); > > > > > > > > > > > > > > > Is it a bug of mod_av or how can i solve the problem? > > > > > > > > > > Thanks a lot > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > http://www.freeswitchsolutions.com (http://www.freeswitchsolutions.com/) > > > > > > > > > > Official FreeSWITCH Sites > > > > > http://www.freeswitch.org (http://www.freeswitch.org/) > > > > > http://confluence.freeswitch.org (http://confluence.freeswitch.org/) > > > > > http://www.cluecon.com (http://www.cluecon.com/) > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto: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 (http://www.freeswitch.org/) > > > > > > > > > > > > > > > > -- > > > > Brian West > > > > brian at freeswitch.org (mailto:brian at freeswitch.org) > > > > > > > > Twitter: @FreeSWITCH , @briankwest > > > > http://www.freeswitchbook.com (http://www.freeswitchbook.com/) > > > > http://www.freeswitchcookbook.com (http://www.freeswitchcookbook.com/) > > > > Got Bugs? Report them here (https://freeswitch.org/jira)! | Reddit: /r/freeswitch (https://www.reddit.com/r/freeswitch) > > > > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > > > > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > http://www.freeswitchsolutions.com (http://www.freeswitchsolutions.com/) > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org (mailto: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 > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org (mailto: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 > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org (mailto: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 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org) > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/a3cbf13b/attachment-0001.html From rick.jarvis at magicmail.mooo.com Thu Mar 3 18:02:44 2016 From: rick.jarvis at magicmail.mooo.com (Rick Jarvis) Date: Thu, 3 Mar 2016 15:02:44 +0000 Subject: [Freeswitch-users] mod_skypopen - prereqs for Jessie? Message-ID: <13A2C6B4-B419-43E5-814B-8D9C6C2CAB4E@magicmail.mooo.com> Following this: https://freeswitch.org/confluence/display/FREESWITCH/mod_skypopen Getting errors such as: E: Package 'gcc-4.7-base:i386' has no installation candidate E: Unable to locate package libavcodec53 E: Unable to locate package libavutil51 Can anyone tell me how to install the prereqs on Jessie? Or am I missing a repo or something? deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.uk.debian.org/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib deb-src http://security.debian.org/ jessie/updates main contrib deb http://files.freeswitch.org/repo/deb/debian/ jessie main -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/b805bc89/attachment.html From jaceksburghardt at gmail.com Thu Mar 3 16:11:23 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Thu, 3 Mar 2016 06:11:23 -0700 Subject: [Freeswitch-users] freeswwitch database Message-ID: How do I use freeswitch with fusionpbx and mysql ? I get this error switch_odbc.c:368 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified Freeswitch log show cant logon to datbase with user name and password. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/3bdfcd9c/attachment.html From luis.daniel.lucio at gmail.com Thu Mar 3 18:47:52 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Thu, 3 Mar 2016 10:47:52 -0500 Subject: [Freeswitch-users] freeswwitch database In-Reply-To: References: Message-ID: I will send you an offline text Le 3 mars 2016 10:47 AM, "jacek burghardt" a ?crit : > How do I use freeswitch with fusionpbx and mysql ? I get this > error switch_odbc.c:368 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver > Manager]Data source name not found, and no default driver specified > > Freeswitch log show cant logon to datbase with user name and password. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/63b69d38/attachment.html From krice at freeswitch.org Thu Mar 3 19:23:20 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 3 Mar 2016 10:23:20 -0600 Subject: [Freeswitch-users] freeswwitch database In-Reply-To: References: Message-ID: <023901d17569$00b65420$0222fc60$@freeswitch.org> This just means you don?t have unixODBC DSNs setup? see setting up odbc.ini to define your DSNs I believe with fusionpbx they have install scripts that handle this stuff for you From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of jacek burghardt Sent: Thursday, March 3, 2016 7:11 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] freeswwitch database How do I use freeswitch with fusionpbx and mysql ? I get this error switch_odbc.c:368 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified Freeswitch log show cant logon to datbase with user name and password. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/dd4f7af2/attachment.html From s.safarov at gmail.com Thu Mar 3 19:38:31 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 03 Mar 2016 16:38:31 +0000 Subject: [Freeswitch-users] XML CDR resend curl command In-Reply-To: References: Message-ID: You can check curl exitcode. If not zero, then do not delete file On Thu, Mar 3, 2016, 13:48 John Nash wrote: > When using XML CDR to resubmit XML CDR I have a shell script which resends > XML CDR from error directory again to the web server (As per doc > https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_cdr) > > In this script following curl command is doing the trick > > for CDR in $(find $CDRDIR -name "*.cdr.xml"); do > echo "Resubmitting $(basename $CDR .cdr.xml)..." > echo -n 'cdr='$(cat $CDR) | \ > curl -sS -X POST -f --$AUTH_SCHEME -u $CRED -d @- $URL >/dev/null \ > && echo "OK, removing CDR file" \ > && rm -f $CDR > done > > > My question is how to handle the case when even this submission fails > because of any reason?..I want to skip the remove file step in case again > some error happens with web server, How can I do that? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/24cc2260/attachment-0001.html From govoiper at gmail.com Thu Mar 3 21:52:44 2016 From: govoiper at gmail.com (SamyGo) Date: Thu, 3 Mar 2016 13:52:44 -0500 Subject: [Freeswitch-users] FreeSwitch AMQP Question Message-ID: Hi All, I am experimenting with mod_amqp , I've a RabbitMQ server deployed. What I'm trying to find out is if N number of FreeSwitch Servers are connected to the same virtualhost to send and receive events and all FreeSwitch servers are connected to same backend Database. In that particular situation if one server sends an Update status of a SIP endpoint to the MessageBus and rest of the FS receives them, will they also consider that SIP endpoint as Busy/On-Call ? Another example could be change in call_centre agent state change. If one FS sends an event stating the agent is busy, will rest of the FS servers honour this and not assign calls to the agent until a free event is received !! Thanks, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/af112b21/attachment.html From steveayre at gmail.com Fri Mar 4 00:11:39 2016 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 3 Mar 2016 21:11:39 +0000 Subject: [Freeswitch-users] XML CDR resend curl command In-Reply-To: References: Message-ID: Which this script already does - the && means the rm is only executed if the curl command had no error. On 3 March 2016 at 16:38, Sergey Safarov wrote: > You can check curl exitcode. If not zero, then do not delete file > > On Thu, Mar 3, 2016, 13:48 John Nash wrote: > >> When using XML CDR to resubmit XML CDR I have a shell script which >> resends XML CDR from error directory again to the web server (As per doc >> https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_cdr) >> >> In this script following curl command is doing the trick >> >> for CDR in $(find $CDRDIR -name "*.cdr.xml"); do >> echo "Resubmitting $(basename $CDR .cdr.xml)..." >> echo -n 'cdr='$(cat $CDR) | \ >> curl -sS -X POST -f --$AUTH_SCHEME -u $CRED -d @- $URL >/dev/null \ >> && echo "OK, removing CDR file" \ >> && rm -f $CDR >> done >> >> >> My question is how to handle the case when even this submission fails >> because of any reason?..I want to skip the remove file step in case again >> some error happens with web server, How can I do that? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/bb6fd040/attachment.html From jaceksburghardt at gmail.com Fri Mar 4 00:16:51 2016 From: jaceksburghardt at gmail.com (jacek burghardt) Date: Thu, 3 Mar 2016 14:16:51 -0700 Subject: [Freeswitch-users] freeswwitch database In-Reply-To: <023901d17569$00b65420$0222fc60$@freeswitch.org> References: <023901d17569$00b65420$0222fc60$@freeswitch.org> Message-ID: I narrowed the issue the freeswitch configuration files had wrong password in them. How I figure out why gateway does not start ? I added gateway in fusionpbx and status is listed as stopped -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160303/20b5b673/attachment.html From telishisheer at gmail.com Fri Mar 4 09:38:33 2016 From: telishisheer at gmail.com (Shisheer Teli) Date: Fri, 4 Mar 2016 12:08:33 +0530 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: Dear Rossi, Thank for your reply.. Kindly find the attached log file. my other extensions are working fine but this single extension is not working. On Thu, Mar 3, 2016 at 6:38 PM, ?talo Rossi wrote: > We can't help you without logs and more setup details. > > Try to get a siptrace and paste it on pastebin.freeswitch.org > > Open fs_cli and type: sofia global siptrace on > > Try to register, look for the output in your terminal, paste it on > pastebin and send us the link. > > On Thu, Mar 3, 2016 at 7:26 AM, Shisheer Teli > wrote: > >> Dear Team, >> >> I configured FreeSWITCH on a linux server. >> >> Initially, I configured extension 6219 on FreeSWITCH and its working fine. >> >> but from last few days, i am not able to register 6219 extension from any >> client. >> >> i tried with xlite , zoiper but its not working. i changed client machine >> too. >> >> All credential for 6219 is correct but still its not working. >> >> -- >> Regards, >> Shisheer T >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Shisheer T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/3bb19762/attachment-0001.html -------------- next part -------------- freeswitch at voip> recv 535 bytes from udp/[client-IP]]:50208 at 10:54:42.236167: ------------------------------------------------------------------------ REGISTER sip:[server-IP] SIP/2.0 Via: SIP/2.0/UDP client-IP]:50208;branch=z9hG4bK-524287-1---ccc29d0189d78c75;rport Max-Forwards: 70 Contact: To: From: ;tag=83c9a75e Call-ID: 79048NzQ2YmMwZTEyYjA2MWM5Y2E0ZTgwNzM4YTMzMjg5MzQ CSeq: 1 REGISTER Expires: 3600 Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE, OPTIONS User-Agent: X-Lite release 4.9.2 stamp 79048 Content-Length: 0 ------------------------------------------------------------------------ send 642 bytes to udp/[client-IP]]:50208 at 10:54:42.236870: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP client-IP]:50208;branch=z9hG4bK-524287-1---ccc29d0189d78c75;rport=50208 From: ;tag=83c9a75e To: ;tag=Qc8cXpySm6j6F Call-ID: 79048NzQ2YmMwZTEyYjA2MWM5Y2E0ZTgwNzM4YTMzMjg5MzQ CSeq: 1 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.6.5+git~20151120T205750Z~70b8c17763~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces WWW-Authenticate: Digest realm="[server-IP]", nonce="661a9cb4-e1c9-11e5-b4ff-032d1fb17ba1", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 792 bytes from udp/[client-IP]]:50208 at 10:54:42.244841: ------------------------------------------------------------------------ REGISTER sip:[server-IP] SIP/2.0 Via: SIP/2.0/UDP client-IP]:50208;branch=z9hG4bK-524287-1---583c5f02d4cdab70;rport Max-Forwards: 70 Contact: To: From: ;tag=83c9a75e Call-ID: 79048NzQ2YmMwZTEyYjA2MWM5Y2E0ZTgwNzM4YTMzMjg5MzQ CSeq: 2 REGISTER Expires: 3600 Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE, OPTIONS User-Agent: X-Lite release 4.9.2 stamp 79048 Authorization: Digest username="5519",realm="[server-IP]",nonce="661a9cb4-e1c9-11e5-b4ff-032d1fb17ba1",uri="sip:[server-IP]",response="5080778be7af102e08e9d1e161944e34",cnonce="6935d825ba40e4863816452de3b084b3",nc=00000001,qop=auth,algorithm=MD5 Content-Length: 0 ------------------------------------------------------------------------ send 515 bytes to udp/[client-IP]]:50208 at 10:54:42.245907: ------------------------------------------------------------------------ SIP/2.0 403 Forbidden Via: SIP/2.0/UDP client-IP]:50208;branch=z9hG4bK-524287-1---583c5f02d4cdab70;rport=50208 From: ;tag=83c9a75e To: ;tag=rN15yHFXHF9rB Call-ID: 79048NzQ2YmMwZTEyYjA2MWM5Y2E0ZTgwNzM4YTMzMjg5MzQ CSeq: 2 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.6.5+git~20151120T205750Z~70b8c17763~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ From mandra at gmail.com Fri Mar 4 16:17:40 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 08:17:40 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: So here's another wrinkle. I've removed my module from the system, recreated it fresh with a new filename (and internal names where apropos) and it's reloading is working properly now. Same code. How is this possible? Thanks, Chris On Thursday, March 3, 2016, Chris Mandra wrote: > Does that make anything come to mind? > > On Wednesday, March 2, 2016, Chris Mandra > wrote: > >> 1.6 >> >> On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice wrote: >> >>> What version of FreeSWITCH are you building this against? >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris >>> Mandra >>> *Sent:* Wednesday, March 2, 2016 10:37 AM >>> *To:* FreeSWITCH Users Help >>> *Subject:* [Freeswitch-users] module question >>> >>> >>> >>> I unload, wipe the file reload and it says it's reloaded >>> This makes no sense >>> On Wednesday, March 2, 2016, Nathan Neulinger wrote: >>> >>> I think he said earlier that if he shuts down completely, it works fine, >>> but he's wanting to be able to reload on the >>> fly to test new changes. >>> >>> -- Nathan >>> >>> On 03/02/2016 08:59 AM, Ken Rice wrote: >>> > Have you completely shut FreeSwitch down? There is a chance when you >>> unload a module, that module doesn?t actually >>> > unload, its still loaded, just deactivated. You can easily verify this >>> by making sure the .so for the module is gone, >>> > and restarting FreeSWITCH completely. >>> > >>> > *From:*freeswitch-users-bounces at lists.freeswitch.org [ >>> mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf >>> > Of *Chris Mandra >>> > *Sent:* Wednesday, March 2, 2016 8:30 AM >>> > *To:* FreeSWITCH Users Help >>> > *Subject:* Re: [Freeswitch-users] module question >>> > >>> > No, not chroot'd. I'm compiling a bunch of my own classes, could be my >>> makefile? >>> > >>> > On Wednesday, March 2, 2016, Nathan Neulinger >> > wrote: >>> > >>> > Is there any chance you are running freeswitch chroot'd? >>> > >>> > On 03/02/2016 06:14 AM, Chris Mandra wrote: >>> > > Thank you for writing Stephen, I've already tried that, and >>> that's how I know it's reporting what it's reporting >>> > and how >>> > > it doesn't make any sense. >>> > > >>> > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >>> > > >>> > > however that file doesn?t even exist >>> > > >>> > > and yet it still says it?s loading it >>> > > >>> > > how is that possible? >>> > > >>> > > >>> > > On Wednesday, March 2, 2016, Steven Ayre >> >> > >> wrote: >>> > > >>> > > When the file is loaded use find FreeSWITCH's PID and then >>> use the 'lsof -p $PID | grep mod_' command... >>> > it'll show >>> > > you a list of the modules FreeSWITCH currently has loaded. >>> See if it's loading from a different path that way. >>> > > >>> > > On 2 March 2016 at 02:52, Chris Mandra >> >>> > >> ');>> wrote: >>> > > >>> > > Any other ideas? >>> > > >>> > > >>> > > On Tuesday, March 1, 2016, Chris Mandra >> >>> > >> ');>> wrote: >>> > > >>> > > Thanks for your responses so far guys. Italo, its >>> only built from source so I don't think that's the >>> > issue. >>> > > This is baffling. I've tried it in more one >>> machine, same result. >>> > > >>> > > On Tuesday, March 1, 2016, Chris Mandra >> > wrote: >>> > > >>> > > So, FS is reporting >>> > > >>> > > reporting this: >>> /usr/local/freeswitch/mod/mod_test_dsp.so >>> > > >>> > > however that file doesn?t even exist >>> > > >>> > > and yet it still says it?s loading it >>> > > >>> > > how is that possible? >>> > > >>> > > >>> > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan >>> Neulinger > wrote: >>> > > >>> > > >>> > > >>> > > On 03/01/2016 09:41 AM, Chris Mandra wrote: >>> > > > thanks for the reply Nathan - this is >>> really weird: >>> > > > >>> > > > after i remove the .so files (and make >>> sure they're gone from my disk) it still reports it >>> > successfully reloads >>> > > > >>> > > >>> > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' >>> and look for the path to the .so file that it >>> > loaded. It's >>> > > likely pulling it in >>> > > from a different location. >>> > > >>> > > Or 'strace -v -f -s 500 -o /tmp/trc -p >>> PID_OF_FREESWITCH', then issue the reload, then kill the >>> > > strace and look for what >>> > > file/path it searched/etc. >>> > > >>> > > -- Nathan >>> > > >>> > > >>> ------------------------------------------------------------ >>> > > Nathan Neulinger nneul at mst.edu >>> >>> > > Missouri S&T Information Technology (573) >>> 612-1412 > >>> > > System Administrator - Architect >>> > > >>> > > >>> _________________________________________________________________________ >>> > > Professional FreeSWITCH Consulting Services: >>> > > consulting at freeswitch.org >>> > > http://www.freeswitchsolutions.com >>> > > >>> > > Official FreeSWITCH Sites >>> > > http://www.freeswitch.org >>> > > http://confluence.freeswitch.org >>> > > http://www.cluecon.com >>> > > >>> > > FreeSWITCH-users mailing list >>> > > FreeSWITCH-users at lists.freeswitch.org >>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > > http://www.freeswitch.org >>> > > >>> > > >>> > > >>> > > >>> > > -- >>> > > mandra >>> > > c:410.258.5281 >>> > >>> > > >>> > > >>> > > >>> > > -- >>> > > mandra >>> > > c:410.258.5281 > >>> > > >>> > > >>> > > >>> > > -- >>> > > mandra >>> > > c:410.258.5281 > >>> > > >>> > > >>> _________________________________________________________________________ >>> > > Professional FreeSWITCH Consulting Services: >>> > > consulting at freeswitch.org >>> >> ');> >>> > > http://www.freeswitchsolutions.com >>> > > >>> > > Official FreeSWITCH Sites >>> > > http://www.freeswitch.org >>> > > http://confluence.freeswitch.org >>> > > http://www.cluecon.com >>> > > >>> > > FreeSWITCH-users mailing list >>> > > FreeSWITCH-users at lists.freeswitch.org >>> > >> 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 >>> > > >>> > > >>> > > >>> > > >>> > > -- >>> > > mandra >>> > > c:410.258.5281 >>> > > >>> > > >>> > > >>> _________________________________________________________________________ >>> > > Professional FreeSWITCH Consulting Services: >>> > > consulting at freeswitch.org >>> > > http://www.freeswitchsolutions.com >>> > > >>> > > Official FreeSWITCH Sites >>> > > http://www.freeswitch.org >>> > > http://confluence.freeswitch.org >>> > > http://www.cluecon.com >>> > > >>> > > FreeSWITCH-users mailing list >>> > > FreeSWITCH-users at lists.freeswitch.org >>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > > http://www.freeswitch.org >>> > > >>> > >>> > -- >>> > ------------------------------------------------------------ >>> > Nathan Neulinger nneul at mst.edu >>> > Missouri S&T Information Technology (573) 612-1412 >>> > System Administrator - Architect >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> > >>> > >>> > >>> > -- >>> > mandra >>> > c:410.258.5281 >>> > >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> > >>> >>> -- >>> ------------------------------------------------------------ >>> Nathan Neulinger nneul at mst.edu >>> Missouri S&T Information Technology (573) 612-1412 >>> System Administrator - Architect >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/ee3d8b88/attachment-0001.html From mandra at gmail.com Fri Mar 4 16:40:52 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 08:40:52 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: Nevermind. It's still not working. Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here: BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS) Thanks, Chris On Friday, March 4, 2016, Chris Mandra wrote: > So here's another wrinkle. I've removed my module from the > system, recreated it fresh with a new filename (and internal names where > apropos) and it's reloading is working properly now. Same code. How is this > possible? > Thanks, > Chris > > On Thursday, March 3, 2016, Chris Mandra > wrote: > >> Does that make anything come to mind? >> >> On Wednesday, March 2, 2016, Chris Mandra wrote: >> >>> 1.6 >>> >>> On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice wrote: >>> >>>> What version of FreeSWITCH are you building this against? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris >>>> Mandra >>>> *Sent:* Wednesday, March 2, 2016 10:37 AM >>>> *To:* FreeSWITCH Users Help >>>> *Subject:* [Freeswitch-users] module question >>>> >>>> >>>> >>>> I unload, wipe the file reload and it says it's reloaded >>>> This makes no sense >>>> On Wednesday, March 2, 2016, Nathan Neulinger wrote: >>>> >>>> I think he said earlier that if he shuts down completely, it works >>>> fine, but he's wanting to be able to reload on the >>>> fly to test new changes. >>>> >>>> -- Nathan >>>> >>>> On 03/02/2016 08:59 AM, Ken Rice wrote: >>>> > Have you completely shut FreeSwitch down? There is a chance when you >>>> unload a module, that module doesn?t actually >>>> > unload, its still loaded, just deactivated. You can easily verify >>>> this by making sure the .so for the module is gone, >>>> > and restarting FreeSWITCH completely. >>>> > >>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org [ >>>> mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf >>>> > Of *Chris Mandra >>>> > *Sent:* Wednesday, March 2, 2016 8:30 AM >>>> > *To:* FreeSWITCH Users Help >>>> > *Subject:* Re: [Freeswitch-users] module question >>>> > >>>> > No, not chroot'd. I'm compiling a bunch of my own classes, could be >>>> my makefile? >>>> > >>>> > On Wednesday, March 2, 2016, Nathan Neulinger >>> > wrote: >>>> > >>>> > Is there any chance you are running freeswitch chroot'd? >>>> > >>>> > On 03/02/2016 06:14 AM, Chris Mandra wrote: >>>> > > Thank you for writing Stephen, I've already tried that, and >>>> that's how I know it's reporting what it's reporting >>>> > and how >>>> > > it doesn't make any sense. >>>> > > >>>> > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so >>>> > > >>>> > > however that file doesn?t even exist >>>> > > >>>> > > and yet it still says it?s loading it >>>> > > >>>> > > how is that possible? >>>> > > >>>> > > >>>> > > On Wednesday, March 2, 2016, Steven Ayre >>> >>> > >> wrote: >>>> > > >>>> > > When the file is loaded use find FreeSWITCH's PID and then >>>> use the 'lsof -p $PID | grep mod_' command... >>>> > it'll show >>>> > > you a list of the modules FreeSWITCH currently has loaded. >>>> See if it's loading from a different path that way. >>>> > > >>>> > > On 2 March 2016 at 02:52, Chris Mandra >>> >>>> > >>> ');>> wrote: >>>> > > >>>> > > Any other ideas? >>>> > > >>>> > > >>>> > > On Tuesday, March 1, 2016, Chris Mandra >>> >>>> > >>> ');>> wrote: >>>> > > >>>> > > Thanks for your responses so far guys. Italo, its >>>> only built from source so I don't think that's the >>>> > issue. >>>> > > This is baffling. I've tried it in more one >>>> machine, same result. >>>> > > >>>> > > On Tuesday, March 1, 2016, Chris Mandra >>> > wrote: >>>> > > >>>> > > So, FS is reporting >>>> > > >>>> > > reporting this: >>>> /usr/local/freeswitch/mod/mod_test_dsp.so >>>> > > >>>> > > however that file doesn?t even exist >>>> > > >>>> > > and yet it still says it?s loading it >>>> > > >>>> > > how is that possible? >>>> > > >>>> > > >>>> > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan >>>> Neulinger > wrote: >>>> > > >>>> > > >>>> > > >>>> > > On 03/01/2016 09:41 AM, Chris Mandra wrote: >>>> > > > thanks for the reply Nathan - this is >>>> really weird: >>>> > > > >>>> > > > after i remove the .so files (and make >>>> sure they're gone from my disk) it still reports it >>>> > successfully reloads >>>> > > > >>>> > > >>>> > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' >>>> and look for the path to the .so file that it >>>> > loaded. It's >>>> > > likely pulling it in >>>> > > from a different location. >>>> > > >>>> > > Or 'strace -v -f -s 500 -o /tmp/trc -p >>>> PID_OF_FREESWITCH', then issue the reload, then kill the >>>> > > strace and look for what >>>> > > file/path it searched/etc. >>>> > > >>>> > > -- Nathan >>>> > > >>>> > > >>>> ------------------------------------------------------------ >>>> > > Nathan Neulinger nneul at mst.edu >>>> >>>> > > Missouri S&T Information Technology (573) >>>> 612-1412 > >>>> > > System Administrator - Architect >>>> > > >>>> > > >>>> _________________________________________________________________________ >>>> > > Professional FreeSWITCH Consulting >>>> Services: >>>> > > consulting at freeswitch.org >>>> > > http://www.freeswitchsolutions.com >>>> > > >>>> > > Official FreeSWITCH Sites >>>> > > http://www.freeswitch.org >>>> > > http://confluence.freeswitch.org >>>> > > http://www.cluecon.com >>>> > > >>>> > > FreeSWITCH-users mailing list >>>> > > FreeSWITCH-users at lists.freeswitch.org >>>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > > http://www.freeswitch.org >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > mandra >>>> > > c:410.258.5281 >>> <410.258.5281>> >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > mandra >>>> > > c:410.258.5281 > >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > mandra >>>> > > c:410.258.5281 > >>>> > > >>>> > > >>>> _________________________________________________________________________ >>>> > > Professional FreeSWITCH Consulting Services: >>>> > > consulting at freeswitch.org >>>> >>> ');> >>>> > > http://www.freeswitchsolutions.com >>>> > > >>>> > > Official FreeSWITCH Sites >>>> > > http://www.freeswitch.org >>>> > > http://confluence.freeswitch.org >>>> > > http://www.cluecon.com >>>> > > >>>> > > FreeSWITCH-users mailing list >>>> > > FreeSWITCH-users at lists.freeswitch.org >>>> > >>> 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 >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > mandra >>>> > > c:410.258.5281 >>>> > > >>>> > > >>>> > > >>>> _________________________________________________________________________ >>>> > > Professional FreeSWITCH Consulting Services: >>>> > > consulting at freeswitch.org >>>> > > http://www.freeswitchsolutions.com >>>> > > >>>> > > Official FreeSWITCH Sites >>>> > > http://www.freeswitch.org >>>> > > http://confluence.freeswitch.org >>>> > > http://www.cluecon.com >>>> > > >>>> > > FreeSWITCH-users mailing list >>>> > > FreeSWITCH-users at lists.freeswitch.org >>>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > > http://www.freeswitch.org >>>> > > >>>> > >>>> > -- >>>> > ------------------------------------------------------------ >>>> > Nathan Neulinger nneul at mst.edu >>>> > Missouri S&T Information Technology (573) 612-1412 >>>> > System Administrator - Architect >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > -- >>>> > mandra >>>> > c:410.258.5281 >>>> > >>>> > >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> > >>>> >>>> -- >>>> ------------------------------------------------------------ >>>> Nathan Neulinger nneul at mst.edu >>>> Missouri S&T Information Technology (573) 612-1412 >>>> System Administrator - Architect >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> -- >>>> mandra >>>> c:410.258.5281 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/d6d0e697/attachment-0001.html From mandra at gmail.com Fri Mar 4 16:53:34 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 08:53:34 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D5A820.4020104@mst.edu> <56D5D2A1.9090505@mst.edu> <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so this doesn't make sense to me? On Friday, March 4, 2016, Chris Mandra wrote: > Nevermind. > It's still not working. > > Couple of questions: > I'm writing this I'm c++. Could that be causing problems? > Here's my makefile. Is anything obvs causing trouble here: > > BASE=../../../.. > include $(BASE)/build/modmake.rules > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" > -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > LOCAL_LDFLAGS+=-lboost_program_options > strategy.o: strategy.cpp > ladspa_strategy.o: ladspa_strategy.cpp > dsp_strategy.o: dsp_strategy.cpp > param_strategy.o: param_strategy.cpp > load.o: load.cpp > tokenizer.o: tokenizer.cpp > validators.o: validators.cpp > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o > param_strategy.o > local_depend: $(LOCAL_OBJS) > > Thanks, Chris > > > > On Friday, March 4, 2016, Chris Mandra > wrote: > >> So here's another wrinkle. I've removed my module from the >> system, recreated it fresh with a new filename (and internal names where >> apropos) and it's reloading is working properly now. Same code. How is this >> possible? >> Thanks, >> Chris >> >> On Thursday, March 3, 2016, Chris Mandra wrote: >> >>> Does that make anything come to mind? >>> >>> On Wednesday, March 2, 2016, Chris Mandra wrote: >>> >>>> 1.6 >>>> >>>> On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice wrote: >>>> >>>>> What version of FreeSWITCH are you building this against? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris >>>>> Mandra >>>>> *Sent:* Wednesday, March 2, 2016 10:37 AM >>>>> *To:* FreeSWITCH Users Help >>>>> *Subject:* [Freeswitch-users] module question >>>>> >>>>> >>>>> >>>>> I unload, wipe the file reload and it says it's reloaded >>>>> This makes no sense >>>>> On Wednesday, March 2, 2016, Nathan Neulinger wrote: >>>>> >>>>> I think he said earlier that if he shuts down completely, it works >>>>> fine, but he's wanting to be able to reload on the >>>>> fly to test new changes. >>>>> >>>>> -- Nathan >>>>> >>>>> On 03/02/2016 08:59 AM, Ken Rice wrote: >>>>> > Have you completely shut FreeSwitch down? There is a chance when >>>>> you unload a module, that module doesn?t actually >>>>> > unload, its still loaded, just deactivated. You can easily verify >>>>> this by making sure the .so for the module is gone, >>>>> > and restarting FreeSWITCH completely. >>>>> > >>>>> > *From:*freeswitch-users-bounces at lists.freeswitch.org [ >>>>> mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf >>>>> > Of *Chris Mandra >>>>> > *Sent:* Wednesday, March 2, 2016 8:30 AM >>>>> > *To:* FreeSWITCH Users Help >>>>> > *Subject:* Re: [Freeswitch-users] module question >>>>> > >>>>> > No, not chroot'd. I'm compiling a bunch of my own classes, could be >>>>> my makefile? >>>>> > >>>>> > On Wednesday, March 2, 2016, Nathan Neulinger >>>> > wrote: >>>>> > >>>>> > Is there any chance you are running freeswitch chroot'd? >>>>> > >>>>> > On 03/02/2016 06:14 AM, Chris Mandra wrote: >>>>> > > Thank you for writing Stephen, I've already tried that, and >>>>> that's how I know it's reporting what it's reporting >>>>> > and how >>>>> > > it doesn't make any sense. >>>>> > > >>>>> > > Fs is reporting this: >>>>> /usr/local/freeswitch/mod/mod_test_dsp.so >>>>> > > >>>>> > > however that file doesn?t even exist >>>>> > > >>>>> > > and yet it still says it?s loading it >>>>> > > >>>>> > > how is that possible? >>>>> > > >>>>> > > >>>>> > > On Wednesday, March 2, 2016, Steven Ayre >>>> >>>> > >> wrote: >>>>> > > >>>>> > > When the file is loaded use find FreeSWITCH's PID and >>>>> then use the 'lsof -p $PID | grep mod_' command... >>>>> > it'll show >>>>> > > you a list of the modules FreeSWITCH currently has >>>>> loaded. See if it's loading from a different path that way. >>>>> > > >>>>> > > On 2 March 2016 at 02:52, Chris Mandra >>>> >>>>> > >>>> ');>> wrote: >>>>> > > >>>>> > > Any other ideas? >>>>> > > >>>>> > > >>>>> > > On Tuesday, March 1, 2016, Chris Mandra >>>> >>>>> > >>>> ');>> wrote: >>>>> > > >>>>> > > Thanks for your responses so far guys. Italo, its >>>>> only built from source so I don't think that's the >>>>> > issue. >>>>> > > This is baffling. I've tried it in more one >>>>> machine, same result. >>>>> > > >>>>> > > On Tuesday, March 1, 2016, Chris Mandra >>>> > wrote: >>>>> > > >>>>> > > So, FS is reporting >>>>> > > >>>>> > > reporting this: >>>>> /usr/local/freeswitch/mod/mod_test_dsp.so >>>>> > > >>>>> > > however that file doesn?t even exist >>>>> > > >>>>> > > and yet it still says it?s loading it >>>>> > > >>>>> > > how is that possible? >>>>> > > >>>>> > > >>>>> > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan >>>>> Neulinger > wrote: >>>>> > > >>>>> > > >>>>> > > >>>>> > > On 03/01/2016 09:41 AM, Chris Mandra >>>>> wrote: >>>>> > > > thanks for the reply Nathan - this is >>>>> really weird: >>>>> > > > >>>>> > > > after i remove the .so files (and make >>>>> sure they're gone from my disk) it still reports it >>>>> > successfully reloads >>>>> > > > >>>>> > > >>>>> > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' >>>>> and look for the path to the .so file that it >>>>> > loaded. It's >>>>> > > likely pulling it in >>>>> > > from a different location. >>>>> > > >>>>> > > Or 'strace -v -f -s 500 -o /tmp/trc -p >>>>> PID_OF_FREESWITCH', then issue the reload, then kill the >>>>> > > strace and look for what >>>>> > > file/path it searched/etc. >>>>> > > >>>>> > > -- Nathan >>>>> > > >>>>> > > >>>>> ------------------------------------------------------------ >>>>> > > Nathan Neulinger nneul at mst.edu >>>>> >>>>> > > Missouri S&T Information Technology (573) >>>>> 612-1412 > >>>>> > > System Administrator - Architect >>>>> > > >>>>> > > >>>>> _________________________________________________________________________ >>>>> > > Professional FreeSWITCH Consulting >>>>> Services: >>>>> > > consulting at freeswitch.org >>>>> > > http://www.freeswitchsolutions.com >>>>> > > >>>>> > > Official FreeSWITCH Sites >>>>> > > http://www.freeswitch.org >>>>> > > http://confluence.freeswitch.org >>>>> > > http://www.cluecon.com >>>>> > > >>>>> > > FreeSWITCH-users mailing list >>>>> > > FreeSWITCH-users at lists.freeswitch.org >>>>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > > http://www.freeswitch.org >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > -- >>>>> > > mandra >>>>> > > c:410.258.5281 >>>> <410.258.5281>> >>>>> > > >>>>> > > >>>>> > > >>>>> > > -- >>>>> > > mandra >>>>> > > c:410.258.5281 > >>>>> > > >>>>> > > >>>>> > > >>>>> > > -- >>>>> > > mandra >>>>> > > c:410.258.5281 > >>>>> > > >>>>> > > >>>>> _________________________________________________________________________ >>>>> > > Professional FreeSWITCH Consulting Services: >>>>> > > consulting at freeswitch.org >>>>> >>>> ');> >>>>> > > http://www.freeswitchsolutions.com >>>>> > > >>>>> > > Official FreeSWITCH Sites >>>>> > > http://www.freeswitch.org >>>>> > > http://confluence.freeswitch.org >>>>> > > http://www.cluecon.com >>>>> > > >>>>> > > FreeSWITCH-users mailing list >>>>> > > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>> 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 >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > -- >>>>> > > mandra >>>>> > > c:410.258.5281 >>>>> > > >>>>> > > >>>>> > > >>>>> _________________________________________________________________________ >>>>> > > Professional FreeSWITCH Consulting Services: >>>>> > > consulting at freeswitch.org >>>>> > > http://www.freeswitchsolutions.com >>>>> > > >>>>> > > Official FreeSWITCH Sites >>>>> > > http://www.freeswitch.org >>>>> > > http://confluence.freeswitch.org >>>>> > > http://www.cluecon.com >>>>> > > >>>>> > > FreeSWITCH-users mailing list >>>>> > > FreeSWITCH-users at lists.freeswitch.org >>>>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > > http://www.freeswitch.org >>>>> > > >>>>> > >>>>> > -- >>>>> > ------------------------------------------------------------ >>>>> > Nathan Neulinger nneul at mst.edu >>>>> > Missouri S&T Information Technology (573) 612-1412 >>>>> > System Administrator - Architect >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > mandra >>>>> > c:410.258.5281 >>>>> > >>>>> > >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> > >>>>> >>>>> -- >>>>> ------------------------------------------------------------ >>>>> Nathan Neulinger nneul at mst.edu >>>>> Missouri S&T Information Technology (573) 612-1412 >>>>> System Administrator - Architect >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> -- >>>>> mandra >>>>> c:410.258.5281 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> mandra >>>> c:410.258.5281 >>>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/e0042cc3/attachment-0001.html From nneul at mst.edu Fri Mar 4 17:16:16 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Fri, 4 Mar 2016 08:16:16 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> Message-ID: <56D998B0.1020305@mst.edu> If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? -- Nathan On 03/04/2016 07:53 AM, Chris Mandra wrote: > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > this doesn't make sense to me? > > On Friday, March 4, 2016, Chris Mandra > wrote: > > Nevermind. > It's still not working. > > Couple of questions: > I'm writing this I'm c++. Could that be causing problems? > Here's my makefile. Is anything obvs causing trouble here: > > BASE=../../../.. > include $(BASE)/build/modmake.rules > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > LOCAL_LDFLAGS+=-lboost_program_options > strategy.o: strategy.cpp > ladspa_strategy.o: ladspa_strategy.cpp > dsp_strategy.o: dsp_strategy.cpp > param_strategy.o: param_strategy.cpp > load.o: load.cpp > tokenizer.o: tokenizer.cpp > validators.o: validators.cpp > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > local_depend: $(LOCAL_OBJS) > > Thanks, Chris > > > > On Friday, March 4, 2016, Chris Mandra > wrote: > > So here's another wrinkle. I've removed my module from the system, recreated it fresh with a new filename (and > internal names where apropos) and it's reloading is working properly now. Same code. How is this possible? > Thanks, > Chris > > On Thursday, March 3, 2016, Chris Mandra wrote: > > Does that make anything come to mind? > > On Wednesday, March 2, 2016, Chris Mandra wrote: > > 1.6 > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice wrote: > > What version of FreeSWITCH are you building this against? ____ > > __ __ > > __ __ > > __ __ > > __ __ > > __ __ > > *From:*freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 10:37 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] module question____ > > __ __ > > I unload, wipe the file reload and it says it's reloaded > This makes no sense > On Wednesday, March 2, 2016, Nathan Neulinger wrote:____ > > I think he said earlier that if he shuts down completely, it works fine, but he's wanting to be > able to reload on the > fly to test new changes. > > -- Nathan > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that > module doesn?t actually > > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so > for the module is gone, > > and restarting FreeSWITCH completely. > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] module question > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > On Wednesday, March 2, 2016, Nathan Neulinger > wrote: > > > > Is there any chance you are running freeswitch chroot'd? > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > Thank you for writing Stephen, I've already tried that, and that's how I know it's > reporting what it's reporting > > and how > > > it doesn't make any sense. > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre > > >> wrote: > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | > grep mod_' command... > > it'll show > > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading > from a different path that way. > > > > > > On 2 March 2016 at 02:52, Chris Mandra > > ');>> wrote: > > > > > > Any other ideas? > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > ');>> wrote: > > > > > > Thanks for your responses so far guys. Italo, its only built from source > so I don't think that's the > > issue. > > > This is baffling. I've tried it in more one machine, same result. > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > wrote: > > > > > > So, FS is reporting > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn?t even exist > > > > > > and yet it still says it?s loading it > > > > > > how is that possible? > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > wrote: > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > after i remove the .so files (and make sure they're gone from my > disk) it still reports it > > successfully reloads > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to > the .so file that it > > loaded. It's > > > likely pulling it in > > > from a different location. > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then > issue the reload, then kill the > > > strace and look for what > > > file/path it searched/etc. > > > > > > -- Nathan > > > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul at mst.edu > > > Missouri S&T Information Technology (573) 612-1412 > > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > ');> > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > ');> > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org____ > > > > -- > mandra > c:410.258.5281 ____ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From italo at freeswitch.org Fri Mar 4 17:25:26 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Fri, 4 Mar 2016 11:25:26 -0300 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: Please do not send attachments, we have pastebin for that, that's why I asked you to paste the log there. You're getting a 403 Forbidden from FS, that means you're not sending the correct credentials. Double check your user and password. On Fri, Mar 4, 2016 at 3:38 AM, Shisheer Teli wrote: > Dear Rossi, > > Thank for your reply.. > > Kindly find the attached log file. > > my other extensions are working fine but this single extension is not > working. > > On Thu, Mar 3, 2016 at 6:38 PM, ?talo Rossi wrote: > >> We can't help you without logs and more setup details. >> >> Try to get a siptrace and paste it on pastebin.freeswitch.org >> >> Open fs_cli and type: sofia global siptrace on >> >> Try to register, look for the output in your terminal, paste it on >> pastebin and send us the link. >> >> On Thu, Mar 3, 2016 at 7:26 AM, Shisheer Teli >> wrote: >> >>> Dear Team, >>> >>> I configured FreeSWITCH on a linux server. >>> >>> Initially, I configured extension 6219 on FreeSWITCH and its working >>> fine. >>> >>> but from last few days, i am not able to register 6219 extension from >>> any client. >>> >>> i tried with xlite , zoiper but its not working. i changed client >>> machine too. >>> >>> All credential for 6219 is correct but still its not working. >>> >>> -- >>> Regards, >>> Shisheer T >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Shisheer T > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/f5257ab2/attachment-0001.html From igorolhovskiy at gmail.com Fri Mar 4 17:25:14 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Fri, 4 Mar 2016 16:25:14 +0200 Subject: [Freeswitch-users] mod_local_stream strange behavior Message-ID: Hello, Having a strange issue with a MoH and ringback tones defined with local_stream. Idea is I?m having 1 wav file for MoH. And when I?m playing it, it starts not from beginning, but nearly 3-7 seconds before file end and than - starts over. Can?t get why it not just playing file from start. Yes, I know there is a workaround to use file_stream, but may be there is way to make local_stream with a same behavior? System: Debian 8, VmWare ESXi, FS 1.6.6 (FusionPBX) Or I?m missing some parameter? -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/dd788e8e/attachment.html From mandra at gmail.com Fri Mar 4 18:49:35 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 10:49:35 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D998B0.1020305@mst.edu> References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> Message-ID: freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so after freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so both the same after loading and unloading On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger wrote: > If you do the lsof before and then after the unload, does the lsof still > show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the > module, reload the module and it says it loads, so > > this doesn't make sense to me? > > > > On Friday, March 4, 2016, Chris Mandra mandra at gmail.com>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x > -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) > -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o > tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra > wrote: > > > > So here's another wrinkle. I've removed my module from the > system, recreated it fresh with a new filename (and > > internal names where apropos) and it's reloading is working > properly now. Same code. How is this possible? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra > wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra > wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < > krice at freeswitch.org> wrote: > > > > What version of FreeSWITCH are you building this > against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's > reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger < > nneul at mst.edu> wrote:____ > > > > I think he said earlier that if he shuts down > completely, it works fine, but he's wanting to be > > able to reload on the > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? > There is a chance when you unload a module, that > > module doesn?t actually > > > unload, its still loaded, just deactivated. > You can easily verify this by making sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:* > freeswitch-users-bounces at lists.freeswitch.org > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org> > > > *Subject:* Re: [Freeswitch-users] module > question > > > > > > No, not chroot'd. I'm compiling a bunch of my > own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger > > wrote: > > > > > > Is there any chance you are running > freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra > wrote: > > > > Thank you for writing Stephen, I've > already tried that, and that's how I know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn?t even exist > > > > > > > > and yet it still says it?s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven > Ayre > > > > >> wrote: > > > > > > > > When the file is loaded use find > FreeSWITCH's PID and then use the 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules > FreeSWITCH currently has loaded. See if it's loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris > Mandra > > > mandra at gmail.com ');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, > Chris Mandra > > > mandra at gmail.com ');>> wrote: > > > > > > > > Thanks for your responses > so far guys. Italo, its only built from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've > tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, > Chris Mandra > > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file > doesn?t even exist > > > > > > > > and yet it still says > it?s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at > 12:34 PM, Nathan Neulinger > > wrote: > > > > > > > > > > > > > > > > On 03/01/2016 > 09:41 AM, Chris Mandra wrote: > > > > > thanks for the > reply Nathan - this is really weird: > > > > > > > > > > after i remove > the .so files (and make sure they're gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof > -p PID_OF_FREESWITCH' and look for the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it > in > > > > from a different > location. > > > > > > > > Or 'strace -v -f > -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look > for what > > > > file/path it > searched/etc. > > > > > > > > -- Nathan > > > > > > > > > ------------------------------------------------------------ > > > > Nathan Neulinger > nneul at mst.edu > > > > Missouri S&T > Information Technology (573) 612-1412 > > > > > > > System > Administrator - Architect > > > > > > > > > > > _________________________________________________________________________ > > > > Professional > FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > > http://www.freeswitchsolutions.com > > > > > > > > Official > FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users > mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 410.258.5281> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 410.258.5281> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 410.258.5281> > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH > Consulting Services: > > > > consulting at freeswitch.org > > > consulting at freeswitch.org ');> > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > 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 > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting > Services: > > > > consulting at freeswitch.org > > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > > -- > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul at mst.edu > > > > Missouri S&T Information Technology (573) > 612-1412 > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting > Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > > -- > > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) > 612-1412 > > System Administrator - Architect > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org____ > > > > > > > > -- > > mandra > > c:410.258.5281 ____ > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/4f9d3a20/attachment-0001.html From abaci64 at gmail.com Fri Mar 4 18:55:50 2016 From: abaci64 at gmail.com (Abaci B) Date: Fri, 4 Mar 2016 10:55:50 -0500 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: I still think there should be a way to exit a lua script without calling a hangup hook, this is needed for lua scripts with no session and even in some scenarios where there is a session. I think I'll open a feature request on Jira for that, unless someone knows a way to do this? On Mon, Feb 29, 2016 at 5:09 PM, Andrew Keil wrote: > Abaci B, > > > > Thanks so much for sourcing the JIRA topic! > > > > You were right, by placing the return ?exit? inside the hanguphook handler > then the sript does stop and abort with an error. I have made this cleaner > by adding debug.traceback=nil just prior. > > > > So now my hangup hook handler looks like this: > > > > function myHangupHook(s, status, arg) > > session:hangup() > > CleanUp() -- Run CleanUp function now since the caller has disconnected > > debug.traceback=nil > > return "exit" > > end > > > > Obviously this generates the message: ?2016-03-01 09:01:18.625809 [ERR] > mod_lua.cpp:203 exit? > > in the console, but this I can live with especially to avoid the goto > statements throughout the code after every audio related function. > > > > Thanks again. > > > > Andrew Keil > > *Visytel Pty Ltd* > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B > *Sent:* Tuesday, 1 March 2016 3:16 AM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook > handled without all the extra code to handle the return to the function > > > > I don't see in your example above where you have a return "exit" in your > hangup hook function > > see https://freeswitch.org/jira/browse/FS-3841 > > seems like the "exit" or "die" needs to be returned directly from the > hanguphook function so try from that function (not cleanup function) to > return "exit" or "dye", also it seems > > > > On Mon, Feb 29, 2016 at 10:53 AM, Abaci B wrote: > > That's exactly what I noticed, it breaks out of the current function, why > not open a Jira? I don't think it's supposed to behave this way. > > > > On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil > wrote: > > Thanks for your response. > > > > I have gone through these with no luck. Like I said the > session:destroy(???) crashes FreeSWITCH, which is therefore off the list. > The rest simply interrupt the current function and do no end the script. > > > > I guess my next move is to see why session:destroy() crashes FreeSWITCH, > however I am a little snowed under at the moment so if anyone has some time > to replicate this (only needs one line of code in a Lua script) and pass > this on to the developers that would be great. > > > > Andrew > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B > *Sent:* Saturday, 27 February 2016 1:29 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook > handled without all the extra code to handle the return to the function > > > > See > https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:setHangupHook > for a few ways to exit the lua script (error(), return "exit", return > "die", s:destroy("error message")). I personally tried return "exit" but it > seems to me that it only exits the calling function, haven't had a chance > to look further, it's possible that the calling it from the within a > function is different. if you play around and figure out please report back. > > > > On Thu, Feb 25, 2016 at 9:33 PM, Andrew Keil > wrote: > > To FreeSWITCH Users, > > > > See below for a sample template for a Lua Service Script running inside > FreeSWITCH. > > > > The issue I have is fairly straightforward. > > > > I need a function to run when hangup is detected (ie. at the end of the > call) however I understand this must not delay ending the script. This > function is CleanUp(). Then I would like the service to end. > > > > The problem I am having is if the caller hangs up during the playback of > ?intro.wav? (as shown inside the MainService() function below), then the > code jumps to the myHangupHook which calls CleanUp() perfectly, the issue > is once CleanUp() is complete I would like the Lua script to end there and > then (ie. at the bottom of CleanUp()). What actually happens is it returns > to MainService() and continues to try and play ?info.wav?, unless I either > check for session:ready() everywhere or add a goto as shown below under > each streamFile() function call. > > > > My aim is to reduce extra code and to make the Lua script simpler and > easier to read. Also I would like to try and avoid goto statements, which > I know can be done with if (session:ready()) etc?. > > > > So is there a way to stop a Lua script running inside FreeSWITCH cleanly? > I have tried the os.exit() this is barred from use by FreeSWITCH. I have > also tried session:destroy() which crashes FreeSWITCH (version 1.6.5 on > CentOS 6.7, CentOS 7 and windows) 100% of the time! > > > > I could look further into the Lua additions done by the FreeSWITCH team in > the source code, however if someone has already solved this then that would > be the best solution. > > > > FYI: Obviously the script below is simple, however I am sure that you > understand if the script was complicated having to use ?*if > (session:ready()) then ?.?* or ?*if (not session:ready()) then goto > HANGUPEXIT end?* makes the code ugly. > > > > Thanks in advance, > > > > Andrew Keil > > *Visytel Pty Ltd* > > > > > > > > ------------------------------------------------------------------------------ > Sample Lua Service > ----------------------------------------------------------------------- > > > > -- Lua template for FreeSWITCH service > > -- By: Andrew Keil (Visytel Pty Ltd) > > -- Email: support at visytel.com > > > > -- Setup script wide variables here > > > > function PreAnswer() > > freeswitch.consoleLog("INFO", "PRE ANSWER SECTION\n"); > > -- Add your pre answer code from here > > > > -- End of your pre answer code > > freeswitch.consoleLog("INFO", "PRE ANSWER SECTION > COMPLETE\n"); > > end > > > > function AnswerCaller() > > session:answer() > > session:sleep(1000) > > end > > > > function MainService() > > freeswitch.consoleLog("INFO", "MAIN SERVICE > SECTION\n"); > > if (session:ready()) then > > -- Note (1): If you wish to end the call > then simply use: goto ENDSERVICE > > -- Note (2): To terminate the service > sooner when HANGUP is detected use: if (not session:ready()) then goto > HANGUPEXIT end > > -- Add your main service code from > here (caller would have been answered) > > > > session:streamFile("intro.wav") > > if (not session:ready()) then goto > HANGUPEXIT end > > session:streamFile("info.wav") > > if (not session:ready()) then goto > HANGUPEXIT end > > > session:streamFile("outro.wav") > > if (not session:ready()) then goto > HANGUPEXIT end > > > > -- End of your main service code > > end > > ::ENDSERVICE:: > > if (session:ready()) then > > -- End of service so hangup > > session:hangup() -- Should automatically > jump to CleanUp() via hangup handler if caller still online at this stage > > end > > goto END > > ::HANGUPEXIT:: > > freeswitch.consoleLog("INFO", "END OF SERVICE (HANGUP > DETECTED)\n"); > > ::END:: > > freeswitch.consoleLog("INFO", "MAIN SERVICE SECTION > COMPLETE\n"); > > end > > > > function CleanUp() > > freeswitch.consoleLog("INFO", "CLEANUP SECTION\n"); > > -- Add your cleanup code from here (caller would have been > disconnected) > > > > -- End of your cleanup code > > freeswitch.consoleLog("INFO", "CLEANUP SECTION > COMPLETE\n"); > > end > > > > function myHangupHook(s, status, arg) > > session:hangup() > > CleanUp() -- Run CleanUp function now since the caller has > disconnected > > end > > > > -- Setup Hangup event handler here > > v_hangup = "HANGUP" > > session:setHangupHook("myHangupHook", "v_hangup") > > > > -- Call service functions in order > > PreAnswer() > > AnswerCaller() > > MainService() > > -- End of Lua service > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/b3fbf42d/attachment-0001.html From steveayre at gmail.com Fri Mar 4 19:01:50 2016 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 4 Mar 2016 16:01:50 +0000 Subject: [Freeswitch-users] mod_local_stream strange behavior In-Reply-To: References: Message-ID: That's the expected behaviour of that module. When you create a local stream you have a single stream of that file playing in a continuous loop. That stream is not connected to any call. When you play that stream to a call they're listening in on that stream at whichever point it is currently at. The advantage of this is that you're only playing the file once and sending it to multiple listeners, which can give some performance benefits. For listening in on something like hold music it probably doesn't matter that you're not hearing it from the start. You could restart the stream to jump back to the start, but that means it'll jump for every other listener too (assuming the API would even run while they're attached without blocking). Just play the file to them directly rather than with local_stream:// On 4 March 2016 at 14:25, Igor Olhovskiy wrote: > Hello, > > Having a strange issue with a MoH and ringback tones defined with > local_stream. > Idea is I?m having 1 wav file for MoH. And when I?m playing it, it starts > not from beginning, but nearly 3-7 seconds before file end and than - > starts over. Can?t get why it not just playing file from start. > Yes, I know there is a workaround to use file_stream, but may be there is > way to make local_stream with a same behavior? > System: Debian 8, VmWare ESXi, FS 1.6.6 (FusionPBX) > > path=?$${sounds_dir}/Domain_name/TestingMoH/8000?> > > > > > > > > Or I?m missing some parameter? > -- > Best regards, > Igor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/77afb95c/attachment.html From chad at apartmentlines.com Fri Mar 4 19:56:14 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 4 Mar 2016 06:56:14 -1000 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: In cases where I've run Lua scripts on startup, I'll use a global variable, and periodically check it like so: kill_script = api:executeString("global_getvar custom_lua_kill_script") If the variable is set to a specified value, then I take steps to end the script, which usually just means breaking out of an infinite loop. This variable can be adjusted in a number of ways, including another Lua script, directly from CLI, or even by setting a timer using the schedule API in the same script: command = string.format([[sched_api %d none global_setvar custom_lua_kill_script=true]], shutdown_stamp) api:executeString(command) Not the most elegant solution, but it works. On Fri, Mar 4, 2016 at 5:55 AM, Abaci B wrote: > I still think there should be a way to exit a lua script without calling a > hangup hook, this is needed for lua scripts with no session and even in > some scenarios where there is a session. > I think I'll open a feature request on Jira for that, unless someone knows > a way to do this? > > On Mon, Feb 29, 2016 at 5:09 PM, Andrew Keil > wrote: > >> Abaci B, >> >> >> >> Thanks so much for sourcing the JIRA topic! >> >> >> >> You were right, by placing the return ?exit? inside the hanguphook >> handler then the sript does stop and abort with an error. I have made this >> cleaner by adding debug.traceback=nil just prior. >> >> >> >> So now my hangup hook handler looks like this: >> >> >> >> function myHangupHook(s, status, arg) >> >> session:hangup() >> >> CleanUp() -- Run CleanUp function now since the caller has >> disconnected >> >> debug.traceback=nil >> >> return "exit" >> >> end >> >> >> >> Obviously this generates the message: ?2016-03-01 09:01:18.625809 [ERR] >> mod_lua.cpp:203 exit? >> >> in the console, but this I can live with especially to avoid the goto >> statements throughout the code after every audio related function. >> >> >> >> Thanks again. >> >> >> >> Andrew Keil >> >> *Visytel Pty Ltd* >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B >> *Sent:* Tuesday, 1 March 2016 3:16 AM >> >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook >> handled without all the extra code to handle the return to the function >> >> >> >> I don't see in your example above where you have a return "exit" in your >> hangup hook function >> >> see https://freeswitch.org/jira/browse/FS-3841 >> >> seems like the "exit" or "die" needs to be returned directly from the >> hanguphook function so try from that function (not cleanup function) to >> return "exit" or "dye", also it seems >> >> >> >> On Mon, Feb 29, 2016 at 10:53 AM, Abaci B wrote: >> >> That's exactly what I noticed, it breaks out of the current function, why >> not open a Jira? I don't think it's supposed to behave this way. >> >> >> >> On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil >> wrote: >> >> Thanks for your response. >> >> >> >> I have gone through these with no luck. Like I said the >> session:destroy(???) crashes FreeSWITCH, which is therefore off the list. >> The rest simply interrupt the current function and do no end the script. >> >> >> >> I guess my next move is to see why session:destroy() crashes FreeSWITCH, >> however I am a little snowed under at the moment so if anyone has some time >> to replicate this (only needs one line of code in a Lua script) and pass >> this on to the developers that would be great. >> >> >> >> Andrew >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B >> *Sent:* Saturday, 27 February 2016 1:29 AM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook >> handled without all the extra code to handle the return to the function >> >> >> >> See >> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:setHangupHook >> for a few ways to exit the lua script (error(), return "exit", return >> "die", s:destroy("error message")). I personally tried return "exit" but it >> seems to me that it only exits the calling function, haven't had a chance >> to look further, it's possible that the calling it from the within a >> function is different. if you play around and figure out please report back. >> >> >> >> On Thu, Feb 25, 2016 at 9:33 PM, Andrew Keil >> wrote: >> >> To FreeSWITCH Users, >> >> >> >> See below for a sample template for a Lua Service Script running inside >> FreeSWITCH. >> >> >> >> The issue I have is fairly straightforward. >> >> >> >> I need a function to run when hangup is detected (ie. at the end of the >> call) however I understand this must not delay ending the script. This >> function is CleanUp(). Then I would like the service to end. >> >> >> >> The problem I am having is if the caller hangs up during the playback of >> ?intro.wav? (as shown inside the MainService() function below), then the >> code jumps to the myHangupHook which calls CleanUp() perfectly, the issue >> is once CleanUp() is complete I would like the Lua script to end there and >> then (ie. at the bottom of CleanUp()). What actually happens is it returns >> to MainService() and continues to try and play ?info.wav?, unless I either >> check for session:ready() everywhere or add a goto as shown below under >> each streamFile() function call. >> >> >> >> My aim is to reduce extra code and to make the Lua script simpler and >> easier to read. Also I would like to try and avoid goto statements, which >> I know can be done with if (session:ready()) etc?. >> >> >> >> So is there a way to stop a Lua script running inside FreeSWITCH >> cleanly? I have tried the os.exit() this is barred from use by >> FreeSWITCH. I have also tried session:destroy() which crashes FreeSWITCH >> (version 1.6.5 on CentOS 6.7, CentOS 7 and windows) 100% of the time! >> >> >> >> I could look further into the Lua additions done by the FreeSWITCH team >> in the source code, however if someone has already solved this then that >> would be the best solution. >> >> >> >> FYI: Obviously the script below is simple, however I am sure that you >> understand if the script was complicated having to use ?*if >> (session:ready()) then ?.?* or ?*if (not session:ready()) then goto >> HANGUPEXIT end?* makes the code ugly. >> >> >> >> Thanks in advance, >> >> >> >> Andrew Keil >> >> *Visytel Pty Ltd* >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Sample Lua Service >> ----------------------------------------------------------------------- >> >> >> >> -- Lua template for FreeSWITCH service >> >> -- By: Andrew Keil (Visytel Pty Ltd) >> >> -- Email: support at visytel.com >> >> >> >> -- Setup script wide variables here >> >> >> >> function PreAnswer() >> >> freeswitch.consoleLog("INFO", "PRE ANSWER SECTION\n"); >> >> -- Add your pre answer code from here >> >> >> >> -- End of your pre answer code >> >> freeswitch.consoleLog("INFO", "PRE ANSWER SECTION >> COMPLETE\n"); >> >> end >> >> >> >> function AnswerCaller() >> >> session:answer() >> >> session:sleep(1000) >> >> end >> >> >> >> function MainService() >> >> freeswitch.consoleLog("INFO", "MAIN SERVICE >> SECTION\n"); >> >> if (session:ready()) then >> >> -- Note (1): If you wish to end the call >> then simply use: goto ENDSERVICE >> >> -- Note (2): To terminate the service >> sooner when HANGUP is detected use: if (not session:ready()) then goto >> HANGUPEXIT end >> >> -- Add your main service code from >> here (caller would have been answered) >> >> >> >> session:streamFile("intro.wav") >> >> if (not session:ready()) then goto >> HANGUPEXIT end >> >> session:streamFile("info.wav") >> >> if (not session:ready()) then goto >> HANGUPEXIT end >> >> >> session:streamFile("outro.wav") >> >> if (not session:ready()) then goto >> HANGUPEXIT end >> >> >> >> -- End of your main service code >> >> end >> >> ::ENDSERVICE:: >> >> if (session:ready()) then >> >> -- End of service so hangup >> >> session:hangup() -- Should automatically >> jump to CleanUp() via hangup handler if caller still online at this stage >> >> end >> >> goto END >> >> ::HANGUPEXIT:: >> >> freeswitch.consoleLog("INFO", "END OF SERVICE (HANGUP >> DETECTED)\n"); >> >> ::END:: >> >> freeswitch.consoleLog("INFO", "MAIN SERVICE SECTION >> COMPLETE\n"); >> >> end >> >> >> >> function CleanUp() >> >> freeswitch.consoleLog("INFO", "CLEANUP SECTION\n"); >> >> -- Add your cleanup code from here (caller would have >> been disconnected) >> >> >> >> -- End of your cleanup code >> >> freeswitch.consoleLog("INFO", "CLEANUP SECTION >> COMPLETE\n"); >> >> end >> >> >> >> function myHangupHook(s, status, arg) >> >> session:hangup() >> >> CleanUp() -- Run CleanUp function now since the caller >> has disconnected >> >> end >> >> >> >> -- Setup Hangup event handler here >> >> v_hangup = "HANGUP" >> >> session:setHangupHook("myHangupHook", "v_hangup") >> >> >> >> -- Call service functions in order >> >> PreAnswer() >> >> AnswerCaller() >> >> MainService() >> >> -- End of Lua service >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/f0820956/attachment-0001.html From abaci64 at gmail.com Fri Mar 4 20:19:00 2016 From: abaci64 at gmail.com (Abaci B) Date: Fri, 4 Mar 2016 12:19:00 -0500 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: The question is not how to figure out when to exit the lua script, the question is *how to exit the lua script*, and that can sometimes be tricky or complicated as return "exit" only works from hangup hook. On Fri, Mar 4, 2016 at 11:56 AM, Chad Phillips wrote: > In cases where I've run Lua scripts on startup, I'll use a global > variable, and periodically check it like so: > > kill_script = api:executeString("global_getvar custom_lua_kill_script") > > If the variable is set to a specified value, then I take steps to end the > script, which usually just means breaking out of an infinite loop. > > This variable can be adjusted in a number of ways, including another Lua > script, directly from CLI, or even by setting a timer using the schedule > API in the same script: > > command = string.format([[sched_api %d none > global_setvar custom_lua_kill_script=true]], shutdown_stamp) > api:executeString(command) > > Not the most elegant solution, but it works. > > On Fri, Mar 4, 2016 at 5:55 AM, Abaci B wrote: > >> I still think there should be a way to exit a lua script without calling >> a hangup hook, this is needed for lua scripts with no session and even in >> some scenarios where there is a session. >> I think I'll open a feature request on Jira for that, unless someone >> knows a way to do this? >> >> On Mon, Feb 29, 2016 at 5:09 PM, Andrew Keil >> wrote: >> >>> Abaci B, >>> >>> >>> >>> Thanks so much for sourcing the JIRA topic! >>> >>> >>> >>> You were right, by placing the return ?exit? inside the hanguphook >>> handler then the sript does stop and abort with an error. I have made this >>> cleaner by adding debug.traceback=nil just prior. >>> >>> >>> >>> So now my hangup hook handler looks like this: >>> >>> >>> >>> function myHangupHook(s, status, arg) >>> >>> session:hangup() >>> >>> CleanUp() -- Run CleanUp function now since the caller has >>> disconnected >>> >>> debug.traceback=nil >>> >>> return "exit" >>> >>> end >>> >>> >>> >>> Obviously this generates the message: ?2016-03-01 09:01:18.625809 [ERR] >>> mod_lua.cpp:203 exit? >>> >>> in the console, but this I can live with especially to avoid the goto >>> statements throughout the code after every audio related function. >>> >>> >>> >>> Thanks again. >>> >>> >>> >>> Andrew Keil >>> >>> *Visytel Pty Ltd* >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B >>> *Sent:* Tuesday, 1 March 2016 3:16 AM >>> >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook >>> handled without all the extra code to handle the return to the function >>> >>> >>> >>> I don't see in your example above where you have a return "exit" in your >>> hangup hook function >>> >>> see https://freeswitch.org/jira/browse/FS-3841 >>> >>> seems like the "exit" or "die" needs to be returned directly from the >>> hanguphook function so try from that function (not cleanup function) to >>> return "exit" or "dye", also it seems >>> >>> >>> >>> On Mon, Feb 29, 2016 at 10:53 AM, Abaci B wrote: >>> >>> That's exactly what I noticed, it breaks out of the current function, >>> why not open a Jira? I don't think it's supposed to behave this way. >>> >>> >>> >>> On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil >>> wrote: >>> >>> Thanks for your response. >>> >>> >>> >>> I have gone through these with no luck. Like I said the >>> session:destroy(???) crashes FreeSWITCH, which is therefore off the list. >>> The rest simply interrupt the current function and do no end the script. >>> >>> >>> >>> I guess my next move is to see why session:destroy() crashes FreeSWITCH, >>> however I am a little snowed under at the moment so if anyone has some time >>> to replicate this (only needs one line of code in a Lua script) and pass >>> this on to the developers that would be great. >>> >>> >>> >>> Andrew >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Abaci B >>> *Sent:* Saturday, 27 February 2016 1:29 AM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] Re- End Lua script after HangupHook >>> handled without all the extra code to handle the return to the function >>> >>> >>> >>> See >>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:setHangupHook >>> for a few ways to exit the lua script (error(), return "exit", return >>> "die", s:destroy("error message")). I personally tried return "exit" but it >>> seems to me that it only exits the calling function, haven't had a chance >>> to look further, it's possible that the calling it from the within a >>> function is different. if you play around and figure out please report back. >>> >>> >>> >>> On Thu, Feb 25, 2016 at 9:33 PM, Andrew Keil >>> wrote: >>> >>> To FreeSWITCH Users, >>> >>> >>> >>> See below for a sample template for a Lua Service Script running inside >>> FreeSWITCH. >>> >>> >>> >>> The issue I have is fairly straightforward. >>> >>> >>> >>> I need a function to run when hangup is detected (ie. at the end of the >>> call) however I understand this must not delay ending the script. This >>> function is CleanUp(). Then I would like the service to end. >>> >>> >>> >>> The problem I am having is if the caller hangs up during the playback of >>> ?intro.wav? (as shown inside the MainService() function below), then the >>> code jumps to the myHangupHook which calls CleanUp() perfectly, the issue >>> is once CleanUp() is complete I would like the Lua script to end there and >>> then (ie. at the bottom of CleanUp()). What actually happens is it returns >>> to MainService() and continues to try and play ?info.wav?, unless I either >>> check for session:ready() everywhere or add a goto as shown below under >>> each streamFile() function call. >>> >>> >>> >>> My aim is to reduce extra code and to make the Lua script simpler and >>> easier to read. Also I would like to try and avoid goto statements, which >>> I know can be done with if (session:ready()) etc?. >>> >>> >>> >>> So is there a way to stop a Lua script running inside FreeSWITCH >>> cleanly? I have tried the os.exit() this is barred from use by >>> FreeSWITCH. I have also tried session:destroy() which crashes FreeSWITCH >>> (version 1.6.5 on CentOS 6.7, CentOS 7 and windows) 100% of the time! >>> >>> >>> >>> I could look further into the Lua additions done by the FreeSWITCH team >>> in the source code, however if someone has already solved this then that >>> would be the best solution. >>> >>> >>> >>> FYI: Obviously the script below is simple, however I am sure that you >>> understand if the script was complicated having to use ?*if >>> (session:ready()) then ?.?* or ?*if (not session:ready()) then goto >>> HANGUPEXIT end?* makes the code ugly. >>> >>> >>> >>> Thanks in advance, >>> >>> >>> >>> Andrew Keil >>> >>> *Visytel Pty Ltd* >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Sample Lua Service >>> ----------------------------------------------------------------------- >>> >>> >>> >>> -- Lua template for FreeSWITCH service >>> >>> -- By: Andrew Keil (Visytel Pty Ltd) >>> >>> -- Email: support at visytel.com >>> >>> >>> >>> -- Setup script wide variables here >>> >>> >>> >>> function PreAnswer() >>> >>> freeswitch.consoleLog("INFO", "PRE ANSWER SECTION\n"); >>> >>> -- Add your pre answer code from here >>> >>> >>> >>> -- End of your pre answer code >>> >>> freeswitch.consoleLog("INFO", "PRE ANSWER SECTION >>> COMPLETE\n"); >>> >>> end >>> >>> >>> >>> function AnswerCaller() >>> >>> session:answer() >>> >>> session:sleep(1000) >>> >>> end >>> >>> >>> >>> function MainService() >>> >>> freeswitch.consoleLog("INFO", "MAIN SERVICE >>> SECTION\n"); >>> >>> if (session:ready()) then >>> >>> -- Note (1): If you wish to end the call >>> then simply use: goto ENDSERVICE >>> >>> -- Note (2): To terminate the service >>> sooner when HANGUP is detected use: if (not session:ready()) then goto >>> HANGUPEXIT end >>> >>> -- Add your main service code from >>> here (caller would have been answered) >>> >>> >>> >>> session:streamFile("intro.wav") >>> >>> if (not session:ready()) then goto >>> HANGUPEXIT end >>> >>> session:streamFile("info.wav") >>> >>> if (not session:ready()) then goto >>> HANGUPEXIT end >>> >>> >>> session:streamFile("outro.wav") >>> >>> if (not session:ready()) then goto >>> HANGUPEXIT end >>> >>> >>> >>> -- End of your main service code >>> >>> end >>> >>> ::ENDSERVICE:: >>> >>> if (session:ready()) then >>> >>> -- End of service so hangup >>> >>> session:hangup() -- Should >>> automatically jump to CleanUp() via hangup handler if caller still online >>> at this stage >>> >>> end >>> >>> goto END >>> >>> ::HANGUPEXIT:: >>> >>> freeswitch.consoleLog("INFO", "END OF SERVICE (HANGUP >>> DETECTED)\n"); >>> >>> ::END:: >>> >>> freeswitch.consoleLog("INFO", "MAIN SERVICE SECTION >>> COMPLETE\n"); >>> >>> end >>> >>> >>> >>> function CleanUp() >>> >>> freeswitch.consoleLog("INFO", "CLEANUP SECTION\n"); >>> >>> -- Add your cleanup code from here (caller would have >>> been disconnected) >>> >>> >>> >>> -- End of your cleanup code >>> >>> freeswitch.consoleLog("INFO", "CLEANUP SECTION >>> COMPLETE\n"); >>> >>> end >>> >>> >>> >>> function myHangupHook(s, status, arg) >>> >>> session:hangup() >>> >>> CleanUp() -- Run CleanUp function now since the caller >>> has disconnected >>> >>> end >>> >>> >>> >>> -- Setup Hangup event handler here >>> >>> v_hangup = "HANGUP" >>> >>> session:setHangupHook("myHangupHook", "v_hangup") >>> >>> >>> >>> -- Call service functions in order >>> >>> PreAnswer() >>> >>> AnswerCaller() >>> >>> MainService() >>> >>> -- End of Lua service >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/dc0e69e4/attachment-0001.html From mandra at gmail.com Fri Mar 4 21:10:21 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 13:10:21 -0500 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> Message-ID: It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? Am I the only one running into this sort of thing? thanks for all your help, chris On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra wrote: > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger wrote: > >> If you do the lsof before and then after the unload, does the lsof still >> show the same filename as opened? >> >> -- Nathan >> >> On 03/04/2016 07:53 AM, Chris Mandra wrote: >> > And I want to stress, that I delete the file from disc unload the >> module, reload the module and it says it loads, so >> > this doesn't make sense to me? >> > >> > On Friday, March 4, 2016, Chris Mandra > mandra at gmail.com>> wrote: >> > >> > Nevermind. >> > It's still not working. >> > >> > Couple of questions: >> > I'm writing this I'm c++. Could that be causing problems? >> > Here's my makefile. Is anything obvs causing trouble here: >> > >> > BASE=../../../.. >> > include $(BASE)/build/modmake.rules >> > LOCAL_CFLAGS=-I./include -std=c++0x >> -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) >> -fpermissive >> > LOCAL_LDFLAGS+=-lboost_program_options >> > strategy.o: strategy.cpp >> > ladspa_strategy.o: ladspa_strategy.cpp >> > dsp_strategy.o: dsp_strategy.cpp >> > param_strategy.o: param_strategy.cpp >> > load.o: load.cpp >> > tokenizer.o: tokenizer.cpp >> > validators.o: validators.cpp >> > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o >> tokenizer.o param_strategy.o >> > local_depend: $(LOCAL_OBJS) >> > >> > Thanks, Chris >> > >> > >> > >> > On Friday, March 4, 2016, Chris Mandra > > wrote: >> > >> > So here's another wrinkle. I've removed my module from the >> system, recreated it fresh with a new filename (and >> > internal names where apropos) and it's reloading is working >> properly now. Same code. How is this possible? >> > Thanks, >> > Chris >> > >> > On Thursday, March 3, 2016, Chris Mandra >> wrote: >> > >> > Does that make anything come to mind? >> > >> > On Wednesday, March 2, 2016, Chris Mandra >> wrote: >> > >> > 1.6 >> > >> > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < >> krice at freeswitch.org> wrote: >> > >> > What version of FreeSWITCH are you building this >> against? ____ >> > >> > __ __ >> > >> > __ __ >> > >> > __ __ >> > >> > __ __ >> > >> > __ __ >> > >> > *From:* >> freeswitch-users-bounces at lists.freeswitch.org >> > [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris >> Mandra >> > *Sent:* Wednesday, March 2, 2016 10:37 AM >> > *To:* FreeSWITCH Users Help < >> freeswitch-users at lists.freeswitch.org> >> > *Subject:* [Freeswitch-users] module question____ >> > >> > __ __ >> > >> > I unload, wipe the file reload and it says it's >> reloaded >> > This makes no sense >> > On Wednesday, March 2, 2016, Nathan Neulinger < >> nneul at mst.edu> wrote:____ >> > >> > I think he said earlier that if he shuts down >> completely, it works fine, but he's wanting to be >> > able to reload on the >> > fly to test new changes. >> > >> > -- Nathan >> > >> > On 03/02/2016 08:59 AM, Ken Rice wrote: >> > > Have you completely shut FreeSwitch down? >> There is a chance when you unload a module, that >> > module doesn?t actually >> > > unload, its still loaded, just deactivated. >> You can easily verify this by making sure the .so >> > for the module is gone, >> > > and restarting FreeSWITCH completely. >> > > >> > > *From:* >> freeswitch-users-bounces at lists.freeswitch.org >> > [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf >> > > Of *Chris Mandra >> > > *Sent:* Wednesday, March 2, 2016 8:30 AM >> > > *To:* FreeSWITCH Users Help < >> freeswitch-users at lists.freeswitch.org> >> > > *Subject:* Re: [Freeswitch-users] module >> question >> > > >> > > No, not chroot'd. I'm compiling a bunch of >> my own classes, could be my makefile? >> > > >> > > On Wednesday, March 2, 2016, Nathan >> Neulinger > wrote: >> > > >> > > Is there any chance you are running >> freeswitch chroot'd? >> > > >> > > On 03/02/2016 06:14 AM, Chris Mandra >> wrote: >> > > > Thank you for writing Stephen, I've >> already tried that, and that's how I know it's >> > reporting what it's reporting >> > > and how >> > > > it doesn't make any sense. >> > > > >> > > > Fs is reporting this: >> /usr/local/freeswitch/mod/mod_test_dsp.so >> > > > >> > > > however that file doesn?t even exist >> > > > >> > > > and yet it still says it?s loading it >> > > > >> > > > how is that possible? >> > > > >> > > > >> > > > On Wednesday, March 2, 2016, Steven >> Ayre >> > > > > >> wrote: >> > > > >> > > > When the file is loaded use find >> FreeSWITCH's PID and then use the 'lsof -p $PID | >> > grep mod_' command... >> > > it'll show >> > > > you a list of the modules >> FreeSWITCH currently has loaded. See if it's loading >> > from a different path that way. >> > > > >> > > > On 2 March 2016 at 02:52, Chris >> Mandra >> > > > mandra at gmail.com ');>> wrote: >> > > > >> > > > Any other ideas? >> > > > >> > > > >> > > > On Tuesday, March 1, 2016, >> Chris Mandra >> > > > mandra at gmail.com ');>> wrote: >> > > > >> > > > Thanks for your responses >> so far guys. Italo, its only built from source >> > so I don't think that's the >> > > issue. >> > > > This is baffling. I've >> tried it in more one machine, same result. >> > > > >> > > > On Tuesday, March 1, >> 2016, Chris Mandra > >> > wrote: >> > > > >> > > > So, FS is reporting >> > > > >> > > > reporting this: >> /usr/local/freeswitch/mod/mod_test_dsp.so >> > > > >> > > > however that file >> doesn?t even exist >> > > > >> > > > and yet it still says >> it?s loading it >> > > > >> > > > how is that possible? >> > > > >> > > > >> > > > On Tue, Mar 1, 2016 >> at 12:34 PM, Nathan Neulinger > > > wrote: >> > > > >> > > > >> > > > >> > > > On 03/01/2016 >> 09:41 AM, Chris Mandra wrote: >> > > > > thanks for the >> reply Nathan - this is really weird: >> > > > > >> > > > > after i remove >> the .so files (and make sure they're gone from my >> > disk) it still reports it >> > > successfully reloads >> > > > > >> > > > >> > > > Ok, so issue >> 'lsof -p PID_OF_FREESWITCH' and look for the path to >> > the .so file that it >> > > loaded. It's >> > > > likely pulling it >> in >> > > > from a different >> location. >> > > > >> > > > Or 'strace -v -f >> -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then >> > issue the reload, then kill the >> > > > strace and look >> for what >> > > > file/path it >> searched/etc. >> > > > >> > > > -- Nathan >> > > > >> > > > >> ------------------------------------------------------------ >> > > > Nathan Neulinger >> nneul at mst.edu >> > > > Missouri S&T >> Information Technology (573) 612-1412 >> > >> >> > > > System >> Administrator - Architect >> > > > >> > > > >> > >> _________________________________________________________________________ >> > > > Professional >> FreeSWITCH Consulting Services: >> > > > consulting at freeswitch.org >> >> > > > http://www.freeswitchsolutions.com >> > > > >> > > > Official >> FreeSWITCH Sites >> > > > http://www.freeswitch.org >> > > > http://confluence.freeswitch.org >> > > > http://www.cluecon.com >> > > > >> > > > FreeSWITCH-users >> mailing list >> > > > FreeSWITCH-users at lists.freeswitch.org >> >> > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > > >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > > http://www.freeswitch.org >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > mandra >> > > > c:410.258.5281 > 410.258.5281> >> > > > >> > > > >> > > > >> > > > -- >> > > > mandra >> > > > c:410.258.5281 > 410.258.5281> >> > > > >> > > > >> > > > >> > > > -- >> > > > mandra >> > > > c:410.258.5281 > 410.258.5281> >> > > > >> > > > >> _________________________________________________________________________ >> > > > Professional FreeSWITCH >> Consulting Services: >> > > > consulting at freeswitch.org >> >> > > consulting at freeswitch.org ');> >> > > > http://www.freeswitchsolutions.com >> > > > >> > > > Official FreeSWITCH Sites >> > > > http://www.freeswitch.org >> > > > http://confluence.freeswitch.org >> > > > http://www.cluecon.com >> > > > >> > > > FreeSWITCH-users mailing list >> > > > FreeSWITCH-users at lists.freeswitch.org >> >> > > > 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 >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > mandra >> > > > c:410.258.5281 >> > > > >> > > > >> > > > >> _________________________________________________________________________ >> > > > Professional FreeSWITCH Consulting >> Services: >> > > > consulting at freeswitch.org >> >> > > > http://www.freeswitchsolutions.com >> > > > >> > > > Official FreeSWITCH Sites >> > > > http://www.freeswitch.org >> > > > http://confluence.freeswitch.org >> > > > http://www.cluecon.com >> > > > >> > > > FreeSWITCH-users mailing list >> > > > FreeSWITCH-users at lists.freeswitch.org >> >> > > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > > http://www.freeswitch.org >> > > > >> > > >> > > -- >> > > >> ------------------------------------------------------------ >> > > Nathan Neulinger nneul at mst.edu >> >> > > Missouri S&T Information Technology (573) >> 612-1412 >> > > System Administrator - Architect >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting >> Services: >> > > consulting at freeswitch.org >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> >> > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> > > >> > > >> > > >> > > -- >> > > mandra >> > > c:410.258.5281 >> > > >> > > >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> > > >> > >> > -- >> > >> ------------------------------------------------------------ >> > Nathan Neulinger nneul at mst.edu >> > Missouri S&T Information Technology (573) >> 612-1412 >> > System Administrator - Architect >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org____ >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 ____ >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> > -- >> > mandra >> > c:410.258.5281 >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> >> -- >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> Missouri S&T Information Technology (573) 612-1412 >> System Administrator - Architect >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > mandra > c:410.258.5281 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/effd3bb9/attachment-0001.html From nneul at mst.edu Fri Mar 4 21:15:09 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Fri, 4 Mar 2016 12:15:09 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> Message-ID: <56D9D0AD.1050506@mst.edu> I certainly don't see it with other modules on my system. Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded. -- Nathan On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra > wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger > wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me? > > > > On Friday, March 4, 2016, Chris Mandra >> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra ');>> wrote: > > > > So here's another wrinkle. I've removed my module from the system, recreated it fresh with a new filename (and > > internal names where apropos) and it's reloading is working properly now. Same code. How is this possible? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra > wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra > wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice > wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org ] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help > > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger > > wrote:____ > > > > I think he said earlier that if he shuts down completely, it works fine, but he's > wanting to be > > able to reload on the > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn?t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help > > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger >> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn?t even exist > > > > > > > > and yet it still says it?s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre > > > > > >> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra > > > > ');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > > > ');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn?t even exist > > > > > > > > and yet it still says it?s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > > > > wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > > ------------------------------------------------------------ > > > > Nathan Neulinger nneul at mst.edu > > > > > Missouri S&T Information Technology (573) 612-1412 > > > > > > > System Administrator - Architect > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting at freeswitch.org > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting at freeswitch.org > > ');> > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > ');> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting at freeswitch.org > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > -- > > > ------------------------------------------------------------ > > > Nathan Neulingernneul at mst.edu > > > Missouri S&T Information Technology(573) 612-1412 > > > System Administrator - Architect > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting at freeswitch.org > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users at lists.freeswitch.org > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting at freeswitch.org > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users at lists.freeswitch.org > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulingernneul at mst.edu > > Missouri S&T Information Technology(573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting at freeswitch.org > >http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org > >http://confluence.freeswitch.org > >http://www.cluecon.com > > > > FreeSWITCH-users mailing list > >FreeSWITCH-users at lists.freeswitch.org > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org____ > > > > > > > > -- > > mandra > > c:410.258.5281 >____ > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From mandra at gmail.com Fri Mar 4 22:01:24 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 4 Mar 2016 14:01:24 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D9D0AD.1050506@mst.edu> References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> <56D9D0AD.1050506@mst.edu> Message-ID: Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file. chris On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger wrote: > I certainly don't see it with other modules on my system. > > Are you able to test it with other modules on yours? i.e. try unloading > something like mod_opus (unless you are using > it). And see if the same behavior exists. If it doesn't, problem is > specific to the module being unloaded. > > -- Nathan > > On 03/04/2016 12:10 PM, Chris Mandra wrote: > > It seems to me that the problem is that the library is not being > unloaded, or it's not properly loaded or both? > > > > Am I the only one running into this sort of thing? > > > > thanks for all your help, > > chris > > > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra mandra at gmail.com>> wrote: > > > > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > after > > > > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > both the same after loading and unloading > > > > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger > wrote: > > > > If you do the lsof before and then after the unload, does the > lsof still show the same filename as opened? > > > > -- Nathan > > > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > > And I want to stress, that I delete the file from disc unload > the module, reload the module and it says it loads, so > > > this doesn't make sense to me? > > > > > > On Friday, March 4, 2016, Chris Mandra mandra at gmail.com>>> wrote: > > > > > > Nevermind. > > > It's still not working. > > > > > > Couple of questions: > > > I'm writing this I'm c++. Could that be causing problems? > > > Here's my makefile. Is anything obvs causing trouble here: > > > > > > BASE=../../../.. > > > include $(BASE)/build/modmake.rules > > > LOCAL_CFLAGS=-I./include -std=c++0x > -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) > -fpermissive > > > LOCAL_LDFLAGS+=-lboost_program_options > > > strategy.o: strategy.cpp > > > ladspa_strategy.o: ladspa_strategy.cpp > > > dsp_strategy.o: dsp_strategy.cpp > > > param_strategy.o: param_strategy.cpp > > > load.o: load.cpp > > > tokenizer.o: tokenizer.cpp > > > validators.o: validators.cpp > > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o > load.o tokenizer.o param_strategy.o > > > local_depend: $(LOCAL_OBJS) > > > > > > Thanks, Chris > > > > > > > > > > > > On Friday, March 4, 2016, Chris Mandra > ');>> wrote: > > > > > > So here's another wrinkle. I've removed my module from > the system, recreated it fresh with a new filename (and > > > internal names where apropos) and it's reloading is > working properly now. Same code. How is this possible? > > > Thanks, > > > Chris > > > > > > On Thursday, March 3, 2016, Chris Mandra < > mandra at gmail.com > wrote: > > > > > > Does that make anything come to mind? > > > > > > On Wednesday, March 2, 2016, Chris Mandra < > mandra at gmail.com > wrote: > > > > > > 1.6 > > > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < > krice at freeswitch.org > wrote: > > > > > > What version of FreeSWITCH are you > building this against? ____ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > *From:* > freeswitch-users-bounces at lists.freeswitch.org freeswitch-users-bounces at lists.freeswitch.org> > > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org freeswitch-users-bounces at lists.freeswitch.org>] *On Behalf > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org freeswitch-users at lists.freeswitch.org>> > > > *Subject:* [Freeswitch-users] module > question____ > > > > > > __ __ > > > > > > I unload, wipe the file reload and it says > it's reloaded > > > This makes no sense > > > On Wednesday, March 2, 2016, Nathan > Neulinger > > > wrote:____ > > > > > > I think he said earlier that if he > shuts down completely, it works fine, but he's > > wanting to be > > > able to reload on the > > > fly to test new changes. > > > > > > -- Nathan > > > > > > On 03/02/2016 08:59 AM, Ken Rice > wrote: > > > > Have you completely shut > FreeSwitch down? There is a chance when you unload a > > module, that > > > module doesn?t actually > > > > unload, its still loaded, just > deactivated. You can easily verify this by making > > sure the .so > > > for the module is gone, > > > > and restarting FreeSWITCH > completely. > > > > > > > > *From:* > freeswitch-users-bounces at lists.freeswitch.org > > > > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org > > ] *On > Behalf > > > > Of *Chris Mandra > > > > *Sent:* Wednesday, March 2, 2016 > 8:30 AM > > > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org > > > > > > > *Subject:* Re: [Freeswitch-users] > module question > > > > > > > > No, not chroot'd. I'm compiling a > bunch of my own classes, could be my makefile? > > > > > > > > On Wednesday, March 2, 2016, > Nathan Neulinger > nneul at mst.edu>>> wrote: > > > > > > > > Is there any chance you are > running freeswitch chroot'd? > > > > > > > > On 03/02/2016 06:14 AM, Chris > Mandra wrote: > > > > > Thank you for writing > Stephen, I've already tried that, and that's how I > > know it's > > > reporting what it's reporting > > > > and how > > > > > it doesn't make any sense. > > > > > > > > > > Fs is reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > however that file doesn?t > even exist > > > > > > > > > > and yet it still says it?s > loading it > > > > > > > > > > how is that possible? > > > > > > > > > > > > > > > On Wednesday, March 2, > 2016, Steven Ayre > > > > steveayre at gmail.com> > > > > >> wrote: > > > > > > > > > > When the file is loaded > use find FreeSWITCH's PID and then use the > > 'lsof -p $PID | > > > grep mod_' command... > > > > it'll show > > > > > you a list of the > modules FreeSWITCH currently has loaded. See if it's > > loading > > > from a different path that way. > > > > > > > > > > On 2 March 2016 at > 02:52, Chris Mandra > > > > > mandra at gmail.com > > ');>> wrote: > > > > > > > > > > Any other ideas? > > > > > > > > > > > > > > > On Tuesday, March > 1, 2016, Chris Mandra > > > > > mandra at gmail.com > > ');>> wrote: > > > > > > > > > > Thanks for your > responses so far guys. Italo, its only built > > from source > > > so I don't think that's the > > > > issue. > > > > > This is > baffling. I've tried it in more one machine, same result. > > > > > > > > > > On Tuesday, > March 1, 2016, Chris Mandra > > > > > wrote: > > > > > > > > > > So, FS is > reporting > > > > > > > > > > reporting > this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > however > that file doesn?t even exist > > > > > > > > > > and yet it > still says it?s loading it > > > > > > > > > > how is that > possible? > > > > > > > > > > > > > > > On Tue, Mar > 1, 2016 at 12:34 PM, Nathan Neulinger > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > On > 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > > > after > i remove the .so files (and make sure they're > > gone from my > > > disk) it still reports it > > > > successfully reloads > > > > > > > > > > > > > > > > Ok, so > issue 'lsof -p PID_OF_FREESWITCH' and look for > > the path to > > > the .so file that it > > > > loaded. It's > > > > > likely > pulling it in > > > > > from a > different location. > > > > > > > > > > Or > 'strace -v -f -s 500 -o /tmp/trc -p > > PID_OF_FREESWITCH', then > > > issue the reload, then kill the > > > > > strace > and look for what > > > > > > file/path it searched/etc. > > > > > > > > > > -- > Nathan > > > > > > > > > > > > ------------------------------------------------------------ > > > > > Nathan > Neulinger nneul at mst.edu > > > > > > > > Missouri S&T Information Technology (573) 612-1412 > > > > > > > > > > > System > Administrator - Architect > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > Professional FreeSWITCH Consulting Services: > > > > >consulting at freeswitch.org > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official > FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c: > 410.258.5281 > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional > FreeSWITCH Consulting Services: > > > > >consulting at freeswitch.org > > > > consulting at freeswitch.org > ');> > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH > Sites > > > > >http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users > mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 410.258.5281> > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH > Consulting Services: > > > > >consulting at freeswitch.org > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > > > > -- > > > > > ------------------------------------------------------------ > > > > Nathan Neulingernneul at mst.edu > > > > > Missouri S&T Information > Technology(573) 612-1412 > > > > > System Administrator - Architect > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH > Consulting Services: > > > >consulting at freeswitch.org consulting at freeswitch.org> > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting > Services: > > > >consulting at freeswitch.org consulting at freeswitch.org> > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > -- > > > > ------------------------------------------------------------ > > > Nathan Neulingernneul at mst.edu nneul at mst.edu> > > > Missouri S&T Information Technology(573) > 612-1412 > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting > Services: > > >consulting at freeswitch.org > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users at lists.freeswitch.org 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____ > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 410.258.5281 >____ > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting > Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > Missouri S&T Information Technology (573) 612-1412 > > > System Administrator - Architect > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org 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 > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/1fb6403c/attachment-0001.html From nneul at mst.edu Fri Mar 4 22:27:51 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Fri, 4 Mar 2016 13:27:51 -0600 Subject: [Freeswitch-users] module question In-Reply-To: References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> <56D9D0AD.1050506@mst.edu> Message-ID: <56D9E1B7.7040404@mst.edu> No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code. -- Nathan On 03/04/2016 01:01 PM, Chris Mandra wrote: > Hi Nathan - > this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm > trying to figure out why. > freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it > as open file. > > chris > > > On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger > wrote: > > I certainly don't see it with other modules on my system. > > Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using > it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded. > > -- Nathan > > On 03/04/2016 12:10 PM, Chris Mandra wrote: > > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > > > Am I the only one running into this sort of thing? > > > > thanks for all your help, > > chris > > > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra >> wrote: > > > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > after > > > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > both the same after loading and unloading > > > > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger >> wrote: > > > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > > > -- Nathan > > > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > > this doesn't make sense to me? > > > > > > On Friday, March 4, 2016, Chris Mandra > > >>> wrote: > > > > > > Nevermind. > > > It's still not working. > > > > > > Couple of questions: > > > I'm writing this I'm c++. Could that be causing problems? > > > Here's my makefile. Is anything obvs causing trouble here: > > > > > > BASE=../../../.. > > > include $(BASE)/build/modmake.rules > > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > > LOCAL_LDFLAGS+=-lboost_program_options > > > strategy.o: strategy.cpp > > > ladspa_strategy.o: ladspa_strategy.cpp > > > dsp_strategy.o: dsp_strategy.cpp > > > param_strategy.o: param_strategy.cpp > > > load.o: load.cpp > > > tokenizer.o: tokenizer.cpp > > > validators.o: validators.cpp > > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > > local_depend: $(LOCAL_OBJS) > > > > > > Thanks, Chris > > > > > > > > > > > > On Friday, March 4, 2016, Chris Mandra > > > > >');>> wrote: > > > > > > So here's another wrinkle. I've removed my module from the system, recreated it fresh with a new filename (and > > > internal names where apropos) and it's reloading is working properly now. Same code. How is this possible? > > > Thanks, > > > Chris > > > > > > On Thursday, March 3, 2016, Chris Mandra >> wrote: > > > > > > Does that make anything come to mind? > > > > > > On Wednesday, March 2, 2016, Chris Mandra >> wrote: > > > > > > 1.6 > > > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice >> wrote: > > > > > > What version of FreeSWITCH are you building this against? ____ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > __ __ > > > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > >] *On Behalf > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > > *To:* FreeSWITCH Users Help >> > > > *Subject:* [Freeswitch-users] module question____ > > > > > > __ __ > > > > > > I unload, wipe the file reload and it says it's reloaded > > > This makes no sense > > > On Wednesday, March 2, 2016, Nathan Neulinger >> > > wrote:____ > > > > > > I think he said earlier that if he shuts down completely, it works fine, but he's > > wanting to be > > > able to reload on the > > > fly to test new changes. > > > > > > -- Nathan > > > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > > module, that > > > module doesn?t actually > > > > unload, its still loaded, just deactivated. You can easily verify this by making > > sure the .so > > > for the module is gone, > > > > and restarting FreeSWITCH completely. > > > > > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org > > > > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > > >] *On Behalf > > > > Of *Chris Mandra > > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > > *To:* FreeSWITCH Users Help > > >> > > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger > > > >>> wrote: > > > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > > Thank you for writing Stephen, I've already tried that, and that's how I > > know it's > > > reporting what it's reporting > > > > and how > > > > > it doesn't make any sense. > > > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > however that file doesn?t even exist > > > > > > > > > > and yet it still says it?s loading it > > > > > > > > > > how is that possible? > > > > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre > > > > > > > > > > > > >> wrote: > > > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > > 'lsof -p $PID | > > > grep mod_' command... > > > > it'll show > > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > > loading > > > from a different path that way. > > > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra > > > > > > > > > > ');>> wrote: > > > > > > > > > > Any other ideas? > > > > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > > > > > > > > > ');>> wrote: > > > > > > > > > > Thanks for your responses so far guys. Italo, its only built > > from source > > > so I don't think that's the > > > > issue. > > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra > > > > > > > wrote: > > > > > > > > > > So, FS is reporting > > > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > however that file doesn?t even exist > > > > > > > > > > and yet it still says it?s loading it > > > > > > > > > > how is that possible? > > > > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > > > after i remove the .so files (and make sure they're > > gone from my > > > disk) it still reports it > > > > successfully reloads > > > > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > > the path to > > > the .so file that it > > > > loaded. It's > > > > > likely pulling it in > > > > > from a different location. > > > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > > PID_OF_FREESWITCH', then > > > issue the reload, then kill the > > > > > strace and look for what > > > > > file/path it searched/etc. > > > > > > > > > > -- Nathan > > > > > > > > > > > > ------------------------------------------------------------ > > > > > Nathan Neulinger nneul at mst.edu > > > > > > > > > Missouri S&T Information Technology(573) 612-1412 > > > > > > > > > > System Administrator - Architect > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > >consulting at freeswitch.org > > > > > > >http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > >http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > >> >> > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > >> >> > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > >> >> > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > >consulting at freeswitch.org > > > > > > > ');> > > > > >http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > >http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > > > ');> > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > >> > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > >consulting at freeswitch.org > > > > > > >http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > >http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >http://www.freeswitch.org > > > > > > > > > > > > > -- > > > > ------------------------------------------------------------ > > > > Nathan Neulingernneul at mst.edu > > > > > > Missouri S&T Information Technology(573) 612-1412 > > > > > System Administrator - Architect > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting at freeswitch.org > > > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > >> > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting at freeswitch.org > > > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > -- > > > ------------------------------------------------------------ > > > Nathan Neulingernneul at mst.edu > > > > > Missouri S&T Information Technology(573) 612-1412 > > > > System Administrator - Architect > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting at freeswitch.org > > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users at lists.freeswitch.org > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org____ > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > >>____ > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > >http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org > > >http://confluence.freeswitch.org > > >http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulinger nneul at mst.edu > > > Missouri S&T Information Technology(573) 612-1412 > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > >http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org > >http://confluence.freeswitch.org > >http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > > > > > > -- > > mandra > > c:410.258.5281 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From igorolhovskiy at gmail.com Sat Mar 5 00:05:13 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Fri, 4 Mar 2016 23:05:13 +0200 Subject: [Freeswitch-users] mod_local_stream strange behavior In-Reply-To: References: Message-ID: Hi! Thanks for an answer, I?ve been expecting that, just needed confirmation about this. Will move to file_stream. Thanks again! 2016-03-04 18:01 GMT+02:00 Steven Ayre : > That's the expected behaviour of that module. > > When you create a local stream you have a single stream of that file > playing in a continuous loop. That stream is not connected to any call. > When you play that stream to a call they're listening in on that stream at > whichever point it is currently at. > > The advantage of this is that you're only playing the file once and > sending it to multiple listeners, which can give some performance benefits. > For listening in on something like hold music it probably doesn't matter > that you're not hearing it from the start. > > You could restart the stream to jump back to the start, but that means > it'll jump for every other listener too (assuming the API would even run > while they're attached without blocking). > > Just play the file to them directly rather than with local_stream:// > > > On 4 March 2016 at 14:25, Igor Olhovskiy wrote: > >> Hello, >> >> Having a strange issue with a MoH and ringback tones defined with >> local_stream. >> Idea is I?m having 1 wav file for MoH. And when I?m playing it, it starts >> not from beginning, but nearly 3-7 seconds before file end and than - >> starts over. Can?t get why it not just playing file from start. >> Yes, I know there is a workaround to use file_stream, but may be there is >> way to make local_stream with a same behavior? >> System: Debian 8, VmWare ESXi, FS 1.6.6 (FusionPBX) >> >> > path=?$${sounds_dir}/Domain_name/TestingMoH/8000?> >> >> >> >> >> >> >> >> Or I?m missing some parameter? >> -- >> Best regards, >> Igor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/081cca44/attachment.html From msc at freeswitch.org Sat Mar 5 00:11:04 2016 From: msc at freeswitch.org (Michael Collins) Date: Fri, 4 Mar 2016 13:11:04 -0800 Subject: [Freeswitch-users] Re- End Lua script after HangupHook handled without all the extra code to handle the return to the function In-Reply-To: References: Message-ID: On Fri, Mar 4, 2016 at 9:19 AM, Abaci B wrote: > The question is not how to figure out when to exit the lua script, the > question is *how to exit the lua script*, and that can sometimes be > tricky or complicated as return "exit" only works from hangup hook. > Are you positive that it works only from a hangup hook? It seems to work at the end of any loop: -- testing exit (no session, call with luarun) freeswitch.consoleLog('INFO',"Starting infinite loop...\n") while(1) do freeswitch.consoleLog('WARNING',"Before exit...\n") return "exit" end freeswitch.consoleLog('INFO',"All done!\n") Or with a session: -- test exit with session, no hangup hook session:answer() freeswitch.consoleLog('INFO',"Entering main loop...\n") while ( session:ready() == true ) do freeswitch.consoleLog('WARNING',"Inside loop...\n") return "exit" end freeswitch.consoleLog('INFO',"All done!\n") In both cases I never see "All done!" at the CLI. Can you try it and see if there's a scenario where it does not exit as expected? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/c9f330c1/attachment.html From karl at xtronics.com Sat Mar 5 02:56:41 2016 From: karl at xtronics.com (Karl Schmidt) Date: Fri, 4 Mar 2016 17:56:41 -0600 Subject: [Freeswitch-users] Stutter on ringtone - incoming calls only Message-ID: <56DA20B9.2030301@xtronics.com> When people call in (via callcentric) - they hear a stutter in the ringtone. My understanding is that the ringtone is generated by freeswitch - looks like here: We are running the Debian release - 1.4.26~37-1~jessie+1 Could be this is a new 'feature'? Never sure. Anyone else seeing this? I'm thinking the ringtone might be using a different CODEX? -- -------------------------------------------------------------------------------- Karl Schmidt EMail Karl at xtronics.com Transtronics, Inc. WEB https://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-3089 Teaching people to think of themselves as victims is close to pure evil. kps -------------------------------------------------------------------------------- From gregor at infomedia.si Sat Mar 5 13:11:53 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Sat, 5 Mar 2016 11:11:53 +0100 Subject: [Freeswitch-users] SSL certificate and webrtc Message-ID: Hi! I bought wildcard certificate for using it with freeswitch. Now I have hard time to install it into Freeswitch and would appreciate any help. I have private key (generated at CSR request), certificate issued by authority and root certificate from authority. Now I do not know where to enter certficate. According to documentation I assume that this is correct: Cert, Key and Chain(s) are all contained in a single file in this order: -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- What is puzzling me is if this is correct: = root certificate from authority = private key = public certificate issued by authority Would this work? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/23628b7d/attachment.html From brian at freeswitch.org Sat Mar 5 14:11:09 2016 From: brian at freeswitch.org (Brian West) Date: Sat, 5 Mar 2016 05:11:09 -0600 Subject: [Freeswitch-users] SSL certificate and webrtc In-Reply-To: References: Message-ID: Chain is the ca, cert is your cert On Saturday, March 5, 2016, Gregor Nanger wrote: > Hi! > > I bought wildcard certificate for using it with freeswitch. > > Now I have hard time to install it into Freeswitch and would appreciate > any help. > > I have private key (generated at CSR request), certificate issued by > authority and root certificate from authority. Now I do not know where to > enter certficate. According to documentation I assume that this is correct: > Cert, Key and Chain(s) are all contained in a single file in this order: > > -----BEGIN CERTIFICATE----- > > -----END CERTIFICATE----- > -----BEGIN RSA PRIVATE KEY----- > > -----END RSA PRIVATE KEY----- > -----BEGIN CERTIFICATE----- > > -----END CERTIFICATE----- > > What is puzzling me is if this is correct: > = root certificate from authority > = private key > = public certificate issued by authority > > Would this work? > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/38ea2fc4/attachment-0001.html From mandra at gmail.com Sat Mar 5 16:46:49 2016 From: mandra at gmail.com (Chris Mandra) Date: Sat, 5 Mar 2016 08:46:49 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <56D9E1B7.7040404@mst.edu> References: <56D6EC6A.3000609@mst.edu> <4a6001d17494$1db2bd50$591837f0$@freeswitch.org> <56D7031B.8020809@mst.edu> <4af401d174a4$9a7718d0$cf654a70$@freeswitch.org> <56D998B0.1020305@mst.edu> <56D9D0AD.1050506@mst.edu> <56D9E1B7.7040404@mst.edu> Message-ID: Hi guys. After much slething I figured it out: this line: std::string const& s = po::validators::get_single_string(values); this is something from boost::program_options it throws an exception if it is false and for some reason if that line is in my code, even if it's not invoked, causes the library to not unload. Do you know why this might be? Is there some flag I should throw in my makefile to allow the boost library to be used in a way that's more compatible with free switch? Thanks, Chris On Friday, March 4, 2016, Nathan Neulinger wrote: > No, what I mean was I don't see the symptom unloading various modules on > my system. You should try the same (modules > OTHER than yours) to see if the symtom is general or specific to your code. > > -- Nathan > > On 03/04/2016 01:01 PM, Chris Mandra wrote: > > Hi Nathan - > > this is a module I'm working on, that's why it's not on your system. I > know the problem is specific to my module, I'm > > trying to figure out why. > > freeswitch reports module unloaded, but lsof reports that fs is still > talking to it, meaning freeswitch still reports it > > as open file. > > > > chris > > > > > > On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger >> wrote: > > > > I certainly don't see it with other modules on my system. > > > > Are you able to test it with other modules on yours? i.e. try > unloading something like mod_opus (unless you are using > > it). And see if the same behavior exists. If it doesn't, problem is > specific to the module being unloaded. > > > > -- Nathan > > > > On 03/04/2016 12:10 PM, Chris Mandra wrote: > > > It seems to me that the problem is that the library is not being > unloaded, or it's not properly loaded or both? > > > > > > Am I the only one running into this sort of thing? > > > > > > thanks for all your help, > > > chris > > > > > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra > mandra at gmail.com >>> > wrote: > > > > > > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > > > after > > > > > > freeswitc 10760 freeswitch DEL REG 8,1 > 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > > > > > both the same after loading and unloading > > > > > > > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger < > nneul at mst.edu > > >>> > wrote: > > > > > > If you do the lsof before and then after the unload, does > the lsof still show the same filename as opened? > > > > > > -- Nathan > > > > > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > > > And I want to stress, that I delete the file from disc > unload the module, reload the module and it says it loads, so > > > > this doesn't make sense to me? > > > > > > > > On Friday, March 4, 2016, Chris Mandra > mandra at gmail.com >> > > > mandra at gmail.com >>>> wrote: > > > > > > > > Nevermind. > > > > It's still not working. > > > > > > > > Couple of questions: > > > > I'm writing this I'm c++. Could that be causing > problems? > > > > Here's my makefile. Is anything obvs causing trouble > here: > > > > > > > > BASE=../../../.. > > > > include $(BASE)/build/modmake.rules > > > > LOCAL_CFLAGS=-I./include -std=c++0x > -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) > -fpermissive > > > > LOCAL_LDFLAGS+=-lboost_program_options > > > > strategy.o: strategy.cpp > > > > ladspa_strategy.o: ladspa_strategy.cpp > > > > dsp_strategy.o: dsp_strategy.cpp > > > > param_strategy.o: param_strategy.cpp > > > > load.o: load.cpp > > > > tokenizer.o: tokenizer.cpp > > > > validators.o: validators.cpp > > > > LOCAL_OBJS+=ladspa_strategy.o strategy.o > dsp_strategy.o load.o tokenizer.o param_strategy.o > > > > local_depend: $(LOCAL_OBJS) > > > > > > > > Thanks, Chris > > > > > > > > > > > > > > > > On Friday, March 4, 2016, Chris Mandra < > mandra at gmail.com > > > >> > > > > > > mandra at gmail.com >>');>> wrote: > > > > > > > > So here's another wrinkle. I've removed my > module from the system, recreated it fresh with a new filename (and > > > > internal names where apropos) and it's reloading > is working properly now. Same code. How is this possible? > > > > Thanks, > > > > Chris > > > > > > > > On Thursday, March 3, 2016, Chris Mandra < > mandra at gmail.com > > >>> wrote: > > > > > > > > Does that make anything come to mind? > > > > > > > > On Wednesday, March 2, 2016, Chris Mandra < > mandra at gmail.com > > >>> wrote: > > > > > > > > 1.6 > > > > > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken > Rice > krice at freeswitch.org >>> wrote: > > > > > > > > What version of FreeSWITCH are you > building this against? ____ > > > > > > > > __ __ > > > > > > > > __ __ > > > > > > > > __ __ > > > > > > > > __ __ > > > > > > > > __ __ > > > > > > > > *From:* > freeswitch-users-bounces at lists.freeswitch.org freeswitch-users-bounces at lists.freeswitch.org > > > > >> > > > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org > > > > > > >>] > *On Behalf > > > Of *Chris Mandra > > > > *Sent:* Wednesday, March 2, 2016 > 10:37 AM > > > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org > > > > > > >>> > > > > *Subject:* [Freeswitch-users] > module question____ > > > > > > > > __ __ > > > > > > > > I unload, wipe the file reload and > it says it's reloaded > > > > This makes no sense > > > > On Wednesday, March 2, 2016, > Nathan Neulinger > > > >>> > > > wrote:____ > > > > > > > > I think he said earlier that if > he shuts down completely, it works fine, but he's > > > wanting to be > > > > able to reload on the > > > > fly to test new changes. > > > > > > > > -- Nathan > > > > > > > > On 03/02/2016 08:59 AM, Ken > Rice wrote: > > > > > Have you completely shut > FreeSwitch down? There is a chance when you unload a > > > module, that > > > > module doesn?t actually > > > > > unload, its still loaded, > just deactivated. You can easily verify this by making > > > sure the .so > > > > for the module is gone, > > > > > and restarting FreeSWITCH > completely. > > > > > > > > > > *From:* > freeswitch-users-bounces at lists.freeswitch.org freeswitch-users-bounces at lists.freeswitch.org > > > > >> > > > > [mailto: > freeswitch-users-bounces at lists.freeswitch.org > > > > > > > >>] *On Behalf > > > > > Of *Chris Mandra > > > > > *Sent:* Wednesday, March 2, > 2016 8:30 AM > > > > > *To:* FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org freeswitch-users at lists.freeswitch.org > > > > >>> > > > > > *Subject:* Re: > [Freeswitch-users] module question > > > > > > > > > > No, not chroot'd. I'm > compiling a bunch of my own classes, could be my makefile? > > > > > > > > > > On Wednesday, March 2, 2016, > Nathan Neulinger > > > > >> nneul at mst.edu > > > >>>> wrote: > > > > > > > > > > Is there any chance you > are running freeswitch chroot'd? > > > > > > > > > > On 03/02/2016 06:14 AM, > Chris Mandra wrote: > > > > > > Thank you for writing > Stephen, I've already tried that, and that's how I > > > know it's > > > > reporting what it's reporting > > > > > and how > > > > > > it doesn't make any > sense. > > > > > > > > > > > > Fs is reporting this: > /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > > > however that file > doesn?t even exist > > > > > > > > > > > > and yet it still says > it?s loading it > > > > > > > > > > > > how is that possible? > > > > > > > > > > > > > > > > > > On Wednesday, March > 2, 2016, Steven Ayre steveayre at gmail.com > > > > steveayre at gmail.com >> > > > > > > > steveayre at gmail.com >> > > > > > >> wrote: > > > > > > > > > > > > When the file is > loaded use find FreeSWITCH's PID and then use the > > > 'lsof -p $PID | > > > > grep mod_' command... > > > > > it'll show > > > > > > you a list of the > modules FreeSWITCH currently has loaded. See if it's > > > loading > > > > from a different path that way. > > > > > > > > > > > > On 2 March 2016 > at 02:52, Chris Mandra mandra at gmail.com > > > > mandra at gmail.com >> > > > > > > > > > >> > > > ');>> wrote: > > > > > > > > > > > > Any other > ideas? > > > > > > > > > > > > > > > > > > On Tuesday, > March 1, 2016, Chris Mandra mandra at gmail.com > > > > mandra at gmail.com >> > > > > > > > > > >> > > > ');>> wrote: > > > > > > > > > > > > Thanks > for your responses so far guys. Italo, its only built > > > from source > > > > so I don't think that's the > > > > > issue. > > > > > > This is > baffling. I've tried it in more one machine, same result. > > > > > > > > > > > > On > Tuesday, March 1, 2016, Chris Mandra > > > > > mandra at gmail.com >> > > > > > wrote: > > > > > > > > > > > > So, > FS is reporting > > > > > > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > > > > > > however that file doesn?t even exist > > > > > > > > > > > > and > yet it still says it?s loading it > > > > > > > > > > > > how > is that possible? > > > > > > > > > > > > > > > > > > On > Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > > > > >> > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > > > > > > after i remove the .so files (and make sure they're > > > gone from my > > > > disk) it still reports it > > > > > successfully reloads > > > > > > > > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > > > the path to > > > > the .so file that it > > > > > loaded. It's > > > > > > > likely pulling it in > > > > > > > from a different location. > > > > > > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > > > PID_OF_FREESWITCH', then > > > > issue the reload, then kill the > > > > > > > strace and look for what > > > > > > > file/path it searched/etc. > > > > > > > > > > > > > -- Nathan > > > > > > > > > > > > > > > > ------------------------------------------------------------ > > > > > > > Nathan Neulinger nneul at mst.edu > > > >> > > > > > > > > > > Missouri S&T Information Technology(573) 612-1412 > > > > > > > > > > > > > > > > System Administrator - Architect > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > > consulting at freeswitch.org > > > consulting at freeswitch.org >> > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > > http://www.freeswitch.org > > > > > > > http://confluence.freeswitch.org > > > > > >http://www.cluecon.com > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > >> > > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > mandra > > > > > > > c:410.258.5281 > > > > > >> > >> > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > mandra > > > > > > > c:410.258.5281 > > > > > >> > >> > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > mandra > > > > > > > c:410.258.5281 > > > > > >> > >> > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > Professional > FreeSWITCH Consulting Services: > > > > > > > consulting at freeswitch.org > > > consulting at freeswitch.org >> > > > > consulting at freeswitch.org > > > consulting at freeswitch.org >> > > ');> > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > Official > FreeSWITCH Sites > > > > > > > http://www.freeswitch.org > > > > > > > http://confluence.freeswitch.org > > > > > >http://www.cluecon.com > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > >> > > > > > > > > > > > > > >> > ');> > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > mandra > > > > > > c:410.258.5281 > > > > >> > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > Professional > FreeSWITCH Consulting Services: > > > > > > > consulting at freeswitch.org > > > consulting at freeswitch.org >> > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > Official FreeSWITCH > Sites > > > > > > > http://www.freeswitch.org > > > > > > > http://confluence.freeswitch.org > > > > > >http://www.cluecon.com > > > > > > > > > > > > FreeSWITCH-users > mailing list > > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > >> > > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > -- > > > > > > ------------------------------------------------------------ > > > > > Nathan > Neulingernneul at mst.edu > > > >> > > > > > Missouri S&T Information > Technology(573) 612-1412 > > > > > > > > System Administrator - > Architect > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH > Consulting Services: > > > > >consulting at freeswitch.org > > > > consulting at freeswitch.org >> > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing > list > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > >> > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > > mandra > > > > > c:410.258.5281 > > > > >> > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH > Consulting Services: > > > > >consulting at freeswitch.org > > > > consulting at freeswitch.org >> > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > >http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > >http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > >> > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > >http://www.freeswitch.org > > > > > > > > > > > > > -- > > > > > ------------------------------------------------------------ > > > > Nathan Neulingernneul at mst.edu > > > > >> > > > > Missouri S&T Information > Technology(573) 612-1412 > > > > > > System Administrator - Architect > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH > Consulting Services: > > > >consulting at freeswitch.org consulting at freeswitch.org > consulting at freeswitch.org > > >> > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users at lists.freeswitch.org > > > > > >> > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org____ > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > >>____ > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting > Services: > > > > consulting at freeswitch.org consulting at freeswitch.org > consulting at freeswitch.org > > >> > > > >http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org > > > >http://confluence.freeswitch.org > > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > >> > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > > > -- > > > > mandra > > > > c:410.258.5281 > > > > > > > > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/83fe1042/attachment-0001.html From gregor at infomedia.si Sat Mar 5 18:27:42 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Sat, 5 Mar 2016 16:27:42 +0100 Subject: [Freeswitch-users] SSL certificate and webrtc In-Reply-To: References: Message-ID: Before going deep, just one question if someone knows. Is mod_verto supported in windows precompiled binaries? It depends on mod_rtc, but cannot find any reference to this module in installed freeswitch. Best regards, Gregor 2016-03-05 12:11 GMT+01:00 Brian West : > Chain is the ca, cert is your cert > > > On Saturday, March 5, 2016, Gregor Nanger wrote: > >> Hi! >> >> I bought wildcard certificate for using it with freeswitch. >> >> Now I have hard time to install it into Freeswitch and would appreciate >> any help. >> >> I have private key (generated at CSR request), certificate issued by >> authority and root certificate from authority. Now I do not know where to >> enter certficate. According to documentation I assume that this is correct: >> Cert, Key and Chain(s) are all contained in a single file in this order: >> >> -----BEGIN CERTIFICATE----- >> >> -----END CERTIFICATE----- >> -----BEGIN RSA PRIVATE KEY----- >> >> -----END RSA PRIVATE KEY----- >> -----BEGIN CERTIFICATE----- >> >> -----END CERTIFICATE----- >> >> What is puzzling me is if this is correct: >> = root certificate from authority >> = private key >> = public certificate issued by authority >> >> Would this work? >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/246cfe95/attachment.html From craig at stevenson.com Sat Mar 5 18:39:48 2016 From: craig at stevenson.com (Craig Stevenson) Date: Sat, 5 Mar 2016 08:39:48 -0700 Subject: [Freeswitch-users] SSL certificate and webrtc In-Reply-To: References: Message-ID: If an example helps, here what I have in my script to generate the .pem files for FreeSWITCH to support WebRTC: # Links to .crt and .key files ssl_dir=${script_dir}/sc_ssl_cert sc_crt=$ssl_dir/sc.crt sc_key=$ssl_dir/sc.key ca_crt=$ssl_dir/gd_bundle.crt # create the .pem files mkdir -p /usr/local/freeswitch/certs/ { cat ${sc_crt}; cat ${sc_key}; cat ${ca_crt}; } > /usr/local/freeswitch/certs/wss.pem # CERT, KEY AND CHAIN files { cat ${sc_crt}; cat ${sc_key}; } > /usr/local/freeswitch/certs/agent.pem # CERT file AND key file { cat ${ca_crt}; } > /usr/local/freeswitch/certs/cafile.pem # CHAIN file or root CA On Sat, Mar 5, 2016 at 4:11 AM, Brian West wrote: > Chain is the ca, cert is your cert > > > On Saturday, March 5, 2016, Gregor Nanger wrote: > >> Hi! >> >> I bought wildcard certificate for using it with freeswitch. >> >> Now I have hard time to install it into Freeswitch and would appreciate >> any help. >> >> I have private key (generated at CSR request), certificate issued by >> authority and root certificate from authority. Now I do not know where to >> enter certficate. According to documentation I assume that this is correct: >> Cert, Key and Chain(s) are all contained in a single file in this order: >> >> -----BEGIN CERTIFICATE----- >> >> -----END CERTIFICATE----- >> -----BEGIN RSA PRIVATE KEY----- >> >> -----END RSA PRIVATE KEY----- >> -----BEGIN CERTIFICATE----- >> >> -----END CERTIFICATE----- >> >> What is puzzling me is if this is correct: >> = root certificate from authority >> = private key >> = public certificate issued by authority >> >> Would this work? >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/0e5a128d/attachment.html From davidwaf at gmail.com Sat Mar 5 21:13:01 2016 From: davidwaf at gmail.com (David Wafula) Date: Sat, 5 Mar 2016 20:13:01 +0200 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: I just got the same results after following the docs from http://evoluxbr.github.io/verto-docs/: audio works but video is blank On Thu, Mar 3, 2016 at 3:36 PM, Shlomi Schwartz wrote: > While developing the MOD_VERTO on IOS, I was able to get remote stream > back from my chrome browser. However this video stream appears black (I do > here audio, from my PC on my iPhone). > So I went over to https://webrtc.freeswitch.org/verto/index.html#page-main > (CHrome - Version 48.0.2564.116 (64-bit)) and unfortunatly the demo page > have similar issues: > > The local video is frozen, and on the remote side the video is black. > > I'm not sure where to start, if anyone can point me to the right direction > that would be great :) > > On Thu, Mar 3, 2016 at 10:25 AM, Shlomi Schwartz > wrote: > >> Sure, I'll do that - for now I'm in the signaling phase. Is there a place >> where I can find more information, like error codes and method invocation >> flow? >> >> On Wed, Mar 2, 2016 at 1:22 AM, Michael Jerris wrote: >> >>> If you get this working, I'd love to have that open sourced if at all >>> possible. We have been wanting to work on it so it will get done >>> eventually but if you get it sorted out first it would be a big help. >>> >>> On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz >>> wrote: >>> >>> super, thanks >>> >>> On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz >> > wrote: >>> >>>> Hi all, >>>> >>>> Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any >>>> documentation regarding the dialogParams on verto.invite method? >>>> >>>> The only documentation I found was : >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >>>> >>>> Thanks :) >>>> >>>> -- >>>> Shlomi Schwartz >>>> R&D Technical Leader >>>> T: +972-74-700-4511 >>>> >>>> We >>>> Create Meaningful Connections >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Shlomi Schwartz >>> R&D Technical Leader >>> T: +972-74-700-4511 >>> >>> We Create Meaningful Connections >>> >>> >>> >>> This message may contain confidential and/or privileged information. >>> If you are not the addressee or authorized to receive this on behalf of >>> the addressee you must not use, copy, disclose or take action based on this >>> message or any information herein. >>> If you have received this message in error, please advise the sender >>> immediately by reply email and delete this message. Thank you. >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Shlomi Schwartz >> R&D Technical Leader >> T: +972-74-700-4511 >> >> We Create Meaningful Connections >> >> >> > > > > -- > Shlomi Schwartz > R&D Technical Leader > T: +972-74-700-4511 > > We Create Meaningful Connections > > > > This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this on behalf of > the addressee you must not use, copy, disclose or take action based on this > message or any information herein. > If you have received this message in error, please advise the sender > immediately by reply email and delete this message. Thank you. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- David W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/8c70f12a/attachment-0001.html From anthony.minessale at gmail.com Sat Mar 5 23:21:19 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 5 Mar 2016 14:21:19 -0600 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: webrtc.freeswitch.org is out of date and runs 1.4 where video support has not been fully implemented. The latest code is always running on cantina.freeswitch.org using master from the tree /vc is verto communicator. /verto is the reference implementation client. On Sat, Mar 5, 2016 at 12:13 PM, David Wafula wrote: > I just got the same results after following the docs from > http://evoluxbr.github.io/verto-docs/: audio works but video is blank > > On Thu, Mar 3, 2016 at 3:36 PM, Shlomi Schwartz > wrote: > >> While developing the MOD_VERTO on IOS, I was able to get remote stream >> back from my chrome browser. However this video stream appears black (I do >> here audio, from my PC on my iPhone). >> So I went over to >> https://webrtc.freeswitch.org/verto/index.html#page-main (CHrome - Version >> 48.0.2564.116 (64-bit)) and unfortunatly the demo page have similar >> issues: >> >> The local video is frozen, and on the remote side the video is black. >> >> I'm not sure where to start, if anyone can point me to the right >> direction that would be great :) >> >> On Thu, Mar 3, 2016 at 10:25 AM, Shlomi Schwartz >> wrote: >> >>> Sure, I'll do that - for now I'm in the signaling phase. Is there a >>> place where I can find more information, like error codes and method >>> invocation flow? >>> >>> On Wed, Mar 2, 2016 at 1:22 AM, Michael Jerris wrote: >>> >>>> If you get this working, I'd love to have that open sourced if at all >>>> possible. We have been wanting to work on it so it will get done >>>> eventually but if you get it sorted out first it would be a big help. >>>> >>>> On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz >>>> wrote: >>>> >>>> super, thanks >>>> >>>> On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz < >>>> shlomis at liveperson.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any >>>>> documentation regarding the dialogParams on verto.invite method? >>>>> >>>>> The only documentation I found was : >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >>>>> >>>>> Thanks :) >>>>> >>>>> -- >>>>> Shlomi Schwartz >>>>> R&D Technical Leader >>>>> T: +972-74-700-4511 >>>>> >>>>> >>>>> We Create Meaningful >>>>> Connections >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Shlomi Schwartz >>>> R&D Technical Leader >>>> T: +972-74-700-4511 >>>> >>>> We >>>> Create Meaningful Connections >>>> >>>> >>>> >>>> This message may contain confidential and/or privileged information. >>>> If you are not the addressee or authorized to receive this on behalf of >>>> the addressee you must not use, copy, disclose or take action based on this >>>> message or any information herein. >>>> If you have received this message in error, please advise the sender >>>> immediately by reply email and delete this message. Thank you. >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http:// >>>> lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Shlomi Schwartz >>> R&D Technical Leader >>> T: +972-74-700-4511 >>> >>> We Create Meaningful Connections >>> >>> >>> >> >> >> >> -- >> Shlomi Schwartz >> R&D Technical Leader >> T: +972-74-700-4511 >> >> We Create Meaningful Connections >> >> >> >> This message may contain confidential and/or privileged information. >> If you are not the addressee or authorized to receive this on behalf of >> the addressee you must not use, copy, disclose or take action based on this >> message or any information herein. >> If you have received this message in error, please advise the sender >> immediately by reply email and delete this message. Thank you. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > David W > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/70a692b5/attachment-0001.html From msc at freeswitch.org Sun Mar 6 00:04:30 2016 From: msc at freeswitch.org (Michael Collins) Date: Sat, 5 Mar 2016 13:04:30 -0800 Subject: [Freeswitch-users] Stutter on ringtone - incoming calls only In-Reply-To: <56DA20B9.2030301@xtronics.com> References: <56DA20B9.2030301@xtronics.com> Message-ID: On Fri, Mar 4, 2016 at 3:56 PM, Karl Schmidt wrote: > When people call in (via callcentric) - they hear a stutter in the > ringtone. > > My understanding is that the ringtone is generated by freeswitch - looks > like here: > > > > We are running the Debian release - 1.4.26~37-1~jessie+1 > > Could be this is a new 'feature'? Never sure. > > Anyone else seeing this? > > I'm thinking the ringtone might be using a different CODEX? > You can be absolutely certain of what's happening by taking a pcap of the SIP and RTP that are leaving the box when the call comes in from Callcentric. Verify that you're sending a 183 w/SDP and that there's actual early media leaving your system. If there is, analyze the RTP and see if the stutter can be heard there. If it's PCMU then Wireshark is great for this kind of thing. (Lots of info in Confluence on packet captures and analysis if you need a reference.) The pcap analysis should at the very least help you narrow down where the stutter is coming in to play and where to go next. -MC > > -- > > -------------------------------------------------------------------------------- > > Karl Schmidt EMail Karl at xtronics.com > Transtronics, Inc. WEB > https://secure.transtronics.com > 3209 West 9th Street Ph (785) 841-3089 > > Lawrence, KS 66049 FAX (785) 841-3089 > > > Teaching people to think of themselves as victims is close to pure evil. > kps > > -------------------------------------------------------------------------------- > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160305/c9050a4f/attachment.html From gregor at infomedia.si Sun Mar 6 04:06:39 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Sun, 6 Mar 2016 02:06:39 +0100 Subject: [Freeswitch-users] Windows build Message-ID: Hi! I want to build Freeswitch on windows with visual studio 2015. Where should I start if I get 600 errors when try to Rebuild All. I opened solution and start Rebuild All, but I get so many errors that I belive that I am doing something wrong. Mainl yre errors regarding: Cannot open source file.... Best regards, Gregor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/897639fb/attachment.html From peter at olssononline.se Sun Mar 6 09:53:16 2016 From: peter at olssononline.se (Peter Olsson) Date: Sun, 6 Mar 2016 07:53:16 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: One common mistake is that you allow Git to modify line endings. Make sure autocrlf is turned off - then clone the repository again from scratch. Also, I'm not sure if it will work in VS2015, but give it a try. /Peter 2016-03-06 2:06 GMT+01:00 Gregor Nanger : > Hi! > > I want to build Freeswitch on windows with visual studio 2015. > > Where should I start if I get 600 errors when try to Rebuild All. I opened > solution and start Rebuild All, but I get so many errors that I belive that > I am doing something wrong. > > Mainl yre errors regarding: > > Cannot open source file.... > > > Best regards, Gregor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/d7ccbd7b/attachment.html From igorolhovskiy at gmail.com Sun Mar 6 10:51:35 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Sun, 6 Mar 2016 09:51:35 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused Message-ID: Hi! I?m getting really strange things, or I?m just missed something. My phone is dials to freeswitch with this this line in log 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: v=0 o=root 1697549695 1697549695 IN IP4 s=call c=IN IP4 t=0 0 m=audio 26894 RTP/AVP 9 0 8 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=ptime:20 a=nortpproxy:yes 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 samples 64000 bits 1 channels And when switches to external profile, I see 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 20:16:12Z 64bit Local SDP: v=0 o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 s=FreeSWITCH c=IN IP4 10.0.20.71 t=0 0 m=audio 29804 RTP/AVP 9 101 13 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 a=sendrecv The question is - why only G722 left? Across dialplan there is no things like inherit_codec, bypass media or other codec-related stuff Profiles external ext-sip-ip [10.0.20.71] rtp-timeout-sec [300] rtp-hold-timeout-sec [1800] tls [false] tls-only [false] tls-bind-params [transport=tls] tls-sip-port [5081] tls-cert-dir [/usr/local/freeswitch/conf/ssl] tls-passphrase [] tls-verify-date [true] tls-verify-depth [2] tls-verify-in-subjects [] tls-version [tlsv1] tls-verify-policy [all] odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch user=fusionpbx password=pass options='' application_name='freeswitch'] track-calls [true] inbound-codec-negotiation [greedy] debug [0] user-agent-string [FreeSWITCH] sip-trace [no] sip-capture [no] rfc2833-pt [101] sip-port [5080] dialplan [XML] context [public] dtmf-duration [2000] inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] outbound-codec-prefs [PCMU,PCMA,GSM] hold-music [local_stream://default] zrtp-passthru [true] rtp-timer-name [soft] local-network-acl [localnet.auto] manage-presence [false] nonce-ttl [60] auth-calls [false] rtp-ip [10.0.20.71] sip-ip [10.0.20.71] ext-rtp-ip [10.0.20.71] internal tls-cert-dir [/usr/local/freeswitch/conf/ssl] tls-passphrase [] tls-verify-date [true] tls-verify-depth [2] tls-verify-in-subjects [] tls-version [tlsv1] nonce-ttl [60] auth-calls [true] inbound-reg-force-matching-username [true] auth-all-packets [false] ext-rtp-ip [10.0.20.71] ext-sip-ip [10.0.20.71] rtp-timeout-sec [300] rtp-hold-timeout-sec [1800] tls-verify-policy [all] multiple-registrations [contact] enable-timer [false] dbname [share_presence] send-presence-on-register [true] inbound-codec-negotiation [greedy] NDLB-force-rport [safe] challenge-realm [auto_to] outbound-proxy [10.0.20.70] track-calls [true] odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] nat-options-ping [true] liberal-dtmf [true] all-reg-options-ping [true] force-publish-expires [true] unregister-on-options-fail [true] user-agent-string [FreeSWITCH] debug [0] sip-trace [no] sip-capture [no] watchdog-enabled [no] watchdog-step-timeout [30000] watchdog-event-timeout [30000] log-auth-failures [true] forward-unsolicited-mwi-notify [false] context [public] rfc2833-pt [101] sip-port [5060] dialplan [XML] dtmf-duration [2000] inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] rtp-timer-name [soft] rtp-ip [10.0.20.71] sip-ip [10.0.20.71] hold-music [local_stream://default] apply-nat-acl [nat.auto] aggressive-nat-detection [true] apply-inbound-acl [domains] local-network-acl [localnet.auto] record-path [/usr/local/freeswitch/recordings] record-template [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] manage-presence [true] presence-probe-on-register [true] manage-shared-appearance [true] tls [false] tls-only [false] tls-bind-params [transport=tls] tls-sip-port [5061] Tried with indbound-late-negotiation=false, also not helps? Can you please, point, what is missing? Thanks -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/a419fcaa/attachment-0001.html From igorolhovskiy at gmail.com Sun Mar 6 12:47:29 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Sun, 6 Mar 2016 11:47:29 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: Main question - why it?s ignores outbound-codec-prefs on external profile and use G722 as a first avail codec in list? 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > Hi! > I?m getting really strange things, or I?m just missed something. > My phone is dials to freeswitch with this this line in log > > 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: > v=0 > o=root 1697549695 1697549695 IN IP4 > s=call > c=IN IP4 > t=0 0 > m=audio 26894 RTP/AVP 9 0 8 > a=rtpmap:9 G722/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=ptime:20 > a=nortpproxy:yes > > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec > sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 samples > 64000 bits 1 channels > > And when switches to external profile, I see > > 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ > 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 > 20:16:12Z 64bit > Local SDP: > v=0 > o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 > s=FreeSWITCH > c=IN IP4 10.0.20.71 > t=0 0 > m=audio 29804 RTP/AVP 9 101 13 > a=rtpmap:9 G722/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=rtpmap:13 CN/8000 > a=ptime:20 > a=sendrecv > > > The question is - why only G722 left? > Across dialplan there is no things like inherit_codec, bypass media or > other codec-related stuff > > Profiles > external > ext-sip-ip [10.0.20.71] > rtp-timeout-sec [300] > rtp-hold-timeout-sec [1800] > tls [false] > tls-only [false] > tls-bind-params [transport=tls] > tls-sip-port [5081] > tls-cert-dir [/usr/local/freeswitch/conf/ssl] > tls-passphrase [] > tls-verify-date [true] > tls-verify-depth [2] > tls-verify-in-subjects [] > tls-version [tlsv1] > tls-verify-policy [all] > odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > user=fusionpbx password=pass options='' application_name='freeswitch'] > track-calls [true] > inbound-codec-negotiation [greedy] > debug [0] > user-agent-string [FreeSWITCH] > sip-trace [no] > sip-capture [no] > rfc2833-pt [101] > sip-port [5080] > dialplan [XML] > context [public] > dtmf-duration [2000] > inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] > outbound-codec-prefs [PCMU,PCMA,GSM] > hold-music [local_stream://default] > zrtp-passthru [true] > rtp-timer-name [soft] > local-network-acl [localnet.auto] > manage-presence [false] > nonce-ttl [60] > auth-calls [false] > rtp-ip [10.0.20.71] > sip-ip [10.0.20.71] > ext-rtp-ip [10.0.20.71] > > internal > tls-cert-dir [/usr/local/freeswitch/conf/ssl] > tls-passphrase [] > tls-verify-date [true] > tls-verify-depth [2] > tls-verify-in-subjects [] > tls-version [tlsv1] > nonce-ttl [60] > auth-calls [true] > inbound-reg-force-matching-username [true] > auth-all-packets [false] > ext-rtp-ip [10.0.20.71] > ext-sip-ip [10.0.20.71] > rtp-timeout-sec [300] > rtp-hold-timeout-sec [1800] > tls-verify-policy [all] > multiple-registrations [contact] > enable-timer [false] > dbname [share_presence] > send-presence-on-register [true] > inbound-codec-negotiation [greedy] > NDLB-force-rport [safe] > challenge-realm [auto_to] > outbound-proxy [10.0.20.70] > track-calls [true] > odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] > nat-options-ping [true] > liberal-dtmf [true] > all-reg-options-ping [true] > force-publish-expires [true] > unregister-on-options-fail [true] > user-agent-string [FreeSWITCH] > debug [0] > sip-trace [no] > sip-capture [no] > watchdog-enabled [no] > watchdog-step-timeout [30000] > watchdog-event-timeout [30000] > log-auth-failures [true] > forward-unsolicited-mwi-notify [false] > context [public] > rfc2833-pt [101] > sip-port [5060] > dialplan [XML] > dtmf-duration [2000] > inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] > outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] > rtp-timer-name [soft] > rtp-ip [10.0.20.71] > sip-ip [10.0.20.71] > hold-music [local_stream://default] > apply-nat-acl [nat.auto] > aggressive-nat-detection [true] > apply-inbound-acl [domains] > local-network-acl [localnet.auto] > record-path [/usr/local/freeswitch/recordings] > record-template > [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] > manage-presence [true] > presence-probe-on-register [true] > manage-shared-appearance [true] > tls [false] > tls-only [false] > tls-bind-params [transport=tls] > tls-sip-port [5061] > > Tried with indbound-late-negotiation=false, also not helps? > Can you please, point, what is missing? Thanks > > -- > Best regards, > Igor > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/28f7f012/attachment.html From igorolhovskiy at gmail.com Sun Mar 6 13:25:18 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Sun, 6 Mar 2016 12:25:18 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: Working only when I?m setting export nolocal:absolute_codec_string=${outbound_codec_prefs} 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > Main question - why it?s ignores outbound-codec-prefs on external profile > and use G722 as a first avail codec in list? > > 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > >> Hi! >> I?m getting really strange things, or I?m just missed something. >> My phone is dials to freeswitch with this this line in log >> >> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: >> v=0 >> o=root 1697549695 1697549695 IN IP4 >> s=call >> c=IN IP4 >> t=0 0 >> m=audio 26894 RTP/AVP 9 0 8 >> a=rtpmap:9 G722/8000 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:8 PCMA/8000 >> a=ptime:20 >> a=nortpproxy:yes >> >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec >> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 samples >> 64000 bits 1 channels >> >> And when switches to external profile, I see >> >> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ >> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 >> 20:16:12Z 64bit >> Local SDP: >> v=0 >> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 >> s=FreeSWITCH >> c=IN IP4 10.0.20.71 >> t=0 0 >> m=audio 29804 RTP/AVP 9 101 13 >> a=rtpmap:9 G722/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=rtpmap:13 CN/8000 >> a=ptime:20 >> a=sendrecv >> >> >> The question is - why only G722 left? >> Across dialplan there is no things like inherit_codec, bypass media or >> other codec-related stuff >> >> Profiles >> external >> ext-sip-ip [10.0.20.71] >> rtp-timeout-sec [300] >> rtp-hold-timeout-sec [1800] >> tls [false] >> tls-only [false] >> tls-bind-params [transport=tls] >> tls-sip-port [5081] >> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> tls-passphrase [] >> tls-verify-date [true] >> tls-verify-depth [2] >> tls-verify-in-subjects [] >> tls-version [tlsv1] >> tls-verify-policy [all] >> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> user=fusionpbx password=pass options='' application_name='freeswitch'] >> track-calls [true] >> inbound-codec-negotiation [greedy] >> debug [0] >> user-agent-string [FreeSWITCH] >> sip-trace [no] >> sip-capture [no] >> rfc2833-pt [101] >> sip-port [5080] >> dialplan [XML] >> context [public] >> dtmf-duration [2000] >> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> outbound-codec-prefs [PCMU,PCMA,GSM] >> hold-music [local_stream://default] >> zrtp-passthru [true] >> rtp-timer-name [soft] >> local-network-acl [localnet.auto] >> manage-presence [false] >> nonce-ttl [60] >> auth-calls [false] >> rtp-ip [10.0.20.71] >> sip-ip [10.0.20.71] >> ext-rtp-ip [10.0.20.71] >> >> internal >> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> tls-passphrase [] >> tls-verify-date [true] >> tls-verify-depth [2] >> tls-verify-in-subjects [] >> tls-version [tlsv1] >> nonce-ttl [60] >> auth-calls [true] >> inbound-reg-force-matching-username [true] >> auth-all-packets [false] >> ext-rtp-ip [10.0.20.71] >> ext-sip-ip [10.0.20.71] >> rtp-timeout-sec [300] >> rtp-hold-timeout-sec [1800] >> tls-verify-policy [all] >> multiple-registrations [contact] >> enable-timer [false] >> dbname [share_presence] >> send-presence-on-register [true] >> inbound-codec-negotiation [greedy] >> NDLB-force-rport [safe] >> challenge-realm [auto_to] >> outbound-proxy [10.0.20.70] >> track-calls [true] >> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] >> nat-options-ping [true] >> liberal-dtmf [true] >> all-reg-options-ping [true] >> force-publish-expires [true] >> unregister-on-options-fail [true] >> user-agent-string [FreeSWITCH] >> debug [0] >> sip-trace [no] >> sip-capture [no] >> watchdog-enabled [no] >> watchdog-step-timeout [30000] >> watchdog-event-timeout [30000] >> log-auth-failures [true] >> forward-unsolicited-mwi-notify [false] >> context [public] >> rfc2833-pt [101] >> sip-port [5060] >> dialplan [XML] >> dtmf-duration [2000] >> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> rtp-timer-name [soft] >> rtp-ip [10.0.20.71] >> sip-ip [10.0.20.71] >> hold-music [local_stream://default] >> apply-nat-acl [nat.auto] >> aggressive-nat-detection [true] >> apply-inbound-acl [domains] >> local-network-acl [localnet.auto] >> record-path [/usr/local/freeswitch/recordings] >> record-template >> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] >> manage-presence [true] >> presence-probe-on-register [true] >> manage-shared-appearance [true] >> tls [false] >> tls-only [false] >> tls-bind-params [transport=tls] >> tls-sip-port [5061] >> >> Tried with indbound-late-negotiation=false, also not helps? >> Can you please, point, what is missing? Thanks >> >> -- >> Best regards, >> Igor >> > > > > -- > Best regards, > Igor > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/837208cb/attachment-0001.html From gregor at infomedia.si Sun Mar 6 14:31:38 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Sun, 6 Mar 2016 12:31:38 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: ?This helped a lot, thank you. Now I have only few errors. Any hint? Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C: \Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error C1083 Cannot open include file: 'lame/lame.h': No such file or directory mod_shout C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C :\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 ? 2016-03-06 7:53 GMT+01:00 Peter Olsson : > One common mistake is that you allow Git to modify line endings. Make sure > autocrlf is turned off - then clone the repository again from scratch. > > Also, I'm not sure if it will work in VS2015, but give it a try. > > /Peter > > 2016-03-06 2:06 GMT+01:00 Gregor Nanger : > >> Hi! >> >> I want to build Freeswitch on windows with visual studio 2015. >> >> Where should I start if I get 600 errors when try to Rebuild All. I >> opened solution and start Rebuild All, but I get so many errors that I >> belive that I am doing something wrong. >> >> Mainl yre errors regarding: >> >> Cannot open source file.... >> >> >> Best regards, Gregor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/c35728b1/attachment.html From shlomis at liveperson.com Sun Mar 6 14:48:03 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Sun, 6 Mar 2016 13:48:03 +0200 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: Posted a detailed question on stack overflow ( http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio ) Any help is appreciated :) On Sat, Mar 5, 2016 at 10:21 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > webrtc.freeswitch.org is out of date and runs 1.4 where video support has > not been fully implemented. > The latest code is always running on cantina.freeswitch.org using master > from the tree > > /vc is verto communicator. > /verto is the reference implementation client. > > > > > > On Sat, Mar 5, 2016 at 12:13 PM, David Wafula wrote: > >> I just got the same results after following the docs from >> http://evoluxbr.github.io/verto-docs/: audio works but video is blank >> >> On Thu, Mar 3, 2016 at 3:36 PM, Shlomi Schwartz >> wrote: >> >>> While developing the MOD_VERTO on IOS, I was able to get remote stream >>> back from my chrome browser. However this video stream appears black (I do >>> here audio, from my PC on my iPhone). >>> So I went over to >>> https://webrtc.freeswitch.org/verto/index.html#page-main (CHrome - Version >>> 48.0.2564.116 (64-bit)) and unfortunatly the demo page have similar >>> issues: >>> >>> The local video is frozen, and on the remote side the video is black. >>> >>> I'm not sure where to start, if anyone can point me to the right >>> direction that would be great :) >>> >>> On Thu, Mar 3, 2016 at 10:25 AM, Shlomi Schwartz >> > wrote: >>> >>>> Sure, I'll do that - for now I'm in the signaling phase. Is there a >>>> place where I can find more information, like error codes and method >>>> invocation flow? >>>> >>>> On Wed, Mar 2, 2016 at 1:22 AM, Michael Jerris wrote: >>>> >>>>> If you get this working, I'd love to have that open sourced if at all >>>>> possible. We have been wanting to work on it so it will get done >>>>> eventually but if you get it sorted out first it would be a big help. >>>>> >>>>> On Feb 29, 2016, at 6:43 AM, Shlomi Schwartz >>>>> wrote: >>>>> >>>>> super, thanks >>>>> >>>>> On Sun, Feb 28, 2016 at 5:17 PM, Shlomi Schwartz < >>>>> shlomis at liveperson.com> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> Hello, I'm trying to implement mod_verto JSONRPC on IOS, is there any >>>>>> documentation regarding the dialogParams on verto.invite method? >>>>>> >>>>>> The only documentation I found was : >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >>>>>> >>>>>> Thanks :) >>>>>> >>>>>> -- >>>>>> Shlomi Schwartz >>>>>> R&D Technical Leader >>>>>> T: +972-74-700-4511 >>>>>> >>>>>> >>>>>> We Create Meaningful >>>>>> Connections >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Shlomi Schwartz >>>>> R&D Technical Leader >>>>> T: +972-74-700-4511 >>>>> >>>>> >>>>> We Create Meaningful >>>>> Connections >>>>> >>>>> >>>>> >>>>> This message may contain confidential and/or privileged information. >>>>> If you are not the addressee or authorized to receive this on behalf >>>>> of the addressee you must not use, copy, disclose or take action based on >>>>> this message or any information herein. >>>>> If you have received this message in error, please advise the sender >>>>> immediately by reply email and delete this message. Thank you. >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http:// >>>>> lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Shlomi Schwartz >>>> R&D Technical Leader >>>> T: +972-74-700-4511 >>>> >>>> We >>>> Create Meaningful Connections >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Shlomi Schwartz >>> R&D Technical Leader >>> T: +972-74-700-4511 >>> >>> We Create Meaningful Connections >>> >>> >>> >>> This message may contain confidential and/or privileged information. >>> If you are not the addressee or authorized to receive this on behalf of >>> the addressee you must not use, copy, disclose or take action based on this >>> message or any information herein. >>> If you have received this message in error, please advise the sender >>> immediately by reply email and delete this message. Thank you. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> David W >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 We Create Meaningful Connections -- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/4585bbce/attachment-0001.html From ashwinrath at gmail.com Sun Mar 6 15:50:12 2016 From: ashwinrath at gmail.com (Ashwin Rath) Date: Sun, 6 Mar 2016 18:20:12 +0530 Subject: [Freeswitch-users] Spanish Say support in freeswitch Message-ID: I am trying to build in Spanish say support . However from what i see there seem to be be a few issues. I first downloaded the freeswitch-sounds-es-mx-maria-44100.tar.gz file and unpacked it at the appropriate location. Then i got mod_say_es to load anf modified the XMLs in the lang folder to load the phrases / IVR sounds. I then tried to use Say in a lua script but i ran into lot of issues like missing file names . Examples being FS expecting "thousands.wav" but folder having "thousand.wav" instead. Is Spanish officially supported in FS ? if yes is there any known issue ? -- Ashwin Kumar Rath -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/062f574d/attachment.html From Harald.Petrovitsch at sermotec.at Sun Mar 6 17:06:45 2016 From: Harald.Petrovitsch at sermotec.at (Harald Petrovitsch) Date: Sun, 6 Mar 2016 14:06:45 +0000 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: <1ca3fb4078fb4751b5a67b12a6b2d470@imladris.sermotec.local> Hi ! AFAIK, for the ?'lame/lame.h'? you have to change the include line to only ?lame.h? Regards Harald Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Gregor Nanger Gesendet: Sonntag, 06. M?rz 2016 12:32 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Windows build ?This helped a lot, thank you. Now I have only few errors. Any hint? Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error C1083 Cannot open include file: 'lame/lame.h': No such file or directory mod_shout C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C:\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 ? 2016-03-06 7:53 GMT+01:00 Peter Olsson >: One common mistake is that you allow Git to modify line endings. Make sure autocrlf is turned off - then clone the repository again from scratch. Also, I'm not sure if it will work in VS2015, but give it a try. /Peter 2016-03-06 2:06 GMT+01:00 Gregor Nanger >: Hi! I want to build Freeswitch on windows with visual studio 2015. Where should I start if I get 600 errors when try to Rebuild All. I opened solution and start Rebuild All, but I get so many errors that I belive that I am doing something wrong. Mainl yre errors regarding: Cannot open source file.... Best regards, Gregor _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Gregor Nanger CTO t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/cb595cf8/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 332 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/cb595cf8/attachment-0001.jpg From yehavi.bourvine at gmail.com Sun Mar 6 18:18:27 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 6 Mar 2016 17:18:27 +0200 Subject: [Freeswitch-users] Organizations that use FreeSwitch with over 5, 000 extensions Message-ID: Hi, We are starting here again the debate of open cource vs. commercial software. Our current PBX holds more than 8,000 extensions. Is there an organization that uses Freeswitch having a few thousands of extensions? I need examples... Thanks! __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/e2d31211/attachment.html From peter at olssononline.se Sun Mar 6 18:39:57 2016 From: peter at olssononline.se (Peter Olsson) Date: Sun, 6 Mar 2016 16:39:57 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: Remove mod_v8 from the build. I don't think it's compatible with VS2015 for now. However, all other modules should be ok. /Peter 2016-03-06 12:31 GMT+01:00 Gregor Nanger : > ?This helped a lot, thank you. Now I have only few errors. Any hint? > > Error MSB4057 The target "v8:Rebuild" does not exist in the project. > [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C: > \Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 > Error MSB4057 The target "v8:Rebuild" does not exist in the project. > [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 > C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 > Error C1083 Cannot open include file: 'lame/lame.h': No such file or > directory mod_shout > C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 > Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C > :\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 > > ? > > 2016-03-06 7:53 GMT+01:00 Peter Olsson : > >> One common mistake is that you allow Git to modify line endings. Make >> sure autocrlf is turned off - then clone the repository again from scratch. >> >> Also, I'm not sure if it will work in VS2015, but give it a try. >> >> /Peter >> >> 2016-03-06 2:06 GMT+01:00 Gregor Nanger : >> >>> Hi! >>> >>> I want to build Freeswitch on windows with visual studio 2015. >>> >>> Where should I start if I get 600 errors when try to Rebuild All. I >>> opened solution and start Rebuild All, but I get so many errors that I >>> belive that I am doing something wrong. >>> >>> Mainl yre errors regarding: >>> >>> Cannot open source file.... >>> >>> >>> Best regards, Gregor >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/0f024715/attachment.html From lexxua at gmail.com Sun Mar 6 23:45:28 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Sun, 6 Mar 2016 21:45:28 +0100 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: Hi Igor, If you want to do transcoding try to set* media_mix_inbound_outbound_codecs=true.* This is described in detail here : https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883752 . On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" wrote: > Working only when I?m setting > export nolocal:absolute_codec_string=${outbound_codec_prefs} > > > 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > >> Main question - why it?s ignores outbound-codec-prefs on external >> profile and use G722 as a first avail codec in list? >> >> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : >> >>> Hi! >>> I?m getting really strange things, or I?m just missed something. >>> My phone is dials to freeswitch with this this line in log >>> >>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: >>> v=0 >>> o=root 1697549695 1697549695 IN IP4 >>> s=call >>> c=IN IP4 >>> t=0 0 >>> m=audio 26894 RTP/AVP 9 0 8 >>> a=rtpmap:9 G722/8000 >>> a=rtpmap:0 PCMU/8000 >>> a=rtpmap:8 PCMA/8000 >>> a=ptime:20 >>> a=nortpproxy:yes >>> >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match >>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec >>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 >>> samples 64000 bits 1 channels >>> >>> And when switches to external profile, I see >>> >>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ >>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 >>> 20:16:12Z 64bit >>> Local SDP: >>> v=0 >>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 >>> s=FreeSWITCH >>> c=IN IP4 10.0.20.71 >>> t=0 0 >>> m=audio 29804 RTP/AVP 9 101 13 >>> a=rtpmap:9 G722/8000 >>> a=rtpmap:101 telephone-event/8000 >>> a=fmtp:101 0-16 >>> a=rtpmap:13 CN/8000 >>> a=ptime:20 >>> a=sendrecv >>> >>> >>> The question is - why only G722 left? >>> Across dialplan there is no things like inherit_codec, bypass media or >>> other codec-related stuff >>> >>> Profiles >>> external >>> ext-sip-ip [10.0.20.71] >>> rtp-timeout-sec [300] >>> rtp-hold-timeout-sec [1800] >>> tls [false] >>> tls-only [false] >>> tls-bind-params [transport=tls] >>> tls-sip-port [5081] >>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >>> tls-passphrase [] >>> tls-verify-date [true] >>> tls-verify-depth [2] >>> tls-verify-in-subjects [] >>> tls-version [tlsv1] >>> tls-verify-policy [all] >>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >>> user=fusionpbx password=pass options='' application_name='freeswitch'] >>> track-calls [true] >>> inbound-codec-negotiation [greedy] >>> debug [0] >>> user-agent-string [FreeSWITCH] >>> sip-trace [no] >>> sip-capture [no] >>> rfc2833-pt [101] >>> sip-port [5080] >>> dialplan [XML] >>> context [public] >>> dtmf-duration [2000] >>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >>> outbound-codec-prefs [PCMU,PCMA,GSM] >>> hold-music [local_stream://default] >>> zrtp-passthru [true] >>> rtp-timer-name [soft] >>> local-network-acl [localnet.auto] >>> manage-presence [false] >>> nonce-ttl [60] >>> auth-calls [false] >>> rtp-ip [10.0.20.71] >>> sip-ip [10.0.20.71] >>> ext-rtp-ip [10.0.20.71] >>> >>> internal >>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >>> tls-passphrase [] >>> tls-verify-date [true] >>> tls-verify-depth [2] >>> tls-verify-in-subjects [] >>> tls-version [tlsv1] >>> nonce-ttl [60] >>> auth-calls [true] >>> inbound-reg-force-matching-username [true] >>> auth-all-packets [false] >>> ext-rtp-ip [10.0.20.71] >>> ext-sip-ip [10.0.20.71] >>> rtp-timeout-sec [300] >>> rtp-hold-timeout-sec [1800] >>> tls-verify-policy [all] >>> multiple-registrations [contact] >>> enable-timer [false] >>> dbname [share_presence] >>> send-presence-on-register [true] >>> inbound-codec-negotiation [greedy] >>> NDLB-force-rport [safe] >>> challenge-realm [auto_to] >>> outbound-proxy [10.0.20.70] >>> track-calls [true] >>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >>> user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] >>> nat-options-ping [true] >>> liberal-dtmf [true] >>> all-reg-options-ping [true] >>> force-publish-expires [true] >>> unregister-on-options-fail [true] >>> user-agent-string [FreeSWITCH] >>> debug [0] >>> sip-trace [no] >>> sip-capture [no] >>> watchdog-enabled [no] >>> watchdog-step-timeout [30000] >>> watchdog-event-timeout [30000] >>> log-auth-failures [true] >>> forward-unsolicited-mwi-notify [false] >>> context [public] >>> rfc2833-pt [101] >>> sip-port [5060] >>> dialplan [XML] >>> dtmf-duration [2000] >>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >>> ,G722,PCMU,PCMA,OPUS,SILK] >>> rtp-timer-name [soft] >>> rtp-ip [10.0.20.71] >>> sip-ip [10.0.20.71] >>> hold-music [local_stream://default] >>> apply-nat-acl [nat.auto] >>> aggressive-nat-detection [true] >>> apply-inbound-acl [domains] >>> local-network-acl [localnet.auto] >>> record-path [/usr/local/freeswitch/recordings] >>> record-template >>> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] >>> manage-presence [true] >>> presence-probe-on-register [true] >>> manage-shared-appearance [true] >>> tls [false] >>> tls-only [false] >>> tls-bind-params [transport=tls] >>> tls-sip-port [5061] >>> >>> Tried with indbound-late-negotiation=false, also not helps? >>> Can you please, point, what is missing? Thanks >>> >>> -- >>> Best regards, >>> Igor >>> >> >> >> >> -- >> Best regards, >> Igor >> > > > > -- > Best regards, > Igor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/a78513bb/attachment-0001.html From drodrig at magicbrain.com Sat Mar 5 23:29:24 2016 From: drodrig at magicbrain.com (drodrig) Date: Sat, 5 Mar 2016 13:29:24 -0700 (MST) Subject: [Freeswitch-users] Mod_sms and script to send to Twilio Message-ID: <1457209764994-7596204.post@n2.nabble.com> Hi all. I wrote a small Python script that is run from a chatplan and takes a chat message from a sip extension and sends the message to the appropriate phone number via Twilio (they provide an Internet-based API to do this). The script works great, but I still see an error in on fs_cli console: I've tried mucking with the "to" and "to_user" headers (and other headers as well). I've also tried adding the following line in the chatplan XML file: Finally, I've tried different return values in the Python script. Nothing I've tried removes the error messages. In truth, the texting works fine -- I just don't like seeing the error. Here's my chatplan XML file: And the python script: I'm new to the world of SIP and Freeswitch, so I am hoping I am missing something simple. Any help is appreciated. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Mod-sms-and-script-to-send-to-Twilio-tp7596204.html Sent from the freeswitch-users mailing list archive at Nabble.com. From vmknott at gmail.com Sat Mar 5 00:25:48 2016 From: vmknott at gmail.com (VM Knott) Date: Fri, 4 Mar 2016 16:25:48 -0500 Subject: [Freeswitch-users] 'make' Error: fs_cli-esl.o Message-ID: Hello. I'm attempting to install freeswitch-1.6.6 from (freeswitch-1.6.6.tar.gz) and when I attempt to perform the 'Make', I get the following error: --------------- CC fs_cli-esl.o CC fs_cli-esl_config.o CC fs_cli-esl_event.o CC fs_cli-esl_threadmutex.o CC fs_cli-fs_cli.o libs/esl/fs_cli.c: In function "main": libs/esl/fs_cli.c:1351:6: error: "variable use_history_file" set but not used [-Werror=unused-but-set-variable] int use_history_file = 0; ^ cc1: all warnings being treated as errors make[2]: *** [fs_cli-fs_cli.o] Error 1 make[2]: Leaving directory `/home/ec2-user/src/freeswitch-1.6.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ec2-user/src/freeswitch-1.6.6' make: *** [all] Error 2 --------------- I'm hoping that I'm overlooking something obvious? Any thoughts, guidance, or suggestions would be greatly appreciated. VMK -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160304/f4b404a9/attachment.html From rtreleaven at bunnykick.ca Sun Mar 6 23:56:38 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sun, 6 Mar 2016 15:56:38 -0500 Subject: [Freeswitch-users] Mod_sms and script to send to Twilio In-Reply-To: <1457209764994-7596204.post@n2.nabble.com> References: <1457209764994-7596204.post@n2.nabble.com> Message-ID: I think the console message and the script are missing from you email. On Sat, Mar 5, 2016 at 3:29 PM, drodrig wrote: > Hi all. > > I wrote a small Python script that is run from a chatplan and takes a chat > message from a sip extension and sends the message to the appropriate phone > number via Twilio (they provide an Internet-based API to do this). The > script works great, but I still see an error in on fs_cli console: > > > > > I've tried mucking with the "to" and "to_user" headers (and other headers > as well). I've also tried adding the following line in the chatplan XML > file: > > > > Finally, I've tried different return values in the Python script. > > Nothing I've tried removes the error messages. In truth, the texting works > fine -- I just don't like seeing the error. > > Here's my chatplan XML file: > > > And the python script: > > > I'm new to the world of SIP and Freeswitch, so I am hoping I am missing > something simple. > > Any help is appreciated. > > > > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Mod-sms-and-script-to-send-to-Twilio-tp7596204.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/55a3b5db/attachment.html From igorolhovskiy at gmail.com Mon Mar 7 00:51:53 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Sun, 6 Mar 2016 23:51:53 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: Hi! Thanks, but transcoding is also working with option absolute_codec_string. What I?m trying to understand - what I?ve missed and why with profile settings, external profile totally ignores outbound-codec-prefs and takes ONLY FIRST from incoming call to internal profile. 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : > Hi Igor, > If you want to do transcoding try to set* > media_mix_inbound_outbound_codecs=true.* This is described in detail here > : > https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883752 > . > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" wrote: > >> Working only when I?m setting >> export nolocal:absolute_codec_string=${outbound_codec_prefs} >> >> >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : >> >>> Main question - why it?s ignores outbound-codec-prefs on external >>> profile and use G722 as a first avail codec in list? >>> >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : >>> >>>> Hi! >>>> I?m getting really strange things, or I?m just missed something. >>>> My phone is dials to freeswitch with this this line in log >>>> >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: >>>> v=0 >>>> o=root 1697549695 1697549695 IN IP4 >>>> s=call >>>> c=IN IP4 >>>> t=0 0 >>>> m=audio 26894 RTP/AVP 9 0 8 >>>> a=rtpmap:9 G722/8000 >>>> a=rtpmap:0 PCMU/8000 >>>> a=rtpmap:8 PCMA/8000 >>>> a=ptime:20 >>>> a=nortpproxy:yes >>>> >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 >>>> samples 64000 bits 1 channels >>>> >>>> And when switches to external profile, I see >>>> >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 >>>> 20:16:12Z 64bit >>>> Local SDP: >>>> v=0 >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 >>>> s=FreeSWITCH >>>> c=IN IP4 10.0.20.71 >>>> t=0 0 >>>> m=audio 29804 RTP/AVP 9 101 13 >>>> a=rtpmap:9 G722/8000 >>>> a=rtpmap:101 telephone-event/8000 >>>> a=fmtp:101 0-16 >>>> a=rtpmap:13 CN/8000 >>>> a=ptime:20 >>>> a=sendrecv >>>> >>>> >>>> The question is - why only G722 left? >>>> Across dialplan there is no things like inherit_codec, bypass media or >>>> other codec-related stuff >>>> >>>> Profiles >>>> external >>>> ext-sip-ip [10.0.20.71] >>>> rtp-timeout-sec [300] >>>> rtp-hold-timeout-sec [1800] >>>> tls [false] >>>> tls-only [false] >>>> tls-bind-params [transport=tls] >>>> tls-sip-port [5081] >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >>>> tls-passphrase [] >>>> tls-verify-date [true] >>>> tls-verify-depth [2] >>>> tls-verify-in-subjects [] >>>> tls-version [tlsv1] >>>> tls-verify-policy [all] >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >>>> user=fusionpbx password=pass options='' application_name='freeswitch'] >>>> track-calls [true] >>>> inbound-codec-negotiation [greedy] >>>> debug [0] >>>> user-agent-string [FreeSWITCH] >>>> sip-trace [no] >>>> sip-capture [no] >>>> rfc2833-pt [101] >>>> sip-port [5080] >>>> dialplan [XML] >>>> context [public] >>>> dtmf-duration [2000] >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >>>> ,G722,PCMU,PCMA,OPUS,SILK] >>>> outbound-codec-prefs [PCMU,PCMA,GSM] >>>> hold-music [local_stream://default] >>>> zrtp-passthru [true] >>>> rtp-timer-name [soft] >>>> local-network-acl [localnet.auto] >>>> manage-presence [false] >>>> nonce-ttl [60] >>>> auth-calls [false] >>>> rtp-ip [10.0.20.71] >>>> sip-ip [10.0.20.71] >>>> ext-rtp-ip [10.0.20.71] >>>> >>>> internal >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >>>> tls-passphrase [] >>>> tls-verify-date [true] >>>> tls-verify-depth [2] >>>> tls-verify-in-subjects [] >>>> tls-version [tlsv1] >>>> nonce-ttl [60] >>>> auth-calls [true] >>>> inbound-reg-force-matching-username [true] >>>> auth-all-packets [false] >>>> ext-rtp-ip [10.0.20.71] >>>> ext-sip-ip [10.0.20.71] >>>> rtp-timeout-sec [300] >>>> rtp-hold-timeout-sec [1800] >>>> tls-verify-policy [all] >>>> multiple-registrations [contact] >>>> enable-timer [false] >>>> dbname [share_presence] >>>> send-presence-on-register [true] >>>> inbound-codec-negotiation [greedy] >>>> NDLB-force-rport [safe] >>>> challenge-realm [auto_to] >>>> outbound-proxy [10.0.20.70] >>>> track-calls [true] >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >>>> user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] >>>> nat-options-ping [true] >>>> liberal-dtmf [true] >>>> all-reg-options-ping [true] >>>> force-publish-expires [true] >>>> unregister-on-options-fail [true] >>>> user-agent-string [FreeSWITCH] >>>> debug [0] >>>> sip-trace [no] >>>> sip-capture [no] >>>> watchdog-enabled [no] >>>> watchdog-step-timeout [30000] >>>> watchdog-event-timeout [30000] >>>> log-auth-failures [true] >>>> forward-unsolicited-mwi-notify [false] >>>> context [public] >>>> rfc2833-pt [101] >>>> sip-port [5060] >>>> dialplan [XML] >>>> dtmf-duration [2000] >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >>>> ,G722,PCMU,PCMA,OPUS,SILK] >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >>>> ,G722,PCMU,PCMA,OPUS,SILK] >>>> rtp-timer-name [soft] >>>> rtp-ip [10.0.20.71] >>>> sip-ip [10.0.20.71] >>>> hold-music [local_stream://default] >>>> apply-nat-acl [nat.auto] >>>> aggressive-nat-detection [true] >>>> apply-inbound-acl [domains] >>>> local-network-acl [localnet.auto] >>>> record-path [/usr/local/freeswitch/recordings] >>>> record-template >>>> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] >>>> manage-presence [true] >>>> presence-probe-on-register [true] >>>> manage-shared-appearance [true] >>>> tls [false] >>>> tls-only [false] >>>> tls-bind-params [transport=tls] >>>> tls-sip-port [5061] >>>> >>>> Tried with indbound-late-negotiation=false, also not helps? >>>> Can you please, point, what is missing? Thanks >>>> >>>> -- >>>> Best regards, >>>> Igor >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Igor >>> >> >> >> >> -- >> Best regards, >> Igor >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/e029045d/attachment-0001.html From idokan at gmail.com Mon Mar 7 01:03:43 2016 From: idokan at gmail.com (ik) Date: Mon, 7 Mar 2016 00:03:43 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: With SIP/SDP the invite originator offer several codecs, but leg b is the one that set the selection. The offer by leg b, is usually based on the priority of your offer vs their highest matched codecs, so if they offer g722 as 1st priority, and you offer it as 3rd priority, they will select g722 first. Ido On Mar 6, 2016 11:50 AM, "Igor Olhovskiy" wrote: > Main question - why it?s ignores outbound-codec-prefs on external profile > and use G722 as a first avail codec in list? > > 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > >> Hi! >> I?m getting really strange things, or I?m just missed something. >> My phone is dials to freeswitch with this this line in log >> >> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: >> v=0 >> o=root 1697549695 1697549695 IN IP4 >> s=call >> c=IN IP4 >> t=0 0 >> m=audio 26894 RTP/AVP 9 0 8 >> a=rtpmap:9 G722/8000 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:8 PCMA/8000 >> a=ptime:20 >> a=nortpproxy:yes >> >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match >> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec >> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 samples >> 64000 bits 1 channels >> >> And when switches to external profile, I see >> >> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ >> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 >> 20:16:12Z 64bit >> Local SDP: >> v=0 >> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 >> s=FreeSWITCH >> c=IN IP4 10.0.20.71 >> t=0 0 >> m=audio 29804 RTP/AVP 9 101 13 >> a=rtpmap:9 G722/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=rtpmap:13 CN/8000 >> a=ptime:20 >> a=sendrecv >> >> >> The question is - why only G722 left? >> Across dialplan there is no things like inherit_codec, bypass media or >> other codec-related stuff >> >> Profiles >> external >> ext-sip-ip [10.0.20.71] >> rtp-timeout-sec [300] >> rtp-hold-timeout-sec [1800] >> tls [false] >> tls-only [false] >> tls-bind-params [transport=tls] >> tls-sip-port [5081] >> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> tls-passphrase [] >> tls-verify-date [true] >> tls-verify-depth [2] >> tls-verify-in-subjects [] >> tls-version [tlsv1] >> tls-verify-policy [all] >> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> user=fusionpbx password=pass options='' application_name='freeswitch'] >> track-calls [true] >> inbound-codec-negotiation [greedy] >> debug [0] >> user-agent-string [FreeSWITCH] >> sip-trace [no] >> sip-capture [no] >> rfc2833-pt [101] >> sip-port [5080] >> dialplan [XML] >> context [public] >> dtmf-duration [2000] >> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> outbound-codec-prefs [PCMU,PCMA,GSM] >> hold-music [local_stream://default] >> zrtp-passthru [true] >> rtp-timer-name [soft] >> local-network-acl [localnet.auto] >> manage-presence [false] >> nonce-ttl [60] >> auth-calls [false] >> rtp-ip [10.0.20.71] >> sip-ip [10.0.20.71] >> ext-rtp-ip [10.0.20.71] >> >> internal >> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> tls-passphrase [] >> tls-verify-date [true] >> tls-verify-depth [2] >> tls-verify-in-subjects [] >> tls-version [tlsv1] >> nonce-ttl [60] >> auth-calls [true] >> inbound-reg-force-matching-username [true] >> auth-all-packets [false] >> ext-rtp-ip [10.0.20.71] >> ext-sip-ip [10.0.20.71] >> rtp-timeout-sec [300] >> rtp-hold-timeout-sec [1800] >> tls-verify-policy [all] >> multiple-registrations [contact] >> enable-timer [false] >> dbname [share_presence] >> send-presence-on-register [true] >> inbound-codec-negotiation [greedy] >> NDLB-force-rport [safe] >> challenge-realm [auto_to] >> outbound-proxy [10.0.20.70] >> track-calls [true] >> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> user=fusionpbx password=btgJek49 options='' application_name='freeswitch'] >> nat-options-ping [true] >> liberal-dtmf [true] >> all-reg-options-ping [true] >> force-publish-expires [true] >> unregister-on-options-fail [true] >> user-agent-string [FreeSWITCH] >> debug [0] >> sip-trace [no] >> sip-capture [no] >> watchdog-enabled [no] >> watchdog-step-timeout [30000] >> watchdog-event-timeout [30000] >> log-auth-failures [true] >> forward-unsolicited-mwi-notify [false] >> context [public] >> rfc2833-pt [101] >> sip-port [5060] >> dialplan [XML] >> dtmf-duration [2000] >> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,OPUS,SILK] >> rtp-timer-name [soft] >> rtp-ip [10.0.20.71] >> sip-ip [10.0.20.71] >> hold-music [local_stream://default] >> apply-nat-acl [nat.auto] >> aggressive-nat-detection [true] >> apply-inbound-acl [domains] >> local-network-acl [localnet.auto] >> record-path [/usr/local/freeswitch/recordings] >> record-template >> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}] >> manage-presence [true] >> presence-probe-on-register [true] >> manage-shared-appearance [true] >> tls [false] >> tls-only [false] >> tls-bind-params [transport=tls] >> tls-sip-port [5061] >> >> Tried with indbound-late-negotiation=false, also not helps? >> Can you please, point, what is missing? Thanks >> >> -- >> Best regards, >> Igor >> > > > > -- > Best regards, > Igor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/f1c88eb8/attachment.html From sos at sokhapkin.dyndns.org Mon Mar 7 01:05:49 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Sun, 06 Mar 2016 17:05:49 -0500 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: <1722914.1iTJxoNfEZ@sos> ? On Sunday 06 March 2016 23:51:53 Igor Olhovskiy wrote: > Hi! > Thanks, but transcoding is also working with option absolute_codec_string. > What I?m trying to understand - what I?ve missed and why with profile > settings, external profile totally ignores outbound-codec-prefs and takes > ONLY FIRST from incoming call to internal profile. > > 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : > > Hi Igor, > > If you want to do transcoding try to set* > > media_mix_inbound_outbound_codecs=true.* This is described in detail here > > > > https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883 > > 752 . > > > > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" wrote: > >> Working only when I?m setting > >> export nolocal:absolute_codec_string=${outbound_codec_prefs} > >> > >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > >>> Main question - why it?s ignores outbound-codec-prefs on external > >>> profile and use G722 as a first avail codec in list? > >>> > >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > >>>> Hi! > >>>> I?m getting really strange things, or I?m just missed something. > >>>> My phone is dials to freeswitch with this this line in log > >>>> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: > >>>> v=0 > >>>> o=root 1697549695 1697549695 IN IP4 > >>>> s=call > >>>> c=IN IP4 > >>>> t=0 0 > >>>> m=audio 26894 RTP/AVP 9 0 8 > >>>> a=rtpmap:9 G722/8000 > >>>> a=rtpmap:0 PCMU/8000 > >>>> a=rtpmap:8 PCMA/8000 > >>>> a=ptime:20 > >>>> a=nortpproxy:yes > >>>> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio Codec > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio Codec > >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set Codec > >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 > >>>> samples 64000 bits 1 channels > >>>> > >>>> And when switches to external profile, I see > >>>> > >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ > >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 > >>>> 20:16:12Z 64bit > >>>> Local SDP: > >>>> v=0 > >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 > >>>> s=FreeSWITCH > >>>> c=IN IP4 10.0.20.71 > >>>> t=0 0 > >>>> m=audio 29804 RTP/AVP 9 101 13 > >>>> a=rtpmap:9 G722/8000 > >>>> a=rtpmap:101 telephone-event/8000 > >>>> a=fmtp:101 0-16 > >>>> a=rtpmap:13 CN/8000 > >>>> a=ptime:20 > >>>> a=sendrecv > >>>> > >>>> > >>>> The question is - why only G722 left? > >>>> Across dialplan there is no things like inherit_codec, bypass media or > >>>> other codec-related stuff > >>>> > >>>> Profiles > >>>> external > >>>> ext-sip-ip [10.0.20.71] > >>>> rtp-timeout-sec [300] > >>>> rtp-hold-timeout-sec [1800] > >>>> tls [false] > >>>> tls-only [false] > >>>> tls-bind-params [transport=tls] > >>>> tls-sip-port [5081] > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > >>>> tls-passphrase [] > >>>> tls-verify-date [true] > >>>> tls-verify-depth [2] > >>>> tls-verify-in-subjects [] > >>>> tls-version [tlsv1] > >>>> tls-verify-policy [all] > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > >>>> user=fusionpbx password=pass options='' application_name='freeswitch'] > >>>> track-calls [true] > >>>> inbound-codec-negotiation [greedy] > >>>> debug [0] > >>>> user-agent-string [FreeSWITCH] > >>>> sip-trace [no] > >>>> sip-capture [no] > >>>> rfc2833-pt [101] > >>>> sip-port [5080] > >>>> dialplan [XML] > >>>> context [public] > >>>> dtmf-duration [2000] > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >>>> outbound-codec-prefs [PCMU,PCMA,GSM] > >>>> hold-music [local_stream://default] > >>>> zrtp-passthru [true] > >>>> rtp-timer-name [soft] > >>>> local-network-acl [localnet.auto] > >>>> manage-presence [false] > >>>> nonce-ttl [60] > >>>> auth-calls [false] > >>>> rtp-ip [10.0.20.71] > >>>> sip-ip [10.0.20.71] > >>>> ext-rtp-ip [10.0.20.71] > >>>> > >>>> internal > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > >>>> tls-passphrase [] > >>>> tls-verify-date [true] > >>>> tls-verify-depth [2] > >>>> tls-verify-in-subjects [] > >>>> tls-version [tlsv1] > >>>> nonce-ttl [60] > >>>> auth-calls [true] > >>>> inbound-reg-force-matching-username [true] > >>>> auth-all-packets [false] > >>>> ext-rtp-ip [10.0.20.71] > >>>> ext-sip-ip [10.0.20.71] > >>>> rtp-timeout-sec [300] > >>>> rtp-hold-timeout-sec [1800] > >>>> tls-verify-policy [all] > >>>> multiple-registrations [contact] > >>>> enable-timer [false] > >>>> dbname [share_presence] > >>>> send-presence-on-register [true] > >>>> inbound-codec-negotiation [greedy] > >>>> NDLB-force-rport [safe] > >>>> challenge-realm [auto_to] > >>>> outbound-proxy [10.0.20.70] > >>>> track-calls [true] > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > >>>> user=fusionpbx password=btgJek49 options='' > >>>> application_name='freeswitch'] > >>>> nat-options-ping [true] > >>>> liberal-dtmf [true] > >>>> all-reg-options-ping [true] > >>>> force-publish-expires [true] > >>>> unregister-on-options-fail [true] > >>>> user-agent-string [FreeSWITCH] > >>>> debug [0] > >>>> sip-trace [no] > >>>> sip-capture [no] > >>>> watchdog-enabled [no] > >>>> watchdog-step-timeout [30000] > >>>> watchdog-event-timeout [30000] > >>>> log-auth-failures [true] > >>>> forward-unsolicited-mwi-notify [false] > >>>> context [public] > >>>> rfc2833-pt [101] > >>>> sip-port [5060] > >>>> dialplan [XML] > >>>> dtmf-duration [2000] > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >>>> rtp-timer-name [soft] > >>>> rtp-ip [10.0.20.71] > >>>> sip-ip [10.0.20.71] > >>>> hold-music [local_stream://default] > >>>> apply-nat-acl [nat.auto] > >>>> aggressive-nat-detection [true] > >>>> apply-inbound-acl [domains] > >>>> local-network-acl [localnet.auto] > >>>> record-path [/usr/local/freeswitch/recordings] > >>>> record-template > >>>> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)} > >>>> /${uuid}.${record_ext}] manage-presence [true] > >>>> presence-probe-on-register [true] > >>>> manage-shared-appearance [true] > >>>> tls [false] > >>>> tls-only [false] > >>>> tls-bind-params [transport=tls] > >>>> tls-sip-port [5061] > >>>> > >>>> Tried with indbound-late-negotiation=false, also not helps? > >>>> Can you please, point, what is missing? Thanks > >>>> > >>>> -- > >>>> Best regards, > >>>> Igor > >>> > >>> -- > >>> Best regards, > >>> Igor > >> > >> -- > >> Best regards, > >> Igor > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org From igorolhovskiy at gmail.com Mon Mar 7 01:29:29 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Mon, 7 Mar 2016 00:29:29 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: <1722914.1iTJxoNfEZ@sos> References: <1722914.1iTJxoNfEZ@sos> Message-ID: Yep, tried to play with it, same idea, on external profile call - only g722. Which is not even in outbound codec list. And, according to manual, FS should offer all codecs in list to next endpoint, which is not happens. That?s my main confusion? 2016-03-07 0:05 GMT+02:00 Sergey Okhapkin : > > > ? > > On Sunday 06 March 2016 23:51:53 Igor Olhovskiy wrote: > > Hi! > > Thanks, but transcoding is also working with option > absolute_codec_string. > > What I?m trying to understand - what I?ve missed and why with profile > > settings, external profile totally ignores outbound-codec-prefs and takes > > ONLY FIRST from incoming call to internal profile. > > > > 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : > > > Hi Igor, > > > If you want to do transcoding try to set* > > > media_mix_inbound_outbound_codecs=true.* This is described in detail > here > > > > > > > https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883 > > > 752 . > > > > > > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" > wrote: > > >> Working only when I?m setting > > >> export nolocal:absolute_codec_string=${outbound_codec_prefs} > > >> > > >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > > >>> Main question - why it?s ignores outbound-codec-prefs on external > > >>> profile and use G722 as a first avail codec in list? > > >>> > > >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > > >>>> Hi! > > >>>> I?m getting really strange things, or I?m just missed something. > > >>>> My phone is dials to freeswitch with this this line in log > > >>>> > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: > > >>>> v=0 > > >>>> o=root 1697549695 1697549695 IN IP4 > > >>>> s=call > > >>>> c=IN IP4 > > >>>> t=0 0 > > >>>> m=audio 26894 RTP/AVP 9 0 8 > > >>>> a=rtpmap:9 G722/8000 > > >>>> a=rtpmap:0 PCMU/8000 > > >>>> a=rtpmap:8 PCMA/8000 > > >>>> a=ptime:20 > > >>>> a=nortpproxy:yes > > >>>> > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > Codec > > >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > Codec > > >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > Codec > > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > Codec > > >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set > Codec > > >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 > > >>>> samples 64000 bits 1 channels > > >>>> > > >>>> And when switches to external profile, I see > > >>>> > > >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 sofia/external/ > > >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 2016-01-11 > > >>>> 20:16:12Z 64bit > > >>>> Local SDP: > > >>>> v=0 > > >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 > > >>>> s=FreeSWITCH > > >>>> c=IN IP4 10.0.20.71 > > >>>> t=0 0 > > >>>> m=audio 29804 RTP/AVP 9 101 13 > > >>>> a=rtpmap:9 G722/8000 > > >>>> a=rtpmap:101 telephone-event/8000 > > >>>> a=fmtp:101 0-16 > > >>>> a=rtpmap:13 CN/8000 > > >>>> a=ptime:20 > > >>>> a=sendrecv > > >>>> > > >>>> > > >>>> The question is - why only G722 left? > > >>>> Across dialplan there is no things like inherit_codec, bypass media > or > > >>>> other codec-related stuff > > >>>> > > >>>> Profiles > > >>>> external > > >>>> ext-sip-ip [10.0.20.71] > > >>>> rtp-timeout-sec [300] > > >>>> rtp-hold-timeout-sec [1800] > > >>>> tls [false] > > >>>> tls-only [false] > > >>>> tls-bind-params [transport=tls] > > >>>> tls-sip-port [5081] > > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > > >>>> tls-passphrase [] > > >>>> tls-verify-date [true] > > >>>> tls-verify-depth [2] > > >>>> tls-verify-in-subjects [] > > >>>> tls-version [tlsv1] > > >>>> tls-verify-policy [all] > > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > > >>>> user=fusionpbx password=pass options='' > application_name='freeswitch'] > > >>>> track-calls [true] > > >>>> inbound-codec-negotiation [greedy] > > >>>> debug [0] > > >>>> user-agent-string [FreeSWITCH] > > >>>> sip-trace [no] > > >>>> sip-capture [no] > > >>>> rfc2833-pt [101] > > >>>> sip-port [5080] > > >>>> dialplan [XML] > > >>>> context [public] > > >>>> dtmf-duration [2000] > > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >>>> outbound-codec-prefs [PCMU,PCMA,GSM] > > >>>> hold-music [local_stream://default] > > >>>> zrtp-passthru [true] > > >>>> rtp-timer-name [soft] > > >>>> local-network-acl [localnet.auto] > > >>>> manage-presence [false] > > >>>> nonce-ttl [60] > > >>>> auth-calls [false] > > >>>> rtp-ip [10.0.20.71] > > >>>> sip-ip [10.0.20.71] > > >>>> ext-rtp-ip [10.0.20.71] > > >>>> > > >>>> internal > > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > > >>>> tls-passphrase [] > > >>>> tls-verify-date [true] > > >>>> tls-verify-depth [2] > > >>>> tls-verify-in-subjects [] > > >>>> tls-version [tlsv1] > > >>>> nonce-ttl [60] > > >>>> auth-calls [true] > > >>>> inbound-reg-force-matching-username [true] > > >>>> auth-all-packets [false] > > >>>> ext-rtp-ip [10.0.20.71] > > >>>> ext-sip-ip [10.0.20.71] > > >>>> rtp-timeout-sec [300] > > >>>> rtp-hold-timeout-sec [1800] > > >>>> tls-verify-policy [all] > > >>>> multiple-registrations [contact] > > >>>> enable-timer [false] > > >>>> dbname [share_presence] > > >>>> send-presence-on-register [true] > > >>>> inbound-codec-negotiation [greedy] > > >>>> NDLB-force-rport [safe] > > >>>> challenge-realm [auto_to] > > >>>> outbound-proxy [10.0.20.70] > > >>>> track-calls [true] > > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > > >>>> user=fusionpbx password=btgJek49 options='' > > >>>> application_name='freeswitch'] > > >>>> nat-options-ping [true] > > >>>> liberal-dtmf [true] > > >>>> all-reg-options-ping [true] > > >>>> force-publish-expires [true] > > >>>> unregister-on-options-fail [true] > > >>>> user-agent-string [FreeSWITCH] > > >>>> debug [0] > > >>>> sip-trace [no] > > >>>> sip-capture [no] > > >>>> watchdog-enabled [no] > > >>>> watchdog-step-timeout [30000] > > >>>> watchdog-event-timeout [30000] > > >>>> log-auth-failures [true] > > >>>> forward-unsolicited-mwi-notify [false] > > >>>> context [public] > > >>>> rfc2833-pt [101] > > >>>> sip-port [5060] > > >>>> dialplan [XML] > > >>>> dtmf-duration [2000] > > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >>>> rtp-timer-name [soft] > > >>>> rtp-ip [10.0.20.71] > > >>>> sip-ip [10.0.20.71] > > >>>> hold-music [local_stream://default] > > >>>> apply-nat-acl [nat.auto] > > >>>> aggressive-nat-detection [true] > > >>>> apply-inbound-acl [domains] > > >>>> local-network-acl [localnet.auto] > > >>>> record-path [/usr/local/freeswitch/recordings] > > >>>> record-template > > >>>> > [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)} > > >>>> /${uuid}.${record_ext}] manage-presence [true] > > >>>> presence-probe-on-register [true] > > >>>> manage-shared-appearance [true] > > >>>> tls [false] > > >>>> tls-only [false] > > >>>> tls-bind-params [transport=tls] > > >>>> tls-sip-port [5061] > > >>>> > > >>>> Tried with indbound-late-negotiation=false, also not helps? > > >>>> Can you please, point, what is missing? Thanks > > >>>> > > >>>> -- > > >>>> Best regards, > > >>>> Igor > > >>> > > >>> -- > > >>> Best regards, > > >>> Igor > > >> > > >> -- > > >> Best regards, > > >> Igor > > >> > > >> > _________________________________________________________________________ > > >> Professional FreeSWITCH Consulting Services: > > >> consulting at freeswitch.org > > >> http://www.freeswitchsolutions.com > > >> > > >> Official FreeSWITCH Sites > > >> http://www.freeswitch.org > > >> http://confluence.freeswitch.org > > >> http://www.cluecon.com > > >> > > >> FreeSWITCH-users mailing list > > >> FreeSWITCH-users at lists.freeswitch.org > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > >> http://www.freeswitch.org > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/ad9ad9c6/attachment-0001.html From igorolhovskiy at gmail.com Mon Mar 7 01:42:24 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Mon, 7 Mar 2016 00:42:24 +0200 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: <1722914.1iTJxoNfEZ@sos> Message-ID: To be more clear with inbound-late-negotitation and inherit_codec=true I assume this scenario: I got a call to internal profile with codecs G722, PCMU and PCMA. Than, I?m dialing external with putbound-codecs-prefs=PCMU,PCMA,GSM. At this point I assume external profile will make an offer with PCMU and PCMA (accordint to restrictions), but I got offer from external only on G722, which is not supported by my provider. 2016-03-07 0:29 GMT+02:00 Igor Olhovskiy : > Yep, tried to play with it, same idea, on external profile call - only > g722. Which is not even in outbound codec list. And, according to manual, > FS should offer all codecs in list to next endpoint, which is not happens. > That?s my main confusion? > > 2016-03-07 0:05 GMT+02:00 Sergey Okhapkin : > >> >> >> ? >> >> On Sunday 06 March 2016 23:51:53 Igor Olhovskiy wrote: >> > Hi! >> > Thanks, but transcoding is also working with option >> absolute_codec_string. >> > What I?m trying to understand - what I?ve missed and why with profile >> > settings, external profile totally ignores outbound-codec-prefs and >> takes >> > ONLY FIRST from incoming call to internal profile. >> > >> > 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : >> > > Hi Igor, >> > > If you want to do transcoding try to set* >> > > media_mix_inbound_outbound_codecs=true.* This is described in detail >> here >> > > >> > > >> https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2883 >> > > 752 . >> > > >> > > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" >> wrote: >> > >> Working only when I?m setting >> > >> export nolocal:absolute_codec_string=${outbound_codec_prefs} >> > >> >> > >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : >> > >>> Main question - why it?s ignores outbound-codec-prefs on external >> > >>> profile and use G722 as a first avail codec in list? >> > >>> >> > >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : >> > >>>> Hi! >> > >>>> I?m getting really strange things, or I?m just missed something. >> > >>>> My phone is dials to freeswitch with this this line in log >> > >>>> >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: >> > >>>> v=0 >> > >>>> o=root 1697549695 1697549695 IN IP4 >> > >>>> s=call >> > >>>> c=IN IP4 >> > >>>> t=0 0 >> > >>>> m=audio 26894 RTP/AVP 9 0 8 >> > >>>> a=rtpmap:9 G722/8000 >> > >>>> a=rtpmap:0 PCMU/8000 >> > >>>> a=rtpmap:8 PCMA/8000 >> > >>>> a=ptime:20 >> > >>>> a=nortpproxy:yes >> > >>>> >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio >> Codec >> > >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio >> Codec >> > >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio >> Codec >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio >> Codec >> > >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set >> Codec >> > >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 >> > >>>> samples 64000 bits 1 channels >> > >>>> >> > >>>> And when switches to external profile, I see >> > >>>> >> > >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 >> sofia/external/ >> > >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 >> 2016-01-11 >> > >>>> 20:16:12Z 64bit >> > >>>> Local SDP: >> > >>>> v=0 >> > >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 >> > >>>> s=FreeSWITCH >> > >>>> c=IN IP4 10.0.20.71 >> > >>>> t=0 0 >> > >>>> m=audio 29804 RTP/AVP 9 101 13 >> > >>>> a=rtpmap:9 G722/8000 >> > >>>> a=rtpmap:101 telephone-event/8000 >> > >>>> a=fmtp:101 0-16 >> > >>>> a=rtpmap:13 CN/8000 >> > >>>> a=ptime:20 >> > >>>> a=sendrecv >> > >>>> >> > >>>> >> > >>>> The question is - why only G722 left? >> > >>>> Across dialplan there is no things like inherit_codec, bypass >> media or >> > >>>> other codec-related stuff >> > >>>> >> > >>>> Profiles >> > >>>> external >> > >>>> ext-sip-ip [10.0.20.71] >> > >>>> rtp-timeout-sec [300] >> > >>>> rtp-hold-timeout-sec [1800] >> > >>>> tls [false] >> > >>>> tls-only [false] >> > >>>> tls-bind-params [transport=tls] >> > >>>> tls-sip-port [5081] >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> > >>>> tls-passphrase [] >> > >>>> tls-verify-date [true] >> > >>>> tls-verify-depth [2] >> > >>>> tls-verify-in-subjects [] >> > >>>> tls-version [tlsv1] >> > >>>> tls-verify-policy [all] >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> > >>>> user=fusionpbx password=pass options='' >> application_name='freeswitch'] >> > >>>> track-calls [true] >> > >>>> inbound-codec-negotiation [greedy] >> > >>>> debug [0] >> > >>>> user-agent-string [FreeSWITCH] >> > >>>> sip-trace [no] >> > >>>> sip-capture [no] >> > >>>> rfc2833-pt [101] >> > >>>> sip-port [5080] >> > >>>> dialplan [XML] >> > >>>> context [public] >> > >>>> dtmf-duration [2000] >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] >> > >>>> outbound-codec-prefs [PCMU,PCMA,GSM] >> > >>>> hold-music [local_stream://default] >> > >>>> zrtp-passthru [true] >> > >>>> rtp-timer-name [soft] >> > >>>> local-network-acl [localnet.auto] >> > >>>> manage-presence [false] >> > >>>> nonce-ttl [60] >> > >>>> auth-calls [false] >> > >>>> rtp-ip [10.0.20.71] >> > >>>> sip-ip [10.0.20.71] >> > >>>> ext-rtp-ip [10.0.20.71] >> > >>>> >> > >>>> internal >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] >> > >>>> tls-passphrase [] >> > >>>> tls-verify-date [true] >> > >>>> tls-verify-depth [2] >> > >>>> tls-verify-in-subjects [] >> > >>>> tls-version [tlsv1] >> > >>>> nonce-ttl [60] >> > >>>> auth-calls [true] >> > >>>> inbound-reg-force-matching-username [true] >> > >>>> auth-all-packets [false] >> > >>>> ext-rtp-ip [10.0.20.71] >> > >>>> ext-sip-ip [10.0.20.71] >> > >>>> rtp-timeout-sec [300] >> > >>>> rtp-hold-timeout-sec [1800] >> > >>>> tls-verify-policy [all] >> > >>>> multiple-registrations [contact] >> > >>>> enable-timer [false] >> > >>>> dbname [share_presence] >> > >>>> send-presence-on-register [true] >> > >>>> inbound-codec-negotiation [greedy] >> > >>>> NDLB-force-rport [safe] >> > >>>> challenge-realm [auto_to] >> > >>>> outbound-proxy [10.0.20.70] >> > >>>> track-calls [true] >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch >> > >>>> user=fusionpbx password=btgJek49 options='' >> > >>>> application_name='freeswitch'] >> > >>>> nat-options-ping [true] >> > >>>> liberal-dtmf [true] >> > >>>> all-reg-options-ping [true] >> > >>>> force-publish-expires [true] >> > >>>> unregister-on-options-fail [true] >> > >>>> user-agent-string [FreeSWITCH] >> > >>>> debug [0] >> > >>>> sip-trace [no] >> > >>>> sip-capture [no] >> > >>>> watchdog-enabled [no] >> > >>>> watchdog-step-timeout [30000] >> > >>>> watchdog-event-timeout [30000] >> > >>>> log-auth-failures [true] >> > >>>> forward-unsolicited-mwi-notify [false] >> > >>>> context [public] >> > >>>> rfc2833-pt [101] >> > >>>> sip-port [5060] >> > >>>> dialplan [XML] >> > >>>> dtmf-duration [2000] >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] >> > >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] >> > >>>> rtp-timer-name [soft] >> > >>>> rtp-ip [10.0.20.71] >> > >>>> sip-ip [10.0.20.71] >> > >>>> hold-music [local_stream://default] >> > >>>> apply-nat-acl [nat.auto] >> > >>>> aggressive-nat-detection [true] >> > >>>> apply-inbound-acl [domains] >> > >>>> local-network-acl [localnet.auto] >> > >>>> record-path [/usr/local/freeswitch/recordings] >> > >>>> record-template >> > >>>> >> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)} >> > >>>> /${uuid}.${record_ext}] manage-presence [true] >> > >>>> presence-probe-on-register [true] >> > >>>> manage-shared-appearance [true] >> > >>>> tls [false] >> > >>>> tls-only [false] >> > >>>> tls-bind-params [transport=tls] >> > >>>> tls-sip-port [5061] >> > >>>> >> > >>>> Tried with indbound-late-negotiation=false, also not helps? >> > >>>> Can you please, point, what is missing? Thanks >> > >>>> >> > >>>> -- >> > >>>> Best regards, >> > >>>> Igor >> > >>> >> > >>> -- >> > >>> Best regards, >> > >>> Igor >> > >> >> > >> -- >> > >> Best regards, >> > >> Igor >> > >> >> > >> >> _________________________________________________________________________ >> > >> Professional FreeSWITCH Consulting Services: >> > >> consulting at freeswitch.org >> > >> http://www.freeswitchsolutions.com >> > >> >> > >> Official FreeSWITCH Sites >> > >> http://www.freeswitch.org >> > >> http://confluence.freeswitch.org >> > >> http://www.cluecon.com >> > >> >> > >> FreeSWITCH-users mailing list >> > >> FreeSWITCH-users at lists.freeswitch.org >> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > >> http://www.freeswitch.org >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Best regards, > Igor > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/405b126c/attachment-0001.html From sos at sokhapkin.dyndns.org Mon Mar 7 01:50:32 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Sun, 06 Mar 2016 17:50:32 -0500 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: References: Message-ID: <2111202.J8AleHQm5d@sos> What if you do NOT set inherit_codec=true and set inbound-late- negotiation=true? This works perfect to me... On Monday 07 March 2016 00:42:24 Igor Olhovskiy wrote: > To be more clear > with inbound-late-negotitation and inherit_codec=true I assume this > scenario: > I got a call to internal profile with codecs G722, PCMU and PCMA. Than, I?m > dialing external with putbound-codecs-prefs=PCMU,PCMA,GSM. At this point I > assume external profile will make an offer with PCMU and PCMA (accordint to > restrictions), but I got offer from external only on G722, which is not > supported by my provider. > > 2016-03-07 0:29 GMT+02:00 Igor Olhovskiy : > > Yep, tried to play with it, same idea, on external profile call - only > > g722. Which is not even in outbound codec list. And, according to manual, > > FS should offer all codecs in list to next endpoint, which is not happens. > > That?s my main confusion? > > > > 2016-03-07 0:05 GMT+02:00 Sergey Okhapkin : > >> > >> > >> ? > >> > >> On Sunday 06 March 2016 23:51:53 Igor Olhovskiy wrote: > >> > Hi! > >> > Thanks, but transcoding is also working with option > >> > >> absolute_codec_string. > >> > >> > What I?m trying to understand - what I?ve missed and why with profile > >> > settings, external profile totally ignores outbound-codec-prefs and > >> > >> takes > >> > >> > ONLY FIRST from incoming call to internal profile. > >> > > >> > 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : > >> > > Hi Igor, > >> > > If you want to do transcoding try to set* > >> > > media_mix_inbound_outbound_codecs=true.* This is described in detail > >> > >> here > >> > >> > >> https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/288 > >> 3 > >> > >> > > 752 . > >> > > > >> > > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" > >> > >> wrote: > >> > >> Working only when I?m setting > >> > >> export nolocal:absolute_codec_string=${outbound_codec_prefs} > >> > >> > >> > >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > >> > >>> Main question - why it?s ignores outbound-codec-prefs on external > >> > >>> profile and use G722 as a first avail codec in list? > >> > >>> > >> > >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > >> > >>>> Hi! > >> > >>>> I?m getting really strange things, or I?m just missed something. > >> > >>>> My phone is dials to freeswitch with this this line in log > >> > >>>> > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: > >> > >>>> v=0 > >> > >>>> o=root 1697549695 1697549695 IN IP4 > >> > >>>> s=call > >> > >>>> c=IN IP4 > >> > >>>> t=0 0 > >> > >>>> m=audio 26894 RTP/AVP 9 0 8 > >> > >>>> a=rtpmap:9 G722/8000 > >> > >>>> a=rtpmap:0 PCMU/8000 > >> > >>>> a=rtpmap:8 PCMA/8000 > >> > >>>> a=ptime:20 > >> > >>>> a=nortpproxy:yes > >> > >>>> > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > >> > >> Codec > >> > >> > >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 Audio > >> > >> Codec > >> > >> > >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set > >> > >> Codec > >> > >> > >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 > >> > >>>> samples 64000 bits 1 channels > >> > >>>> > >> > >>>> And when switches to external profile, I see > >> > >>>> > >> > >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 > >> > >> sofia/external/ > >> > >> > >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 > >> > >> 2016-01-11 > >> > >> > >>>> 20:16:12Z 64bit > >> > >>>> Local SDP: > >> > >>>> v=0 > >> > >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 > >> > >>>> s=FreeSWITCH > >> > >>>> c=IN IP4 10.0.20.71 > >> > >>>> t=0 0 > >> > >>>> m=audio 29804 RTP/AVP 9 101 13 > >> > >>>> a=rtpmap:9 G722/8000 > >> > >>>> a=rtpmap:101 telephone-event/8000 > >> > >>>> a=fmtp:101 0-16 > >> > >>>> a=rtpmap:13 CN/8000 > >> > >>>> a=ptime:20 > >> > >>>> a=sendrecv > >> > >>>> > >> > >>>> > >> > >>>> The question is - why only G722 left? > >> > >>>> Across dialplan there is no things like inherit_codec, bypass > >> > >> media or > >> > >> > >>>> other codec-related stuff > >> > >>>> > >> > >>>> Profiles > >> > >>>> external > >> > >>>> ext-sip-ip [10.0.20.71] > >> > >>>> rtp-timeout-sec [300] > >> > >>>> rtp-hold-timeout-sec [1800] > >> > >>>> tls [false] > >> > >>>> tls-only [false] > >> > >>>> tls-bind-params [transport=tls] > >> > >>>> tls-sip-port [5081] > >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > >> > >>>> tls-passphrase [] > >> > >>>> tls-verify-date [true] > >> > >>>> tls-verify-depth [2] > >> > >>>> tls-verify-in-subjects [] > >> > >>>> tls-version [tlsv1] > >> > >>>> tls-verify-policy [all] > >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > >> > >>>> user=fusionpbx password=pass options='' > >> > >> application_name='freeswitch'] > >> > >> > >>>> track-calls [true] > >> > >>>> inbound-codec-negotiation [greedy] > >> > >>>> debug [0] > >> > >>>> user-agent-string [FreeSWITCH] > >> > >>>> sip-trace [no] > >> > >>>> sip-capture [no] > >> > >>>> rfc2833-pt [101] > >> > >>>> sip-port [5080] > >> > >>>> dialplan [XML] > >> > >>>> context [public] > >> > >>>> dtmf-duration [2000] > >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >> > >>>> outbound-codec-prefs [PCMU,PCMA,GSM] > >> > >>>> hold-music [local_stream://default] > >> > >>>> zrtp-passthru [true] > >> > >>>> rtp-timer-name [soft] > >> > >>>> local-network-acl [localnet.auto] > >> > >>>> manage-presence [false] > >> > >>>> nonce-ttl [60] > >> > >>>> auth-calls [false] > >> > >>>> rtp-ip [10.0.20.71] > >> > >>>> sip-ip [10.0.20.71] > >> > >>>> ext-rtp-ip [10.0.20.71] > >> > >>>> > >> > >>>> internal > >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > >> > >>>> tls-passphrase [] > >> > >>>> tls-verify-date [true] > >> > >>>> tls-verify-depth [2] > >> > >>>> tls-verify-in-subjects [] > >> > >>>> tls-version [tlsv1] > >> > >>>> nonce-ttl [60] > >> > >>>> auth-calls [true] > >> > >>>> inbound-reg-force-matching-username [true] > >> > >>>> auth-all-packets [false] > >> > >>>> ext-rtp-ip [10.0.20.71] > >> > >>>> ext-sip-ip [10.0.20.71] > >> > >>>> rtp-timeout-sec [300] > >> > >>>> rtp-hold-timeout-sec [1800] > >> > >>>> tls-verify-policy [all] > >> > >>>> multiple-registrations [contact] > >> > >>>> enable-timer [false] > >> > >>>> dbname [share_presence] > >> > >>>> send-presence-on-register [true] > >> > >>>> inbound-codec-negotiation [greedy] > >> > >>>> NDLB-force-rport [safe] > >> > >>>> challenge-realm [auto_to] > >> > >>>> outbound-proxy [10.0.20.70] > >> > >>>> track-calls [true] > >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > >> > >>>> user=fusionpbx password=btgJek49 options='' > >> > >>>> application_name='freeswitch'] > >> > >>>> nat-options-ping [true] > >> > >>>> liberal-dtmf [true] > >> > >>>> all-reg-options-ping [true] > >> > >>>> force-publish-expires [true] > >> > >>>> unregister-on-options-fail [true] > >> > >>>> user-agent-string [FreeSWITCH] > >> > >>>> debug [0] > >> > >>>> sip-trace [no] > >> > >>>> sip-capture [no] > >> > >>>> watchdog-enabled [no] > >> > >>>> watchdog-step-timeout [30000] > >> > >>>> watchdog-event-timeout [30000] > >> > >>>> log-auth-failures [true] > >> > >>>> forward-unsolicited-mwi-notify [false] > >> > >>>> context [public] > >> > >>>> rfc2833-pt [101] > >> > >>>> sip-port [5060] > >> > >>>> dialplan [XML] > >> > >>>> dtmf-duration [2000] > >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >> > >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > >> > >>>> rtp-timer-name [soft] > >> > >>>> rtp-ip [10.0.20.71] > >> > >>>> sip-ip [10.0.20.71] > >> > >>>> hold-music [local_stream://default] > >> > >>>> apply-nat-acl [nat.auto] > >> > >>>> aggressive-nat-detection [true] > >> > >>>> apply-inbound-acl [domains] > >> > >>>> local-network-acl [localnet.auto] > >> > >>>> record-path [/usr/local/freeswitch/recordings] > >> > >>>> record-template > >> > >> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)} > >> > >> > >>>> /${uuid}.${record_ext}] manage-presence [true] > >> > >>>> presence-probe-on-register [true] > >> > >>>> manage-shared-appearance [true] > >> > >>>> tls [false] > >> > >>>> tls-only [false] > >> > >>>> tls-bind-params [transport=tls] > >> > >>>> tls-sip-port [5061] > >> > >>>> > >> > >>>> Tried with indbound-late-negotiation=false, also not helps? > >> > >>>> Can you please, point, what is missing? Thanks > >> > >>>> > >> > >>>> -- > >> > >>>> Best regards, > >> > >>>> Igor > >> > >>> > >> > >>> -- > >> > >>> Best regards, > >> > >>> Igor > >> > >> > >> > >> -- > >> > >> Best regards, > >> > >> Igor > >> > >> _________________________________________________________________________ > >> > >> > >> Professional FreeSWITCH Consulting Services: > >> > >> consulting at freeswitch.org > >> > >> http://www.freeswitchsolutions.com > >> > >> > >> > >> Official FreeSWITCH Sites > >> > >> http://www.freeswitch.org > >> > >> http://confluence.freeswitch.org > >> > >> http://www.cluecon.com > >> > >> > >> > >> FreeSWITCH-users mailing list > >> > >> FreeSWITCH-users at lists.freeswitch.org > >> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > >> > >> UNSUBSCRIBE: > >> http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > >> > >> http://www.freeswitch.org > >> > >> _________________________________________________________________________ > >> > >> > > Professional FreeSWITCH Consulting Services: > >> > > consulting at freeswitch.org > >> > > http://www.freeswitchsolutions.com > >> > > > >> > > Official FreeSWITCH Sites > >> > > http://www.freeswitch.org > >> > > http://confluence.freeswitch.org > >> > > http://www.cluecon.com > >> > > > >> > > FreeSWITCH-users mailing list > >> > > FreeSWITCH-users at lists.freeswitch.org > >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > >> > > UNSUBSCRIBE: > >> http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > >> > > http://www.freeswitch.org > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > -- > > Best regards, > > Igor From sos at sokhapkin.dyndns.org Mon Mar 7 01:53:05 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Sun, 06 Mar 2016 17:53:05 -0500 Subject: [Freeswitch-users] Codec negotiation. Totally confused In-Reply-To: <2111202.J8AleHQm5d@sos> References: <2111202.J8AleHQm5d@sos> Message-ID: <2409641.XgpkteVrVF@sos> I also have in the profile settings. On Sunday 06 March 2016 17:50:32 Sergey Okhapkin wrote: > What if you do NOT set inherit_codec=true and set inbound-late- > negotiation=true? This works perfect to me... > > On Monday 07 March 2016 00:42:24 Igor Olhovskiy wrote: > > To be more clear > > with inbound-late-negotitation and inherit_codec=true I assume this > > scenario: > > I got a call to internal profile with codecs G722, PCMU and PCMA. Than, > > I?m > > dialing external with putbound-codecs-prefs=PCMU,PCMA,GSM. At this point I > > assume external profile will make an offer with PCMU and PCMA (accordint > > to > > restrictions), but I got offer from external only on G722, which is not > > supported by my provider. > > > > 2016-03-07 0:29 GMT+02:00 Igor Olhovskiy : > > > Yep, tried to play with it, same idea, on external profile call - only > > > g722. Which is not even in outbound codec list. And, according to > > > manual, > > > FS should offer all codecs in list to next endpoint, which is not > > > happens. > > > That?s my main confusion? > > > > > > 2016-03-07 0:05 GMT+02:00 Sergey Okhapkin : > > >> > > >> > > >> ? > > >> > > >> On Sunday 06 March 2016 23:51:53 Igor Olhovskiy wrote: > > >> > Hi! > > >> > Thanks, but transcoding is also working with option > > >> > > >> absolute_codec_string. > > >> > > >> > What I?m trying to understand - what I?ve missed and why with profile > > >> > settings, external profile totally ignores outbound-codec-prefs and > > >> > > >> takes > > >> > > >> > ONLY FIRST from incoming call to internal profile. > > >> > > > >> > 2016-03-06 22:45 GMT+02:00 Volodymyr Fedorov : > > >> > > Hi Igor, > > >> > > If you want to do transcoding try to set* > > >> > > media_mix_inbound_outbound_codecs=true.* This is described in > > >> > > detail > > >> > > >> here > > >> > > >> > > >> https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/2 > > >> 88 > > >> 3 > > >> > > >> > > 752 . > > >> > > > > >> > > On Mar 6, 2016 11:28 AM, "Igor Olhovskiy" > > >> > > >> wrote: > > >> > >> Working only when I?m setting > > >> > >> export nolocal:absolute_codec_string=${outbound_codec_prefs} > > >> > >> > > >> > >> 2016-03-06 11:47 GMT+02:00 Igor Olhovskiy : > > >> > >>> Main question - why it?s ignores outbound-codec-prefs on external > > >> > >>> profile and use G722 as a first avail codec in list? > > >> > >>> > > >> > >>> 2016-03-06 9:51 GMT+02:00 Igor Olhovskiy : > > >> > >>>> Hi! > > >> > >>>> I?m getting really strange things, or I?m just missed something. > > >> > >>>> My phone is dials to freeswitch with this this line in log > > >> > >>>> > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] sofia.c:6770 Remote SDP: > > >> > >>>> v=0 > > >> > >>>> o=root 1697549695 1697549695 IN IP4 > > >> > >>>> s=call > > >> > >>>> c=IN IP4 > > >> > >>>> t=0 0 > > >> > >>>> m=audio 26894 RTP/AVP 9 0 8 > > >> > >>>> a=rtpmap:9 G722/8000 > > >> > >>>> a=rtpmap:0 PCMU/8000 > > >> > >>>> a=rtpmap:8 PCMA/8000 > > >> > >>>> a=ptime:20 > > >> > >>>> a=nortpproxy:yes > > >> > >>>> > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4161 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:4216 > > >> > >>>> Audio > > >> > > >> Codec > > >> > > >> > >>>> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > > >> > >>>> 2016-03-06 08:31:56.681036 [DEBUG] switch_core_media.c:2906 Set > > >> > > >> Codec > > >> > > >> > >>>> sofia/internal/10 at consertis.securenetvox.net G722/8000 20 ms 160 > > >> > >>>> samples 64000 bits 1 channels > > >> > >>>> > > >> > >>>> And when switches to external profile, I see > > >> > >>>> > > >> > >>>> 2016-03-06 08:31:56.721010 [DEBUG] sofia_glue.c:1257 > > >> > > >> sofia/external/ > > >> > > >> > >>>> 00972543279009 sending invite version: 1.6.6 git d2d0b32 > > >> > > >> 2016-01-11 > > >> > > >> > >>>> 20:16:12Z 64bit > > >> > >>>> Local SDP: > > >> > >>>> v=0 > > >> > >>>> o=FreeSWITCH 1457219712 1457219713 IN IP4 10.0.20.71 > > >> > >>>> s=FreeSWITCH > > >> > >>>> c=IN IP4 10.0.20.71 > > >> > >>>> t=0 0 > > >> > >>>> m=audio 29804 RTP/AVP 9 101 13 > > >> > >>>> a=rtpmap:9 G722/8000 > > >> > >>>> a=rtpmap:101 telephone-event/8000 > > >> > >>>> a=fmtp:101 0-16 > > >> > >>>> a=rtpmap:13 CN/8000 > > >> > >>>> a=ptime:20 > > >> > >>>> a=sendrecv > > >> > >>>> > > >> > >>>> > > >> > >>>> The question is - why only G722 left? > > >> > >>>> Across dialplan there is no things like inherit_codec, bypass > > >> > > >> media or > > >> > > >> > >>>> other codec-related stuff > > >> > >>>> > > >> > >>>> Profiles > > >> > >>>> external > > >> > >>>> ext-sip-ip [10.0.20.71] > > >> > >>>> rtp-timeout-sec [300] > > >> > >>>> rtp-hold-timeout-sec [1800] > > >> > >>>> tls [false] > > >> > >>>> tls-only [false] > > >> > >>>> tls-bind-params [transport=tls] > > >> > >>>> tls-sip-port [5081] > > >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > > >> > >>>> tls-passphrase [] > > >> > >>>> tls-verify-date [true] > > >> > >>>> tls-verify-depth [2] > > >> > >>>> tls-verify-in-subjects [] > > >> > >>>> tls-version [tlsv1] > > >> > >>>> tls-verify-policy [all] > > >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > > >> > >>>> user=fusionpbx password=pass options='' > > >> > > >> application_name='freeswitch'] > > >> > > >> > >>>> track-calls [true] > > >> > >>>> inbound-codec-negotiation [greedy] > > >> > >>>> debug [0] > > >> > >>>> user-agent-string [FreeSWITCH] > > >> > >>>> sip-trace [no] > > >> > >>>> sip-capture [no] > > >> > >>>> rfc2833-pt [101] > > >> > >>>> sip-port [5080] > > >> > >>>> dialplan [XML] > > >> > >>>> context [public] > > >> > >>>> dtmf-duration [2000] > > >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >> > >>>> outbound-codec-prefs [PCMU,PCMA,GSM] > > >> > >>>> hold-music [local_stream://default] > > >> > >>>> zrtp-passthru [true] > > >> > >>>> rtp-timer-name [soft] > > >> > >>>> local-network-acl [localnet.auto] > > >> > >>>> manage-presence [false] > > >> > >>>> nonce-ttl [60] > > >> > >>>> auth-calls [false] > > >> > >>>> rtp-ip [10.0.20.71] > > >> > >>>> sip-ip [10.0.20.71] > > >> > >>>> ext-rtp-ip [10.0.20.71] > > >> > >>>> > > >> > >>>> internal > > >> > >>>> tls-cert-dir [/usr/local/freeswitch/conf/ssl] > > >> > >>>> tls-passphrase [] > > >> > >>>> tls-verify-date [true] > > >> > >>>> tls-verify-depth [2] > > >> > >>>> tls-verify-in-subjects [] > > >> > >>>> tls-version [tlsv1] > > >> > >>>> nonce-ttl [60] > > >> > >>>> auth-calls [true] > > >> > >>>> inbound-reg-force-matching-username [true] > > >> > >>>> auth-all-packets [false] > > >> > >>>> ext-rtp-ip [10.0.20.71] > > >> > >>>> ext-sip-ip [10.0.20.71] > > >> > >>>> rtp-timeout-sec [300] > > >> > >>>> rtp-hold-timeout-sec [1800] > > >> > >>>> tls-verify-policy [all] > > >> > >>>> multiple-registrations [contact] > > >> > >>>> enable-timer [false] > > >> > >>>> dbname [share_presence] > > >> > >>>> send-presence-on-register [true] > > >> > >>>> inbound-codec-negotiation [greedy] > > >> > >>>> NDLB-force-rport [safe] > > >> > >>>> challenge-realm [auto_to] > > >> > >>>> outbound-proxy [10.0.20.70] > > >> > >>>> track-calls [true] > > >> > >>>> odbc-dsn [pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch > > >> > >>>> user=fusionpbx password=btgJek49 options='' > > >> > >>>> application_name='freeswitch'] > > >> > >>>> nat-options-ping [true] > > >> > >>>> liberal-dtmf [true] > > >> > >>>> all-reg-options-ping [true] > > >> > >>>> force-publish-expires [true] > > >> > >>>> unregister-on-options-fail [true] > > >> > >>>> user-agent-string [FreeSWITCH] > > >> > >>>> debug [0] > > >> > >>>> sip-trace [no] > > >> > >>>> sip-capture [no] > > >> > >>>> watchdog-enabled [no] > > >> > >>>> watchdog-step-timeout [30000] > > >> > >>>> watchdog-event-timeout [30000] > > >> > >>>> log-auth-failures [true] > > >> > >>>> forward-unsolicited-mwi-notify [false] > > >> > >>>> context [public] > > >> > >>>> rfc2833-pt [101] > > >> > >>>> sip-port [5060] > > >> > >>>> dialplan [XML] > > >> > >>>> dtmf-duration [2000] > > >> > >>>> inbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >> > >>>> outbound-codec-prefs [G7221 at 32000h,G7221 at 16000h > > >> > >>>> ,G722,PCMU,PCMA,OPUS,SILK] > > >> > >>>> rtp-timer-name [soft] > > >> > >>>> rtp-ip [10.0.20.71] > > >> > >>>> sip-ip [10.0.20.71] > > >> > >>>> hold-music [local_stream://default] > > >> > >>>> apply-nat-acl [nat.auto] > > >> > >>>> aggressive-nat-detection [true] > > >> > >>>> apply-inbound-acl [domains] > > >> > >>>> local-network-acl [localnet.auto] > > >> > >>>> record-path [/usr/local/freeswitch/recordings] > > >> > >>>> record-template > > >> > > >> [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)} > > >> > > >> > >>>> /${uuid}.${record_ext}] manage-presence [true] > > >> > >>>> presence-probe-on-register [true] > > >> > >>>> manage-shared-appearance [true] > > >> > >>>> tls [false] > > >> > >>>> tls-only [false] > > >> > >>>> tls-bind-params [transport=tls] > > >> > >>>> tls-sip-port [5061] > > >> > >>>> > > >> > >>>> Tried with indbound-late-negotiation=false, also not helps? > > >> > >>>> Can you please, point, what is missing? Thanks > > >> > >>>> > > >> > >>>> -- > > >> > >>>> Best regards, > > >> > >>>> Igor > > >> > >>> > > >> > >>> -- > > >> > >>> Best regards, > > >> > >>> Igor > > >> > >> > > >> > >> -- > > >> > >> Best regards, > > >> > >> Igor > > >> > > >> _______________________________________________________________________ > > >> __ > > >> > > >> > >> Professional FreeSWITCH Consulting Services: > > >> > >> consulting at freeswitch.org > > >> > >> http://www.freeswitchsolutions.com > > >> > >> > > >> > >> Official FreeSWITCH Sites > > >> > >> http://www.freeswitch.org > > >> > >> http://confluence.freeswitch.org > > >> > >> http://www.cluecon.com > > >> > >> > > >> > >> FreeSWITCH-users mailing list > > >> > >> FreeSWITCH-users at lists.freeswitch.org > > >> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > >> > > >> > >> UNSUBSCRIBE: > > >> http://lists.freeswitch.org/mailman/options/freeswitch-users > > >> > > >> > >> http://www.freeswitch.org > > >> > > >> _______________________________________________________________________ > > >> __ > > >> > > >> > > Professional FreeSWITCH Consulting Services: > > >> > > consulting at freeswitch.org > > >> > > http://www.freeswitchsolutions.com > > >> > > > > >> > > Official FreeSWITCH Sites > > >> > > http://www.freeswitch.org > > >> > > http://confluence.freeswitch.org > > >> > > http://www.cluecon.com > > >> > > > > >> > > FreeSWITCH-users mailing list > > >> > > FreeSWITCH-users at lists.freeswitch.org > > >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > >> > > >> > > UNSUBSCRIBE: > > >> http://lists.freeswitch.org/mailman/options/freeswitch-users > > >> > > >> > > http://www.freeswitch.org > > >> > > >> _______________________________________________________________________ > > >> __ > > >> Professional FreeSWITCH Consulting Services: > > >> consulting at freeswitch.org > > >> http://www.freeswitchsolutions.com > > >> > > >> Official FreeSWITCH Sites > > >> http://www.freeswitch.org > > >> http://confluence.freeswitch.org > > >> http://www.cluecon.com > > >> > > >> FreeSWITCH-users mailing list > > >> FreeSWITCH-users at lists.freeswitch.org > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-user > > >> s > > >> http://www.freeswitch.org > > > > > > -- > > > Best regards, > > > Igor From gregor at infomedia.si Mon Mar 7 02:19:11 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 7 Mar 2016 00:19:11 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: Thank you, H ?a? rald. This works: "AFAIK, for the ?'lame/lame.h'? you have to change the include line to only ?lame.h?" B ?ut for v8 stil do not have solution. I do not want to exclude mod_v8, since this module runs javascript. But, can you please confirm me that is not yet compatible, to stop trying to solve it. Any other suggestion what does this mean: " Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 ? ? C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 ?" Best regards, Gregor? 2016-03-06 16:39 GMT+01:00 Peter Olsson : > Remove mod_v8 from the build. I don't think it's compatible with VS2015 > for now. However, all other modules should be ok. > > /Peter > > 2016-03-06 12:31 GMT+01:00 Gregor Nanger : > >> ?This helped a lot, thank you. Now I have only few errors. Any hint? >> >> Error MSB4057 The target "v8:Rebuild" does not exist in the project. >> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C: >> \Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 >> Error MSB4057 The target "v8:Rebuild" does not exist in the project. >> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 >> C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 >> Error C1083 Cannot open include file: 'lame/lame.h': No such file or >> directory mod_shout >> C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 >> Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C >> :\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 >> >> ? >> >> 2016-03-06 7:53 GMT+01:00 Peter Olsson : >> >>> One common mistake is that you allow Git to modify line endings. Make >>> sure autocrlf is turned off - then clone the repository again from scratch. >>> >>> Also, I'm not sure if it will work in VS2015, but give it a try. >>> >>> /Peter >>> >>> 2016-03-06 2:06 GMT+01:00 Gregor Nanger : >>> >>>> Hi! >>>> >>>> I want to build Freeswitch on windows with visual studio 2015. >>>> >>>> Where should I start if I get 600 errors when try to Rebuild All. I >>>> opened solution and start Rebuild All, but I get so many errors that I >>>> belive that I am doing something wrong. >>>> >>>> Mainl yre errors regarding: >>>> >>>> Cannot open source file.... >>>> >>>> >>>> Best regards, Gregor >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/79174d34/attachment.html From gregor at infomedia.si Mon Mar 7 02:58:14 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 7 Mar 2016 00:58:14 +0100 Subject: [Freeswitch-users] SSL certificate and webrtc In-Reply-To: References: Message-ID: Just for info... Everything is also in windows precompiled build, jsut use version 1.7.0 For certificate to work in windows follow this steps: - use openssl tool to generate csr and private key - buy ssl with csr previous generated - enter certificate and private key into wss.pem (look into documentation for mod_rtc). I didn't enter chain certificate (root ca) and also works. - that's it 2016-03-05 16:39 GMT+01:00 Craig Stevenson : > If an example helps, here what I have in my script to generate the .pem > files for FreeSWITCH to support WebRTC: > > # Links to .crt and .key files > ssl_dir=${script_dir}/sc_ssl_cert > sc_crt=$ssl_dir/sc.crt > sc_key=$ssl_dir/sc.key > ca_crt=$ssl_dir/gd_bundle.crt > > # create the .pem files > mkdir -p /usr/local/freeswitch/certs/ > { cat ${sc_crt}; cat ${sc_key}; cat ${ca_crt}; } > > /usr/local/freeswitch/certs/wss.pem # CERT, KEY AND CHAIN files > { cat ${sc_crt}; cat ${sc_key}; } > /usr/local/freeswitch/certs/agent.pem > # CERT file AND key file > { cat ${ca_crt}; } > /usr/local/freeswitch/certs/cafile.pem # CHAIN > file or root CA > > > On Sat, Mar 5, 2016 at 4:11 AM, Brian West wrote: > >> Chain is the ca, cert is your cert >> >> >> On Saturday, March 5, 2016, Gregor Nanger wrote: >> >>> Hi! >>> >>> I bought wildcard certificate for using it with freeswitch. >>> >>> Now I have hard time to install it into Freeswitch and would appreciate >>> any help. >>> >>> I have private key (generated at CSR request), certificate issued by >>> authority and root certificate from authority. Now I do not know where to >>> enter certficate. According to documentation I assume that this is correct: >>> Cert, Key and Chain(s) are all contained in a single file in this order: >>> >>> -----BEGIN CERTIFICATE----- >>> >>> -----END CERTIFICATE----- >>> -----BEGIN RSA PRIVATE KEY----- >>> >>> -----END RSA PRIVATE KEY----- >>> -----BEGIN CERTIFICATE----- >>> >>> -----END CERTIFICATE----- >>> >>> What is puzzling me is if this is correct: >>> = root certificate from authority >>> = private key >>> = public certificate issued by authority >>> >>> Would this work? >>> >> >> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/c3f2fb2c/attachment-0001.html From karl at xtronics.com Mon Mar 7 04:57:24 2016 From: karl at xtronics.com (Karl Schmidt) Date: Sun, 6 Mar 2016 19:57:24 -0600 Subject: [Freeswitch-users] Stutter on ringtone - incoming calls only In-Reply-To: References: <56DA20B9.2030301@xtronics.com> Message-ID: <56DCE004.5010902@xtronics.com> OK - this bit seems likely: 2016-03-06 14:48:04.240958 [WARNING] switch_core_media.c:2042 Asynchronous PTIME not supported, changing our end from 30 to 20 2016-03-06 14:48:04.260851 [DEBUG] switch_core_media.c:2414 Changing Codec from PCMU at 30ms@8000hz to PCMU at 20ms@8000hz earlier in the log: Local SDP: v=0 o=FreeSWITCH 1457269929 1457269930 IN IP4 192.168.1.200 s=FreeSWITCH c=IN IP4 192.168.1.200 t=0 0 m=audio 27354 RTP/AVP 0 13 a=rtpmap:0 PCMU/8000 a=ptime:30 a=sendrecv m=audio 27354 RTP/AVP 0 8 9 3 13 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:3 GSM/8000 a=ptime:20 a=sendrecv So I'm guessing that the PTIME bit is the cause - I found some earlier threads and tried un-commenting : rtp-autofix-timing=false in sip_profiles/internal.xml But no joy. Shouldn't the Asynchronous PTIME be negotiated before the ringing is set up? ( Call audio is fine - just this ringtone phase on incoming calls ) On 03/05/2016 03:04 PM, Michael Collins wrote: > > > On Fri, Mar 4, 2016 at 3:56 PM, Karl Schmidt > wrote: > > When people call in (via callcentric) - they hear a stutter in the ringtone. > > My understanding is that the ringtone is generated by freeswitch - looks like here: > > > > > > We are running the Debian release - 1.4.26~37-1~jessie+1 > > Could be this is a new 'feature'? Never sure. > > Anyone else seeing this? > > I'm thinking the ringtone might be using a different CODEX? > > You can be absolutely certain of what's happening by taking a pcap of the SIP and RTP that are > leaving the box when the call comes in from Callcentric. Verify that you're sending a 183 w/SDP and > that there's actual early media leaving your system. If there is, analyze the RTP and see if the > stutter can be heard there. If it's PCMU then Wireshark is great for this kind of thing. (Lots of > info in Confluence on packet captures > and analysis > if you need a reference.) > > The pcap analysis should at the very least help you narrow down where the stutter is coming in to > play and where to go next. > > -MC -- -------------------------------------------------------------------------------- Link to our website and get free US-48 shipping on your next order. Karl Schmidt EMail Karl at xtronics.com Transtronics, Inc. WEB https://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-3089 As a bright friend explained as to why he doesn't watch any TV; All we have is time - best not to waste it. kps -------------------------------------------------------------------------------- From shisheer at tifr.res.in Mon Mar 7 09:11:14 2016 From: shisheer at tifr.res.in (Shisheer Teli) Date: Mon, 7 Mar 2016 11:41:14 +0530 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: I checked the credentials and made it to default. but still not working. On Fri, Mar 4, 2016 at 7:55 PM, ?talo Rossi wrote: > Please do not send attachments, we have pastebin for that, that's why I > asked you to paste the log there. > > You're getting a 403 Forbidden from FS, that means you're not sending the > correct credentials. Double check your user and password. > > On Fri, Mar 4, 2016 at 3:38 AM, Shisheer Teli > wrote: > >> Dear Rossi, >> >> Thank for your reply.. >> >> Kindly find the attached log file. >> >> my other extensions are working fine but this single extension is not >> working. >> >> On Thu, Mar 3, 2016 at 6:38 PM, ?talo Rossi wrote: >> >>> We can't help you without logs and more setup details. >>> >>> Try to get a siptrace and paste it on pastebin.freeswitch.org >>> >>> Open fs_cli and type: sofia global siptrace on >>> >>> Try to register, look for the output in your terminal, paste it on >>> pastebin and send us the link. >>> >>> On Thu, Mar 3, 2016 at 7:26 AM, Shisheer Teli >>> wrote: >>> >>>> Dear Team, >>>> >>>> I configured FreeSWITCH on a linux server. >>>> >>>> Initially, I configured extension 6219 on FreeSWITCH and its working >>>> fine. >>>> >>>> but from last few days, i am not able to register 6219 extension from >>>> any client. >>>> >>>> i tried with xlite , zoiper but its not working. i changed client >>>> machine too. >>>> >>>> All credential for 6219 is correct but still its not working. >>>> >>>> -- >>>> Regards, >>>> Shisheer T >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> ?talo Rossi >>> italo at freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Shisheer T >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Shisheer Teli | CCCF T: 02222782519/2121 E: shisheer at tifr.res.in W: www.tifr.res.in -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/36b3a4fd/attachment.html From Harald.Petrovitsch at sermotec.at Mon Mar 7 10:20:50 2016 From: Harald.Petrovitsch at sermotec.at (Harald Petrovitsch) Date: Mon, 7 Mar 2016 07:20:50 +0000 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> Hi Gregor ! V8 libs and mod builds fine here (visual Studio 2015 Sp1, 1.6 branch, used tortoiseGit to download it)) Regards Harald Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Gregor Nanger Gesendet: Montag, 07. M?rz 2016 00:19 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Windows build Thank you, H ?a? rald. This works: "AFAIK, for the ?'lame/lame.h'? you have to change the include line to only ?lame.h?" B ?ut for v8 stil do not have solution. I do not want to exclude mod_v8, since this module runs javascript. But, can you please confirm me that is not yet compatible, to stop trying to solve it. Any other suggestion what does this mean: " Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 ? ? C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 ?" Best regards, Gregor? 2016-03-06 16:39 GMT+01:00 Peter Olsson >: Remove mod_v8 from the build. I don't think it's compatible with VS2015 for now. However, all other modules should be ok. /Peter 2016-03-06 12:31 GMT+01:00 Gregor Nanger >: ?This helped a lot, thank you. Now I have only few errors. Any hint? Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error MSB4057 The target "v8:Rebuild" does not exist in the project. [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 Error C1083 Cannot open include file: 'lame/lame.h': No such file or directory mod_shout C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C:\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 ? 2016-03-06 7:53 GMT+01:00 Peter Olsson >: One common mistake is that you allow Git to modify line endings. Make sure autocrlf is turned off - then clone the repository again from scratch. Also, I'm not sure if it will work in VS2015, but give it a try. /Peter 2016-03-06 2:06 GMT+01:00 Gregor Nanger >: Hi! I want to build Freeswitch on windows with visual studio 2015. Where should I start if I get 600 errors when try to Rebuild All. I opened solution and start Rebuild All, but I get so many errors that I belive that I am doing something wrong. Mainl yre errors regarding: Cannot open source file.... Best regards, Gregor _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Gregor Nanger CTO t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Gregor Nanger CTO t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/49676f9a/attachment-0001.html From peter at olssononline.se Mon Mar 7 10:27:14 2016 From: peter at olssononline.se (Peter Olsson) Date: Mon, 7 Mar 2016 08:27:14 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: Try to edit libv8.2015.vcxproj in a text editor. Append " 2013" (without the quotes) as the last parameter for all calls to "build-v8.bat". I'm not sure at all if that will work - but it will at least force the V8 build to create VS2013 project files, which might work fine in 2015. You will probably need to clean out old build files as well, so to make sure, execute "git clean -fdx" before trying this. If this doesn't work, a later version of V8 must be used, which probably will result in some work. I'm the author om mod_v8 - however, I don't get much time for this nowadays.. /Peter 2016-03-07 0:19 GMT+01:00 Gregor Nanger : > Thank you, H > ?a? > rald. This works: "AFAIK, for the ?'lame/lame.h'? you have to change the > include line to only ?lame.h?" > > B > ?ut for v8 stil do not have solution. I do not want to exclude mod_v8, > since this module runs javascript. But, can you please confirm me that is > not yet compatible, to stop trying to solve it. > > Any other suggestion what does this mean: > " > Error MSB4057 The target "v8:Rebuild" does not exist in the project. > [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 > ? ? > C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 > ?" > > Best regards, Gregor? > > 2016-03-06 16:39 GMT+01:00 Peter Olsson : > >> Remove mod_v8 from the build. I don't think it's compatible with VS2015 >> for now. However, all other modules should be ok. >> >> /Peter >> >> 2016-03-06 12:31 GMT+01:00 Gregor Nanger : >> >>> ?This helped a lot, thank you. Now I have only few errors. Any hint? >>> >>> Error MSB4057 The target "v8:Rebuild" does not exist in the project. >>> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 C: >>> \Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 >>> Error MSB4057 The target "v8:Rebuild" does not exist in the project. >>> [C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln] libv8 >>> C:\Git\freeswitch\libs\v8-3.24.14\tools\gyp\v8.sln.metaproj 1 >>> Error C1083 Cannot open include file: 'lame/lame.h': No such file or >>> directory mod_shout >>> C:\Git\freeswitch\src\mod\formats\mod_shout\mod_shout.c 38 >>> Error LNK1181 cannot open input file 'icui18n.lib' mod_v8 C >>> :\Git\freeswitch\src\mod\languages\mod_v8\LINK 1 >>> >>> ? >>> >>> 2016-03-06 7:53 GMT+01:00 Peter Olsson : >>> >>>> One common mistake is that you allow Git to modify line endings. Make >>>> sure autocrlf is turned off - then clone the repository again from scratch. >>>> >>>> Also, I'm not sure if it will work in VS2015, but give it a try. >>>> >>>> /Peter >>>> >>>> 2016-03-06 2:06 GMT+01:00 Gregor Nanger : >>>> >>>>> Hi! >>>>> >>>>> I want to build Freeswitch on windows with visual studio 2015. >>>>> >>>>> Where should I start if I get 600 errors when try to Rebuild All. I >>>>> opened solution and start Rebuild All, but I get so many errors that I >>>>> belive that I am doing something wrong. >>>>> >>>>> Mainl yre errors regarding: >>>>> >>>>> Cannot open source file.... >>>>> >>>>> >>>>> Best regards, Gregor >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/b0b539d6/attachment.html From bhavikpatel14388 at gmail.com Mon Mar 7 15:01:42 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Mon, 7 Mar 2016 17:31:42 +0530 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Can anyone faces similar kind of issue with Verto ? Here i am attaching *INCOMPATIBLE_DESTINATION. *Logs. On Thu, Mar 3, 2016 at 6:59 PM, bhavik patel wrote: > Thanks for the reply. > > I tried not this params and getting *Originate Failed. Cause: > INCOMPATIBLE_DESTINATION.* > > Any other Clue. > > On Thu, Mar 3, 2016 at 6:12 PM, ?talo Rossi wrote: > >> Have you tried setting media_mix_inbound_outbound_codec=true ? >> >> On Thu, Mar 3, 2016 at 4:09 AM, bhavik patel >> wrote: >> >>> Hi All, >>> >>> I have Freeswitch-1.6.5 running on Debian-8.2. >>> >>> I want to use mod_verto for webrtc and followed steps mentioned at >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto. >>> But calls are not working. >>> >>> Outbound call fails with NORMAL_TEMPORARY_FAILURE. >>> >>> When make inbound call it rings at destination and drops as soon as it >>> answer. >>> >>> Here i am attaching logs for both type of calls. >>> >>> Let me know if you require anything else from my end. >>> >>> >>> >>> Thanks >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Thanks, > Bhavik Patel > > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/804f76e6/attachment-0001.html -------------- next part -------------- 2016-03-07 13:33:21.210914 [ALERT] mod_verto.c:1365 READ x.x.x.47:38105 [{ "jsonrpc": "2.0", "method": "verto.invite", "params": { "sdp": "v=0\r\no=- 8839241919991864351 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM\r\nm=audio 60098 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 x.x.x.47\r\na=rtcp:60098 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 60098 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 60098 typ host generation 0\r\na=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:1836006322 1 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0\r\na=ice-ufrag:ulSc0VI6wblyj/Yh\r\na=ice-pwd:xljyntK2FrUbN6pR+kJe0w0L\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 56:32:AB:CD:46:DF:9F:D6:AD:18:AA:73:A6:58:D3:D8:22:E4:20:3E:F1:54:E4:A7:6E:83:67:C3:E2:57:E5:8E\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10; stereo=1; sprop-stereo=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:2255451044 cname:mn0BfhWXIhxUt2jW\r\na=ssrc:2255451044 msid:zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM d3c12d3f-b09e-44c3-84bd-68b6ce65e4bb\r\na=ssrc:2255451044 mslabel:zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM\r\na=ssrc:2255451044 label:d3c12d3f-b09e-44c3-84bd-68b6ce65e4bb\r\nm=video 60098 RTP/SAVPF 100 116 117 96\r\nc=IN IP4 x.x.x.47\r\na=rtcp:60098 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 60098 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 60098 typ host generation 0\r\na=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0\r\na=candidate:1836006322 1 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0\r\na=ice-ufrag:ulSc0VI6wblyj/Yh\r\na=ice-pwd:xljyntK2FrUbN6pR+kJe0w0L\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 56:32:AB:CD:46:DF:9F:D6:AD:18:AA:73:A6:58:D3:D8:22:E4:20:3E:F1:54:E4:A7:6E:83:67:C3:E2:57:E5:8E\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 ulpfec/90000\r\na=rtpmap:96 rtx/90000\r\na=fmtp:96 apt=100\r\n", "dialogParams": { "useVideo": true, "useStereo": true, "screenShare": false, "useCamera": "none", "useMic": "any", "useSpeak": "any", "tag": "webcam", "localTag": null, "login": "789789 at x.x.x.91", "videoParams": { "minWidth": 320, "minHeight": 240, "maxWidth": 320, "maxHeight": 240, "minFrameRate": 15 }, "destination_number": "1026", "caller_id_name": "789789", "caller_id_number": "xxxxxxxxx30", "outgoingBandwidth": "363", "incomingBandwidth": "795", "dedEnc": false, "mirrorInput": false, "userVariables": { "avatar": "", "email": "" }, "callID": "a0f03438-a7ba-0145-ad28-c57405615cbd", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "1026" }, "sessid": "f6c5ce70-2fc5-6599-5b1a-b190cc072f27" }, "id": 18 }] 2016-03-07 13:33:21.210914 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT 2016-03-07 13:33:21.210914 [DEBUG] switch_core_session.c:613 N/A set UUID=a0f03438-a7ba-0145-ad28-c57405615cbd 2016-03-07 13:33:21.210914 [NOTICE] switch_channel.c:1091 New Channel verto.rtc/1026 [a0f03438-a7ba-0145-ad28-c57405615cbd] 2016-03-07 13:33:21.310905 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/1026: v=0 o=- 8839241919991864351 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM m=audio 60098 RTP/SAVPF 111 103 104 0 8 106 105 13 126 c=IN IP4 x.x.x.47 a=rtcp:60098 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 60098 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 60098 typ host generation 0 a=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:1836006322 1 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0 a=ice-ufrag:ulSc0VI6wblyj/Yh a=ice-pwd:xljyntK2FrUbN6pR+kJe0w0L a=ice-options:google-ice a=fingerprint:sha-256 56:32:AB:CD:46:DF:9F:D6:AD:18:AA:73:A6:58:D3:D8:22:E4:20:3E:F1:54:E4:A7:6E:83:67:C3:E2:57:E5:8E a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; stereo=1; sprop-stereo=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000 a=maxptime:60 a=ssrc:2255451044 cname:mn0BfhWXIhxUt2jW a=ssrc:2255451044 msid:zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM d3c12d3f-b09e-44c3-84bd-68b6ce65e4bb a=ssrc:2255451044 mslabel:zk8dxi4qdO2fDxKlmYREHM28A590jNHRZ5wM a=ssrc:2255451044 label:d3c12d3f-b09e-44c3-84bd-68b6ce65e4bb m=video 60098 RTP/SAVPF 100 116 117 96 c=IN IP4 x.x.x.47 a=rtcp:60098 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 60098 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 60098 typ host generation 0 a=candidate:3590110870 1 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:3590110870 2 tcp 1518280447 192.168.1.33 0 typ host tcptype active generation 0 a=candidate:1836006322 1 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 60098 typ srflx raddr 192.168.1.33 rport 60098 generation 0 a=ice-ufrag:ulSc0VI6wblyj/Yh a=ice-pwd:xljyntK2FrUbN6pR+kJe0w0L a=ice-options:google-ice a=fingerprint:sha-256 56:32:AB:CD:46:DF:9F:D6:AD:18:AA:73:A6:58:D3:D8:22:E4:20:3E:F1:54:E4:A7:6E:83:67:C3:E2:57:E5:8E a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=recvonly a=rtcp-mux a=rtpmap:100 VP8/90000 a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtcp-fb:100 goog-remb a=rtpmap:116 red/90000 a=rtpmap:117 ulpfec/90000 a=rtpmap:96 rtx/90000 a=fmtp:96 apt=100 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_INIT 2016-03-07 13:33:21.310905 [ALERT] mod_verto.c:604 WRITE x.x.x.47:38105 [{ "jsonrpc": "2.0", "id": 18, "result": { "message": "CALL CREATED", "callID": "a0f03438-a7ba-0145-ad28-c57405615cbd", "sessid": "f6c5ce70-2fc5-6599-5b1a-b190cc072f27" } }] 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1026) State INIT 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:40 verto.rtc/1026 Standard INIT 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1026) State INIT going to sleep 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_ROUTING 2016-03-07 13:33:21.310905 [DEBUG] switch_channel.c:2239 (verto.rtc/1026) Callstate Change DOWN -> RINGING 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1026) State ROUTING 2016-03-07 13:33:21.310905 [DEBUG] mod_rtc.c:89 verto.rtc/1026 RTC ROUTING 2016-03-07 13:33:21.310905 [DEBUG] switch_core_state_machine.c:166 verto.rtc/1026 Standard ROUTING 2016-03-07 13:33:21.310905 [INFO] mod_dialplan_xml.c:637 Processing 789789 ->1026 in context default Dialplan: verto.rtc/1026 parsing [default->] continue=false Dialplan: verto.rtc/1026 Regex (PASS) [] destination_number(1026) =~ // break=on-false Dialplan: verto.rtc/1026 Action set(callstart=2016-03-07 11:33:21) Dialplan: verto.rtc/1026 Action set(call_processed=internal) Dialplan: verto.rtc/1026 Action set(originated_destination_number=1026) Dialplan: verto.rtc/1026 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/1026 Action set(continue_on_fail=true) Dialplan: verto.rtc/1026 Action set(fax_enable_t38=true) Dialplan: verto.rtc/1026 Action set(fax_enable_t38_request=true) Dialplan: verto.rtc/1026 Action export(t38_passthru=true) Dialplan: verto.rtc/1026 Action set(call_direction=outbound) Dialplan: verto.rtc/1026 Action set(calltype=STANDARD) Dialplan: verto.rtc/1026 Action set(absolute_codec_string='^^G729:PCMA:PCMU:opus') Dialplan: verto.rtc/1026 Action limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Cust1_xxxx1/1026) Dialplan: verto.rtc/1026 Action bridge(sofia/gateway/test_gtw/1026) Dialplan: verto.rtc/1026 Action bridge(sofia/gateway/test1_gtw/1026) Dialplan: verto.rtc/1026 Action set(effective_destination_number=1026) Dialplan: verto.rtc/1026 Action set(absolute_codec_string='^^G729:PCMA:PCMU:opus') Dialplan: verto.rtc/1026 Action limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Cust1_xxxx1/1026) Dialplan: verto.rtc/1026 Action bridge(sofia/gateway/test_gtw/1026) Dialplan: verto.rtc/1026 Action bridge(sofia/gateway/test1_gtw/1026) 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:216 (verto.rtc/1026) State Change CS_ROUTING -> CS_EXECUTE 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1026) State ROUTING going to sleep 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_EXECUTE 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/1026) State EXECUTE 2016-03-07 13:33:21.430855 [DEBUG] mod_rtc.c:120 verto.rtc/1026 RTC EXECUTE 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:258 verto.rtc/1026 Standard EXECUTE EXECUTE verto.rtc/1026 set(callstart=2016-03-07 11:33:21) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [callstart]=[2016-03-07 11:33:21] EXECUTE verto.rtc/1026 set(call_processed=internal) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [call_processed]=[internal] EXECU