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] EXECUTE verto.rtc/1026 set(originated_destination_number=1026) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [originated_destination_number]=[1026] EXECUTE verto.rtc/1026 set(hangup_after_bridge=true) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [hangup_after_bridge]=[true] EXECUTE verto.rtc/1026 set(continue_on_fail=true) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [continue_on_fail]=[true] EXECUTE verto.rtc/1026 set(fax_enable_t38=true) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [fax_enable_t38]=[true] EXECUTE verto.rtc/1026 set(fax_enable_t38_request=true) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [fax_enable_t38_request]=[true] EXECUTE verto.rtc/1026 export(t38_passthru=true) 2016-03-07 13:33:21.430855 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE verto.rtc/1026 set(call_direction=outbound) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [call_direction]=[outbound] EXECUTE verto.rtc/1026 set(calltype=STANDARD) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [calltype]=[STANDARD] EXECUTE verto.rtc/1026 sched_hangup(+1440 allotted_timeout) 2016-03-07 13:33:21.430855 [DEBUG] switch_scheduler.c:249 Added task 178 switch_ivr_schedule_hangup (a0f03438-a7ba-0145-ad28-c57405615cbd) to run at 1457351841 EXECUTE verto.rtc/1026 set(effective_destination_number=1026) 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [effective_destination_number]=[1026] EXECUTE verto.rtc/1026 set(absolute_codec_string='^^G729:PCMA:PCMU:opus') 2016-03-07 13:33:21.430855 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [absolute_codec_string]=['^^G729:PCMA:PCMU:opus'] EXECUTE verto.rtc/1026 limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^G729:PCMA:PCMU:opus'}sofia/gateway/Cust1_xxxx1/1026) 2016-03-07 13:33:21.430855 [DEBUG] switch_limit.c:126 incr called: Cust1_xxxx1_gw_Cust1_xxxx1 max:4, interval:0 2016-03-07 13:33:21.430855 [DEBUG] mod_db.c:194 Usage for Cust1_xxxx1_gw_Cust1_xxxx1 is now 1/4 EXECUTE verto.rtc/1026 bridge({absolute_codec_string=^^G729:PCMA:PCMU:opus}sofia/gateway/Cust1_xxxx1/1026) 2016-03-07 13:33:21.430855 [DEBUG] switch_channel.c:1237 verto.rtc/1026 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-07 13:33:21.430855 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-07 13:33:21.430855 [NOTICE] switch_channel.c:1091 New Channel sofia/default/1026 [0e609d49-eff1-4801-bd46-c7e2dd9cd511] 2016-03-07 13:33:21.430855 [DEBUG] mod_sofia.c:4765 (sofia/default/1026) State Change CS_NEW -> CS_INIT 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_INIT 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT 2016-03-07 13:33:21.430855 [DEBUG] mod_sofia.c:88 sofia/default/1026 SOFIA INIT 2016-03-07 13:33:21.430855 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/1026 2016-03-07 13:33:21.430855 [DEBUG] sofia_glue.c:1257 sofia/default/1026 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1457331549 1457331550 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:40 sofia/default/1026 Standard INIT 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT going to sleep 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_ROUTING 2016-03-07 13:33:21.430855 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [calling][0] 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING 2016-03-07 13:33:21.430855 [DEBUG] mod_sofia.c:141 sofia/default/1026 SOFIA ROUTING 2016-03-07 13:33:21.430855 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1026) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING going to sleep 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_CONSUME_MEDIA 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA 2016-03-07 13:33:21.430855 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA going to sleep 2016-03-07 13:33:21.490963 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [terminated][400] 2016-03-07 13:33:21.490963 [NOTICE] sofia.c:7769 Hangup sofia/default/1026 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_HANGUP 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1026) Callstate Change DOWN -> HANGUP 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP 2016-03-07 13:33:21.490963 [DEBUG] mod_sofia.c:431 Channel sofia/default/1026 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:60 sofia/default/1026 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP going to sleep 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:508 (sofia/default/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_REPORTING 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING 2016-03-07 13:33:21.490963 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2016-03-07 13:33:21.490963 [INFO] mod_dptools.c:3379 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 13:33:21.490963 [INFO] mod_dptools.c:4602 immediately releasing EXECUTE verto.rtc/1026 bridge(sofia/gateway/test_gtw/1026) 2016-03-07 13:33:21.490963 [DEBUG] switch_channel.c:1237 verto.rtc/1026 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-07 13:33:21.490963 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-07 13:33:21.490963 [NOTICE] switch_channel.c:1091 New Channel sofia/default/1026 [a501a816-7fd2-4fc0-9adf-fa7d87003b67] 2016-03-07 13:33:21.490963 [DEBUG] mod_sofia.c:4765 (sofia/default/1026) State Change CS_NEW -> CS_INIT 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_INIT 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT 2016-03-07 13:33:21.490963 [DEBUG] mod_sofia.c:88 sofia/default/1026 SOFIA INIT 2016-03-07 13:33:21.490963 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/1026 2016-03-07 13:33:21.490963 [DEBUG] sofia_glue.c:1257 sofia/default/1026 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1457320955 1457320956 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 m=audio 29446 RTP/AVP 18 0 8 101 a=rtpmap:18 G729/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv m=video 27274 RTP/AVP 100 a=rtpmap:100 VP8/90000 b=AS:1024 a=rtcp-fb:100 ccm fir a=rtcp-fb:100 ccm tmmbr a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:40 sofia/default/1026 Standard INIT 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 13:33:21.490963 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT going to sleep 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_ROUTING 2016-03-07 13:33:21.510848 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [calling][0] 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING 2016-03-07 13:33:21.510848 [DEBUG] mod_sofia.c:141 sofia/default/1026 SOFIA ROUTING 2016-03-07 13:33:21.510848 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1026) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING going to sleep 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_CONSUME_MEDIA 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA 2016-03-07 13:33:21.510848 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA going to sleep 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:104 sofia/default/1026 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING going to sleep 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:499 (sofia/default/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 13:33:21.750846 [DEBUG] switch_core_session.c:1646 Session 427 (sofia/default/1026) Locked, Waiting on external entities 2016-03-07 13:33:21.750846 [NOTICE] switch_core_session.c:1664 Session 427 (sofia/default/1026) Ended 2016-03-07 13:33:21.750846 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/1026 [CS_DESTROY] 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:630 (sofia/default/1026) Running State Change CS_DESTROY 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY 2016-03-07 13:33:21.750846 [DEBUG] mod_sofia.c:341 sofia/default/1026 SOFIA DESTROY 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:111 sofia/default/1026 Standard DESTROY 2016-03-07 13:33:21.750846 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY going to sleep 2016-03-07 13:33:22.710917 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [proceeding][183] 2016-03-07 13:33:22.710917 [DEBUG] sofia.c:6760 Remote SDP: v=0 o=Sippy 1999834334914869335 1 IN IP4 197.80.141.4 s=- c=IN IP4 197.80.141.4 t=0 0 m=audio 25222 RTP/AVP 18 101 c=IN IP4 197.80.141.4 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=pmft:T38 a=ptime:60 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:60:8000:1]/[G729:18:8000:20:8000:1] 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with G729 at 8000h@20i 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:60:8000:1]/[PCMU:0:8000:20:64000:1] 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [G729:18:8000:60:8000:1]/[PCMA:8:8000:20:64000:1] 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 101 at 8000 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:2898 Set Codec sofia/default/1026 G729/8000 20 ms 160 samples 8000 bits 1 channels 2016-03-07 13:33:22.710917 [DEBUG] switch_core_codec.c:111 sofia/default/1026 Original read codec set to G729:18 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 101 at 8000 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:4473 sofia/default/1026 Set 2833 dtmf send payload to 101 recv payload to 101 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:6027 AUDIO RTP [sofia/default/1026] x.x.x.88 port 29446 -> 197.80.141.4 port 25222 codec: 18 ms: 20 2016-03-07 13:33:22.710917 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 160 bytes per 20ms 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:6326 sofia/default/1026 Set 2833 dtmf send payload to 101 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:6333 sofia/default/1026 Set 2833 dtmf receive payload to 101 2016-03-07 13:33:22.710917 [DEBUG] switch_core_media.c:6356 sofia/default/1026 Set rtp dtmf delay to 40 2016-03-07 13:33:22.710917 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/1026! 2016-03-07 13:33:22.710917 [DEBUG] switch_channel.c:3460 (sofia/default/1026) Callstate Change DOWN -> EARLY 2016-03-07 13:33:22.730916 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 126 at 8000 2016-03-07 13:33:22.730916 [DEBUG] switch_core_media.c:4473 verto.rtc/1026 Set 2833 dtmf send payload to 126 recv payload to 126 2016-03-07 13:33:22.730916 [NOTICE] switch_channel.c:3501 Hangup verto.rtc/1026 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] 2016-03-07 13:33:22.730916 [DEBUG] switch_ivr_originate.c:3563 verto.rtc/1026 Media Establishment Failed. 2016-03-07 13:33:22.730916 [NOTICE] switch_ivr_originate.c:3565 Hangup sofia/default/1026 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_HANGUP 2016-03-07 13:33:22.730916 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION] 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1026) Callstate Change EARLY -> HANGUP 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP 2016-03-07 13:33:22.730916 [DEBUG] mod_sofia.c:431 Channel sofia/default/1026 hanging up, cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:22.730916 [INFO] mod_dptools.c:3379 Originate Failed. Cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:22.730916 [DEBUG] switch_core_session.c:2796 verto.rtc/1026 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/1026) State EXECUTE going to sleep 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_HANGUP 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/1026) Callstate Change RINGING -> HANGUP 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1026) State HANGUP 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:60 verto.rtc/1026 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1026) State HANGUP going to sleep 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_REPORTING 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1026) State REPORTING 2016-03-07 13:33:22.730916 [DEBUG] mod_sofia.c:495 Sending CANCEL to sofia/default/1026 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:60 sofia/default/1026 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP going to sleep 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:508 (sofia/default/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_REPORTING 2016-03-07 13:33:22.730916 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING 2016-03-07 13:33:22.770838 [ALERT] mod_verto.c:604 WRITE x.x.x.47:38105 [{ "jsonrpc": "2.0", "id": 23, "method": "verto.bye", "params": { "callID": "a0f03438-a7ba-0145-ad28-c57405615cbd", "causeCode": 88, "cause": "INCOMPATIBLE_DESTINATION" } }] 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:104 sofia/default/1026 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING going to sleep 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:499 (sofia/default/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 13:33:23.010891 [DEBUG] switch_core_session.c:1646 Session 428 (sofia/default/1026) Locked, Waiting on external entities 2016-03-07 13:33:23.010891 [NOTICE] switch_core_session.c:1664 Session 428 (sofia/default/1026) Ended 2016-03-07 13:33:23.010891 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/1026 [CS_DESTROY] 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:630 (sofia/default/1026) Running State Change CS_DESTROY 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY 2016-03-07 13:33:23.010891 [DEBUG] mod_sofia.c:341 sofia/default/1026 SOFIA DESTROY 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:111 sofia/default/1026 Standard DESTROY 2016-03-07 13:33:23.010891 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY going to sleep 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:104 verto.rtc/1026 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1026) State REPORTING going to sleep 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 13:33:23.030912 [DEBUG] switch_core_session.c:1646 Session 426 (verto.rtc/1026) Locked, Waiting on external entities 2016-03-07 13:33:23.030912 [NOTICE] switch_core_session.c:1664 Session 426 (verto.rtc/1026) Ended 2016-03-07 13:33:23.030912 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/1026 [CS_DESTROY] 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:630 (verto.rtc/1026) Running State Change CS_DESTROY 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/1026) State DESTROY 2016-03-07 13:33:23.030912 [DEBUG] mod_rtc.c:132 verto.rtc/1026 RTC DESTROY 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:111 verto.rtc/1026 Standard DESTROY 2016-03-07 13:33:23.030912 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/1026) State DESTROY going to sleep 2016-03-07 13:33:23.130972 [ALERT] mod_verto.c:1365 READ x.x.x.47:38105 [{ "jsonrpc": "2.0", "method": "verto.bye", "params": { "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": 19 }] 2016-03-07 13:33:23.130972 [ALERT] mod_verto.c:604 WRITE x.x.x.47:38105 [{ "jsonrpc": "2.0", "id": 19, "error": { "callID": "a0f03438-a7ba-0145-ad28-c57405615cbd", "message": "CALL DOES NOT EXIST", "code": -32002 } }] 2016-03-07 13:33:23.230917 [ALERT] mod_verto.c:1365 READ x.x.x.47:38105 [{ "jsonrpc": "2.0", "id": 23, "result": { "method": "verto.bye" } }] 2016-03-07 13:33:23.430915 [DEBUG] switch_scheduler.c:144 Deleting task 178 switch_ivr_schedule_hangup (a0f03438-a7ba-0145-ad28-c57405615cbd) From gregor at infomedia.si Mon Mar 7 15:28:32 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 7 Mar 2016 13:28:32 +0100 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: I guess that there is something with codec. As I see it select g729. Try to force PCMA:PCMU for test. 2016-03-07 13:01 GMT+01:00 bhavik patel : > 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/7759d28d/attachment.html From bhavikpatel14388 at gmail.com Mon Mar 7 15:48:49 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Mon, 7 Mar 2016 18:18:49 +0530 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: I did try with PCMA:PCMU and getting same result. PFA On Mon, Mar 7, 2016 at 5:58 PM, Gregor Nanger wrote: > I guess that there is something with codec. As I see it select g729. Try > to force PCMA:PCMU for test. > > 2016-03-07 13:01 GMT+01:00 bhavik patel : > >> 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 < >>>> bhavikpatel14388 at gmail.com> 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160307/3672ea71/attachment-0001.html -------------- next part -------------- 2016-03-07 14:35:08.910957 [ALERT] mod_verto.c:1365 READ x.x.x.47:53690 [{ "jsonrpc": "2.0", "method": "verto.invite", "params": { "sdp": "v=0\r\no=- 5389296454516681963 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld\r\nm=audio 60195 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 x.x.x.47\r\na=rtcp:60195 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 60195 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 60195 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 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0\r\na=ice-ufrag:cp1aXZLwXBWAdv68\r\na=ice-pwd:N/QBw3sj6zQbek2eKnFxCWFU\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:2095280924 cname:ahz7D2gj81SUxv5m\r\na=ssrc:2095280924 msid:oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld c6fbb61e-1ddb-43cf-b4cb-9fc6d957ec18\r\na=ssrc:2095280924 mslabel:oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld\r\na=ssrc:2095280924 label:c6fbb61e-1ddb-43cf-b4cb-9fc6d957ec18\r\nm=video 60195 RTP/SAVPF 100 116 117 96\r\nc=IN IP4 x.x.x.47\r\na=rtcp:60195 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 60195 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 60195 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 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0\r\na=ice-ufrag:cp1aXZLwXBWAdv68\r\na=ice-pwd:N/QBw3sj6zQbek2eKnFxCWFU\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": "435", "incomingBandwidth": "795", "dedEnc": false, "mirrorInput": false, "userVariables": { "avatar": "", "email": "" }, "callID": "84c33f0c-3c5c-d27d-13f8-8a325debfda7", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "1026" }, "sessid": "f6c5ce70-2fc5-6599-5b1a-b190cc072f27" }, "id": 27 }] 2016-03-07 14:35:08.910957 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT 2016-03-07 14:35:08.910957 [DEBUG] switch_core_session.c:613 N/A set UUID=84c33f0c-3c5c-d27d-13f8-8a325debfda7 2016-03-07 14:35:08.910957 [NOTICE] switch_channel.c:1091 New Channel verto.rtc/1026 [84c33f0c-3c5c-d27d-13f8-8a325debfda7] 2016-03-07 14:35:09.010845 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/1026: v=0 o=- 5389296454516681963 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld m=audio 60195 RTP/SAVPF 111 103 104 0 8 106 105 13 126 c=IN IP4 x.x.x.47 a=rtcp:60195 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 60195 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 60195 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 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0 a=ice-ufrag:cp1aXZLwXBWAdv68 a=ice-pwd:N/QBw3sj6zQbek2eKnFxCWFU 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:2095280924 cname:ahz7D2gj81SUxv5m a=ssrc:2095280924 msid:oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld c6fbb61e-1ddb-43cf-b4cb-9fc6d957ec18 a=ssrc:2095280924 mslabel:oySGH06CQjj0wcxatZjC55r5LA4h8R5gy6ld a=ssrc:2095280924 label:c6fbb61e-1ddb-43cf-b4cb-9fc6d957ec18 m=video 60195 RTP/SAVPF 100 116 117 96 c=IN IP4 x.x.x.47 a=rtcp:60195 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 60195 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 60195 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 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 60195 typ srflx raddr 192.168.1.33 rport 60195 generation 0 a=ice-ufrag:cp1aXZLwXBWAdv68 a=ice-pwd:N/QBw3sj6zQbek2eKnFxCWFU 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 14:35:09.010845 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53690 [{ "jsonrpc": "2.0", "id": 27, "result": { "message": "CALL CREATED", "callID": "84c33f0c-3c5c-d27d-13f8-8a325debfda7", "sessid": "f6c5ce70-2fc5-6599-5b1a-b190cc072f27" } }] 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_INIT 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1026) State INIT 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:40 verto.rtc/1026 Standard INIT 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1026) State INIT going to sleep 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_ROUTING 2016-03-07 14:35:09.010845 [DEBUG] switch_channel.c:2239 (verto.rtc/1026) Callstate Change DOWN -> RINGING 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1026) State ROUTING 2016-03-07 14:35:09.010845 [DEBUG] mod_rtc.c:89 verto.rtc/1026 RTC ROUTING 2016-03-07 14:35:09.010845 [DEBUG] switch_core_state_machine.c:166 verto.rtc/1026 Standard ROUTING 2016-03-07 14:35:09.010845 [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 12:35:09) 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 sched_hangup(+1440 allotted_timeout) Dialplan: verto.rtc/1026 Action set(absolute_codec_string='^^PCMA:PCMU:opus') Dialplan: verto.rtc/1026 Action limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^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='^^PCMA:PCMU:opus') Dialplan: verto.rtc/1026 Action limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^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 14:35:09.130846 [DEBUG] switch_core_state_machine.c:216 (verto.rtc/1026) State Change CS_ROUTING -> CS_EXECUTE 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1026) State ROUTING going to sleep 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_EXECUTE 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/1026) State EXECUTE 2016-03-07 14:35:09.130846 [DEBUG] mod_rtc.c:120 verto.rtc/1026 RTC EXECUTE 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:258 verto.rtc/1026 Standard EXECUTE EXECUTE verto.rtc/1026 set(callstart=2016-03-07 12:35:09) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [callstart]=[2016-03-07 12:35:09] EXECUTE verto.rtc/1026 set(call_processed=internal) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [call_processed]=[internal] EXECUTE verto.rtc/1026 set(originated_destination_number=1026) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [originated_destination_number]=[1026] EXECUTE verto.rtc/1026 set(hangup_after_bridge=true) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [hangup_after_bridge]=[true] EXECUTE verto.rtc/1026 set(continue_on_fail=true) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [continue_on_fail]=[true] EXECUTE verto.rtc/1026 set(fax_enable_t38=true) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [fax_enable_t38]=[true] EXECUTE verto.rtc/1026 set(fax_enable_t38_request=true) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [fax_enable_t38_request]=[true] EXECUTE verto.rtc/1026 export(t38_passthru=true) 2016-03-07 14:35:09.130846 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE verto.rtc/1026 set(call_direction=outbound) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [call_direction]=[outbound] EXECUTE verto.rtc/1026 set(calltype=STANDARD) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [calltype]=[STANDARD] EXECUTE verto.rtc/1026 sched_hangup(+1440 allotted_timeout) 2016-03-07 14:35:09.130846 [DEBUG] switch_scheduler.c:249 Added task 181 switch_ivr_schedule_hangup (84c33f0c-3c5c-d27d-13f8-8a325debfda7) to run at 1457355549 EXECUTE verto.rtc/1026 set(effective_destination_number=1026) 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [effective_destination_number]=[1026] EXECUTE verto.rtc/1026 set(absolute_codec_string='^^PCMA:PCMU:opus') 2016-03-07 14:35:09.130846 [DEBUG] mod_dptools.c:1498 SET verto.rtc/1026 [absolute_codec_string]=['^^PCMA:PCMU:opus'] EXECUTE verto.rtc/1026 limit_execute(db Cust1_xxxx1 gw_Cust1_xxxx1 4 bridge {absolute_codec_string='^^PCMA:PCMU:opus'}sofia/gateway/Cust1_xxxx1/1026) 2016-03-07 14:35:09.130846 [DEBUG] switch_limit.c:126 incr called: Cust1_xxxx1_gw_Cust1_xxxx1 max:4, interval:0 2016-03-07 14:35:09.130846 [DEBUG] mod_db.c:194 Usage for Cust1_xxxx1_gw_Cust1_xxxx1 is now 1/4 EXECUTE verto.rtc/1026 bridge({absolute_codec_string=^^PCMA:PCMU:opus}sofia/gateway/Cust1_xxxx1/1026) 2016-03-07 14:35:09.130846 [DEBUG] switch_channel.c:1237 verto.rtc/1026 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-07 14:35:09.130846 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-07 14:35:09.130846 [NOTICE] switch_channel.c:1091 New Channel sofia/default/1026 [335295f6-6360-4139-b4ff-54cd800fb155] 2016-03-07 14:35:09.130846 [DEBUG] mod_sofia.c:4765 (sofia/default/1026) State Change CS_NEW -> CS_INIT 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_INIT 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT 2016-03-07 14:35:09.130846 [DEBUG] mod_sofia.c:88 sofia/default/1026 SOFIA INIT 2016-03-07 14:35:09.130846 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/1026 2016-03-07 14:35:09.130846 [DEBUG] sofia_glue.c:1257 sofia/default/1026 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1457337311 1457337312 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:40 sofia/default/1026 Standard INIT 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT going to sleep 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_ROUTING 2016-03-07 14:35:09.130846 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [calling][0] 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING 2016-03-07 14:35:09.130846 [DEBUG] mod_sofia.c:141 sofia/default/1026 SOFIA ROUTING 2016-03-07 14:35:09.130846 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1026) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING going to sleep 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_CONSUME_MEDIA 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA 2016-03-07 14:35:09.130846 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA going to sleep 2016-03-07 14:35:09.190874 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [terminated][400] 2016-03-07 14:35:09.190874 [NOTICE] sofia.c:7769 Hangup sofia/default/1026 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_HANGUP 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1026) Callstate Change DOWN -> HANGUP 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP 2016-03-07 14:35:09.190874 [DEBUG] mod_sofia.c:431 Channel sofia/default/1026 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:60 sofia/default/1026 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP going to sleep 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:508 (sofia/default/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_REPORTING 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING 2016-03-07 14:35:09.190874 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2016-03-07 14:35:09.190874 [INFO] mod_dptools.c:3379 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 14:35:09.190874 [INFO] mod_dptools.c:4602 immediately releasing EXECUTE verto.rtc/1026 bridge(sofia/gateway/test_gtw/1026) 2016-03-07 14:35:09.190874 [DEBUG] switch_channel.c:1237 verto.rtc/1026 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-07 14:35:09.190874 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-03-07 14:35:09.190874 [NOTICE] switch_channel.c:1091 New Channel sofia/default/1026 [c307dc93-16ac-4fa8-b061-ef7bfd3e7d3a] 2016-03-07 14:35:09.190874 [DEBUG] mod_sofia.c:4765 (sofia/default/1026) State Change CS_NEW -> CS_INIT 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_INIT 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT 2016-03-07 14:35:09.190874 [DEBUG] mod_sofia.c:88 sofia/default/1026 SOFIA INIT 2016-03-07 14:35:09.190874 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91 Setting proxy route to sofia/default/1026 2016-03-07 14:35:09.190874 [DEBUG] sofia_glue.c:1257 sofia/default/1026 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1457334393 1457334394 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 m=audio 19716 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv m=video 31376 RTP/AVP 100 a=rtpmap:100 VP8/90000 b=AS:1024 a=rtcp-fb:100 ccm fir a=rtcp-fb:100 ccm tmmbr a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:40 sofia/default/1026 Standard INIT 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1026) State Change CS_INIT -> CS_ROUTING 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:516 (sofia/default/1026) State INIT going to sleep 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_ROUTING 2016-03-07 14:35:09.190874 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [calling][0] 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING 2016-03-07 14:35:09.190874 [DEBUG] mod_sofia.c:141 sofia/default/1026 SOFIA ROUTING 2016-03-07 14:35:09.190874 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1026) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:532 (sofia/default/1026) State ROUTING going to sleep 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_CONSUME_MEDIA 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA 2016-03-07 14:35:09.190874 [DEBUG] switch_core_state_machine.c:551 (sofia/default/1026) State CONSUME_MEDIA going to sleep 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:104 sofia/default/1026 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING going to sleep 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:499 (sofia/default/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 14:35:09.450847 [DEBUG] switch_core_session.c:1646 Session 436 (sofia/default/1026) Locked, Waiting on external entities 2016-03-07 14:35:09.450847 [NOTICE] switch_core_session.c:1664 Session 436 (sofia/default/1026) Ended 2016-03-07 14:35:09.450847 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/1026 [CS_DESTROY] 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:630 (sofia/default/1026) Running State Change CS_DESTROY 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY 2016-03-07 14:35:09.450847 [DEBUG] mod_sofia.c:341 sofia/default/1026 SOFIA DESTROY 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:111 sofia/default/1026 Standard DESTROY 2016-03-07 14:35:09.450847 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY going to sleep 2016-03-07 14:35:10.710917 [DEBUG] sofia.c:6750 Channel sofia/default/1026 entering state [proceeding][183] 2016-03-07 14:35:10.710917 [DEBUG] sofia.c:6760 Remote SDP: v=0 o=Sippy 492841014624366838 1 IN IP4 197.80.141.4 s=- c=IN IP4 197.80.141.4 t=0 0 m=audio 23722 RTP/AVP 8 101 c=IN IP4 197.80.141.4 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with PCMA at 8000h@20i 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 101 at 8000 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:2898 Set Codec sofia/default/1026 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2016-03-07 14:35:10.710917 [DEBUG] switch_core_codec.c:111 sofia/default/1026 Original read codec set to PCMA:8 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 101 at 8000 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:4473 sofia/default/1026 Set 2833 dtmf send payload to 101 recv payload to 101 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:6027 AUDIO RTP [sofia/default/1026] x.x.x.88 port 19716 -> 197.80.141.4 port 23722 codec: 8 ms: 20 2016-03-07 14:35:10.710917 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 160 bytes per 20ms 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:6326 sofia/default/1026 Set 2833 dtmf send payload to 101 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:6333 sofia/default/1026 Set 2833 dtmf receive payload to 101 2016-03-07 14:35:10.710917 [DEBUG] switch_core_media.c:6356 sofia/default/1026 Set rtp dtmf delay to 40 2016-03-07 14:35:10.710917 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/1026! 2016-03-07 14:35:10.710917 [DEBUG] switch_channel.c:3460 (sofia/default/1026) Callstate Change DOWN -> EARLY 2016-03-07 14:35:10.730917 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 126 at 8000 2016-03-07 14:35:10.730917 [DEBUG] switch_core_media.c:4473 verto.rtc/1026 Set 2833 dtmf send payload to 126 recv payload to 126 2016-03-07 14:35:10.730917 [NOTICE] switch_channel.c:3501 Hangup verto.rtc/1026 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] 2016-03-07 14:35:10.730917 [DEBUG] switch_ivr_originate.c:3563 verto.rtc/1026 Media Establishment Failed. 2016-03-07 14:35:10.730917 [NOTICE] switch_ivr_originate.c:3565 Hangup sofia/default/1026 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 2016-03-07 14:35:10.730917 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION] 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_HANGUP 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1026) Callstate Change EARLY -> HANGUP 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP 2016-03-07 14:35:10.730917 [DEBUG] mod_sofia.c:431 Channel sofia/default/1026 hanging up, cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:10.730917 [INFO] mod_dptools.c:3379 Originate Failed. Cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:10.730917 [DEBUG] switch_core_session.c:2796 verto.rtc/1026 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/1026) State EXECUTE going to sleep 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_HANGUP 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/1026) Callstate Change RINGING -> HANGUP 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1026) State HANGUP 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:60 verto.rtc/1026 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1026) State HANGUP going to sleep 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1026) Running State Change CS_REPORTING 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1026) State REPORTING 2016-03-07 14:35:10.730917 [DEBUG] mod_sofia.c:495 Sending CANCEL to sofia/default/1026 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:60 sofia/default/1026 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1026) State HANGUP going to sleep 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:508 (sofia/default/1026) State Change CS_HANGUP -> CS_REPORTING 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:473 (sofia/default/1026) Running State Change CS_REPORTING 2016-03-07 14:35:10.730917 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING 2016-03-07 14:35:10.750882 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53690 [{ "jsonrpc": "2.0", "id": 26, "method": "verto.bye", "params": { "callID": "84c33f0c-3c5c-d27d-13f8-8a325debfda7", "causeCode": 88, "cause": "INCOMPATIBLE_DESTINATION" } }] 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:104 sofia/default/1026 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:827 (sofia/default/1026) State REPORTING going to sleep 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:499 (sofia/default/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 14:35:10.990845 [DEBUG] switch_core_session.c:1646 Session 437 (sofia/default/1026) Locked, Waiting on external entities 2016-03-07 14:35:10.990845 [NOTICE] switch_core_session.c:1664 Session 437 (sofia/default/1026) Ended 2016-03-07 14:35:10.990845 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/1026 [CS_DESTROY] 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:630 (sofia/default/1026) Running State Change CS_DESTROY 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY 2016-03-07 14:35:10.990845 [DEBUG] mod_sofia.c:341 sofia/default/1026 SOFIA DESTROY 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:111 sofia/default/1026 Standard DESTROY 2016-03-07 14:35:10.990845 [DEBUG] switch_core_state_machine.c:640 (sofia/default/1026) State DESTROY going to sleep 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:104 verto.rtc/1026 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1026) State REPORTING going to sleep 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/1026) State Change CS_REPORTING -> CS_DESTROY 2016-03-07 14:35:11.010848 [DEBUG] switch_core_session.c:1646 Session 435 (verto.rtc/1026) Locked, Waiting on external entities 2016-03-07 14:35:11.010848 [NOTICE] switch_core_session.c:1664 Session 435 (verto.rtc/1026) Ended 2016-03-07 14:35:11.010848 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/1026 [CS_DESTROY] 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:630 (verto.rtc/1026) Running State Change CS_DESTROY 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/1026) State DESTROY 2016-03-07 14:35:11.010848 [DEBUG] mod_rtc.c:132 verto.rtc/1026 RTC DESTROY 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:111 verto.rtc/1026 Standard DESTROY 2016-03-07 14:35:11.010848 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/1026) State DESTROY going to sleep 2016-03-07 14:35:11.130916 [ALERT] mod_verto.c:1365 READ x.x.x.47:53690 [{ "jsonrpc": "2.0", "method": "verto.bye", "params": { "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": "435", "incomingBandwidth": "795", "dedEnc": false, "mirrorInput": false, "userVariables": { "avatar": "", "email": "" }, "callID": "84c33f0c-3c5c-d27d-13f8-8a325debfda7", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "1026" }, "sessid": "f6c5ce70-2fc5-6599-5b1a-b190cc072f27" }, "id": 28 }] 2016-03-07 14:35:11.130916 [ALERT] mod_verto.c:604 WRITE x.x.x.47:53690 [{ "jsonrpc": "2.0", "id": 28, "error": { "callID": "84c33f0c-3c5c-d27d-13f8-8a325debfda7", "message": "CALL DOES NOT EXIST", "code": -32002 } }] 2016-03-07 14:35:11.130916 [DEBUG] switch_scheduler.c:144 Deleting task 181 switch_ivr_schedule_hangup (84c33f0c-3c5c-d27d-13f8-8a325debfda7) From rick.jarvis at magicmail.mooo.com Mon Mar 7 16:40:58 2016 From: rick.jarvis at magicmail.mooo.com (Rick Jarvis) Date: Mon, 7 Mar 2016 13:40:58 +0000 Subject: [Freeswitch-users] mod_skypopen - prereqs for Jessie? In-Reply-To: <13A2C6B4-B419-43E5-814B-8D9C6C2CAB4E@magicmail.mooo.com> References: <13A2C6B4-B419-43E5-814B-8D9C6C2CAB4E@magicmail.mooo.com> Message-ID: <493F59E6-4921-49FD-84CE-84319BBAF323@magicmail.mooo.com> Sorry to bump this, but I?ve seen other users facing the same and no answers?? Who looks after skypopen? > On 3 Mar 2016, at 15:02, Rick Jarvis wrote: > > 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/20160307/de63ae0b/attachment.html From mylists at polite.se Mon Mar 7 18:37:54 2016 From: mylists at polite.se (Oivvio Polite) Date: Mon, 7 Mar 2016 16:37:54 +0100 Subject: [Freeswitch-users] Joining several FS servers in different regions In-Reply-To: <50E27BAC-AA7E-4E20-88CC-648CD0DEC6D0@kavun.ch> References: <20160224152350.GA30297@blomma.liberationtech.net> <50E27BAC-AA7E-4E20-88CC-648CD0DEC6D0@kavun.ch> Message-ID: <20160307153754.GA18382@blomma.liberationtech.net> On fre, feb 26, 2016 at 12:24:25 +0100, Emrah wrote: > Hi there, > I was recently confronted to a similar challenge. > In my case, there was an additional use case where Bob could have multiple phones registered simultaneously both on the North American server and the EU server. > I strive to involve as little components as possible to avoid unnecessary breaking points. So what I came up with is a very basic but working solution. > I modified my dial string so that user/1000 at domain would also ring the alternative server in bypass media mode. > I also share the same directory files and dial plan files that I host on a centralized storage space. > My gateways are set up strategically to route the EU server to the EU POPs and the U.S. server to the NA POPs. That is for my providers who have multiple POPs distributed geographically. > > With the set up as described here, both servers are active and passive at the same time in the cluster. And it can easily be expanded. To my knowledge, it?s as optimized as it can get. Thank you Emrah, I'm reading up on SIP right now to get a better understanding of my options, but your approach sounds interesting. I might be back with more questions. regards, Oivvio From rtreleaven at bunnykick.ca Mon Mar 7 18:41:48 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Mon, 7 Mar 2016 10:41:48 -0500 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: Try the following <> denote a variable so plug in the correct values user_data @ param password On Mon, Mar 7, 2016 at 1:11 AM, Shisheer Teli wrote: > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/e7e2c904/attachment-0001.html From brian at freeswitch.org Mon Mar 7 21:01:47 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 7 Mar 2016 12:01:47 -0600 Subject: [Freeswitch-users] Stutter on ringtone - incoming calls only In-Reply-To: <56DCE004.5010902@xtronics.com> References: <56DA20B9.2030301@xtronics.com> <56DCE004.5010902@xtronics.com> Message-ID: https://wiki.freeswitch.org/wiki/Provider_Configuration:_Callcentric The last bit is what you need. On Sun, Mar 6, 2016 at 7:57 PM, Karl Schmidt wrote: > 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 karl at xtronics.com>> 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 > > -------------------------------------------------------------------------------- > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160307/663be042/attachment.html From nandy1925 at gmail.com Tue Mar 8 06:38:34 2016 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 8 Mar 2016 11:38:34 +0800 Subject: [Freeswitch-users] Beginners Question - Bridge vs. Transfer In-Reply-To: <022201d17556$aee5d470$0cb17d50$@botecomm.com> References: <56D83FC2.40704@williamcollsassoc.ca> <022201d17556$aee5d470$0cb17d50$@botecomm.com> Message-ID: Transfer means it scans the dialplan (again if it's the same context) with the new destination_number until it encounters a "bridge" (or other application) which will connect a-leg to b-leg (or an internal FS application) On Thu, Mar 3, 2016 at 10:12 PM, Bote Man wrote: > 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. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160308/845719e0/attachment.html From nandy1925 at gmail.com Tue Mar 8 06:59:27 2016 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 8 Mar 2016 11:59:27 +0800 Subject: [Freeswitch-users] BLF of dialing party In-Reply-To: References: Message-ID: I also encounter BLF issues. I suggest you capture the packets and view them on Wireshark. Look for SUBSCRIBE and NOTIFY messages. The phones may not be RFC compliant. On Wed, Mar 2, 2016 at 12:52 PM, Naveen Khanna wrote: > 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 > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160308/0b55de32/attachment-0001.html From nandy1925 at gmail.com Tue Mar 8 07:09:36 2016 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 8 Mar 2016 12:09:36 +0800 Subject: [Freeswitch-users] Presence. Not sure bug or not. In-Reply-To: References: Message-ID: The expiration of SUBSCRIPTION should take care of that - no NOTIFY messages will be sent for off-line phone (w/ expired registrations). So, take note SUBSCRIPTION time shouldn't be too long - a minute longer that of the re-REGISTRATION time. Just my cents worth. On Tue, Mar 1, 2016 at 5:31 AM, Igor Olhovskiy wrote: > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160308/c1d5c26a/attachment.html From nandy1925 at gmail.com Tue Mar 8 07:12:38 2016 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Tue, 8 Mar 2016 12:12:38 +0800 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: Also take a look at Fail2ban. A misconfigured client with the same IP will further block other clients using that IP. Temporarily stop fail2ban and see if it works. On Mon, Mar 7, 2016 at 11:41 PM, Russell Treleaven wrote: > Try the following > <> denote a variable so plug in the correct values > > user_data @ param password > > On Mon, Mar 7, 2016 at 1:11 AM, Shisheer Teli > wrote: > >> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160308/7fbf4127/attachment-0001.html From Alexander.Haugg at c4b.de Tue Mar 8 12:59:30 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Tue, 8 Mar 2016 09:59:30 +0000 Subject: [Freeswitch-users] mod_logfile change logging path on windows Message-ID: Hi, what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/749a0fc5/attachment.html From bote_radio at botecomm.com Tue Mar 8 17:09:40 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 8 Mar 2016 09:09:40 -0500 Subject: [Freeswitch-users] mod_logfile change logging path on windows In-Reply-To: References: Message-ID: <00c401d17944$3a2cda10$ae868e30$@botecomm.com> reloadxml To tell FS to read the latest version of XML config files into working memory. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Alexander Haugg Sent: Tuesday, 08 March, 2016 05:00 Subject: [Freeswitch-users] mod_logfile change logging path on windows Hi, what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/9b687239/attachment.html From shlomis at liveperson.com Tue Mar 8 17:20:08 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Tue, 8 Mar 2016 16:20:08 +0200 Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client Message-ID: Hi All, I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// *not secure*) to my FreeSwitch server and making a call. the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone. But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone). A call from browser to browser, works fine. Here is the FreeSwitch log of an iPhone call session, and a stackoverflow question explaining my approach. I'm lost and any help will be appreciated! :) -- 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/20160308/b5c2185d/attachment.html From italo at freeswitch.org Tue Mar 8 17:31:49 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 8 Mar 2016 11:31:49 -0300 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: He's receiving a Forbidden! It's not fail2ban Double check the credentials On Tue, Mar 8, 2016 at 1:12 AM, Nandy Dagondon wrote: > > Also take a look at Fail2ban. A misconfigured client with the same IP will > further block other clients using that IP. Temporarily stop fail2ban and > see if it works. > > On Mon, Mar 7, 2016 at 11:41 PM, Russell Treleaven < > rtreleaven at bunnykick.ca> wrote: > >> Try the following >> <> denote a variable so plug in the correct values >> >> user_data @ param password >> >> On Mon, Mar 7, 2016 at 1:11 AM, Shisheer Teli >> wrote: >> >>> 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/80b987cc/attachment-0001.html From max at nysolutions.com Tue Mar 8 18:12:06 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 8 Mar 2016 15:12:06 +0000 Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client In-Reply-To: References: Message-ID: <22d179753bc54575984557996612c98d@nysolutions.com> Does it work OK when using a browser on the iphone? Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Tuesday, March 8, 2016 9:20 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client Hi All, I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// not secure) to my FreeSwitch server and making a call. the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone. But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone). A call from browser to browser, works fine. Here is the FreeSwitch log of an iPhone call session, and a stackoverflow question explaining my approach. I'm lost and any help will be appreciated! :) -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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/20160308/b6d4554e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/b6d4554e/attachment.jpg From s.safarov at gmail.com Tue Mar 8 19:25:01 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 08 Mar 2016 16:25:01 +0000 Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client In-Reply-To: References: Message-ID: Could you connect iPhone to wifi router and capture network traffic from iPhone for analyzing. Using this way you can see what is ip address and port of RTP stream. On Tue, Mar 8, 2016, 17:20 Shlomi Schwartz wrote: > > Hi All, > > I'm currently developing mod_verto class for IOS. I'm connecting via > websocket (ws:// *not secure*) to my FreeSwitch server and making a call. > > the other client is a chrome browser running Vero Communicator. > the call starts as expected and I can here audio from the chrome browser > on my iPhone. > > But there is no audio on the chrome side (can't hear my voice transmitted > from my iPhone). > > A call from browser to browser, works fine. > > Here is the FreeSwitch log > of an > iPhone call session, and a stackoverflow question > explaining > my approach. > > I'm lost and any help will be appreciated! :) > > -- > 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/20160308/93741096/attachment-0001.html From brian at freeswitch.org Tue Mar 8 20:17:52 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 8 Mar 2016 11:17:52 -0600 Subject: [Freeswitch-users] mod_skypopen - prereqs for Jessie? In-Reply-To: <493F59E6-4921-49FD-84CE-84319BBAF323@magicmail.mooo.com> References: <13A2C6B4-B419-43E5-814B-8D9C6C2CAB4E@magicmail.mooo.com> <493F59E6-4921-49FD-84CE-84319BBAF323@magicmail.mooo.com> Message-ID: Have you tried on 64bit? :) On Mon, Mar 7, 2016 at 7:40 AM, Rick Jarvis wrote: > Sorry to bump this, but I?ve seen other users facing the same and no > answers?? Who looks after skypopen? > > On 3 Mar 2016, at 15:02, Rick Jarvis > wrote: > > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160308/4b572a6d/attachment.html From ynasida at gmail.com Tue Mar 8 20:57:34 2016 From: ynasida at gmail.com (=?UTF-8?B?0K7RgNC40Lkg0J3QsNGB0LjQtNCw?=) Date: Tue, 8 Mar 2016 20:57:34 +0300 Subject: [Freeswitch-users] strange things with freeswitch.Dbh at FS 1.6 Message-ID: Hi list, I noted that my old lua script which I used a lot of years from FS 1.2 works very strange with FS 1.6 The script is quite simple. I am using it for getting the list of variables from mysql and set as channel variables. Please look below. local dbh = freeswitch.Dbh("name", "root", "passwd") function get_global_vars() local row = {} local i = 1 local mycount = 1 my_query = "select var_name, var_value from directory_global_vars where domain_id='1'" assert(dbh:query(my_query, function(qrow) for key, val in pairs(qrow) do if mycount == 1 then abc = val mycount = 2 elseif mycount == 2 then row[i] = abc.."="..val mycount =1 i = i+1 end end end)) return row end local row = get_global_vars() for k in pairs(row) do session:execute("set", "".. row[k] .."") freeswitch.consoleLog("NOTICE","row[k] is '" .. row[k] .. "'\n") end The result in fs_cli should looks like switch_cpp.cpp:1356 simplescript start switch_cpp.cpp:1356 row[k] is *'user_context=default*' switch_cpp.cpp:1356 row[k] is '*numbering_plan=USCAN*' BUT sometimes it looks like backwards! switch_cpp.cpp:1356 simplescript start switch_cpp.cpp:1356 row[k] is '*default=user_context*' switch_cpp.cpp:1356 row[k] is '*USCAN=numbering_plan*' Please keep in mind that I do exactly same call without any changes but I have different results (its ~ 50%/50%) I am not sure but it looks like bug. Please advice. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/9b54bb07/attachment.html From abaci64 at gmail.com Tue Mar 8 21:29:45 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 8 Mar 2016 13:29:45 -0500 Subject: [Freeswitch-users] strange things with freeswitch.Dbh at FS 1.6 In-Reply-To: References: Message-ID: I shortened and changed your function a little, can you try it and se if it makes a difference? BTW you can also shorten the set to a single execution by using "multiset" local dbh = freeswitch.Dbh("name", "root", "passwd") function get_global_vars() local res = {} my_query = "select var_name, var_value from directory_global_vars where domain_id='1'" assert(dbh:query(my_query, function(qrow) if qrow["var_name"] and qrow["var_value"] then table.insert(row, qrow["var_name"] .. "=" .. qrow["var_value"]); end)) return res end local row = get_global_vars() for i in ipairs(row) do session:execute("set", "".. row[i] .."") freeswitch.consoleLog("NOTICE","row[i] is '" .. row[i] .. "'\n") end On Tue, Mar 8, 2016 at 12:57 PM, ???? ?????? wrote: > Hi list, > > I noted that my old lua script which I used a lot of years from FS 1.2 > works very strange with FS 1.6 > > The script is quite simple. I am using it for getting the list of > variables from mysql and set as channel variables. Please look below. > > local dbh = freeswitch.Dbh("name", "root", "passwd") > > function get_global_vars() > local row = {} > local i = 1 > local mycount = 1 > > my_query = "select var_name, var_value from directory_global_vars where > domain_id='1'" > > assert(dbh:query(my_query, function(qrow) > > for key, val in pairs(qrow) do > if mycount == 1 then > abc = val > mycount = 2 > elseif mycount == 2 then > row[i] = abc.."="..val > mycount =1 > i = i+1 > end > end > > end)) > > return row > > end > > > local row = get_global_vars() > for k in pairs(row) do > session:execute("set", "".. row[k] .."") > freeswitch.consoleLog("NOTICE","row[k] is '" .. row[k] .. "'\n") > end > > > The result in fs_cli should looks like > switch_cpp.cpp:1356 simplescript start > switch_cpp.cpp:1356 row[k] is *'user_context=default*' > switch_cpp.cpp:1356 row[k] is '*numbering_plan=USCAN*' > > BUT sometimes it looks like backwards! > switch_cpp.cpp:1356 simplescript start > switch_cpp.cpp:1356 row[k] is '*default=user_context*' > switch_cpp.cpp:1356 row[k] is '*USCAN=numbering_plan*' > > Please keep in mind that I do exactly same call without any changes but I > have different results (its ~ 50%/50%) > > I am not sure but it looks like bug. > > Please advice. > 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/20160308/81f659f2/attachment-0001.html From ynasida at gmail.com Tue Mar 8 22:14:43 2016 From: ynasida at gmail.com (=?UTF-8?B?0K7RgNC40Lkg0J3QsNGB0LjQtNCw?=) Date: Tue, 8 Mar 2016 22:14:43 +0300 Subject: [Freeswitch-users] strange things with freeswitch.Dbh at FS 1.6 In-Reply-To: References: Message-ID: Wow! Nice trick, thanks a lot :) It works great but I am still a bit wonder why my script worked fine with old version of FS. 2016-03-08 21:29 GMT+03:00 Abaci B : > I shortened and changed your function a little, can you try it and se if > it makes a difference? > BTW you can also shorten the set to a single execution by using "multiset" > > local dbh = freeswitch.Dbh("name", "root", "passwd") > > function get_global_vars() > local res = {} > my_query = "select var_name, var_value from directory_global_vars where > domain_id='1'" > assert(dbh:query(my_query, function(qrow) > if qrow["var_name"] and qrow["var_value"] then > table.insert(row, qrow["var_name"] .. "=" .. qrow["var_value"]); > end)) > return res > end > > local row = get_global_vars() > > for i in ipairs(row) do > session:execute("set", "".. row[i] .."") > freeswitch.consoleLog("NOTICE","row[i] is '" .. row[i] .. "'\n") > end > > On Tue, Mar 8, 2016 at 12:57 PM, ???? ?????? wrote: > >> Hi list, >> >> I noted that my old lua script which I used a lot of years from FS 1.2 >> works very strange with FS 1.6 >> >> The script is quite simple. I am using it for getting the list of >> variables from mysql and set as channel variables. Please look below. >> >> local dbh = freeswitch.Dbh("name", "root", "passwd") >> >> function get_global_vars() >> local row = {} >> local i = 1 >> local mycount = 1 >> >> my_query = "select var_name, var_value from directory_global_vars where >> domain_id='1'" >> >> assert(dbh:query(my_query, function(qrow) >> >> for key, val in pairs(qrow) do >> if mycount == 1 then >> abc = val >> mycount = 2 >> elseif mycount == 2 then >> row[i] = abc.."="..val >> mycount =1 >> i = i+1 >> end >> end >> >> end)) >> >> return row >> >> end >> >> >> local row = get_global_vars() >> for k in pairs(row) do >> session:execute("set", "".. row[k] .."") >> freeswitch.consoleLog("NOTICE","row[k] is '" .. row[k] .. "'\n") >> end >> >> >> The result in fs_cli should looks like >> switch_cpp.cpp:1356 simplescript start >> switch_cpp.cpp:1356 row[k] is *'user_context=default*' >> switch_cpp.cpp:1356 row[k] is '*numbering_plan=USCAN*' >> >> BUT sometimes it looks like backwards! >> switch_cpp.cpp:1356 simplescript start >> switch_cpp.cpp:1356 row[k] is '*default=user_context*' >> switch_cpp.cpp:1356 row[k] is '*USCAN=numbering_plan*' >> >> Please keep in mind that I do exactly same call without any changes but I >> have different results (its ~ 50%/50%) >> >> I am not sure but it looks like bug. >> >> Please advice. >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160308/cfa0fe47/attachment.html From abaci64 at gmail.com Tue Mar 8 22:28:56 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 8 Mar 2016 14:28:56 -0500 Subject: [Freeswitch-users] strange things with freeswitch.Dbh at FS 1.6 In-Reply-To: References: Message-ID: Just a guess, maybe you have a null value (for either var_name or var_value) and your mycount becomes unreliable, didn't check lately how freeswitch.Dbh handles null values. On Tue, Mar 8, 2016 at 2:14 PM, ???? ?????? wrote: > Wow! Nice trick, thanks a lot :) > It works great but I am still a bit wonder why my script worked fine with > old version of FS. > > 2016-03-08 21:29 GMT+03:00 Abaci B : > >> I shortened and changed your function a little, can you try it and se if >> it makes a difference? >> BTW you can also shorten the set to a single execution by using "multiset" >> >> local dbh = freeswitch.Dbh("name", "root", "passwd") >> >> function get_global_vars() >> local res = {} >> my_query = "select var_name, var_value from directory_global_vars where >> domain_id='1'" >> assert(dbh:query(my_query, function(qrow) >> if qrow["var_name"] and qrow["var_value"] then >> table.insert(row, qrow["var_name"] .. "=" .. qrow["var_value"]); >> end)) >> return res >> end >> >> local row = get_global_vars() >> >> for i in ipairs(row) do >> session:execute("set", "".. row[i] .."") >> freeswitch.consoleLog("NOTICE","row[i] is '" .. row[i] .. "'\n") >> end >> >> On Tue, Mar 8, 2016 at 12:57 PM, ???? ?????? wrote: >> >>> Hi list, >>> >>> I noted that my old lua script which I used a lot of years from FS 1.2 >>> works very strange with FS 1.6 >>> >>> The script is quite simple. I am using it for getting the list of >>> variables from mysql and set as channel variables. Please look below. >>> >>> local dbh = freeswitch.Dbh("name", "root", "passwd") >>> >>> function get_global_vars() >>> local row = {} >>> local i = 1 >>> local mycount = 1 >>> >>> my_query = "select var_name, var_value from directory_global_vars where >>> domain_id='1'" >>> >>> assert(dbh:query(my_query, function(qrow) >>> >>> for key, val in pairs(qrow) do >>> if mycount == 1 then >>> abc = val >>> mycount = 2 >>> elseif mycount == 2 then >>> row[i] = abc.."="..val >>> mycount =1 >>> i = i+1 >>> end >>> end >>> >>> end)) >>> >>> return row >>> >>> end >>> >>> >>> local row = get_global_vars() >>> for k in pairs(row) do >>> session:execute("set", "".. row[k] .."") >>> freeswitch.consoleLog("NOTICE","row[k] is '" .. row[k] .. "'\n") >>> end >>> >>> >>> The result in fs_cli should looks like >>> switch_cpp.cpp:1356 simplescript start >>> switch_cpp.cpp:1356 row[k] is *'user_context=default*' >>> switch_cpp.cpp:1356 row[k] is '*numbering_plan=USCAN*' >>> >>> BUT sometimes it looks like backwards! >>> switch_cpp.cpp:1356 simplescript start >>> switch_cpp.cpp:1356 row[k] is '*default=user_context*' >>> switch_cpp.cpp:1356 row[k] is '*USCAN=numbering_plan*' >>> >>> Please keep in mind that I do exactly same call without any changes but >>> I have different results (its ~ 50%/50%) >>> >>> I am not sure but it looks like bug. >>> >>> Please advice. >>> 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160308/0fdb2603/attachment-0001.html From drodrig at magicbrain.com Tue Mar 8 21:09:49 2016 From: drodrig at magicbrain.com (David Rodrigues) Date: Tue, 8 Mar 2016 13:09:49 -0500 Subject: [Freeswitch-users] Mod_sms and script to send to Twilio Message-ID: Thank you. I'm new to the mailing list. I had my mail client set for html. Perhaps that was the problem. Here is the Python script: #/usr/bin/env python import re import pprint import sys import urllib import subprocess from freeswitch import * ACCOUNTSID = 'my-account-sid' AUTHTOKEN = 'my-auth-token' PHONENUMBER = '+my-source-phone-number' def chat(message, args): to_phone = '+1' + re.sub('\D', '', urllib.unquote(message.getHeader('to_user'))).lstrip('+1') body = message.getBody() subprocess.call("curl -X POST 'https://api.twilio.com/2010-04-01/Accounts/'" + ACCOUNTSID + "/Messages.json --data-urlencode 'To=" + to_phone + "' --data-urlencode " + "'From=+" + PHONENUMBER + "' --data-urlencode 'Body=" + body + "' -u " + ACCOUNTSID + ":" + AUTHTOKEN, shell=True) Here is my chatplan XML file: And here is the error (keep in mind that the script actually works fine. I receive the SMS as expected): 2016-03-05 15:17:54.040913 [DEBUG] mod_python.c:286 Finished calling python script 2016-03-05 15:17:54.040913 [WARNING] sofia_presence.c:221 Not sending to local box for (XXX)%CX%A0XXX-XXX at my.sipdomain.com <-- (Note that I substituted Xs for the actual phone digits just for this post) 2016-03-05 15:17:54.040913 [ERR] sofia_presence.c:272 Chat proto [sip] from ["d100" ;tag=0b2cec63] to [(XXX)%CX%A0XXX-XXX at my.sipdomain.com] Test sms Nobody to send to: Profile internal -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From igorolhovskiy at gmail.com Tue Mar 8 23:04:09 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Tue, 8 Mar 2016 22:04:09 +0200 Subject: [Freeswitch-users] Presence. Not sure bug or not. In-Reply-To: References: Message-ID: Thanks for an answer. Appears to be, there is a problem within a proxy in front of FS?.. 2016-03-08 6:09 GMT+02:00 Nandy Dagondon : > > The expiration of SUBSCRIPTION should take care of that - no NOTIFY > messages will be sent for off-line phone (w/ expired registrations). So, > take note SUBSCRIPTION time shouldn't be too long - a minute longer that of > the re-REGISTRATION time. > > Just my cents worth. > > On Tue, Mar 1, 2016 at 5:31 AM, Igor Olhovskiy > wrote: > >> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160308/6bef3094/attachment.html From brian at freeswitch.org Tue Mar 8 23:38:50 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 8 Mar 2016 14:38:50 -0600 Subject: [Freeswitch-users] FreeSWITCH Ubuntu Packages & Thanks!!!! Message-ID: I would like to give a shout out to Fred Dixon and team over at Blindside for donating $2,000 USD Shailesh Tyagi from Novanet.net $1,000 USD Michael Murdock - $50 USD Clint Berry - $400 USD Chris Black - $50 USD For anyone wishing to donate visit: https://www.gofundme.com/freeswitch_ubuntu Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160308/b3888e66/attachment.html From andrew.keil at visytel.com Wed Mar 9 01:54:55 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Tue, 8 Mar 2016 22:54:55 +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: Michael, I have just run some more tests and you are correct that calling it inside a while loop like what you explained below does work outside of the hangup hook handler. Thanks for providing this extra information. It should be noted that it does not work on its own simply at the bottom of a Lua function (ie. as the last statement without a while loop) - except as the last statement inside the hangup hook function. ie. This works: ---------------------------------------------------------------- function CleanUp() freeswitch.consoleLog("CLEANUP SECTION\n") freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") end function myHangupHook(s, status, arg) freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) session:hangup() -- Run CleanUp function now since the caller has disconnected CleanUp() -- Abort Lua script here to avoid returning to MainService() return "exit" end -- Setup Hangup event handler here v_hangup = "HANGUP" session:setHangupHook("myHangupHook", "v_hangup") Whereas this does not work: ---------------------------------------------------------------- function CleanUp() freeswitch.consoleLog("CLEANUP SECTION\n") freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") return "exit" end function myHangupHook(s, status, arg) freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) session:hangup() -- Run CleanUp function now since the caller has disconnected CleanUp() end -- Setup Hangup event handler here v_hangup = "HANGUP" session:setHangupHook("myHangupHook", "v_hangup") Regards, Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Saturday, 5 March 2016 8:11 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 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/20160308/c979d28d/attachment-0001.html From chad at apartmentlines.com Wed Mar 9 09:20:17 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Tue, 8 Mar 2016 20:20:17 -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: Andrew, Curious if this structure will work at the bottom of either a a Lua script or Lua function: do return "exit" end I seem to recall that being a trick that helped for weird 'return' cases. Chad On Tue, Mar 8, 2016 at 12:54 PM, Andrew Keil wrote: > Michael, > > > > I have just run some more tests and you are correct that calling it inside > a while loop like what you explained below does work outside of the hangup > hook handler. Thanks for providing this extra information. > > > > It should be noted that it does not work on its own simply at the bottom > of a Lua function (ie. as the last statement without a while loop) - > except as the last statement inside the hangup hook function. > > > > ie. This works: > > ---------------------------------------------------------------- > > > > > > function CleanUp() > > freeswitch.consoleLog("CLEANUP SECTION\n") > > freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") > > end > > > > function myHangupHook(s, status, arg) > > freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) > > session:hangup() > > -- Run CleanUp function now since the caller has > disconnected > > CleanUp() > > -- Abort Lua script here to avoid returning to > MainService() > > return "exit" > > end > > -- Setup Hangup event handler here > > v_hangup = "HANGUP" > > session:setHangupHook("myHangupHook", "v_hangup") > > > > Whereas this does not work: > > ---------------------------------------------------------------- > > > > function CleanUp() > > freeswitch.consoleLog("CLEANUP SECTION\n") > > freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") > > return "exit" > > end > > > > function myHangupHook(s, status, arg) > > freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) > > session:hangup() > > -- Run CleanUp function now since the caller has > disconnected > > CleanUp() > > end > > -- Setup Hangup event handler here > > v_hangup = "HANGUP" > > session:setHangupHook("myHangupHook", "v_hangup") > > > > Regards, > > > > Andrew > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* Saturday, 5 March 2016 8:11 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 > > > > > > > > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160308/e00369a4/attachment.html From telishisheer at gmail.com Wed Mar 9 10:26:36 2016 From: telishisheer at gmail.com (Shisheer Teli) Date: Wed, 9 Mar 2016 12:56:36 +0530 Subject: [Freeswitch-users] Not able to register single extension from any client In-Reply-To: References: Message-ID: Dear Team, for extension i made it default configuration but still not working. tried from my phone too but failed. On Tue, Mar 8, 2016 at 8:01 PM, ?talo Rossi wrote: > He's receiving a Forbidden! It's not fail2ban > > Double check the credentials > > On Tue, Mar 8, 2016 at 1:12 AM, Nandy Dagondon > wrote: > >> >> Also take a look at Fail2ban. A misconfigured client with the same IP >> will further block other clients using that IP. Temporarily stop fail2ban >> and see if it works. >> >> On Mon, Mar 7, 2016 at 11:41 PM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> Try the following >>> <> denote a variable so plug in the correct values >>> >>> user_data @ param password >>> >>> On Mon, Mar 7, 2016 at 1:11 AM, Shisheer Teli >>> wrote: >>> >>>> 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 < >>>>>>> telishisheer at gmail.com> 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 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >> > > > > -- > ?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/20160309/39bb19c1/attachment-0001.html From shlomis at liveperson.com Wed Mar 9 12:03:28 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Wed, 9 Mar 2016 11:03:28 +0200 Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client In-Reply-To: References: Message-ID: When I'm removing the video track from the local media stream, I can hear audio fine. what could be the cause? var cameraID:String? self.localMediaStream = self.factory.mediaStreamWithLabel("Local-Meida") //if video option is enabled (default true) //-------------- Disabling this section solves the audio issues -------------- if(mediaOptions?["video"] as? Bool ?? true){ for captureDevice in AVCaptureDevice.devicesWithMediaType(AVMediaTypeVideo){ if (captureDevice.position == mediaOptions?["devicePosition"] as? AVCaptureDevicePosition ?? AVCaptureDevicePosition.Front){ cameraID = captureDevice.localizedName break } } if(cameraID == nil){ reject(NSError(domain: "No cammera detected", code: 0, userInfo: nil)) } let capturer = RTCVideoCapturer.init(deviceName: cameraID) let videoSource = self.factory.videoSourceWithCapturer(capturer, constraints: mediaOptions?["constraints"] as? RTCMediaConstraints ?? nil) if let localVideoTrack = self.factory.videoTrackWithID("Local-Video", source: videoSource){ self.localMediaStream?.addVideoTrack(localVideoTrack) }else{ reject(NSError(domain: "No Video track", code: 0, userInfo: nil)) } } //-------------- Disabling this section solves the audio issues -------------- if(mediaOptions?["audio"] as? Bool ?? true){ let audioTrack = self.factory.audioTrackWithID("Local-Audio") self.localMediaStream?.addAudioTrack(audioTrack); } self.peerConnection!.addStream(self.localMediaStream) On Tue, Mar 8, 2016 at 6:25 PM, Sergey Safarov wrote: > Could you connect iPhone to wifi router and capture network traffic from > iPhone for analyzing. Using this way you can see what is ip address and > port of RTP stream. > > On Tue, Mar 8, 2016, 17:20 Shlomi Schwartz wrote: > >> >> Hi All, >> >> I'm currently developing mod_verto class for IOS. I'm connecting via >> websocket (ws:// *not secure*) to my FreeSwitch server and making a call. >> >> the other client is a chrome browser running Vero Communicator. >> the call starts as expected and I can here audio from the chrome browser >> on my iPhone. >> >> But there is no audio on the chrome side (can't hear my voice transmitted >> from my iPhone). >> >> A call from browser to browser, works fine. >> >> Here is the FreeSwitch log >> of an >> iPhone call session, and a stackoverflow question >> explaining >> my approach. >> >> I'm lost and any help will be appreciated! :) >> >> -- >> 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/20160309/aff5c609/attachment-0001.html From simpot at gmail.com Wed Mar 9 13:59:24 2016 From: simpot at gmail.com (Dmitry Saratsky) Date: Wed, 9 Mar 2016 12:59:24 +0200 Subject: [Freeswitch-users] Empty SDP in 200 OK on received re-invite while faxing with T.38 Message-ID: Hi all, I found that some of my faxes failed to be sent/received bcz remote PBX drop the calls after my FreeSWITCH send empty (without SDP) 200 OK message on received re-invite from remote party while sending or receiving fax with T.38. CLIENT > INVITE (G.711) > FS FS > 200 OK > CLIENT CLIENT > INVITE (T.38) > FS FS > 200 OK > CLEINT ... now receiving fax while fax is received, client send me reinvite with the same SDP T.38 details as in initial T.38 INVITE message. usually it happens after 900 or 1800 seconds - probably it kind of keepalive... FS > 200 OK (with no SDP) > CLEINT now call is dropped( freeswitch: Version 1.5.15b git 3d64402 2015-03-21 19:55:21Z 64bit centos 6 x64 any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/7c65d562/attachment.html From john.nash778 at gmail.com Wed Mar 9 15:23:37 2016 From: john.nash778 at gmail.com (John Nash) Date: Wed, 9 Mar 2016 17:53:37 +0530 Subject: [Freeswitch-users] mod_curl or mod_httapi Message-ID: I need to call an http URL with some Post parameters from lua script and set some channel variables based on response data received. Which module will be best from performance point of view? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/fedebd0d/attachment.html From gregor at infomedia.si Wed Mar 9 16:07:41 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 9 Mar 2016 14:07:41 +0100 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: Interesting question. I would also like to know this information from experts. I use mod_curl because of syntax, because you can use same knowledge from FS dialplan. 2016-03-09 13:23 GMT+01:00 John Nash : > I need to call an http URL with some Post parameters from lua script and > set some channel variables based on response data received. Which module > will be best from performance point of view? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160309/e56ae647/attachment.html From brian at freeswitch.org Wed Mar 9 17:23:15 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 08:23:15 -0600 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: Those things aren't even alike, they solve different problems. Just call the http url yourself from your lua script then. On Wed, Mar 9, 2016 at 6:23 AM, John Nash wrote: > I need to call an http URL with some Post parameters from lua script and > set some channel variables based on response data received. Which module > will be best from performance point of view? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160309/70d2bca6/attachment.html From dujinfang at gmail.com Wed Mar 9 17:31:37 2016 From: dujinfang at gmail.com (Seven Du) Date: Wed, 9 Mar 2016 22:31:37 +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> <22E57449-0364-456A-813C-B28D4F568210@163.com> Message-ID: x264 api not changed but be more restrict to our fault. I fixed the ?Encoding Error -1 ? in the last master. it should work with any x264 version now. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, March 3, 2016 at 10:40 PM, Seven Du wrote: > 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/20160309/fd642ac0/attachment-0001.html From lists at telefaks.de Wed Mar 9 17:32:41 2016 From: lists at telefaks.de (Peter Steinbach) Date: Wed, 09 Mar 2016 15:32:41 +0100 Subject: [Freeswitch-users] Freeswitch behind NAT with 2 external providers: No audio Message-ID: <56E03409.30201@telefaks.de> Hello, I have the following scenario * Freeswitch is behind NAT with external profile with ext_sip_ip and ext_rtp_ip * Echo from an external SIP provider test inbound works with audio * Calling outbound to the same external SIP provider works with audio * *Receiving a call from the external SIP provider and bridging it to another number at the same external SIP provider does not have audio* * Receiving a call from the external SIP provider and bridging it to a local Patton PRI works with audio I also set up another (modified NAT) profile * like external profile - but with a different ext_rtp_ip * calling outbound to via NAT profile to another SIP provider works with audio * *Receiving a call from the external SIP provider (external profile) and bridging it to another number ****at the another external SIP provider ***(nat***profile)** does not have audio* * Tcpdump btw. does not show an attempt of Freeswitch to issue any outbound RTP packet. I can see only SIP messages towards the outbound SIP provider* * So I think, there is a problem with briding a natted external call to another natted external call, both with ext-rtp-ip. It tried this on an older Freeswitch (1 year old) and with a more recent Freeswitch (1 month old), both behave the same. Same scenario with a non-natted Freeswitch works fine. Btw. Freeswitch logs do show RTCPpacket not written right after bridginbg the call. Question: Does anybody have a clue, what could cause the problem? Maybe there is any parameter in the profiles, that may help? -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/7521feb2/attachment.html From brian at freeswitch.org Wed Mar 9 17:47:15 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 08:47:15 -0600 Subject: [Freeswitch-users] Freeswitch behind NAT with 2 external providers: No audio In-Reply-To: <56E03409.30201@telefaks.de> References: <56E03409.30201@telefaks.de> Message-ID: Its going to be because you probably need to pre_answer, play a little media before you hair pin the call back out the same provider. :) playback silence_stream://1000 after pre_answer would probably fix it prior to bridge. On Wed, Mar 9, 2016 at 8:32 AM, Peter Steinbach wrote: > Hello, > > I have the following scenario > > - Freeswitch is behind NAT with external profile with ext_sip_ip and > ext_rtp_ip > - Echo from an external SIP provider test inbound works with audio > - Calling outbound to the same external SIP provider works with audio > - *Receiving a call from the external SIP provider and bridging it to > another number at the same external SIP provider does not have audio* > - Receiving a call from the external SIP provider and bridging it to a > local Patton PRI works with audio > > I also set up another (modified NAT) profile > > - like external profile - but with a different ext_rtp_ip > - calling outbound to via NAT profile to another SIP provider works > with audio > - *Receiving a call from the external SIP provider (external profile) > and bridging it to another number **at the another external SIP > provider **(nat profile) does not have audio* > - Tcpdump btw. does not show an attempt of Freeswitch to issue any > outbound RTP packet. I can see only SIP messages towards the outbound SIP > provider > > So I think, there is a problem with briding a natted external call to > another natted external call, both with ext-rtp-ip. It tried this on an > older Freeswitch (1 year old) and with a more recent Freeswitch (1 month > old), both behave the same. Same scenario with a non-natted Freeswitch > works fine. > Btw. Freeswitch logs do show > RTCPpacket not written > right after bridginbg the call. > > Question: Does anybody have a clue, what could cause the problem? Maybe > there is any parameter in the profiles, that may help? > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160309/cbedbe3b/attachment.html From danbarua at gmail.com Wed Mar 9 18:04:26 2016 From: danbarua at gmail.com (Dan Barua) Date: Wed, 9 Mar 2016 15:04:26 +0000 Subject: [Freeswitch-users] Two outbound ESL connections Message-ID: Funny you mention this, I am working on something similar. I found this works but it feels like a bit of a hack: api uuid_park 932506bd-7208-446c-aa4e-d91848df0ff3 api sched_api +0.01 none uuid_transfer 932506bd-7208-446c-aa4e-d91848df0ff3 'socket:127.0.0.1:8085 async full' inline (Exit proxy socket immediately) I have tried the custom event route, but as soon as the proxy ESL connection exits then the call terminates. Hope that helps -Dan 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/9b903928/attachment.html From john.nash778 at gmail.com Wed Mar 9 18:05:42 2016 From: john.nash778 at gmail.com (John Nash) Date: Wed, 9 Mar 2016 20:35:42 +0530 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: well as per documentation mod_curl looks straight forward, what do you mean by "Just call the http url yourself from your lua script then"? On Wed, Mar 9, 2016 at 7:53 PM, Brian West wrote: > Those things aren't even alike, they solve different problems. Just call > the http url yourself from your lua script then. > > On Wed, Mar 9, 2016 at 6:23 AM, John Nash wrote: > >> I need to call an http URL with some Post parameters from lua script and >> set some channel variables based on response data received. Which module >> will be best from performance point of view? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160309/755e8869/attachment-0001.html From lists at telefaks.de Wed Mar 9 19:35:24 2016 From: lists at telefaks.de (Peter Steinbach) Date: Wed, 09 Mar 2016 17:35:24 +0100 Subject: [Freeswitch-users] Freeswitch behind NAT with 2 external providers: No audio In-Reply-To: References: <56E03409.30201@telefaks.de> Message-ID: <56E050CC.4000801@telefaks.de> Herr Brian, thank you, that did the trick! I added a pre_aswer, a playback and finally a ring_ready in order to playback a ring tone to the caller. Now we have 2 way audio. Best regards Peter On 03/09/16 15:47, Brian West wrote: > Its going to be because you probably need to pre_answer, play a little > media before you hair pin the call back out the same provider. :) > playback silence_stream://1000 after pre_answer would probably fix it > prior to bridge. > > On Wed, Mar 9, 2016 at 8:32 AM, Peter Steinbach > wrote: > > Hello, > > I have the following scenario > > * Freeswitch is behind NAT with external profile with ext_sip_ip > and ext_rtp_ip > * Echo from an external SIP provider test inbound works with audio > * Calling outbound to the same external SIP provider works with > audio > * *Receiving a call from the external SIP provider and bridging > it to another number at the same external SIP provider does > not have audio* > * Receiving a call from the external SIP provider and bridging > it to a local Patton PRI works with audio > > I also set up another (modified NAT) profile > > * like external profile - but with a different ext_rtp_ip > * calling outbound to via NAT profile to another SIP provider > works with audio > * *Receiving a call from the external SIP provider (external > profile) and bridging it to another number **at the another > external SIP provider ***(nat***profile)** does not have audio* > * Tcpdump btw. does not show an attempt of Freeswitch to issue > any outbound RTP packet. I can see only SIP messages towards > the outbound SIP provider* > * > > So I think, there is a problem with briding a natted external > call to another natted external call, both with ext-rtp-ip. It > tried this on an older Freeswitch (1 year old) and with a more > recent Freeswitch (1 month old), both behave the same. Same > scenario with a non-natted Freeswitch works fine. > Btw. Freeswitch logs do show > RTCPpacket not written > right after bridginbg the call. > > Question: Does anybody have a clue, what could cause the problem? > Maybe there is any parameter in the profiles, that may help? > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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 -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/573d90bf/attachment.html From mgg at giagnocavo.net Wed Mar 9 19:57:20 2016 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Wed, 9 Mar 2016 16:57:20 +0000 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: mod_curl is perhaps a misleading name (the fact it uses curl internally is irrelevant). It?s better to think of it as mod_load_config_by_http. If you?re executing Lua code just perform the HTTP request directly from Lua, using Lua libraries and Lua code, then set variables, from Lua code. -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of John Nash Sent: Wednesday, 9 March, 2016 9:06 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_curl or mod_httapi well as per documentation mod_curl looks straight forward, what do you mean by "Just call the http url yourself from your lua script then"? On Wed, Mar 9, 2016 at 7:53 PM, Brian West > wrote: Those things aren't even alike, they solve different problems. Just call the http url yourself from your lua script then. On Wed, Mar 9, 2016 at 6:23 AM, John Nash > wrote: I need to call an http URL with some Post parameters from lua script and set some channel variables based on response data received. Which module will be best from performance point of view? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/c07af80a/attachment-0001.html From govoiper at gmail.com Wed Mar 9 20:22:57 2016 From: govoiper at gmail.com (SamyGo) Date: Wed, 9 Mar 2016 12:22:57 -0500 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: +1 For mod_load_config_by_http :) On Mar 9, 2016 11:58, "Michael Giagnocavo" wrote: > mod_curl is perhaps a misleading name (the fact it uses curl internally is > irrelevant). It?s better to think of it as mod_load_config_by_http. If > you?re executing Lua code just perform the HTTP request directly from Lua, > using Lua libraries and Lua code, then set variables, from Lua code. > > > > -Michael > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *John Nash > *Sent:* Wednesday, 9 March, 2016 9:06 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] mod_curl or mod_httapi > > > > well as per documentation mod_curl looks straight forward, what do you > mean by "Just call the http url yourself from your lua script then"? > > > > On Wed, Mar 9, 2016 at 7:53 PM, Brian West wrote: > > Those things aren't even alike, they solve different problems. Just call > the http url yourself from your lua script then. > > > > On Wed, Mar 9, 2016 at 6:23 AM, John Nash wrote: > > I need to call an http URL with some Post parameters from lua script and > set some channel variables based on response data received. Which module > will be best from performance point of view? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160309/6a256252/attachment.html From brian at freeswitch.org Wed Mar 9 20:29:02 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 11:29:02 -0600 Subject: [Freeswitch-users] JIRA Message-ID: FreeSWITCHers, FYI If I close an old JIRA you still care about, by all means REOPEN IT, be attentive and help drive it thru the process, I thank everyone for opening JIRAs on issues, but you'll need to provide assistance to push them over the finish line. Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/120082ac/attachment.html From brian at freeswitch.org Wed Mar 9 20:29:26 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 11:29:26 -0600 Subject: [Freeswitch-users] mod_curl or mod_httapi In-Reply-To: References: Message-ID: What exactly do you think mod_xml_curl is? LOL On Wed, Mar 9, 2016 at 11:22 AM, SamyGo wrote: > +1 For mod_load_config_by_http :) > On Mar 9, 2016 11:58, "Michael Giagnocavo" wrote: > >> mod_curl is perhaps a misleading name (the fact it uses curl internally >> is irrelevant). It?s better to think of it as mod_load_config_by_http. If >> you?re executing Lua code just perform the HTTP request directly from Lua, >> using Lua libraries and Lua code, then set variables, from Lua code. >> >> >> >> -Michael >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *John Nash >> *Sent:* Wednesday, 9 March, 2016 9:06 >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] mod_curl or mod_httapi >> >> >> >> well as per documentation mod_curl looks straight forward, what do you >> mean by "Just call the http url yourself from your lua script then"? >> >> >> >> On Wed, Mar 9, 2016 at 7:53 PM, Brian West wrote: >> >> Those things aren't even alike, they solve different problems. Just call >> the http url yourself from your lua script then. >> >> >> >> On Wed, Mar 9, 2016 at 6:23 AM, John Nash wrote: >> >> I need to call an http URL with some Post parameters from lua script and >> set some channel variables based on response data received. Which module >> will be best from performance point of view? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/7621e470/attachment-0001.html From italo at freeswitch.org Wed Mar 9 21:48:55 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Wed, 09 Mar 2016 10:48:55 -0800 (PST) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt Message-ID: <9zwx2faclytxgu5d7nzx0l1tf-0@mailer.nylas.com> FreeSWITCHers, Join us tomorrow 2PM CST for the Thursday FreeSWITCH Bug Hunt! Where? https://conference.freeswitch.org/vc/#/?autocall=888 What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! Help us help you, Join the Bug Hunt! ?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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/92b2637c/attachment.html From s.safarov at gmail.com Wed Mar 9 21:57:37 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 9 Mar 2016 21:57:37 +0300 Subject: [Freeswitch-users] JIRA In-Reply-To: References: Message-ID: Brian are is possible view list of opened and resolved jiras where required skils of linux server admins? For simple jiras I can create PR. Also i want request help of C-programers to fix FS-7575 , Required minor changes in configure.ac and Makefiles of radius related modules. On Wed, Mar 9, 2016 at 8:29 PM, Brian West wrote: > FreeSWITCHers, > > FYI If I close an old JIRA you still care about, by all means REOPEN IT, > be attentive and help drive it thru the process, I thank everyone for > opening JIRAs on issues, but you'll need to provide assistance to push them > over the finish line. > > Thanks, > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160309/488e8b2b/attachment.html From igorolhovskiy at gmail.com Wed Mar 9 21:57:45 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 20:57:45 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? Message-ID: Hi! I?m trying to subscribe to Freeswitch with this packet SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 Record-Route: Via: SIP/2.0/UDP 212.232.26.232:5060 ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 Via: SIP/2.0/UDP 192.168.88.59:37600 ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 Route: From: ;tag=jz8i26dy0f To: ;tag=qBuxIeW1MNWF Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 CSeq: 610 SUBSCRIBE Max-Forwards: 69 User-Agent: snom760/8.7.5.35 Contact: ;reg-id=1 Event: dialog Accept: application/dialog-info+xml Expires: 80 Content-Length: 0 Path: X-AUTH-IP: 176.37.91.15 Actually I get Accepted (202) But with NOTIFY from freeswitch I got this NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK Route: ;ftag=jz8i26dy0f;lr=on Record-Route: ;ftag=jz8i26dy0f;lr=on Max-Forwards: 70 From: ;tag=qBuxIeW1MNWF To: ;tag=jz8i26dy0f Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 CSeq: 297327351 NOTIFY Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Event: dialog Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=80 Content-Type: application/dialog-info+xml Content-Length: 152 Problem is, XML data is empty, cause actually there is no registrations for *55 extension. Why it?s not sending ?Unavail? or smth. like this? What is the correct packet for SUBSCRIBE? Or internal profile? Internal profile is 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] 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] 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] -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/6dd87b3c/attachment.html From brian at freeswitch.org Wed Mar 9 22:19:09 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:19:09 -0600 Subject: [Freeswitch-users] JIRA In-Reply-To: References: Message-ID: It would be best to show up at the Thursday bug hunt we are bringing back, It would be the best place to interact and ask these questions so we can move issues thru the resolution process faster. On Wed, Mar 9, 2016 at 12:57 PM, Sergey Safarov wrote: > Brian are is possible view list of opened and resolved jiras where > required skils of linux server admins? > For simple jiras I can create PR. > > Also i want request help of C-programers to fix FS-7575 > , Required minor changes in > configure.ac and Makefiles of radius related modules. > > On Wed, Mar 9, 2016 at 8:29 PM, Brian West wrote: > >> FreeSWITCHers, >> >> FYI If I close an old JIRA you still care about, by all means REOPEN IT, >> be attentive and help drive it thru the process, I thank everyone for >> opening JIRAs on issues, but you'll need to provide assistance to push them >> over the finish line. >> >> Thanks, >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160309/eb9cedb7/attachment-0001.html From brian at freeswitch.org Wed Mar 9 22:21:57 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:21:57 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: I wish had $1,000.00 for every time I answer this one... :) Ok here is what is the problem, you have the device setup to register to the domain, but its subscribing to the IP ergo domain != ip when it search for any subscriptions. See force-subscription-domain, force-register-domain and force-register-db-domain Those all have to align perfectly for things to behave properly. Thanks, On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy wrote: > Hi! > I?m trying to subscribe to Freeswitch with this packet > > SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 > Record-Route: > Via: SIP/2.0/UDP 212.232.26.232:5060 > ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 > Via: SIP/2.0/UDP 192.168.88.59:37600 > ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 > Route: > From: ;tag=jz8i26dy0f > To: ;tag=qBuxIeW1MNWF > Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 > CSeq: 610 SUBSCRIBE > Max-Forwards: 69 > User-Agent: snom760/8.7.5.35 > Contact: ;reg-id=1 > Event: dialog > Accept: application/dialog-info+xml > Expires: 80 > Content-Length: 0 > Path: > X-AUTH-IP: 176.37.91.15 > > Actually I get Accepted (202) > > But with NOTIFY from freeswitch I got this > > NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 > Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK > Route: ;ftag=jz8i26dy0f;lr=on > Record-Route: ;ftag=jz8i26dy0f;lr=on > Max-Forwards: 70 > From: ;tag=qBuxIeW1MNWF > To: ;tag=jz8i26dy0f > Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 > CSeq: 297327351 NOTIFY > Contact: > User-Agent: FreeSWITCH > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, > REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > Event: dialog > Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, > line-seize, call-info, sla, include-session-description, presence.winfo, > message-summary, refer > Subscription-State: active;expires=80 > Content-Type: application/dialog-info+xml > Content-Length: 152 > > > state="full" entity="sip:*55 at master.rufan.at"> > > > Problem is, XML data is empty, cause actually there is no registrations > for *55 extension. > Why it?s not sending ?Unavail? or smth. like this? What is the correct > packet for SUBSCRIBE? Or internal profile? > > Internal profile is > 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] > 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] > 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] > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/e8c7db2f/attachment.html From brian at freeswitch.org Wed Mar 9 22:22:46 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:22:46 -0600 Subject: [Freeswitch-users] Empty SDP in 200 OK on received re-invite while faxing with T.38 In-Reply-To: References: Message-ID: Ok, without some logs, or traces I can only guess here, happen to have those handy in a pastebin? On Wed, Mar 9, 2016 at 4:59 AM, Dmitry Saratsky wrote: > Hi all, > > I found that some of my faxes failed to be sent/received bcz remote PBX > drop the calls after my FreeSWITCH send empty (without SDP) 200 OK message > on received re-invite from remote party while sending or receiving fax with > T.38. > > CLIENT > INVITE (G.711) > FS > FS > 200 OK > CLIENT > CLIENT > INVITE (T.38) > FS > FS > 200 OK > CLEINT > ... > now receiving fax > while fax is received, client send me reinvite with the same SDP T.38 > details as in initial T.38 INVITE message. usually it happens after 900 or > 1800 seconds - probably it kind of keepalive... > FS > 200 OK (with no SDP) > CLEINT > now call is dropped( > > freeswitch: Version 1.5.15b git 3d64402 2015-03-21 19:55:21Z 64bit > centos 6 x64 > > any ideas? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160309/0c65806d/attachment.html From brian at freeswitch.org Wed Mar 9 22:30:37 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:30:37 -0600 Subject: [Freeswitch-users] [Freeswitch-docs] Thursday FreeSWITCH Bug Hunt In-Reply-To: <9zwx2faclytxgu5d7nzx0l1tf-0@mailer.nylas.com> References: <9zwx2faclytxgu5d7nzx0l1tf-0@mailer.nylas.com> Message-ID: Also guys, don't hesitate to REOPEN any issue I've closed today if you feel you can help drive the issue over the finish line, My goal was to jog the community back to life and help a little with the Thursday calls. Thanks, On Wed, Mar 9, 2016 at 12:48 PM, ?talo Rossi wrote: > FreeSWITCHers, > > Join us tomorrow 2PM CST for the Thursday FreeSWITCH Bug Hunt! > > Where? https://conference.freeswitch.org/vc/#/?autocall=888 > > What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! > > Help us help you, Join the Bug Hunt! > > ?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 > > > _______________________________________________ > Freeswitch-docs mailing list > Freeswitch-docs at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/43a41dde/attachment-0001.html From igorolhovskiy at gmail.com Wed Mar 9 22:34:17 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 21:34:17 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: As I tried, these options are really not est with multi-tenant. And really, where is device is Subscribed to IP? I don?t see any IP?s in R-URI or To/From. Record-Route is just for keep packets back and Contact is actual device IP and port. 2016-03-09 21:21 GMT+02:00 Brian West : > I wish had $1,000.00 for every time I answer this one... :) > > Ok here is what is the problem, you have the device setup to register to > the domain, but its subscribing to the IP ergo domain != ip when it search > for any subscriptions. > > See force-subscription-domain, force-register-domain and > force-register-db-domain > > Those all have to align perfectly for things to behave properly. > > Thanks, > > > > On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy > wrote: > >> Hi! >> I?m trying to subscribe to Freeswitch with this packet >> >> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >> Record-Route: >> Via: SIP/2.0/UDP 212.232.26.232:5060 >> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >> Via: SIP/2.0/UDP 192.168.88.59:37600 >> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >> Route: >> From: ;tag=jz8i26dy0f >> To: ;tag=qBuxIeW1MNWF >> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >> CSeq: 610 SUBSCRIBE >> Max-Forwards: 69 >> User-Agent: snom760/8.7.5.35 >> Contact: ;reg-id=1 >> Event: dialog >> Accept: application/dialog-info+xml >> Expires: 80 >> Content-Length: 0 >> Path: >> X-AUTH-IP: 176.37.91.15 >> >> Actually I get Accepted (202) >> >> But with NOTIFY from freeswitch I got this >> >> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >> Route: ;ftag=jz8i26dy0f;lr=on >> Record-Route: ;ftag=jz8i26dy0f;lr=on >> Max-Forwards: 70 >> From: ;tag=qBuxIeW1MNWF >> To: ;tag=jz8i26dy0f >> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >> CSeq: 297327351 NOTIFY >> Contact: >> User-Agent: FreeSWITCH >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >> Supported: path, replaces >> Event: dialog >> Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, >> line-seize, call-info, sla, include-session-description, presence.winfo, >> message-summary, refer >> Subscription-State: active;expires=80 >> Content-Type: application/dialog-info+xml >> Content-Length: 152 >> >> >> > state="full" entity="sip:*55 at master.rufan.at"> >> >> >> Problem is, XML data is empty, cause actually there is no registrations >> for *55 extension. >> Why it?s not sending ?Unavail? or smth. like this? What is the correct >> packet for SUBSCRIBE? Or internal profile? >> >> Internal profile is >> 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] >> 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] >> 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] >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/79c1b8d4/attachment.html From brian at freeswitch.org Wed Mar 9 22:38:22 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:38:22 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: The only time I've ever seen this issue is when its a domain/ip mismatch, and many devices like yealink and the like will subscribe to the IP even when you put in the domain name in some firmwares. So you'll need to test, check and verify its doing what you think it is. Also out of the box we force the domain to the IP, unless you change it. Doing anything multi-tenant requires your endpoints to behave properly too. /b On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy wrote: > As I tried, these options are really not est with multi-tenant. > And really, where is device is Subscribed to IP? I don?t see any IP?s in > R-URI or To/From. > Record-Route is just for keep packets back and Contact is actual device IP > and port. > > 2016-03-09 21:21 GMT+02:00 Brian West : > >> I wish had $1,000.00 for every time I answer this one... :) >> >> Ok here is what is the problem, you have the device setup to register to >> the domain, but its subscribing to the IP ergo domain != ip when it search >> for any subscriptions. >> >> See force-subscription-domain, force-register-domain and >> force-register-db-domain >> >> Those all have to align perfectly for things to behave properly. >> >> Thanks, >> >> >> >> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy >> wrote: >> >>> Hi! >>> I?m trying to subscribe to Freeswitch with this packet >>> >>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>> Record-Route: >>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>> Route: >>> From: ;tag=jz8i26dy0f >>> To: ;tag=qBuxIeW1MNWF >>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>> CSeq: 610 SUBSCRIBE >>> Max-Forwards: 69 >>> User-Agent: snom760/8.7.5.35 >>> Contact: ;reg-id=1 >>> Event: dialog >>> Accept: application/dialog-info+xml >>> Expires: 80 >>> Content-Length: 0 >>> Path: >>> X-AUTH-IP: 176.37.91.15 >>> >>> Actually I get Accepted (202) >>> >>> But with NOTIFY from freeswitch I got this >>> >>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>> Route: ;ftag=jz8i26dy0f;lr=on >>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>> Max-Forwards: 70 >>> From: ;tag=qBuxIeW1MNWF >>> To: ;tag=jz8i26dy0f >>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>> CSeq: 297327351 NOTIFY >>> Contact: >>> User-Agent: FreeSWITCH >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>> Supported: path, replaces >>> Event: dialog >>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>> dialog, line-seize, call-info, sla, include-session-description, >>> presence.winfo, message-summary, refer >>> Subscription-State: active;expires=80 >>> Content-Type: application/dialog-info+xml >>> Content-Length: 152 >>> >>> >>> >> state="full" entity="sip:*55 at master.rufan.at"> >>> >>> >>> Problem is, XML data is empty, cause actually there is no registrations >>> for *55 extension. >>> Why it?s not sending ?Unavail? or smth. like this? What is the correct >>> packet for SUBSCRIBE? Or internal profile? >>> >>> Internal profile is >>> 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] >>> 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] >>> 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] >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/9dcb2ba1/attachment-0001.html From igorolhovskiy at gmail.com Wed Mar 9 22:43:10 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 21:43:10 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Thanks, I?m putting a domain in every SUBSCRIBE request I?m passing through. So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or From. Btw, this situation is only when device is not registered, If device is registered and ringing/talking, I?ve got correct XML info?s. Situation is only when I?m trying to subscribe on non-existing device. Or device is unregistered and also, in NOTIFY XML data is like this. 2016-03-09 21:38 GMT+02:00 Brian West : > The only time I've ever seen this issue is when its a domain/ip mismatch, > and many devices like yealink and the like will subscribe to the IP even > when you put in the domain name in some firmwares. So you'll need to test, > check and verify its doing what you think it is. > > Also out of the box we force the domain to the IP, unless you change it. > Doing anything multi-tenant requires your endpoints to behave properly too. > > /b > > > On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy > wrote: > >> As I tried, these options are really not est with multi-tenant. >> And really, where is device is Subscribed to IP? I don?t see any IP?s in >> R-URI or To/From. >> Record-Route is just for keep packets back and Contact is actual device >> IP and port. >> >> 2016-03-09 21:21 GMT+02:00 Brian West : >> >>> I wish had $1,000.00 for every time I answer this one... :) >>> >>> Ok here is what is the problem, you have the device setup to register to >>> the domain, but its subscribing to the IP ergo domain != ip when it search >>> for any subscriptions. >>> >>> See force-subscription-domain, force-register-domain and >>> force-register-db-domain >>> >>> Those all have to align perfectly for things to behave properly. >>> >>> Thanks, >>> >>> >>> >>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy >> > wrote: >>> >>>> Hi! >>>> I?m trying to subscribe to Freeswitch with this packet >>>> >>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>> Record-Route: >>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>> Route: >>>> From: ;tag=jz8i26dy0f >>>> To: ;tag=qBuxIeW1MNWF >>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>> CSeq: 610 SUBSCRIBE >>>> Max-Forwards: 69 >>>> User-Agent: snom760/8.7.5.35 >>>> Contact: ;reg-id=1 >>>> Event: dialog >>>> Accept: application/dialog-info+xml >>>> Expires: 80 >>>> Content-Length: 0 >>>> Path: >>>> X-AUTH-IP: 176.37.91.15 >>>> >>>> Actually I get Accepted (202) >>>> >>>> But with NOTIFY from freeswitch I got this >>>> >>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>> Route: ;ftag=jz8i26dy0f;lr=on >>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>> Max-Forwards: 70 >>>> From: ;tag=qBuxIeW1MNWF >>>> To: ;tag=jz8i26dy0f >>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>> CSeq: 297327351 NOTIFY >>>> Contact: >>>> User-Agent: FreeSWITCH >>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>> Supported: path, replaces >>>> Event: dialog >>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>> dialog, line-seize, call-info, sla, include-session-description, >>>> presence.winfo, message-summary, refer >>>> Subscription-State: active;expires=80 >>>> Content-Type: application/dialog-info+xml >>>> Content-Length: 152 >>>> >>>> >>>> >>> state="full" entity="sip:*55 at master.rufan.at"> >>>> >>>> >>>> Problem is, XML data is empty, cause actually there is no registrations >>>> for *55 extension. >>>> Why it?s not sending ?Unavail? or smth. like this? What is the correct >>>> packet for SUBSCRIBE? Or internal profile? >>>> >>>> Internal profile is >>>> 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] >>>> 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] >>>> 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] >>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/ef8590ae/attachment-0001.html From brian at freeswitch.org Wed Mar 9 22:46:11 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:46:11 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Make sure you're not forcing them to the IP because we do so in our vanilla configs to make it easier on everyone. :) Also I can't tell what rev of FreeSWITCH you're on. On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy wrote: > Thanks, > > I?m putting a domain in every SUBSCRIBE request I?m passing through. So, > I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or From. > Btw, this situation is only when device is not registered, If device is > registered and ringing/talking, I?ve got correct XML info?s. > Situation is only when I?m trying to subscribe on non-existing device. Or > device is unregistered and also, in NOTIFY XML data is like this. > > 2016-03-09 21:38 GMT+02:00 Brian West : > >> The only time I've ever seen this issue is when its a domain/ip mismatch, >> and many devices like yealink and the like will subscribe to the IP even >> when you put in the domain name in some firmwares. So you'll need to test, >> check and verify its doing what you think it is. >> >> Also out of the box we force the domain to the IP, unless you change it. >> Doing anything multi-tenant requires your endpoints to behave properly too. >> >> /b >> >> >> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy >> wrote: >> >>> As I tried, these options are really not est with multi-tenant. >>> And really, where is device is Subscribed to IP? I don?t see any IP?s in >>> R-URI or To/From. >>> Record-Route is just for keep packets back and Contact is actual device >>> IP and port. >>> >>> 2016-03-09 21:21 GMT+02:00 Brian West : >>> >>>> I wish had $1,000.00 for every time I answer this one... :) >>>> >>>> Ok here is what is the problem, you have the device setup to register >>>> to the domain, but its subscribing to the IP ergo domain != ip when it >>>> search for any subscriptions. >>>> >>>> See force-subscription-domain, force-register-domain and >>>> force-register-db-domain >>>> >>>> Those all have to align perfectly for things to behave properly. >>>> >>>> Thanks, >>>> >>>> >>>> >>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>> igorolhovskiy at gmail.com> wrote: >>>> >>>>> Hi! >>>>> I?m trying to subscribe to Freeswitch with this packet >>>>> >>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>> Record-Route: >>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>> Route: >>>>> From: ;tag=jz8i26dy0f >>>>> To: ;tag=qBuxIeW1MNWF >>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>> CSeq: 610 SUBSCRIBE >>>>> Max-Forwards: 69 >>>>> User-Agent: snom760/8.7.5.35 >>>>> Contact: ;reg-id=1 >>>>> Event: dialog >>>>> Accept: application/dialog-info+xml >>>>> Expires: 80 >>>>> Content-Length: 0 >>>>> Path: >>>>> X-AUTH-IP: 176.37.91.15 >>>>> >>>>> Actually I get Accepted (202) >>>>> >>>>> But with NOTIFY from freeswitch I got this >>>>> >>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>> Max-Forwards: 70 >>>>> From: ;tag=qBuxIeW1MNWF >>>>> To: ;tag=jz8i26dy0f >>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>> CSeq: 297327351 NOTIFY >>>>> Contact: >>>>> User-Agent: FreeSWITCH >>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>> Supported: path, replaces >>>>> Event: dialog >>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>> presence.winfo, message-summary, refer >>>>> Subscription-State: active;expires=80 >>>>> Content-Type: application/dialog-info+xml >>>>> Content-Length: 152 >>>>> >>>>> >>>>> >>>> state="full" entity="sip:*55 at master.rufan.at"> >>>>> >>>>> >>>>> Problem is, XML data is empty, cause actually there is no >>>>> registrations for *55 extension. >>>>> Why it?s not sending ?Unavail? or smth. like this? What is the correct >>>>> packet for SUBSCRIBE? Or internal profile? >>>>> >>>>> Internal profile is >>>>> 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] >>>>> 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] >>>>> 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] >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/5b204fe0/attachment-0001.html From igorolhovskiy at gmail.com Wed Mar 9 22:49:37 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 21:49:37 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: No, no IP?s, only domain names. Also, I?ve disabled force-subscription-domain, force-register-domain and force-register-db-domain due to multitenancy Sorry, forgot to mention FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit 2016-03-09 21:46 GMT+02:00 Brian West : > Make sure you're not forcing them to the IP because we do so in our > vanilla configs to make it easier on everyone. :) Also I can't tell what > rev of FreeSWITCH you're on. > > On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy > wrote: > >> Thanks, >> >> I?m putting a domain in every SUBSCRIBE request I?m passing through. So, >> I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or From. >> Btw, this situation is only when device is not registered, If device is >> registered and ringing/talking, I?ve got correct XML info?s. >> Situation is only when I?m trying to subscribe on non-existing device. Or >> device is unregistered and also, in NOTIFY XML data is like this. >> >> 2016-03-09 21:38 GMT+02:00 Brian West : >> >>> The only time I've ever seen this issue is when its a domain/ip >>> mismatch, and many devices like yealink and the like will subscribe to the >>> IP even when you put in the domain name in some firmwares. So you'll need >>> to test, check and verify its doing what you think it is. >>> >>> Also out of the box we force the domain to the IP, unless you change >>> it. Doing anything multi-tenant requires your endpoints to behave properly >>> too. >>> >>> /b >>> >>> >>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy >>> wrote: >>> >>>> As I tried, these options are really not est with multi-tenant. >>>> And really, where is device is Subscribed to IP? I don?t see any IP?s >>>> in R-URI or To/From. >>>> Record-Route is just for keep packets back and Contact is actual device >>>> IP and port. >>>> >>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>> >>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>> >>>>> Ok here is what is the problem, you have the device setup to register >>>>> to the domain, but its subscribing to the IP ergo domain != ip when it >>>>> search for any subscriptions. >>>>> >>>>> See force-subscription-domain, force-register-domain and >>>>> force-register-db-domain >>>>> >>>>> Those all have to align perfectly for things to behave properly. >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>> igorolhovskiy at gmail.com> wrote: >>>>> >>>>>> Hi! >>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>> >>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>> Record-Route: >>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>> Route: >>>>>> From: ;tag=jz8i26dy0f >>>>>> To: ;tag=qBuxIeW1MNWF >>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>> CSeq: 610 SUBSCRIBE >>>>>> Max-Forwards: 69 >>>>>> User-Agent: snom760/8.7.5.35 >>>>>> Contact: ;reg-id=1 >>>>>> Event: dialog >>>>>> Accept: application/dialog-info+xml >>>>>> Expires: 80 >>>>>> Content-Length: 0 >>>>>> Path: >>>>>> X-AUTH-IP: 176.37.91.15 >>>>>> >>>>>> Actually I get Accepted (202) >>>>>> >>>>>> But with NOTIFY from freeswitch I got this >>>>>> >>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>> Max-Forwards: 70 >>>>>> From: ;tag=qBuxIeW1MNWF >>>>>> To: ;tag=jz8i26dy0f >>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>> CSeq: 297327351 NOTIFY >>>>>> Contact: >>>>>> User-Agent: FreeSWITCH >>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>> Supported: path, replaces >>>>>> Event: dialog >>>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>>> presence.winfo, message-summary, refer >>>>>> Subscription-State: active;expires=80 >>>>>> Content-Type: application/dialog-info+xml >>>>>> Content-Length: 152 >>>>>> >>>>>> >>>>>> >>>>> state="full" entity="sip:*55 at master.rufan.at"> >>>>>> >>>>>> >>>>>> Problem is, XML data is empty, cause actually there is no >>>>>> registrations for *55 extension. >>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>> >>>>>> Internal profile is >>>>>> 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] >>>>>> 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] >>>>>> 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] >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/6891d6cb/attachment-0001.html From brian at freeswitch.org Wed Mar 9 22:53:05 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 13:53:05 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: What do the entries in the subscription table look like? And can I see the subscribe packets please? On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy wrote: > No, no IP?s, only domain names. > Also, I?ve disabled force-subscription-domain, force-register-domain and > force-register-db-domain due to multitenancy > > Sorry, forgot to mention > FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit > > 2016-03-09 21:46 GMT+02:00 Brian West : > >> Make sure you're not forcing them to the IP because we do so in our >> vanilla configs to make it easier on everyone. :) Also I can't tell what >> rev of FreeSWITCH you're on. >> >> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy >> wrote: >> >>> Thanks, >>> >>> I?m putting a domain in every SUBSCRIBE request I?m passing through. So, >>> I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or From. >>> Btw, this situation is only when device is not registered, If device is >>> registered and ringing/talking, I?ve got correct XML info?s. >>> Situation is only when I?m trying to subscribe on non-existing device. >>> Or device is unregistered and also, in NOTIFY XML data is like this. >>> >>> 2016-03-09 21:38 GMT+02:00 Brian West : >>> >>>> The only time I've ever seen this issue is when its a domain/ip >>>> mismatch, and many devices like yealink and the like will subscribe to the >>>> IP even when you put in the domain name in some firmwares. So you'll need >>>> to test, check and verify its doing what you think it is. >>>> >>>> Also out of the box we force the domain to the IP, unless you change >>>> it. Doing anything multi-tenant requires your endpoints to behave properly >>>> too. >>>> >>>> /b >>>> >>>> >>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy >>> > wrote: >>>> >>>>> As I tried, these options are really not est with multi-tenant. >>>>> And really, where is device is Subscribed to IP? I don?t see any IP?s >>>>> in R-URI or To/From. >>>>> Record-Route is just for keep packets back and Contact is actual >>>>> device IP and port. >>>>> >>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>> >>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>> >>>>>> Ok here is what is the problem, you have the device setup to register >>>>>> to the domain, but its subscribing to the IP ergo domain != ip when it >>>>>> search for any subscriptions. >>>>>> >>>>>> See force-subscription-domain, force-register-domain and >>>>>> force-register-db-domain >>>>>> >>>>>> Those all have to align perfectly for things to behave properly. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>> igorolhovskiy at gmail.com> wrote: >>>>>> >>>>>>> Hi! >>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>> >>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>> Record-Route: >>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>> Route: >>>>>>> From: ;tag=jz8i26dy0f >>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>> CSeq: 610 SUBSCRIBE >>>>>>> Max-Forwards: 69 >>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>> Contact: ;reg-id=1 >>>>>>> Event: dialog >>>>>>> Accept: application/dialog-info+xml >>>>>>> Expires: 80 >>>>>>> Content-Length: 0 >>>>>>> Path: >>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>> >>>>>>> Actually I get Accepted (202) >>>>>>> >>>>>>> But with NOTIFY from freeswitch I got this >>>>>>> >>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>> Max-Forwards: 70 >>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>> To: ;tag=jz8i26dy0f >>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>> CSeq: 297327351 NOTIFY >>>>>>> Contact: >>>>>>> User-Agent: FreeSWITCH >>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>> Supported: path, replaces >>>>>>> Event: dialog >>>>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>>>> presence.winfo, message-summary, refer >>>>>>> Subscription-State: active;expires=80 >>>>>>> Content-Type: application/dialog-info+xml >>>>>>> Content-Length: 152 >>>>>>> >>>>>>> >>>>>>> >>>>>> state="full" entity="sip:*55 at master.rufan.at"> >>>>>>> >>>>>>> >>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>> registrations for *55 extension. >>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>> >>>>>>> Internal profile is >>>>>>> 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] >>>>>>> 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] >>>>>>> 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] >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/9b137ec6/attachment-0001.html From igorolhovskiy at gmail.com Wed Mar 9 23:05:30 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 22:05:30 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Not sure I can pick correct entity, but from table sip_subscriptions; proto | sip_user | sip_host | sub_to_user | sub_to_host | presence_hosts | event | contact | call_id | full_from | full_via | expires | user_agent | accept | profile_name | hostname | network_port | network_ip | version | orig_proto | full_to -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- sip | 608 | master.rufan.at | *55 | master.rufan.at | | dialog | "user" | 1681459928-5060-12 at BJC.BGI.II.GA | < sip:608 at master.rufan.at>;tag=634732653 | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 | 1457553810 | Grandstream GXP2160 1.0.5.33 | application/dialog-info+xml, multipart/related, application/rlmi+xml | internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | | ;tag=T8d4diV1izE2 sip | 606 | master.rufan.at | *55 | master.rufan.at | | dialog | "606 - MRA" | 0_596236462 at 192.168.88.58 | "606 - MRA" < sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 | 1457554621 | Yealink SIP-T48G 35.80.0.95 | application/dialog-info+xml | internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | | ;tag=ziusfu8L3hlO sip | 609 | master.rufan.at | *55 | master.rufan.at | | dialog | "user" | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml | internal | fsw04-0 | 5060 | 10.0.20.70 | 6 | | ;tag=Pe1EElSL1Wux sip | 602 | master.rufan.at | *55 | master.rufan.at | | dialog | "user" | 2_2942107447 at 192.168.2.126 | < sip:602 at master.rufan.at:5060>;tag=2476761298 | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 | 1457555268 | Yealink SIP-T48G 35.80.0.95 | application/dialog-info+xml | internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | | ;tag=JIBAb590T27W (4 rows) It?s for *55 and domain = master.rufan.at And the packet actually (Grandstream) SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 Record-Route: Via: SIP/2.0/UDP 212.232.26.232:5060 ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 Via: SIP/2.0/UDP 192.168.88.60:5060 ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 From: ;tag=113168616 To: Call-ID: 676611784-5060-14 at BJC.BGI.II.GA CSeq: 20120 SUBSCRIBE Contact: X-Grandstream-PBX: true Max-Forwards: 69 User-Agent: Grandstream GXP2160 1.0.5.33 Expires: 180 Supported: replaces, path, timer, eventlist Event: dialog Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Length: 0 Path: X-AUTH-IP: 176.37.91.15 (Yealink) SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 Record-Route: Via: SIP/2.0/UDP 212.232.26.232:5060 ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 Via: SIP/2.0/UDP 192.168.88.58:5060 ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 From: "606 - MRA" ;tag=1995090923 To: Call-ID: 0_1262134978 at 192.168.88.58 CSeq: 1 SUBSCRIBE Contact: Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE Accept: application/dialog-info+xml Max-Forwards: 69 User-Agent: Yealink SIP-T48G 35.80.0.95 Expires: 1800 Event: dialog Content-Length: 0 Path: X-AUTH-IP: 176.37.91.15 And NOTIFY for Yealink NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg Route: ;ftag=1995090923;lr=on Record-Route: ;ftag=1995090923;lr=on Max-Forwards: 70 From: ;tag=3TCMXfAmcte4 To: "606 - MRA" ;tag=1995090923 Call-ID: 0_1262134978 at 192.168.88.58 CSeq: 297553154 NOTIFY Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Event: dialog Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=1800 Content-Type: application/dialog-info+xml Content-Length: 152 2016-03-09 21:53 GMT+02:00 Brian West : > What do the entries in the subscription table look like? And can I see > the subscribe packets please? > > On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy > wrote: > >> No, no IP?s, only domain names. >> Also, I?ve disabled force-subscription-domain, force-register-domain and >> force-register-db-domain due to multitenancy >> >> Sorry, forgot to mention >> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >> >> 2016-03-09 21:46 GMT+02:00 Brian West : >> >>> Make sure you're not forcing them to the IP because we do so in our >>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>> rev of FreeSWITCH you're on. >>> >>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy >>> wrote: >>> >>>> Thanks, >>>> >>>> I?m putting a domain in every SUBSCRIBE request I?m passing through. >>>> So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or >>>> From. >>>> Btw, this situation is only when device is not registered, If device is >>>> registered and ringing/talking, I?ve got correct XML info?s. >>>> Situation is only when I?m trying to subscribe on non-existing device. >>>> Or device is unregistered and also, in NOTIFY XML data is like this. >>>> >>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>> >>>>> The only time I've ever seen this issue is when its a domain/ip >>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>> to test, check and verify its doing what you think it is. >>>>> >>>>> Also out of the box we force the domain to the IP, unless you change >>>>> it. Doing anything multi-tenant requires your endpoints to behave properly >>>>> too. >>>>> >>>>> /b >>>>> >>>>> >>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>> igorolhovskiy at gmail.com> wrote: >>>>> >>>>>> As I tried, these options are really not est with multi-tenant. >>>>>> And really, where is device is Subscribed to IP? I don?t see any IP?s >>>>>> in R-URI or To/From. >>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>> device IP and port. >>>>>> >>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>> >>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>> >>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>> when it search for any subscriptions. >>>>>>> >>>>>>> See force-subscription-domain, force-register-domain and >>>>>>> force-register-db-domain >>>>>>> >>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>> >>>>>>>> Hi! >>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>> >>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>> Record-Route: >>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>> Route: >>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>> Max-Forwards: 69 >>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>> Contact: ;reg-id=1 >>>>>>>> Event: dialog >>>>>>>> Accept: application/dialog-info+xml >>>>>>>> Expires: 80 >>>>>>>> Content-Length: 0 >>>>>>>> Path: >>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>> >>>>>>>> Actually I get Accepted (202) >>>>>>>> >>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>> >>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>> Max-Forwards: 70 >>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>> Contact: >>>>>>>> User-Agent: FreeSWITCH >>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>> Supported: path, replaces >>>>>>>> Event: dialog >>>>>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>>>>> presence.winfo, message-summary, refer >>>>>>>> Subscription-State: active;expires=80 >>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>> Content-Length: 152 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>> >>>>>>>> >>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>> registrations for *55 extension. >>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>> >>>>>>>> Internal profile is >>>>>>>> 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] >>>>>>>> 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] >>>>>>>> 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] >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>> >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/612ddffc/attachment-0001.html From mike at jerris.com Wed Mar 9 23:23:14 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 15:23:14 -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'd try the strace route or throw some debug in switch_loadable module. Where is the module actually being installed if not in the mod directory? > On Mar 2, 2016, at 10:13 AM, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/7469ac5a/attachment-0001.html From brian at freeswitch.org Wed Mar 9 23:28:56 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 14:28:56 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: You're not registering direct to FreeSWITCH are you, that may be something to investigate, This is generated in sofia_presence.c, line 2424, switch_snprintf(key, sizeof(key), "%s%s", user, host); data = switch_core_hash_find(sh->hash, key); if (data) { It would indicate that switch_core_hash_find may not be returning the key, you may need to debug what exactly is being put into that hash to being with. On Wed, Mar 9, 2016 at 2:05 PM, Igor Olhovskiy wrote: > Not sure I can pick correct entity, but from table sip_subscriptions; > > proto | sip_user | sip_host | sub_to_user | sub_to_host | > presence_hosts | event | > contact | > call_id | full_from > | full_via > | expires | > user_agent | accept > | profile_name | hostname | network_port | network_ip | > version | orig_proto | full_to > > -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- > sip | 608 | master.rufan.at | *55 | master.rufan.at | > | dialog | "user" > | 1681459928-5060-12 at BJC.BGI.II.GA | < > sip:608 at master.rufan.at>;tag=634732653 | SIP/2.0/UDP > 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 > | 1457553810 | Grandstream GXP2160 1.0.5.33 | > application/dialog-info+xml, multipart/related, application/rlmi+xml | > internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | > | ;tag=T8d4diV1izE2 > sip | 606 | master.rufan.at | *55 | master.rufan.at | > | dialog | "606 - MRA" > | 0_596236462 at 192.168.88.58 | "606 - MRA" < > sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP > 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 > | 1457554621 | Yealink SIP-T48G 35.80.0.95 | > application/dialog-info+xml | > internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | > | ;tag=ziusfu8L3hlO > sip | 609 | master.rufan.at | *55 | master.rufan.at | > | dialog | "user" > | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 > | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 > | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml > | internal | fsw04-0 | 5060 > | 10.0.20.70 | 6 | | >;tag=Pe1EElSL1Wux > sip | 602 | master.rufan.at | *55 | master.rufan.at | > | dialog | "user" > | 2_2942107447 at 192.168.2.126 | < > sip:602 at master.rufan.at:5060>;tag=2476761298 | SIP/2.0/UDP > 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 > | 1457555268 | Yealink SIP-T48G 35.80.0.95 | > application/dialog-info+xml | > internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | > | ;tag=JIBAb590T27W > (4 rows) > > It?s for *55 and domain = master.rufan.at > > And the packet actually > (Grandstream) > SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 > Record-Route: > Via: SIP/2.0/UDP 212.232.26.232:5060 > ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 > Via: SIP/2.0/UDP 192.168.88.60:5060 > ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 > From: ;tag=113168616 > To: > Call-ID: 676611784-5060-14 at BJC.BGI.II.GA > CSeq: 20120 SUBSCRIBE > Contact: > X-Grandstream-PBX: true > Max-Forwards: 69 > User-Agent: Grandstream GXP2160 1.0.5.33 > Expires: 180 > Supported: replaces, path, timer, eventlist > Event: dialog > Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml > Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, > UPDATE, MESSAGE > Content-Length: 0 > Path: > X-AUTH-IP: 176.37.91.15 > > (Yealink) > SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 > Record-Route: > Via: SIP/2.0/UDP 212.232.26.232:5060 > ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 > Via: SIP/2.0/UDP 192.168.88.58:5060 > ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 > From: "606 - MRA" ;tag=1995090923 > To: > Call-ID: 0_1262134978 at 192.168.88.58 > CSeq: 1 SUBSCRIBE > Contact: > Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, > SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE > Accept: application/dialog-info+xml > Max-Forwards: 69 > User-Agent: Yealink SIP-T48G 35.80.0.95 > Expires: 1800 > Event: dialog > Content-Length: 0 > Path: > X-AUTH-IP: 176.37.91.15 > > > And NOTIFY for Yealink > NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 > Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg > Route: ;ftag=1995090923;lr=on > Record-Route: ;ftag=1995090923;lr=on > Max-Forwards: 70 > From: ;tag=3TCMXfAmcte4 > To: "606 - MRA" ;tag=1995090923 > Call-ID: 0_1262134978 at 192.168.88.58 > CSeq: 297553154 NOTIFY > Contact: > User-Agent: FreeSWITCH > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, > REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > Event: dialog > Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, > line-seize, call-info, sla, include-session-description, presence.winfo, > message-summary, refer > Subscription-State: active;expires=1800 > Content-Type: application/dialog-info+xml > Content-Length: 152 > > > state="full" entity="sip:*55 at master.rufan.at"> > > > > 2016-03-09 21:53 GMT+02:00 Brian West : > >> What do the entries in the subscription table look like? And can I see >> the subscribe packets please? >> >> On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy >> wrote: >> >>> No, no IP?s, only domain names. >>> Also, I?ve disabled force-subscription-domain, force-register-domain >>> and force-register-db-domain due to multitenancy >>> >>> Sorry, forgot to mention >>> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >>> >>> 2016-03-09 21:46 GMT+02:00 Brian West : >>> >>>> Make sure you're not forcing them to the IP because we do so in our >>>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>>> rev of FreeSWITCH you're on. >>>> >>>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy >>> > wrote: >>>> >>>>> Thanks, >>>>> >>>>> I?m putting a domain in every SUBSCRIBE request I?m passing through. >>>>> So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or >>>>> From. >>>>> Btw, this situation is only when device is not registered, If device >>>>> is registered and ringing/talking, I?ve got correct XML info?s. >>>>> Situation is only when I?m trying to subscribe on non-existing device. >>>>> Or device is unregistered and also, in NOTIFY XML data is like this. >>>>> >>>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>>> >>>>>> The only time I've ever seen this issue is when its a domain/ip >>>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>>> to test, check and verify its doing what you think it is. >>>>>> >>>>>> Also out of the box we force the domain to the IP, unless you change >>>>>> it. Doing anything multi-tenant requires your endpoints to behave properly >>>>>> too. >>>>>> >>>>>> /b >>>>>> >>>>>> >>>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>>> igorolhovskiy at gmail.com> wrote: >>>>>> >>>>>>> As I tried, these options are really not est with multi-tenant. >>>>>>> And really, where is device is Subscribed to IP? I don?t see any >>>>>>> IP?s in R-URI or To/From. >>>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>>> device IP and port. >>>>>>> >>>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>>> >>>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>>> >>>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>>> when it search for any subscriptions. >>>>>>>> >>>>>>>> See force-subscription-domain, force-register-domain and >>>>>>>> force-register-db-domain >>>>>>>> >>>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi! >>>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>>> >>>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>>> Record-Route: >>>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>>> Route: >>>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>>> Max-Forwards: 69 >>>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>>> Contact: ;reg-id=1 >>>>>>>>> Event: dialog >>>>>>>>> Accept: application/dialog-info+xml >>>>>>>>> Expires: 80 >>>>>>>>> Content-Length: 0 >>>>>>>>> Path: >>>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>>> >>>>>>>>> Actually I get Accepted (202) >>>>>>>>> >>>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>>> >>>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>> Max-Forwards: 70 >>>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>>> Contact: >>>>>>>>> User-Agent: FreeSWITCH >>>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>>> Supported: path, replaces >>>>>>>>> Event: dialog >>>>>>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>>>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>>>>>> presence.winfo, message-summary, refer >>>>>>>>> Subscription-State: active;expires=80 >>>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>>> Content-Length: 152 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> version="8" state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>>> >>>>>>>>> >>>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>>> registrations for *55 extension. >>>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>>> >>>>>>>>> Internal profile is >>>>>>>>> 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] >>>>>>>>> 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] >>>>>>>>> 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] >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>> >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/af9273a2/attachment-0001.html From igorolhovskiy at gmail.com Wed Mar 9 23:57:28 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 22:57:28 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Yep, I?m using Kamailio as a proxy, but it just forward REGISTER to Freeswitch, That?s just adds few more lines packet and populates fields with actual external addresses and port data. Debug may be hard for me (I?m not a programmer, actually), but will try, Thanks. 2016-03-09 22:28 GMT+02:00 Brian West : > You're not registering direct to FreeSWITCH are you, that may be something > to investigate, > > This is generated in sofia_presence.c, line 2424, > > switch_snprintf(key, sizeof(key), "%s%s", user, host); > > > data = switch_core_hash_find(sh->hash, key); > > > if (data) { > > > It would indicate that switch_core_hash_find may not be returning the key, > you may need to debug what exactly is being put into that hash to being > with. > > On Wed, Mar 9, 2016 at 2:05 PM, Igor Olhovskiy > wrote: > >> Not sure I can pick correct entity, but from table sip_subscriptions; >> >> proto | sip_user | sip_host | sub_to_user | sub_to_host | >> presence_hosts | event | >> contact | >> call_id | full_from >> | full_via >> | expires | >> user_agent | accept >> | profile_name | hostname | network_port | network_ip | >> version | orig_proto | full_to >> >> -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- >> sip | 608 | master.rufan.at | *55 | master.rufan.at | >> | dialog | "user" >> | 1681459928-5060-12 at BJC.BGI.II.GA | < >> sip:608 at master.rufan.at>;tag=634732653 | SIP/2.0/UDP >> 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 >> | 1457553810 | Grandstream GXP2160 1.0.5.33 | >> application/dialog-info+xml, multipart/related, application/rlmi+xml | >> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >> | ;tag=T8d4diV1izE2 >> sip | 606 | master.rufan.at | *55 | master.rufan.at | >> | dialog | "606 - MRA" >> | 0_596236462 at 192.168.88.58 | "606 - MRA" < >> sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP >> 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 >> | 1457554621 | Yealink SIP-T48G 35.80.0.95 | >> application/dialog-info+xml | >> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >> | ;tag=ziusfu8L3hlO >> sip | 609 | master.rufan.at | *55 | master.rufan.at | >> | dialog | "user" >> | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 >> | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 >> | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml >> | internal | fsw04-0 | 5060 >> | 10.0.20.70 | 6 | | > >;tag=Pe1EElSL1Wux >> sip | 602 | master.rufan.at | *55 | master.rufan.at | >> | dialog | "user" >> | 2_2942107447 at 192.168.2.126 | < >> sip:602 at master.rufan.at:5060>;tag=2476761298 | SIP/2.0/UDP >> 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 >> | 1457555268 | Yealink SIP-T48G 35.80.0.95 | >> application/dialog-info+xml | >> internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | >> | ;tag=JIBAb590T27W >> (4 rows) >> >> It?s for *55 and domain = master.rufan.at >> >> And the packet actually >> (Grandstream) >> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >> Record-Route: >> Via: SIP/2.0/UDP 212.232.26.232:5060 >> ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 >> Via: SIP/2.0/UDP 192.168.88.60:5060 >> ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 >> From: ;tag=113168616 >> To: >> Call-ID: 676611784-5060-14 at BJC.BGI.II.GA >> CSeq: 20120 SUBSCRIBE >> Contact: >> X-Grandstream-PBX: true >> Max-Forwards: 69 >> User-Agent: Grandstream GXP2160 1.0.5.33 >> Expires: 180 >> Supported: replaces, path, timer, eventlist >> Event: dialog >> Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml >> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, >> UPDATE, MESSAGE >> Content-Length: 0 >> Path: >> X-AUTH-IP: 176.37.91.15 >> >> (Yealink) >> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >> Record-Route: >> Via: SIP/2.0/UDP 212.232.26.232:5060 >> ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 >> Via: SIP/2.0/UDP 192.168.88.58:5060 >> ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 >> From: "606 - MRA" ;tag=1995090923 >> To: >> Call-ID: 0_1262134978 at 192.168.88.58 >> CSeq: 1 SUBSCRIBE >> Contact: >> Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, >> SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE >> Accept: application/dialog-info+xml >> Max-Forwards: 69 >> User-Agent: Yealink SIP-T48G 35.80.0.95 >> Expires: 1800 >> Event: dialog >> Content-Length: 0 >> Path: >> X-AUTH-IP: 176.37.91.15 >> >> >> And NOTIFY for Yealink >> NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 >> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg >> Route: ;ftag=1995090923;lr=on >> Record-Route: ;ftag=1995090923;lr=on >> Max-Forwards: 70 >> From: ;tag=3TCMXfAmcte4 >> To: "606 - MRA" ;tag=1995090923 >> Call-ID: 0_1262134978 at 192.168.88.58 >> CSeq: 297553154 NOTIFY >> Contact: >> User-Agent: FreeSWITCH >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >> Supported: path, replaces >> Event: dialog >> Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, >> line-seize, call-info, sla, include-session-description, presence.winfo, >> message-summary, refer >> Subscription-State: active;expires=1800 >> Content-Type: application/dialog-info+xml >> Content-Length: 152 >> >> >> > state="full" entity="sip:*55 at master.rufan.at"> >> >> >> >> 2016-03-09 21:53 GMT+02:00 Brian West : >> >>> What do the entries in the subscription table look like? And can I see >>> the subscribe packets please? >>> >>> On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy >>> wrote: >>> >>>> No, no IP?s, only domain names. >>>> Also, I?ve disabled force-subscription-domain, force-register-domain >>>> and force-register-db-domain due to multitenancy >>>> >>>> Sorry, forgot to mention >>>> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >>>> >>>> 2016-03-09 21:46 GMT+02:00 Brian West : >>>> >>>>> Make sure you're not forcing them to the IP because we do so in our >>>>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>>>> rev of FreeSWITCH you're on. >>>>> >>>>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy < >>>>> igorolhovskiy at gmail.com> wrote: >>>>> >>>>>> Thanks, >>>>>> >>>>>> I?m putting a domain in every SUBSCRIBE request I?m passing through. >>>>>> So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or >>>>>> From. >>>>>> Btw, this situation is only when device is not registered, If device >>>>>> is registered and ringing/talking, I?ve got correct XML info?s. >>>>>> Situation is only when I?m trying to subscribe on non-existing >>>>>> device. Or device is unregistered and also, in NOTIFY XML data is like this. >>>>>> >>>>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>>>> >>>>>>> The only time I've ever seen this issue is when its a domain/ip >>>>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>>>> to test, check and verify its doing what you think it is. >>>>>>> >>>>>>> Also out of the box we force the domain to the IP, unless you change >>>>>>> it. Doing anything multi-tenant requires your endpoints to behave properly >>>>>>> too. >>>>>>> >>>>>>> /b >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>> >>>>>>>> As I tried, these options are really not est with multi-tenant. >>>>>>>> And really, where is device is Subscribed to IP? I don?t see any >>>>>>>> IP?s in R-URI or To/From. >>>>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>>>> device IP and port. >>>>>>>> >>>>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>>>> >>>>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>>>> >>>>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>>>> when it search for any subscriptions. >>>>>>>>> >>>>>>>>> See force-subscription-domain, force-register-domain and >>>>>>>>> force-register-db-domain >>>>>>>>> >>>>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi! >>>>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>>>> >>>>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>>>> Record-Route: >>>>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>>>> Route: >>>>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>>>> Max-Forwards: 69 >>>>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>>>> Contact: ;reg-id=1 >>>>>>>>>> Event: dialog >>>>>>>>>> Accept: application/dialog-info+xml >>>>>>>>>> Expires: 80 >>>>>>>>>> Content-Length: 0 >>>>>>>>>> Path: >>>>>>>>> > >>>>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>>>> >>>>>>>>>> Actually I get Accepted (202) >>>>>>>>>> >>>>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>>>> >>>>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>> Max-Forwards: 70 >>>>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>>>> Contact: >>>>>>>>>> User-Agent: FreeSWITCH >>>>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>>>> Supported: path, replaces >>>>>>>>>> Event: dialog >>>>>>>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>>>>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>>>>>>> presence.winfo, message-summary, refer >>>>>>>>>> Subscription-State: active;expires=80 >>>>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>>>> Content-Length: 152 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> version="8" state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>>>> registrations for *55 extension. >>>>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>>>> >>>>>>>>>> Internal profile is >>>>>>>>>> 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] >>>>>>>>>> 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] >>>>>>>>>> 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] >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> *Brian West* >>>>>>>>> brian at freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>> http://www.freeswitchbook.com >>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>> >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>> >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/e3b334c7/attachment-0001.html From william.king at quentustech.com Thu Mar 10 00:12:56 2016 From: william.king at quentustech.com (William King) Date: Wed, 9 Mar 2016 13:12:56 -0800 Subject: [Freeswitch-users] FreeSwitch AMQP Question In-Reply-To: References: Message-ID: <56E091D8.8030707@quentustech.com> Sammy, Great question. mod_amqp has several different profile types: producer, commands, logging, and consumer(not yet implemented). The producer profile type only sends FS events to an amqp exchange(though you can configure multiple profiles with different event bindings and destination exchanges). To achieve what you're talking about would require mod_amqp profiles to subscribe and consume events from an amqp exchange, and then process/fire those events locally. Now the second way to handle what you're describing would be to have the different FS servers configured so that the modules use the same DB info, so that they're all looking at the same DB state. This would not require amqp to consume and process the events. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king at quentustech.com On 3/3/16 10:52 AM, SamyGo wrote: > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Thu Mar 10 00:16:42 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 9 Mar 2016 15:16:42 -0600 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Gotta start somewhere, if you join IRC or Hipchat we can help. On Wed, Mar 9, 2016 at 2:57 PM, Igor Olhovskiy wrote: > Yep, I?m using Kamailio as a proxy, but it just forward REGISTER to > Freeswitch, That?s just adds few more lines packet and populates fields > with actual external addresses and port data. > Debug may be hard for me (I?m not a programmer, actually), but will try, > > Thanks. > > 2016-03-09 22:28 GMT+02:00 Brian West : > >> You're not registering direct to FreeSWITCH are you, that may be >> something to investigate, >> >> This is generated in sofia_presence.c, line 2424, >> >> switch_snprintf(key, sizeof(key), "%s%s", user, host); >> >> >> data = switch_core_hash_find(sh->hash, key); >> >> >> if (data) { >> >> >> It would indicate that switch_core_hash_find may not be returning the >> key, you may need to debug what exactly is being put into that hash to >> being with. >> >> On Wed, Mar 9, 2016 at 2:05 PM, Igor Olhovskiy >> wrote: >> >>> Not sure I can pick correct entity, but from table sip_subscriptions; >>> >>> proto | sip_user | sip_host | sub_to_user | sub_to_host | >>> presence_hosts | event | >>> contact | >>> call_id | full_from >>> | full_via >>> | expires | >>> user_agent | accept >>> | profile_name | hostname | network_port | network_ip | >>> version | orig_proto | full_to >>> >>> -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- >>> sip | 608 | master.rufan.at | *55 | master.rufan.at | >>> | dialog | "user" >>> | 1681459928-5060-12 at BJC.BGI.II.GA | < >>> sip:608 at master.rufan.at>;tag=634732653 | SIP/2.0/UDP >>> 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 >>> | 1457553810 | Grandstream GXP2160 1.0.5.33 | >>> application/dialog-info+xml, multipart/related, application/rlmi+xml | >>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>> | ;tag=T8d4diV1izE2 >>> sip | 606 | master.rufan.at | *55 | master.rufan.at | >>> | dialog | "606 - MRA" >>> | 0_596236462 at 192.168.88.58 | "606 - MRA" < >>> sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP >>> 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 >>> | 1457554621 | Yealink SIP-T48G 35.80.0.95 | >>> application/dialog-info+xml | >>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>> | ;tag=ziusfu8L3hlO >>> sip | 609 | master.rufan.at | *55 | master.rufan.at | >>> | dialog | "user" >>> | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 >>> | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 >>> | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml >>> | internal | fsw04-0 | 5060 >>> | 10.0.20.70 | 6 | | >> 55 at master.rufan.at:5060>;tag=Pe1EElSL1Wux >>> sip | 602 | master.rufan.at | *55 | master.rufan.at | >>> | dialog | "user" >>> | 2_2942107447 at 192.168.2.126 | < >>> sip:602 at master.rufan.at:5060>;tag=2476761298 | SIP/2.0/UDP >>> 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 >>> | 1457555268 | Yealink SIP-T48G 35.80.0.95 | >>> application/dialog-info+xml | >>> internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | >>> | ;tag=JIBAb590T27W >>> (4 rows) >>> >>> It?s for *55 and domain = master.rufan.at >>> >>> And the packet actually >>> (Grandstream) >>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>> Record-Route: >>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>> ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 >>> Via: SIP/2.0/UDP 192.168.88.60:5060 >>> ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 >>> From: ;tag=113168616 >>> To: >>> Call-ID: 676611784-5060-14 at BJC.BGI.II.GA >>> CSeq: 20120 SUBSCRIBE >>> Contact: >>> X-Grandstream-PBX: true >>> Max-Forwards: 69 >>> User-Agent: Grandstream GXP2160 1.0.5.33 >>> Expires: 180 >>> Supported: replaces, path, timer, eventlist >>> Event: dialog >>> Accept: >>> application/dialog-info+xml,multipart/related,application/rlmi+xml >>> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >>> REFER, UPDATE, MESSAGE >>> Content-Length: 0 >>> Path: >>> X-AUTH-IP: 176.37.91.15 >>> >>> (Yealink) >>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>> Record-Route: >>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>> ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 >>> Via: SIP/2.0/UDP 192.168.88.58:5060 >>> ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 >>> From: "606 - MRA" ;tag=1995090923 >>> To: >>> Call-ID: 0_1262134978 at 192.168.88.58 >>> CSeq: 1 SUBSCRIBE >>> Contact: >>> Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, >>> SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE >>> Accept: application/dialog-info+xml >>> Max-Forwards: 69 >>> User-Agent: Yealink SIP-T48G 35.80.0.95 >>> Expires: 1800 >>> Event: dialog >>> Content-Length: 0 >>> Path: >>> X-AUTH-IP: 176.37.91.15 >>> >>> >>> And NOTIFY for Yealink >>> NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 >>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg >>> Route: ;ftag=1995090923;lr=on >>> Record-Route: ;ftag=1995090923;lr=on >>> Max-Forwards: 70 >>> From: ;tag=3TCMXfAmcte4 >>> To: "606 - MRA" ;tag=1995090923 >>> Call-ID: 0_1262134978 at 192.168.88.58 >>> CSeq: 297553154 NOTIFY >>> Contact: >>> User-Agent: FreeSWITCH >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>> Supported: path, replaces >>> Event: dialog >>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>> dialog, line-seize, call-info, sla, include-session-description, >>> presence.winfo, message-summary, refer >>> Subscription-State: active;expires=1800 >>> Content-Type: application/dialog-info+xml >>> Content-Length: 152 >>> >>> >>> >> state="full" entity="sip:*55 at master.rufan.at"> >>> >>> >>> >>> 2016-03-09 21:53 GMT+02:00 Brian West : >>> >>>> What do the entries in the subscription table look like? And can I see >>>> the subscribe packets please? >>>> >>>> On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy >>> > wrote: >>>> >>>>> No, no IP?s, only domain names. >>>>> Also, I?ve disabled force-subscription-domain, force-register-domain >>>>> and force-register-db-domain due to multitenancy >>>>> >>>>> Sorry, forgot to mention >>>>> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >>>>> >>>>> 2016-03-09 21:46 GMT+02:00 Brian West : >>>>> >>>>>> Make sure you're not forcing them to the IP because we do so in our >>>>>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>>>>> rev of FreeSWITCH you're on. >>>>>> >>>>>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy < >>>>>> igorolhovskiy at gmail.com> wrote: >>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> I?m putting a domain in every SUBSCRIBE request I?m passing through. >>>>>>> So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, To or >>>>>>> From. >>>>>>> Btw, this situation is only when device is not registered, If device >>>>>>> is registered and ringing/talking, I?ve got correct XML info?s. >>>>>>> Situation is only when I?m trying to subscribe on non-existing >>>>>>> device. Or device is unregistered and also, in NOTIFY XML data is like this. >>>>>>> >>>>>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>>>>> >>>>>>>> The only time I've ever seen this issue is when its a domain/ip >>>>>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>>>>> to test, check and verify its doing what you think it is. >>>>>>>> >>>>>>>> Also out of the box we force the domain to the IP, unless you >>>>>>>> change it. Doing anything multi-tenant requires your endpoints to behave >>>>>>>> properly too. >>>>>>>> >>>>>>>> /b >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>> >>>>>>>>> As I tried, these options are really not est with multi-tenant. >>>>>>>>> And really, where is device is Subscribed to IP? I don?t see any >>>>>>>>> IP?s in R-URI or To/From. >>>>>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>>>>> device IP and port. >>>>>>>>> >>>>>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>>>>> >>>>>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>>>>> >>>>>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>>>>> when it search for any subscriptions. >>>>>>>>>> >>>>>>>>>> See force-subscription-domain, force-register-domain and >>>>>>>>>> force-register-db-domain >>>>>>>>>> >>>>>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi! >>>>>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>>>>> >>>>>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>>>>> Record-Route: >>>>>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>>>>> Route: >>>>>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>>>>> Max-Forwards: 69 >>>>>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>>>>> Contact: ;reg-id=1 >>>>>>>>>>> Event: dialog >>>>>>>>>>> Accept: application/dialog-info+xml >>>>>>>>>>> Expires: 80 >>>>>>>>>>> Content-Length: 0 >>>>>>>>>>> Path: >>>>>>>>>> 176.37.91.15:37600> >>>>>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>>>>> >>>>>>>>>>> Actually I get Accepted (202) >>>>>>>>>>> >>>>>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>>>>> >>>>>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>> Max-Forwards: 70 >>>>>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>>>>> Contact: >>>>>>>>>>> User-Agent: FreeSWITCH >>>>>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>>>>>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>>>>> Supported: path, replaces >>>>>>>>>>> Event: dialog >>>>>>>>>>> Allow-Events: talk, hold, conference, presence, >>>>>>>>>>> as-feature-event, dialog, line-seize, call-info, sla, >>>>>>>>>>> include-session-description, presence.winfo, message-summary, refer >>>>>>>>>>> Subscription-State: active;expires=80 >>>>>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>>>>> Content-Length: 152 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> version="8" state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>>>>> registrations for *55 extension. >>>>>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>>>>> >>>>>>>>>>> Internal profile is >>>>>>>>>>> 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] >>>>>>>>>>> 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] >>>>>>>>>>> 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] >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> *Brian West* >>>>>>>>>> brian at freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>> >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>> >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160309/a41febf3/attachment-0001.html From igorolhovskiy at gmail.com Thu Mar 10 00:24:18 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Wed, 9 Mar 2016 23:24:18 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Ok, than I?ll move on IRC. Thanks! 2016-03-09 23:16 GMT+02:00 Brian West : > Gotta start somewhere, if you join IRC or Hipchat we can help. > > On Wed, Mar 9, 2016 at 2:57 PM, Igor Olhovskiy > wrote: > >> Yep, I?m using Kamailio as a proxy, but it just forward REGISTER to >> Freeswitch, That?s just adds few more lines packet and populates fields >> with actual external addresses and port data. >> Debug may be hard for me (I?m not a programmer, actually), but will try, >> >> Thanks. >> >> 2016-03-09 22:28 GMT+02:00 Brian West : >> >>> You're not registering direct to FreeSWITCH are you, that may be >>> something to investigate, >>> >>> This is generated in sofia_presence.c, line 2424, >>> >>> switch_snprintf(key, sizeof(key), "%s%s", user, host); >>> >>> >>> data = switch_core_hash_find(sh->hash, key); >>> >>> >>> if (data) { >>> >>> >>> It would indicate that switch_core_hash_find may not be returning the >>> key, you may need to debug what exactly is being put into that hash to >>> being with. >>> >>> On Wed, Mar 9, 2016 at 2:05 PM, Igor Olhovskiy >>> wrote: >>> >>>> Not sure I can pick correct entity, but from table sip_subscriptions; >>>> >>>> proto | sip_user | sip_host | sub_to_user | sub_to_host | >>>> presence_hosts | event | >>>> contact | >>>> call_id | full_from >>>> | full_via >>>> | expires | >>>> user_agent | accept >>>> | profile_name | hostname | network_port | network_ip | >>>> version | orig_proto | full_to >>>> >>>> -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- >>>> sip | 608 | master.rufan.at | *55 | master.rufan.at | >>>> | dialog | "user" >>>> | 1681459928-5060-12 at BJC.BGI.II.GA | < >>>> sip:608 at master.rufan.at>;tag=634732653 | SIP/2.0/UDP >>>> 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 >>>> | 1457553810 | Grandstream GXP2160 1.0.5.33 | >>>> application/dialog-info+xml, multipart/related, application/rlmi+xml | >>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>>> | ;tag=T8d4diV1izE2 >>>> sip | 606 | master.rufan.at | *55 | master.rufan.at | >>>> | dialog | "606 - MRA" >>>> | 0_596236462 at 192.168.88.58 | "606 - MRA" < >>>> sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP >>>> 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 >>>> | 1457554621 | Yealink SIP-T48G 35.80.0.95 | >>>> application/dialog-info+xml | >>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>>> | ;tag=ziusfu8L3hlO >>>> sip | 609 | master.rufan.at | *55 | master.rufan.at | >>>> | dialog | "user" >>>> | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 >>>> | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 >>>> | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml >>>> | internal | fsw04-0 | 5060 >>>> | 10.0.20.70 | 6 | | >>> 55 at master.rufan.at:5060>;tag=Pe1EElSL1Wux >>>> sip | 602 | master.rufan.at | *55 | master.rufan.at | >>>> | dialog | "user" >>>> | 2_2942107447 at 192.168.2.126 | < >>>> sip:602 at master.rufan.at:5060>;tag=2476761298 | SIP/2.0/UDP >>>> 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 >>>> | 1457555268 | Yealink SIP-T48G 35.80.0.95 | >>>> application/dialog-info+xml | >>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | >>>> | ;tag=JIBAb590T27W >>>> (4 rows) >>>> >>>> It?s for *55 and domain = master.rufan.at >>>> >>>> And the packet actually >>>> (Grandstream) >>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>> Record-Route: >>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>> ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 >>>> Via: SIP/2.0/UDP 192.168.88.60:5060 >>>> ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 >>>> From: ;tag=113168616 >>>> To: >>>> Call-ID: 676611784-5060-14 at BJC.BGI.II.GA >>>> CSeq: 20120 SUBSCRIBE >>>> Contact: >>>> X-Grandstream-PBX: true >>>> Max-Forwards: 69 >>>> User-Agent: Grandstream GXP2160 1.0.5.33 >>>> Expires: 180 >>>> Supported: replaces, path, timer, eventlist >>>> Event: dialog >>>> Accept: >>>> application/dialog-info+xml,multipart/related,application/rlmi+xml >>>> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >>>> REFER, UPDATE, MESSAGE >>>> Content-Length: 0 >>>> Path: >>>> X-AUTH-IP: 176.37.91.15 >>>> >>>> (Yealink) >>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>> Record-Route: >>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>> ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 >>>> Via: SIP/2.0/UDP 192.168.88.58:5060 >>>> ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 >>>> From: "606 - MRA" ;tag=1995090923 >>>> To: >>>> Call-ID: 0_1262134978 at 192.168.88.58 >>>> CSeq: 1 SUBSCRIBE >>>> Contact: >>>> Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, >>>> REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE >>>> Accept: application/dialog-info+xml >>>> Max-Forwards: 69 >>>> User-Agent: Yealink SIP-T48G 35.80.0.95 >>>> Expires: 1800 >>>> Event: dialog >>>> Content-Length: 0 >>>> Path: >>>> X-AUTH-IP: 176.37.91.15 >>>> >>>> >>>> And NOTIFY for Yealink >>>> NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 >>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg >>>> Route: ;ftag=1995090923;lr=on >>>> Record-Route: ;ftag=1995090923;lr=on >>>> Max-Forwards: 70 >>>> From: ;tag=3TCMXfAmcte4 >>>> To: "606 - MRA" ;tag=1995090923 >>>> Call-ID: 0_1262134978 at 192.168.88.58 >>>> CSeq: 297553154 NOTIFY >>>> Contact: >>>> User-Agent: FreeSWITCH >>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>> Supported: path, replaces >>>> Event: dialog >>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>> dialog, line-seize, call-info, sla, include-session-description, >>>> presence.winfo, message-summary, refer >>>> Subscription-State: active;expires=1800 >>>> Content-Type: application/dialog-info+xml >>>> Content-Length: 152 >>>> >>>> >>>> >>> state="full" entity="sip:*55 at master.rufan.at"> >>>> >>>> >>>> >>>> 2016-03-09 21:53 GMT+02:00 Brian West : >>>> >>>>> What do the entries in the subscription table look like? And can I >>>>> see the subscribe packets please? >>>>> >>>>> On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy < >>>>> igorolhovskiy at gmail.com> wrote: >>>>> >>>>>> No, no IP?s, only domain names. >>>>>> Also, I?ve disabled force-subscription-domain, force-register-domain >>>>>> and force-register-db-domain due to multitenancy >>>>>> >>>>>> Sorry, forgot to mention >>>>>> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >>>>>> >>>>>> 2016-03-09 21:46 GMT+02:00 Brian West : >>>>>> >>>>>>> Make sure you're not forcing them to the IP because we do so in our >>>>>>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>>>>>> rev of FreeSWITCH you're on. >>>>>>> >>>>>>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy < >>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> I?m putting a domain in every SUBSCRIBE request I?m passing >>>>>>>> through. So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, >>>>>>>> To or From. >>>>>>>> Btw, this situation is only when device is not registered, If >>>>>>>> device is registered and ringing/talking, I?ve got correct XML info?s. >>>>>>>> Situation is only when I?m trying to subscribe on non-existing >>>>>>>> device. Or device is unregistered and also, in NOTIFY XML data is like this. >>>>>>>> >>>>>>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>>>>>> >>>>>>>>> The only time I've ever seen this issue is when its a domain/ip >>>>>>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>>>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>>>>>> to test, check and verify its doing what you think it is. >>>>>>>>> >>>>>>>>> Also out of the box we force the domain to the IP, unless you >>>>>>>>> change it. Doing anything multi-tenant requires your endpoints to behave >>>>>>>>> properly too. >>>>>>>>> >>>>>>>>> /b >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> As I tried, these options are really not est with multi-tenant. >>>>>>>>>> And really, where is device is Subscribed to IP? I don?t see any >>>>>>>>>> IP?s in R-URI or To/From. >>>>>>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>>>>>> device IP and port. >>>>>>>>>> >>>>>>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>>>>>> >>>>>>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>>>>>> >>>>>>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>>>>>> when it search for any subscriptions. >>>>>>>>>>> >>>>>>>>>>> See force-subscription-domain, force-register-domain and >>>>>>>>>>> force-register-db-domain >>>>>>>>>>> >>>>>>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi! >>>>>>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>>>>>> >>>>>>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>>>>>> Record-Route: >>>>>>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>>>>>> Route: >>>>>>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>>>>>> Max-Forwards: 69 >>>>>>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>>>>>> Contact: ;reg-id=1 >>>>>>>>>>>> Event: dialog >>>>>>>>>>>> Accept: application/dialog-info+xml >>>>>>>>>>>> Expires: 80 >>>>>>>>>>>> Content-Length: 0 >>>>>>>>>>>> Path: >>>>>>>>>>> 176.37.91.15:37600> >>>>>>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>>>>>> >>>>>>>>>>>> Actually I get Accepted (202) >>>>>>>>>>>> >>>>>>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>>>>>> >>>>>>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>>> Max-Forwards: 70 >>>>>>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>>>>>> Contact: >>>>>>>>>>>> User-Agent: FreeSWITCH >>>>>>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, >>>>>>>>>>>> UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>>>>>> Supported: path, replaces >>>>>>>>>>>> Event: dialog >>>>>>>>>>>> Allow-Events: talk, hold, conference, presence, >>>>>>>>>>>> as-feature-event, dialog, line-seize, call-info, sla, >>>>>>>>>>>> include-session-description, presence.winfo, message-summary, refer >>>>>>>>>>>> Subscription-State: active;expires=80 >>>>>>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>>>>>> Content-Length: 152 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> version="8" state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>>>>>> registrations for *55 extension. >>>>>>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>>>>>> >>>>>>>>>>>> Internal profile is >>>>>>>>>>>> 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] >>>>>>>>>>>> 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] >>>>>>>>>>>> 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] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> *Brian West* >>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>> >>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> *Brian West* >>>>>>>>> brian at freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>> http://www.freeswitchbook.com >>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>> >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>> >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/90dc575d/attachment-0001.html From mike at jerris.com Thu Mar 10 00:32:01 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 16:32:01 -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> <56D9D0AD.1050506@mst.edu> <56D9E1B7.7040404@mst.edu> Message-ID: <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> sounds like a bug in boost or some sort of misuse.. > On Mar 5, 2016, at 8:46 AM, Chris Mandra wrote: > > 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 > >>> 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 > > > > > > -- > > > > 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/20160309/cfdb18b5/attachment-0001.html From mike at jerris.com Thu Mar 10 00:40:20 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 16:40:20 -0500 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: Looks like you figured a bunch of things out from the comments on stackoverflow. Yes verto should support video fine in 1.6 and master. Are you planning on releasing this code? If so, we would be interested. Mike > On Mar 6, 2016, at 6:48 AM, Shlomi Schwartz wrote: > > 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 > 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 > 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. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160309/34a95f86/attachment-0001.html From mike at jerris.com Thu Mar 10 00:41:46 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 16:41:46 -0500 Subject: [Freeswitch-users] Spanish Say support in freeswitch In-Reply-To: References: Message-ID: its possible there are some bugs, if there are, feel free to send us some pull requests to fix them. We are not native spanish speakers and these were originally contributed by the community, so we depend on them a bit to catch when things are wrong. > On Mar 6, 2016, at 7:50 AM, Ashwin Rath wrote: > > 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 From mike at jerris.com Thu Mar 10 00:49:51 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 16:49:51 -0500 Subject: [Freeswitch-users] 'make' Error: fs_cli-esl.o In-Reply-To: References: Message-ID: <00BDB193-18E2-4E7D-A868-54F610A0E0CC@jerris.com> looks like a bug if you don't have libedit installed... if you file I a bug on jira for me I can take a look at it. After you file that jira, installing libedit will probably resolve this problem, but if you fail to file the jira first, it probably wont :D > On Mar 4, 2016, at 4:25 PM, VM Knott wrote: > > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160309/6b784929/attachment.html From mike at jerris.com Thu Mar 10 00:56:09 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 16:56:09 -0500 Subject: [Freeswitch-users] Windows build In-Reply-To: References: Message-ID: <362E89DA-EE36-42B3-92BE-FF9BE097CD7D@jerris.com> I was building fine on 2015 with v8. I think i need to sort a fix for the lame issue that coppies around some header files or something so they are in the right place or just ifdef the #include but have not had a chance yet. > On Mar 7, 2016, at 2:27 AM, Peter Olsson wrote: > > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160309/4c19db97/attachment-0001.html From mike at jerris.com Thu Mar 10 01:18:52 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 17:18:52 -0500 Subject: [Freeswitch-users] Mod_sms and script to send to Twilio In-Reply-To: References: Message-ID: <540F0ADE-4DA2-46C8-BBA9-0D439E708719@jerris.com> remove the punctuation from the number.... > On Mar 8, 2016, at 1:09 PM, David Rodrigues wrote: > > Thank you. I'm new to the mailing list. I had my mail client set for > html. Perhaps that was the problem. Here is the Python script: > > #/usr/bin/env python > > import re > import pprint > import sys > import urllib > import subprocess > > from freeswitch import * > > ACCOUNTSID = 'my-account-sid' > AUTHTOKEN = 'my-auth-token' > PHONENUMBER = '+my-source-phone-number' > > def chat(message, args): > to_phone = '+1' + re.sub('\D', '', > urllib.unquote(message.getHeader('to_user'))).lstrip('+1') > body = message.getBody() > subprocess.call("curl -X POST > 'https://api.twilio.com/2010-04-01/Accounts/'" + ACCOUNTSID + > "/Messages.json --data-urlencode 'To=" + to_phone + "' > --data-urlencode " + > "'From=+" + PHONENUMBER + "' --data-urlencode 'Body=" + body > + "' -u " + > ACCOUNTSID + ":" + AUTHTOKEN, shell=True) > > Here is my chatplan XML file: > > > > > > > > > > > > > And here is the error (keep in mind that the script actually works > fine. I receive the SMS as expected): > > 2016-03-05 15:17:54.040913 [DEBUG] mod_python.c:286 Finished calling > python script > 2016-03-05 15:17:54.040913 [WARNING] sofia_presence.c:221 Not sending > to local box for (XXX)%CX%A0XXX-XXX at my.sipdomain.com <-- (Note that I > substituted Xs for the actual phone digits just for this post) > 2016-03-05 15:17:54.040913 [ERR] sofia_presence.c:272 Chat proto [sip] > from ["d100" ;tag=0b2cec63] > to [(XXX)%CX%A0XXX-XXX at my.sipdomain.com] > Test sms > Nobody to send to: Profile internal > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mandra at gmail.com Thu Mar 10 02:47:53 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 9 Mar 2016 18:47:53 -0500 Subject: [Freeswitch-users] module question In-Reply-To: <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> 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> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: Hi Michael, it happens with other things too not just boost. things that aren't shared libraries. I'm wondering if this is bc of C++ or my makefile. Am I doing something obviously wrong here as far as freeswitch and my makefile is concerned? Is writing the module in advanced C++ an issue?: **************** include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+= 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 docopt.o: docopt.cpp LOCAL_OBJS+= ladspa_strategy.o strategy.o dsp_strategy.o load.o param_strategy.o docopt.o local_depend: $(LOCAL_OBJS) ARCH := $(shell getconf LONG_BIT) *************** If I load the module - even if I don't invoke the code - it doesn't unload. Having to restart FS each time I'm trying something is taking a lot of time. thanks, chris On Wednesday, March 9, 2016, Michael Jerris wrote: > sounds like a bug in boost or some sort of misuse.. > > On Mar 5, 2016, at 8:46 AM, Chris Mandra wrote: > > 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 > 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 >> > > >> > > >> > > >');>> >> 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> >> > > 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 > 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 >> > > > >> >> > > > > >> > > >> > > > > >> 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 > 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 >> > > > 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 < >> tel:%28573%29%20612-1412 <%28573%29%20612-1412>> >> > > > >> > > > > <%28573%29%20612-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> >> > <410.258.5281> > >> > > > <410.258.5281>>>> > <410.258.5281>> >> > >>> >> > > > > > >> > > > > > >> > > > > > >> > > > > > -- >> > > > > > mandra >> > > > > > c: >> 410.258.5281 > > <410.258.5281> >> > <410.258.5281> > >> > > > <410.258.5281>>>> > <410.258.5281>> >> > >>> >> > > > > > >> > > > > > >> > > > > > >> > > > > > -- >> > > > > > mandra >> > > > > > c: >> 410.258.5281 > > <410.258.5281> >> > <410.258.5281> > >> > > > <410.258.5281>>>> > <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 >> > > 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 < >> tel:410.258.5281 <410.258.5281>> >> > >> >> > < >> tel: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 >> > > < >> tel:%28573%29%20612-1412 <%28573%29%20612-1412>> < >> tel:%28573%29%20612-1412 <%28573%29%20612-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 < >> tel:410.258.5281 <410.258.5281>> < >> tel: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 >> > >> > > < >> tel:%28573%29%20612-1412 <%28573%29%20612-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> >> > > FreeSWITCH-users at 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>> > <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>> >> > > > >> 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>> > <410.258.5281>>> >> > > > >> > > > >> > > > >> > > > -- >> > > > mandra >> > > > > > -- >> > > > mandra >> > > > c:410.258.5281 > < >> tel:410.258.5281 <410.258.5281> > > > > >> > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/da3193ae/attachment-0001.html From gregor at infomedia.si Thu Mar 10 02:56:49 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Thu, 10 Mar 2016 00:56:49 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: <362E89DA-EE36-42B3-92BE-FF9BE097CD7D@jerris.com> References: <362E89DA-EE36-42B3-92BE-FF9BE097CD7D@jerris.com> Message-ID: Michael, did you build latest branch or 1.6 version? 2016-03-09 22:56 GMT+01:00 Michael Jerris : > I was building fine on 2015 with v8. I think i need to sort a fix for the > lame issue that coppies around some header files or something so they are > in the right place or just ifdef the #include but have not had a chance yet. > > On Mar 7, 2016, at 2:27 AM, Peter Olsson wrote: > > 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 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160310/641d3c6a/attachment-0001.html From mike at jerris.com Thu Mar 10 03:56:44 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 19:56:44 -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 have to double check, but this may leak memory... > On 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/20160309/42e1400b/attachment-0001.html From mike at jerris.com Thu Mar 10 03:59:25 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 19:59:25 -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> <56D9D0AD.1050506@mst.edu> <56D9E1B7.7040404@mst.edu> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: Nothing i can see wrong in the makefile. We have modules that use C++ that work fine, although i have never seen anyone refer to something called "advanced C++" so not sure exactly what that is. > On Mar 9, 2016, at 6:47 PM, Chris Mandra wrote: > > Hi Michael, > it happens with other things too not just boost. things that aren't shared libraries. I'm wondering if this is bc of C++ or my makefile. Am I doing something obviously wrong here as far as freeswitch and my makefile is concerned? Is writing the module in advanced C++ an issue?: > > **************** > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+= > > 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 > > docopt.o: docopt.cpp > > LOCAL_OBJS+= ladspa_strategy.o strategy.o dsp_strategy.o load.o param_strategy.o docopt.o > > local_depend: $(LOCAL_OBJS) > > ARCH := $(shell getconf LONG_BIT) > > *************** > > If I load the module - even if I don't invoke the code - it doesn't unload. Having to restart FS each time I'm trying something is taking a lot of time. > > thanks, > chris > > > On Wednesday, March 9, 2016, Michael Jerris > wrote: > sounds like a bug in boost or some sort of misuse.. > >> On Mar 5, 2016, at 8:46 AM, Chris Mandra > wrote: >> >> 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 > >>> 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 >> > > > > > -- >> > > > 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/20160309/954ee868/attachment-0001.html From mike at jerris.com Thu Mar 10 04:00:11 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 9 Mar 2016 20:00:11 -0500 Subject: [Freeswitch-users] Windows build In-Reply-To: References: <362E89DA-EE36-42B3-92BE-FF9BE097CD7D@jerris.com> Message-ID: <2E83D3FA-8E93-4E96-9B97-4BCDFE9599D2@jerris.com> It would have been master when I got the 2015 build system working, all of that work would be in 1.6 branch now. > On Mar 9, 2016, at 6:56 PM, Gregor Nanger wrote: > > Michael, did you build latest branch or 1.6 version? > > 2016-03-09 22:56 GMT+01:00 Michael Jerris >: > I was building fine on 2015 with v8. I think i need to sort a fix for the lame issue that coppies around some header files or something so they are in the right place or just ifdef the #include but have not had a chance yet. > >> On Mar 7, 2016, at 2:27 AM, Peter Olsson > wrote: >> >> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160309/0a34bc97/attachment-0001.html From william.king at quentustech.com Thu Mar 10 04:19:47 2016 From: william.king at quentustech.com (William King) Date: Wed, 9 Mar 2016 17:19:47 -0800 Subject: [Freeswitch-users] mod_amqp for Windows In-Reply-To: References: Message-ID: <56E0CBB3.3060105@quentustech.com> If you have the dependency installed/available for librabbitmq-dev then the module 'should' work. Let me know how it goes for you. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king at quentustech.com On 2/25/16 3:05 AM, Gregor Nanger wrote: > Hi! > > Does anybody knows if module mod_amqp is available for windows if I > build by myself? > > 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 denis.papes at zg.t-com.hr Thu Mar 10 08:59:57 2016 From: denis.papes at zg.t-com.hr (Shishko) Date: Thu, 10 Mar 2016 06:59:57 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> References: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> Message-ID: <56E10D5D.1000303@zg.t-com.hr> Hi Harald, what did you do to build libv8 and mod_v8? I tried with VS2015 Update 1, branch 1.6, but to no avail. Thanks On 03/07/2016 08:20 AM, Harald Petrovitsch wrote: > > 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 > v**on *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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160310/4a1ccd26/attachment-0001.html From Alexander.Haugg at c4b.de Thu Mar 10 09:38:15 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Thu, 10 Mar 2016 06:38:15 +0000 Subject: [Freeswitch-users] mod_logfile change logging path on windows In-Reply-To: <00c401d17944$3a2cda10$ae868e30$@botecomm.com> References: <00c401d17944$3a2cda10$ae868e30$@botecomm.com> Message-ID: Reload mod_logfile call reloadxml automatically! I'd check the freeswitch.xml.fsxml, and the changes are in use. My question is: what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. What for a path string format is in a windows environment expected for 1. write the log on to another partition on the same machine? 2. Write the log on to another computer or shared filesystem in the network? I tried: d:\foo\bar, d:/foo/bar, \\hostname\foo\bar, file:///hostname/foo/bar Thanks a lot Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Bote Man Gesendet: Dienstag, 8. M?rz 2016 15:10 An: 'FreeSWITCH Users Help' Betreff: Re: [Freeswitch-users] mod_logfile change logging path on windows reloadxml To tell FS to read the latest version of XML config files into working memory. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Alexander Haugg Sent: Tuesday, 08 March, 2016 05:00 Subject: [Freeswitch-users] mod_logfile change logging path on windows Hi, what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/5d54be17/attachment.html From shlomis at liveperson.com Thu Mar 10 10:00:26 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Thu, 10 Mar 2016 09:00:26 +0200 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: I will, once it's done On Wed, Mar 9, 2016 at 11:40 PM, Michael Jerris wrote: > Looks like you figured a bunch of things out from the comments on > stackoverflow. Yes verto should support video fine in 1.6 and master. Are > you planning on releasing this code? If so, we would be interested. > > Mike > > On Mar 6, 2016, at 6:48 AM, Shlomi Schwartz > wrote: > > 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 < >>>> shlomis at liveperson.com> 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. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160310/72a39482/attachment-0001.html From Alexander.Haugg at c4b.de Thu Mar 10 10:05:04 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Thu, 10 Mar 2016 07:05:04 +0000 Subject: [Freeswitch-users] mod_logfile change logging path on windows In-Reply-To: References: <00c401d17944$3a2cda10$ae868e30$@botecomm.com> Message-ID: OK, the question was a bit stupid, sorry! With a consequent changing from "\" to "/" it works successfully Examples /foo/bar.log -> same partition like the fs is running D:/foo/bar.log -> other partition //fileshare/foo/bar.log -> windows file share //computername/foo/bar.log -> other windows machine Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Alexander Haugg Gesendet: Donnerstag, 10. M?rz 2016 07:38 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] mod_logfile change logging path on windows Reload mod_logfile call reloadxml automatically! I'd check the freeswitch.xml.fsxml, and the changes are in use. My question is: what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. What for a path string format is in a windows environment expected for 1. write the log on to another partition on the same machine? 2. Write the log on to another computer or shared filesystem in the network? I tried: d:\foo\bar, d:/foo/bar, \\hostname\foo\bar, file:///hostname/foo/bar Thanks a lot Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Bote Man Gesendet: Dienstag, 8. M?rz 2016 15:10 An: 'FreeSWITCH Users Help' > Betreff: Re: [Freeswitch-users] mod_logfile change logging path on windows reloadxml To tell FS to read the latest version of XML config files into working memory. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Alexander Haugg Sent: Tuesday, 08 March, 2016 05:00 Subject: [Freeswitch-users] mod_logfile change logging path on windows Hi, what is to do to change the log folder to d:, or to a windows file share, or another computer? I try some string formats and file urls and complete my changes with reload mod_logfile, but my changes in the "logfile" property will ignored. Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/e70cbbd5/attachment.html From piotrek.gregor at gmail.com Thu Mar 10 14:42:39 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Thu, 10 Mar 2016 11:42:39 +0000 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> <56D9E1B7.7040404@mst.edu> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: Chris, could you show us the output of g++ -v please? cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/8de8ddba/attachment.html From italo at freeswitch.org Thu Mar 10 15:03:47 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Thu, 10 Mar 2016 04:03:47 -0800 (PST) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt! Message-ID: <17jwydfp7zcbnr19inxmmwakp-0@mailer.nylas.com> FreeSWITCHers, Join us TODAY 2PM CST for the Thursday FreeSWITCH Bug Hunt! Where? [conference.freeswitch.org/vc/#/?autocall=888](https://conference.frees witch.org/vc/#/?autocall=888 "https://conference.freeswitch.org/vc/#/?autocall=888" ) What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! Help us help you, Join the Bug Hunt! ?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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/9eab8773/attachment.html From mandra at gmail.com Thu Mar 10 15:43:54 2016 From: mandra at gmail.com (Chris Mandra) Date: Thu, 10 Mar 2016 07:43:54 -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> <56D9D0AD.1050506@mst.edu> <56D9E1B7.7040404@mst.edu> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: Hi Piotr, here you go: g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 4.9.2-10) On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor wrote: > Chris, > could you show us the output of > g++ -v > please? > > cheers, > Piotr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160310/bb503df1/attachment-0001.html From piotrek.gregor at gmail.com Thu Mar 10 17:15:06 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Thu, 10 Mar 2016 14:15:06 +0000 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> <56D9E1B7.7040404@mst.edu> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: Hi Chris, -fpermissive flag might hide some nasty errors. It is described as: "Downgrade some diagnostics about nonconformant code from errors to warnings. Thus, using -fpermissive allows some nonconforming code to compile." Will your module compile without -fpermissive flag? cheers, Piotr On 10 March 2016 at 12:43, Chris Mandra wrote: > Hi Piotr, here you go: > > g++ -v > > Using built-in specs. > > COLLECT_GCC=g++ > > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper > > Target: x86_64-linux-gnu > > Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' > --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs > --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr > --program-suffix=-4.9 --enable-shared --enable-linker-build-id > --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix > --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls > --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug > --enable-libstdcxx-time=yes --enable-gnu-unique-object > --disable-vtable-verify --enable-plugin --with-system-zlib > --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre > --enable-java-home > --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 > --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 > --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar > --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 > --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic > --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu > --target=x86_64-linux-gnu > > Thread model: posix > > gcc version 4.9.2 (Debian 4.9.2-10) > > On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor > wrote: > >> Chris, >> could you show us the output of >> g++ -v >> please? >> >> cheers, >> Piotr >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- Piotr Gregor ----------------------------------------------------------------------------- mobile: 00447503707797 ------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/dca197a9/attachment.html From mike at jerris.com Thu Mar 10 17:35:52 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Mar 2016 09:35:52 -0500 Subject: [Freeswitch-users] mod_amqp for Windows In-Reply-To: <56E0CBB3.3060105@quentustech.com> References: <56E0CBB3.3060105@quentustech.com> Message-ID: we don't currently have any build system for the library or the module but I'd be happy to review a contribution of that work On Wednesday, March 9, 2016, William King wrote: > If you have the dependency installed/available for librabbitmq-dev then > the module 'should' work. Let me know how it goes for you. > > William King > Senior Engineer > Quentus Technologies, INC > 1037 NE 65th St Suite 273 > Seattle, WA 98115 > Main: (877) 211-9337 > Office: (206) 388-4772 > Cell: (253) 686-5518 > william.king at quentustech.com > > On 2/25/16 3:05 AM, Gregor Nanger wrote: > > Hi! > > > > Does anybody knows if module mod_amqp is available for windows if I > > build by myself? > > > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/2e8a6212/attachment.html From mike at jerris.com Thu Mar 10 17:36:44 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Mar 2016 09:36:44 -0500 Subject: [Freeswitch-users] MOD_VERTO Documentation In-Reply-To: References: <79D4A5B8-AA98-49D8-953C-0B5B11BFDF0B@jerris.com> Message-ID: sounds great. Let me know when you get to that point and I can work on setting up where we will store this in a repo On Thursday, March 10, 2016, Shlomi Schwartz wrote: > I will, once it's done > > On Wed, Mar 9, 2016 at 11:40 PM, Michael Jerris > wrote: > >> Looks like you figured a bunch of things out from the comments on >> stackoverflow. Yes verto should support video fine in 1.6 and master. Are >> you planning on releasing this code? If so, we would be interested. >> >> Mike >> >> On Mar 6, 2016, at 6:48 AM, Shlomi Schwartz > > wrote: >> >> 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 < >>>>> shlomis at liveperson.com >>>>> > 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. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160310/822ee2a7/attachment-0001.html From mike at jerris.com Thu Mar 10 17:38:06 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Mar 2016 09:38:06 -0500 Subject: [Freeswitch-users] mod_logfile change logging path on windows In-Reply-To: References: <00c401d17944$3a2cda10$ae868e30$@botecomm.com> Message-ID: These should both work d:\foo\bar, d:/foo/bar On Thursday, March 10, 2016, Alexander Haugg wrote: > Reload mod_logfile call reloadxml automatically! > > I?d check the freeswitch.xml.fsxml, and the changes are in use. > > > > My question is: > > what is to do to change the log folder to d:, or to a windows file share, > or another computer? > > I try some string formats and file urls and complete my changes with > reload mod_logfile, > > but my changes in the ?logfile? property will ignored. > > > > What for a path string format is in a windows environment expected for > > 1. write the log on to another partition on the same machine? > > 2. Write the log on to another computer or shared filesystem in the > network? > > > > I tried: d:\foo\bar, d:/foo/bar, \\hostname\foo\bar, > file:///hostname/foo/bar > > > > Thanks a lot > > > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] > *Im Auftrag von *Bote Man > *Gesendet:* Dienstag, 8. M?rz 2016 15:10 > *An:* 'FreeSWITCH Users Help' > > *Betreff:* Re: [Freeswitch-users] mod_logfile change logging path on > windows > > > > reloadxml > > > > To tell FS to read the latest version of XML config files into working > memory. > > > > > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Alexander Haugg > *Sent:* Tuesday, 08 March, 2016 05:00 > *Subject:* [Freeswitch-users] mod_logfile change logging path on windows > > > > Hi, > > > > what is to do to change the log folder to d:, or to a windows file share, > or another computer? > > I try some string formats and file urls and complete my changes with > reload mod_logfile, > > but my changes in the ?logfile? property will ignored. > > > > Thanks a lot! > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/7e02437e/attachment.html From fabiomargarido at gmail.com Wed Mar 9 21:02:01 2016 From: fabiomargarido at gmail.com (Fabio Margarido) Date: Wed, 09 Mar 2016 18:02:01 +0000 Subject: [Freeswitch-users] Disable picture_fast_update INFO requests Message-ID: Hi there. I'm trying a scenario in which FreeSWITCH sits between a WebRTC endpoint and an IMS network, performing media conversion. When a call is established, FS starts to send INFO requests with an application/media_control+xml body related to RFC 5168. The WebRTC endpoint always responds with 415 Unsupported Media Type (the web application uses sip.js) and the IMS network sometimes responds with 500 Server Internal Error. The problem I have is that FS sends that request every second to both sides and keeps doing so for as long as the call is answered. My question is whether it would stop or at least scale down the frequency if both sides replied with 200 OK, or alternatively if there is a way to disable the sending of these requests. I've looked at the documentation and the mailing list history but couldn't find anything conclusive. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/72aeb16a/attachment.html From mike at jerris.com Thu Mar 10 17:47:38 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Mar 2016 09:47:38 -0500 Subject: [Freeswitch-users] JIRA In-Reply-To: References: Message-ID: I'll be there to help then. If not you can contact me directly on hipchat if you have questions, I'm usually awake from 7am-12am gmt-5 On Wednesday, March 9, 2016, Brian West wrote: > It would be best to show up at the Thursday bug hunt we are bringing back, > It would be the best place to interact and ask these questions so we can > move issues thru the resolution process faster. > > On Wed, Mar 9, 2016 at 12:57 PM, Sergey Safarov > wrote: > >> Brian are is possible view list of opened and resolved jiras where >> required skils of linux server admins? >> For simple jiras I can create PR. >> >> Also i want request help of C-programers to fix FS-7575 >> , Required minor changes in >> configure.ac and Makefiles of radius related modules. >> >> On Wed, Mar 9, 2016 at 8:29 PM, Brian West > > wrote: >> >>> FreeSWITCHers, >>> >>> FYI If I close an old JIRA you still care about, by all means REOPEN IT, >>> be attentive and help drive it thru the process, I thank everyone for >>> opening JIRAs on issues, but you'll need to provide assistance to push them >>> over the finish line. >>> >>> Thanks, >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160310/c14a3646/attachment-0001.html From mike at jerris.com Thu Mar 10 17:48:27 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 10 Mar 2016 09:48:27 -0500 Subject: [Freeswitch-users] Empty SDP in 200 OK on received re-invite while faxing with T.38 In-Reply-To: References: Message-ID: also make sure you are testing latest master, we fixed some fax issues last week On Wednesday, March 9, 2016, Brian West wrote: > Ok, without some logs, or traces I can only guess here, happen to have > those handy in a pastebin? > > On Wed, Mar 9, 2016 at 4:59 AM, Dmitry Saratsky > wrote: > >> Hi all, >> >> I found that some of my faxes failed to be sent/received bcz remote PBX >> drop the calls after my FreeSWITCH send empty (without SDP) 200 OK message >> on received re-invite from remote party while sending or receiving fax with >> T.38. >> >> CLIENT > INVITE (G.711) > FS >> FS > 200 OK > CLIENT >> CLIENT > INVITE (T.38) > FS >> FS > 200 OK > CLEINT >> ... >> now receiving fax >> while fax is received, client send me reinvite with the same SDP T.38 >> details as in initial T.38 INVITE message. usually it happens after 900 or >> 1800 seconds - probably it kind of keepalive... >> FS > 200 OK (with no SDP) > CLEINT >> now call is dropped( >> >> freeswitch: Version 1.5.15b git 3d64402 2015-03-21 19:55:21Z 64bit >> centos 6 x64 >> >> any ideas? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160310/fd939723/attachment.html From mandra at gmail.com Thu Mar 10 19:32:23 2016 From: mandra at gmail.com (Chris Mandra) Date: Thu, 10 Mar 2016 11:32:23 -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> <56D9D0AD.1050506@mst.edu> <56D9E1B7.7040404@mst.edu> <401F3406-FA7C-430A-A8BC-C39DF816ED8E@jerris.com> Message-ID: I'll let you know what I find with the fpermissive flag removed. Is there anything special I need to do if I'm if I'm writing module in C++, for instance do I need to explicitly use swig or something? Is there a set of predefined variables and directives or best practices that I should be following for this? Thanks, Chris On Thursday, March 10, 2016, Piotr Gregor wrote: > Hi Chris, > -fpermissive flag might hide some nasty errors. It is described as: > "Downgrade some diagnostics about nonconformant code from errors to > warnings. Thus, using -fpermissive allows some nonconforming code to > compile." > Will your module compile without -fpermissive flag? > > cheers, > Piotr > > > On 10 March 2016 at 12:43, Chris Mandra > wrote: > >> Hi Piotr, here you go: >> >> g++ -v >> >> Using built-in specs. >> >> COLLECT_GCC=g++ >> >> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper >> >> Target: x86_64-linux-gnu >> >> Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' >> --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs >> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr >> --program-suffix=-4.9 --enable-shared --enable-linker-build-id >> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix >> --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls >> --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug >> --enable-libstdcxx-time=yes --enable-gnu-unique-object >> --disable-vtable-verify --enable-plugin --with-system-zlib >> --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo >> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre >> --enable-java-home >> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 >> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 >> --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar >> --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 >> --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic >> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu >> --target=x86_64-linux-gnu >> >> Thread model: posix >> >> gcc version 4.9.2 (Debian 4.9.2-10) >> >> On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor > > wrote: >> >>> Chris, >>> could you show us the output of >>> g++ -v >>> please? >>> >>> cheers, >>> Piotr >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > Piotr Gregor > > > ----------------------------------------------------------------------------- > mobile: 00447503707797 > > ------------------------------------------------------------------------------ > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/58a6ce0d/attachment.html From govoiper at gmail.com Thu Mar 10 21:18:01 2016 From: govoiper at gmail.com (SamyGo) Date: Thu, 10 Mar 2016 13:18:01 -0500 Subject: [Freeswitch-users] FreeSwitch AMQP Question In-Reply-To: <56E091D8.8030707@quentustech.com> References: <56E091D8.8030707@quentustech.com> Message-ID: Thanks William for taking out time to send a detailed reply. I am exploring a scaleable callcentre solution and came across AMQP as an excellent alternative to the external application managing the call flow. I looked further inside the mod_callcentre.c and yeah I see that events are just sent only which means that sharing events is not enough and we might additionally need to send commands so the FS servers can actually do some action. *Regarding ODBC:* I have question about Shared ODBC between mod_callcenter, I do see that this module do alot of SQL queries to work, but is that shared ODBC enough to make all FS servers act as one big callcenter ? Last time I read people still had problems with this. I also see "single_box" value hard coded in System-type field and I do see "multi_box" related discussions stating that this is a future goal. The Problem I've heard so far is that when an agent state is changed in one FS rest of the FS servers might not be aware of the changed DB value(as they might've pulled older status) This may be very visible in large call volume. I maybe wrong but this is what I've understood so far. I also think that if I modify the mod_callcenter.c file such that instead of making DB connections if it could all be shifted to a memcache mechanism then it may perform a little bit better. *Regarding AMQP:* I took help from this page: https://quentustech.com/rabbitmq-support-in-freeswitch.html and this is what I did: 1 - Started RabbitMQ Server 2 - Configured two FS servers with mod_amqp pointing to server in 1. 3 - Use the perl scripts mentioned on the above page to listen to events. The amqp_command.pl script lets me send a command to ALL of the FS Server. It was clear to me that a RabbitMQ based approach lets me read on events and also lets me send commands to servers without doing a huge programming effort. Next step to do would be to configure each FS server to bind to its unique virtualhost for commands (or use unique binding_key). Then listen to calls+callcenter events from ALL the FS Servers, and based on whatever logic send commands to FS servers such that if an EVENT occurs stating an agent is taking call, send command to rest of the FS servers to mark that agent as "Busy". Let me know your thoughts on this. Best Regards. Sammy On Mar 9, 2016 16:13, "William King" wrote: > Sammy, > > Great question. mod_amqp has several different profile types: producer, > commands, logging, and consumer(not yet implemented). The producer > profile type only sends FS events to an amqp exchange(though you can > configure multiple profiles with different event bindings and > destination exchanges). > > To achieve what you're talking about would require mod_amqp profiles to > subscribe and consume events from an amqp exchange, and then > process/fire those events locally. > > Now the second way to handle what you're describing would be to have the > different FS servers configured so that the modules use the same DB > info, so that they're all looking at the same DB state. This would not > require amqp to consume and process the events. > > William King > Senior Engineer > Quentus Technologies, INC > 1037 NE 65th St Suite 273 > Seattle, WA 98115 > Main: (877) 211-9337 > Office: (206) 388-4772 > Cell: (253) 686-5518 > william.king at quentustech.com > > On 3/3/16 10:52 AM, SamyGo wrote: > > 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 > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20160310/61eda26c/attachment-0001.html From lists at kavun.ch Thu Mar 10 22:36:33 2016 From: lists at kavun.ch (Emrah) Date: Thu, 10 Mar 2016 20:36:33 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH Message-ID: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> Hi all, I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. I hope this message can be the starting point of a fruitful resolution process. Thank you if you?ve read this up to here. Now hit reply and give me your 2 cents! :) Best, Emrah From krice at freeswitch.org Thu Mar 10 22:42:32 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 10 Mar 2016 13:42:32 -0600 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> Message-ID: <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> Are you sure you are sending this over TCP/TLS? This sounds like its really using UDP... TCP automatically does packet reassembly, UDP does not. The behavior you described sounds suspiciously like you are using UDP instead of TCP/TLS -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah Sent: Thursday, March 10, 2016 1:37 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] SSL implementation in FreeSWITCH Hi all, I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. I hope this message can be the starting point of a fruitful resolution process. Thank you if you?ve read this up to here. Now hit reply and give me your 2 cents! :) Best, Emrah _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 italo at freeswitch.org Thu Mar 10 23:30:13 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Thu, 10 Mar 2016 12:30:13 -0800 (PST) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt! In-Reply-To: <17jwydfp7zcbnr19inxmmwakp-0@mailer.nylas.com> References: <17jwydfp7zcbnr19inxmmwakp-0@mailer.nylas.com> Message-ID: <7sr8fls7zluhw21xyfkwgkj1-0@mailer.nylas.com> If you reopened any JIRA we closed these days please also reopen the Pull Requests. Also, update the logs attached with latest master ?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 10 2016, at 9:03 am, ?talo Rossi <italo at freeswitch.org> wrote: > > FreeSWITCHers, > > > > Join us TODAY 2PM CST for the Thursday FreeSWITCH Bug Hunt! > > > > Where? [conference.freeswitch.org/vc/#/?autocall=888](https://conference.fre eswitch.org/vc/#/?autocall=888 "https://conference.freeswitch.org/vc/#/?autocall=888" ) > > > > What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! > > > > Help us help you, Join the Bug Hunt! > > ?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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/de3b1c76/attachment.html From abaci64 at gmail.com Fri Mar 11 00:21:06 2016 From: abaci64 at gmail.com (Abaci B) Date: Thu, 10 Mar 2016 16:21:06 -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 would expect to be able to exit from a lua script without a while loop, should I open a feature request on Jira for that? On Wed, Mar 9, 2016 at 1:20 AM, Chad Phillips wrote: > Andrew, > > Curious if this structure will work at the bottom of either a a Lua script > or Lua function: > > do > return "exit" > end > > I seem to recall that being a trick that helped for weird 'return' cases. > > Chad > > On Tue, Mar 8, 2016 at 12:54 PM, Andrew Keil > wrote: > >> Michael, >> >> >> >> I have just run some more tests and you are correct that calling it >> inside a while loop like what you explained below does work outside of the >> hangup hook handler. Thanks for providing this extra information. >> >> >> >> It should be noted that it does not work on its own simply at the bottom >> of a Lua function (ie. as the last statement without a while loop) - >> except as the last statement inside the hangup hook function. >> >> >> >> ie. This works: >> >> ---------------------------------------------------------------- >> >> >> >> >> >> function CleanUp() >> >> freeswitch.consoleLog("CLEANUP SECTION\n") >> >> freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") >> >> end >> >> >> >> function myHangupHook(s, status, arg) >> >> freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) >> >> session:hangup() >> >> -- Run CleanUp function now since the caller has >> disconnected >> >> CleanUp() >> >> -- Abort Lua script here to avoid returning to >> MainService() >> >> return "exit" >> >> end >> >> -- Setup Hangup event handler here >> >> v_hangup = "HANGUP" >> >> session:setHangupHook("myHangupHook", "v_hangup") >> >> >> >> Whereas this does not work: >> >> ---------------------------------------------------------------- >> >> >> >> function CleanUp() >> >> freeswitch.consoleLog("CLEANUP SECTION\n") >> >> freeswitch.consoleLog("CLEANUP SECTION COMPLETE\n") >> >> return "exit" >> >> end >> >> >> >> function myHangupHook(s, status, arg) >> >> freeswitch.consoleLog(string.format("%s DETECTED\n",arg)) >> >> session:hangup() >> >> -- Run CleanUp function now since the caller has >> disconnected >> >> CleanUp() >> >> end >> >> -- Setup Hangup event handler here >> >> v_hangup = "HANGUP" >> >> session:setHangupHook("myHangupHook", "v_hangup") >> >> >> >> Regards, >> >> >> >> Andrew >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael >> Collins >> *Sent:* Saturday, 5 March 2016 8:11 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 >> >> >> >> >> >> >> >> 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 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160310/01aa7eb9/attachment-0001.html From bhavikpatel14388 at gmail.com Fri Mar 11 07:19:26 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Fri, 11 Mar 2016 09:49:26 +0530 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Can anyone please suggest me for this issue ? On Mon, Mar 7, 2016 at 6:18 PM, bhavik patel wrote: > I did try with PCMA:PCMU and getting same result. > > PFA > > On Mon, Mar 7, 2016 at 5:58 PM, Gregor Nanger wrote: > >> I guess that there is something with codec. As I see it select g729. Try >> to force PCMA:PCMU for test. >> >> 2016-03-07 13:01 GMT+01:00 bhavik patel : >> >>> 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 < >>>>> bhavikpatel14388 at gmail.com> 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 >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > Thanks, > Bhavik Patel > > -- Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160311/c3f2feee/attachment.html From mgg at giagnocavo.net Fri Mar 11 08:14:54 2016 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Fri, 11 Mar 2016 05:14:54 +0000 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> Message-ID: Can you do TCP without TLS and pcap it? Or pcap the TLS and provide the key (if no PFS)? -Michael -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah Sent: Thursday, 10 March, 2016 13:37 To: FreeSWITCH Users Help Subject: [Freeswitch-users] SSL implementation in FreeSWITCH Hi all, I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. I hope this message can be the starting point of a fruitful resolution process. Thank you if you?ve read this up to here. Now hit reply and give me your 2 cents! :) Best, Emrah _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 s.safarov at gmail.com Fri Mar 11 08:49:11 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 11 Mar 2016 05:49:11 +0000 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> Message-ID: If want send TLS+encryption key check that RSA encryption is used. Some other encryption may not allow decryption. On Fri, Mar 11, 2016, 08:15 Michael Giagnocavo wrote: > Can you do TCP without TLS and pcap it? Or pcap the TLS and provide the > key (if no PFS)? > -Michael > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah > Sent: Thursday, 10 March, 2016 13:37 > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH > > Hi all, > I?m writing to document where I?m at with my issues with FreeSWITCH and > SSL / TLS and share my conclusions so far. > I am hoping that this can give lieu to some further testing in different > environments, and a proper fix if a bug is indeed confirmed. > > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows > sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. > > What I?ve observed is that in a sequence where client sens an invite to > FS; FS responds with 407 proxy authorization required; client sends ack; > Client sends the invite with the digest auth. > > The last packet can easily exceed the max segment size of a TCP segment, > typically if the SDP advertises a bunch of codecs, or if the client uses > SRTP and the SAVP contains many crypto suites. > > Now, when this occurs, the packets should be sent fragmented so they can > fit in the MTU. It is then up to the receiving end to reassemble the > segments and feed the complete packet to the application layer. > > What I?ve noticed is that a packet that is too large is simply never > received by FreeSWITCH. Since this is systematically the case with every > software and hardware client I?ve used, I am drawn to think that the issue > lies in the SSL implementation of FreeSWITCH. > > In the event that for some reason my network or server OS configuration > may be behind this, I would appreciate if someone would be willing to share > some SIP credentials that can let me test TLS and SRTP. If getting to the > bottom of this is of interest to any of you, I?d obviously be keen on > handing out a couple of accounts. > > I hope this message can be the starting point of a fruitful resolution > process. > > Thank you if you?ve read this up to here. Now hit reply and give me your 2 > cents! :) > > Best, > Emrah > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160311/a7f99195/attachment-0001.html From Harald.Petrovitsch at sermotec.at Fri Mar 11 09:32:31 2016 From: Harald.Petrovitsch at sermotec.at (Harald Petrovitsch) Date: Fri, 11 Mar 2016 06:32:31 +0000 Subject: [Freeswitch-users] Windows build In-Reply-To: <56E10D5D.1000303@zg.t-com.hr> References: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> <56E10D5D.1000303@zg.t-com.hr> Message-ID: <38494249596647c6a08591eca41e3000@imladris.sermotec.local> Hi Gregor, I only do a Git.exe clone ?bv1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git . Loaded the solution into vs2015, set configuration Win32 / Release and press f7 (need to do it two times) The build ended with ========== Build: 20 succeeded, 0 failed, 157 up-to-date, 15 skipped ========== I?ve attached a list of the generated mod folder Regards Harald Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Shishko Gesendet: Donnerstag, 10. M?rz 2016 07:00 An: freeswitch-users at lists.freeswitch.org Betreff: Re: [Freeswitch-users] Windows build Hi Harald, what did you do to build libv8 and mod_v8? I tried with VS2015 Update 1, branch 1.6, but to no avail. Thanks On 03/07/2016 08:20 AM, Harald Petrovitsch wrote: 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160311/47970663/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mod_list.txt Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160311/47970663/attachment-0001.txt From italo at freeswitch.org Fri Mar 11 14:47:22 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Fri, 11 Mar 2016 03:47:22 -0800 (PST) Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Your SDP doesn't contain audio codecs, you're setting absolute_codec_string wrong,it should be absolute_codec_string=^^:G729:PCMA:PCMU:opus You missed the ':' as the separator being used in the array. 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_xxx xxxxxx30/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 ?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 11 2016, at 1:22 am, bhavik patel <bhavikpatel14388 at gmail.com> wrote: > > Can anyone please suggest me for this issue ? > > > > On Mon, Mar 7, 2016 at 6:18 PM, bhavik patel <[bhavikpatel14388 at gmail.com](mailto:bhavikpatel14388 at gmail.com)> wrote: > >> I did try with PCMA:PCMU and getting same result. >> >> PFA >> >> >> >> On Mon, Mar 7, 2016 at 5:58 PM, Gregor Nanger <[gregor at infomedia.si](mailto:gregor at infomedia.si)> wrote: >> >>> I guess that there is something with codec. As I see it select g729. Try to force PCMA:PCMU for test. >>> >>> ![](http://t.sidekickopen42.com/e1t/o/5 /f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q- f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=0b454f0f-fd18-4b0b-a5ee- 1c28ad8aae70) >>> >>> >>> >>> 2016-03-07 13:01 GMT+01:00 bhavik patel <[bhavikpatel14388 at gmail.com](mailto:bhavikpatel14388 at gmail.com)>: >>> >>>> 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 <[bhavikpatel14388 at gmail.com](mailto:bhavikpatel14388 at gmail.com)> 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 <[italo at freeswitch.org](mailto:italo at freeswitch.org)> wrote: >>>>> >>>>>> Have you tried setting media_mix_inbound_outbound_codec=true ? >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Mar 3, 2016 at 4:09 AM, bhavik patel <[bhavikpatel14388 at gmail.com](mailto:bhavikpatel14388 at gmail.com)> 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 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](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: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> \-- >>>>>> >>>>>> ?talo Rossi >>>>>> >>>>>> [italo at freeswitch.org](mailto:italo at freeswitch.org) >>>>>> >>>>>> _________________________________________________________________________ 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: >>>>> >>>>> \-- >>>>> >>>>> Thanks, Bhavik Patel >>>> >>>> \-- >>>> >>>> Thanks, Bhavik Patel >>>> >>>> _________________________________________________________________________ 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: >>> >>> >>> >>> >>> >>> \-- >>> >>> 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](http://www.infomedia.si) >>> ---|--- >>> >>> _________________________________________________________________________ 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: >> >> \-- >> >> Thanks, Bhavik Patel > > \-- > > Thanks, Bhavik Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160311/64a82728/attachment-0001.html From lists at kavun.ch Sat Mar 12 00:57:12 2016 From: lists at kavun.ch (Emrah) Date: Fri, 11 Mar 2016 22:57:12 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> Message-ID: Hi there, I am using TLS over TCP for sure. I spent a significant amount of time inspecting this and UDP is only used for the RTP stream. People have reported issues with Polycom phones where the TLS thread crashes when the SDP is overloaded. http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 This is not just a Polycom issue, and doesn?t seem to be happening with other SIP servers. Many times, because the client doesn?t get a response, it sends the packets over and over and eventually times out. I doubt that the same SIP stack is used across Polycom, Yealink, Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session in TCP since I can?t share the private key of the SSL certificate. Is someone willing to provide me with a SIP account where I can test TLS connections with SRTP enabled? An Echo test is enough. Thanks > On Mar 10, 2016, at 8:42 PM, Ken Rice wrote: > > Are you sure you are sending this over TCP/TLS? This sounds like its really using UDP... TCP automatically does packet reassembly, UDP does not. The behavior you described sounds suspiciously like you are using UDP instead of TCP/TLS > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah > Sent: Thursday, March 10, 2016 1:37 PM > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH > > Hi all, > I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. > I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. > > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. > > What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. > > The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. > > Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. > > What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. > > In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. > > I hope this message can be the starting point of a fruitful resolution process. > > Thank you if you?ve read this up to here. Now hit reply and give me your 2 cents! :) > > Best, > Emrah > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sat Mar 12 01:09:09 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 11 Mar 2016 16:09:09 -0600 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> Message-ID: <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> The particular message on the polycom boards only References FreeSWITCH 1.2... there have been significant changes from that point... without getting decoded packet captures theres really not much to see here. TCP handles the packet fragmentation as should TLS... this is transport protocol later stuff... this is not something FreeSWITCH would really be involved in at that point... The other thing that might prove useful is isolating this on an idle machine, with 1 phone enabling all the good SIP and libsofia debugging and getting it into a long along with the logs from the client so it can be compared to see whats going on... Further discussion of this should be taken to jira so that it can be tracked and captures and logging can be attached to the ticket -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah Sent: Friday, March 11, 2016 3:57 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH Hi there, I am using TLS over TCP for sure. I spent a significant amount of time inspecting this and UDP is only used for the RTP stream. People have reported issues with Polycom phones where the TLS thread crashes when the SDP is overloaded. http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 This is not just a Polycom issue, and doesn?t seem to be happening with other SIP servers. Many times, because the client doesn?t get a response, it sends the packets over and over and eventually times out. I doubt that the same SIP stack is used across Polycom, Yealink, Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session in TCP since I can?t share the private key of the SSL certificate. Is someone willing to provide me with a SIP account where I can test TLS connections with SRTP enabled? An Echo test is enough. Thanks > On Mar 10, 2016, at 8:42 PM, Ken Rice wrote: > > Are you sure you are sending this over TCP/TLS? This sounds like its > really using UDP... TCP automatically does packet reassembly, UDP does > not. The behavior you described sounds suspiciously like you are using > UDP instead of TCP/TLS > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Emrah > Sent: Thursday, March 10, 2016 1:37 PM > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH > > Hi all, > I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. > I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. > > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. > > What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. > > The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. > > Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. > > What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. > > In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. > > I hope this message can be the starting point of a fruitful resolution process. > > Thank you if you?ve read this up to here. Now hit reply and give me > your 2 cents! :) > > Best, > Emrah > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users 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 brian at freeswitch.org Sat Mar 12 01:12:23 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 11 Mar 2016 16:12:23 -0600 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> Message-ID: What kind of router is doing your nat? Smells like someone needs 'ip virtual-reassembly' On Fri, Mar 11, 2016 at 4:09 PM, Ken Rice wrote: > The particular message on the polycom boards only References FreeSWITCH > 1.2... there have been significant changes from that point... without > getting decoded packet captures theres really not much to see here. > > TCP handles the packet fragmentation as should TLS... this is transport > protocol later stuff... this is not something FreeSWITCH would really be > involved in at that point... > > The other thing that might prove useful is isolating this on an idle > machine, with 1 phone enabling all the good SIP and libsofia debugging and > getting it into a long along with the logs from the client so it can be > compared to see whats going on... > > Further discussion of this should be taken to jira so that it can be > tracked and captures and logging can be attached to the ticket > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah > Sent: Friday, March 11, 2016 3:57 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH > > Hi there, > I am using TLS over TCP for sure. I spent a significant amount of time > inspecting this and UDP is only used for the RTP stream. > People have reported issues with Polycom phones where the TLS thread > crashes when the SDP is overloaded. > > http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 > This is not just a Polycom issue, and doesn?t seem to be happening with > other SIP servers. > Many times, because the client doesn?t get a response, it sends the > packets over and over and eventually times out. > I doubt that the same SIP stack is used across Polycom, Yealink, > Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session > in TCP since I can?t share the private key of the SSL certificate. > Is someone willing to provide me with a SIP account where I can test TLS > connections with SRTP enabled? An Echo test is enough. > > Thanks > > On Mar 10, 2016, at 8:42 PM, Ken Rice wrote: > > > > Are you sure you are sending this over TCP/TLS? This sounds like its > > really using UDP... TCP automatically does packet reassembly, UDP does > > not. The behavior you described sounds suspiciously like you are using > > UDP instead of TCP/TLS > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > > Emrah > > Sent: Thursday, March 10, 2016 1:37 PM > > To: FreeSWITCH Users Help > > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH > > > > Hi all, > > I?m writing to document where I?m at with my issues with FreeSWITCH and > SSL / TLS and share my conclusions so far. > > I am hoping that this can give lieu to some further testing in different > environments, and a proper fix if a bug is indeed confirmed. > > > > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows > sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. > > > > What I?ve observed is that in a sequence where client sens an invite to > FS; FS responds with 407 proxy authorization required; client sends ack; > Client sends the invite with the digest auth. > > > > The last packet can easily exceed the max segment size of a TCP segment, > typically if the SDP advertises a bunch of codecs, or if the client uses > SRTP and the SAVP contains many crypto suites. > > > > Now, when this occurs, the packets should be sent fragmented so they can > fit in the MTU. It is then up to the receiving end to reassemble the > segments and feed the complete packet to the application layer. > > > > What I?ve noticed is that a packet that is too large is simply never > received by FreeSWITCH. Since this is systematically the case with every > software and hardware client I?ve used, I am drawn to think that the issue > lies in the SSL implementation of FreeSWITCH. > > > > In the event that for some reason my network or server OS configuration > may be behind this, I would appreciate if someone would be willing to share > some SIP credentials that can let me test TLS and SRTP. If getting to the > bottom of this is of interest to any of you, I?d obviously be keen on > handing out a couple of accounts. > > > > I hope this message can be the starting point of a fruitful resolution > process. > > > > Thank you if you?ve read this up to here. Now hit reply and give me > > your 2 cents! :) > > > > Best, > > Emrah > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160311/4ae3274c/attachment-0001.html From mi.ke at null.net Sun Mar 13 05:12:48 2016 From: mi.ke at null.net (Mi Ke) Date: Sun, 13 Mar 2016 03:12:48 +0100 Subject: [Freeswitch-users] mod_shout build problem Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/db7c90bd/attachment.html From s.safarov at gmail.com Sun Mar 13 07:15:34 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 13 Mar 2016 04:15:34 +0000 Subject: [Freeswitch-users] mod_shout build problem In-Reply-To: References: Message-ID: Download latest fedora SRPM, recomile package and install. On Sun, Mar 13, 2016, 05:13 Mi Ke wrote: > Hi, All > > I'm stuck in the middle of mod_shout building getting an error, saying > that libmpg123-dev in not installed on my CentOS 6 system: > > Makefile:796: *** You must install libmpg123-dev to build mod_shout. Stop. > > but in fact it _is_ installed (1.13.8-1 from rpmfusion): > > Package libmpg123-devel-1.13.8-1.el6.x86_64 already installed and latest > version > > [fs at sip mod_shout]# ldconfig -v |grep libmpg123 > libmpg123.so.0 -> libmpg123.so.0.29.10 > > Does anyone know how to resolve that issue and get the module built? > > Thanks / Mi Ke > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160313/71304b8b/attachment.html From s.safarov at gmail.com Sun Mar 13 07:16:22 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 13 Mar 2016 04:16:22 +0000 Subject: [Freeswitch-users] mod_shout build problem In-Reply-To: References: Message-ID: Try instal dev package before. On Sun, Mar 13, 2016, 05:13 Mi Ke wrote: > Hi, All > > I'm stuck in the middle of mod_shout building getting an error, saying > that libmpg123-dev in not installed on my CentOS 6 system: > > Makefile:796: *** You must install libmpg123-dev to build mod_shout. Stop. > > but in fact it _is_ installed (1.13.8-1 from rpmfusion): > > Package libmpg123-devel-1.13.8-1.el6.x86_64 already installed and latest > version > > [fs at sip mod_shout]# ldconfig -v |grep libmpg123 > libmpg123.so.0 -> libmpg123.so.0.29.10 > > Does anyone know how to resolve that issue and get the module built? > > Thanks / Mi Ke > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160313/44d49db7/attachment.html From simpot at simpot.com Sun Mar 13 11:15:25 2016 From: simpot at simpot.com (Dmitry Saratsky) Date: Sun, 13 Mar 2016 08:15:25 +0000 Subject: [Freeswitch-users] Empty SDP in 200 OK on received re-invite while faxing with T.38 Message-ID: Yesterday I have updated to latest git to see if issue is still exists. Will update later -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/ab8ba000/attachment.html From simpot at simpot.com Sun Mar 13 11:19:12 2016 From: simpot at simpot.com (Dmitry Saratsky) Date: Sun, 13 Mar 2016 08:19:12 +0000 Subject: [Freeswitch-users] how to reply here in list to existing message and not open new thread? Message-ID: Hi, Probably it is most stupid question... But It's my 3rd time I'm trying to reply to existing message, but it is new thread opened here in lists... Please help... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/220d42c7/attachment.html From simpot at gmail.com Sun Mar 13 13:38:18 2016 From: simpot at gmail.com (Dmitry Saratsky) Date: Sun, 13 Mar 2016 12:38:18 +0200 Subject: [Freeswitch-users] how to reply here in list to existing message and not open new thread? Message-ID: test hope reply is working now... sorry if not... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/5b6129a0/attachment-0001.html From byasus at gmail.com Thu Mar 10 19:27:49 2016 From: byasus at gmail.com (Ronaldo Borges) Date: Thu, 10 Mar 2016 13:27:49 -0300 Subject: [Freeswitch-users] FreeTDM Channel Driver for Asterisk Message-ID: Hi all, I am a new user of FreeSWITCH and I passed the last few days studying the code from FreeTDM module. I am also a new user of Asterisk and I also studied the chan_dahdi code. At the FreeTDM wiki page I read that FreeTDM (FreeSWITCH) is equivalent to chan_dahdi (Asterisk). I considered FreeTDM code much better written than chan_dahdi. I was thinking about doing a "chan_freetdm" (FreeTDM Channel Driver for Asterisk). Anyone could tell if is it possible? If not, why? Is there a rocky road to this work? Best regards, -- Ronaldo. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/f54a789c/attachment.html From marek at telfa.cz Sat Mar 12 12:24:51 2016 From: marek at telfa.cz (=?iso-8859-2?Q?Marek_Slivansk=FD_-_Livispace_s.r.o.?=) Date: Sat, 12 Mar 2016 10:24:51 +0100 Subject: [Freeswitch-users] API break vs uuid_break Message-ID: <000501d17c41$07e435d0$17aca170$@telfa.cz> Hi there, sorry if I'm not choosing the right way for asking for something, please point me out, this is my first time using the mailing list. I have a question regarding API command "break" has changed to "uuid_break". I really tried to but I've not found any information about that. We are using "bgapi break " to stop playing some sound to a call (leg), e.g. moh, and to continue with next dialplan item. We are using v1.2.stable. Probably since last upgrade to the latest commit in this branch (prior we were using some 09/2012 commit), sometimes (rarely) the command "bgapi break " gets ignored by FreeSwitch and sound remains playing forever (local_stream://moh). Could anyone please shed some light on this change (and perhaps add some info why break has been deprecated and consequences of continuing to use it, into wiki)? Thanks in advance for any answer, Marek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160312/82555da6/attachment.html From francesco.piccinin at gmail.com Sun Mar 13 16:40:50 2016 From: francesco.piccinin at gmail.com (Francesco Piccinin) Date: Sun, 13 Mar 2016 14:40:50 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions Message-ID: Hi all, I'm experiencing an issue with IVR on production Freeswitch cluster. I'm going to explain the problem as clear as possible just to understand if anyone already get it and hopefully fix it. Phone A makes a call that match an IVR services: call is transfered to context services in xml services. Call is then answered, audio men? is prompted: phone A makes a selection (ex dtmf 2) and the call is trasfered to context default xml default in order to ring phone B. If phone B is in busy state the call is dropped. On cli logs you can observe this behaviour: Mod Sofia first hangup the channel with a USER BUSY cause and then it sends a BYE to Phone A (or to a gateway in case of external calls) including Q850 cause=17 user busy. Phone A or Gateway drop the call without busy tone. In this case I'm expecting a SIP 486 (user busy message) instead of a bye, is that correct? I'm using the app "limit" in order to count active calls on extensions and store them in system db (shared between freeswitch servers). Hope you can help me solving the problem. Thanks Regards Francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/5f21e2c7/attachment.html From shlomis at liveperson.com Sun Mar 13 19:29:51 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Sun, 13 Mar 2016 18:29:51 +0200 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis Message-ID: Sorry if this is a stupid question: I've connected to FreeSwicth using mod_verto, now I would like to route the call to a Genesys via SIP. Is it the right approach? is there any documentation for it? The purpose is to be able to integrate my webRTC solution to many contact center platforms. -- 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/20160313/b44b1b7b/attachment.html From gmaruzz at gmail.com Sun Mar 13 19:36:59 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 13 Mar 2016 17:36:59 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions In-Reply-To: References: Message-ID: Please pastebin all related dialplan and debug info, then puiblish here the pastebin link Btw, if you are transferring the call to an internal extension, you must program yourself what you want as a result when user is busy. EG: in default "local extensions" (1000-1019) in default dialplan, call goes to voice mail. You can have a look at "local extensions" in default dialplan for more hints. -giovanni On Sun, Mar 13, 2016 at 2:40 PM, Francesco Piccinin < francesco.piccinin at gmail.com> wrote: > Hi all, > I'm experiencing an issue with IVR on production Freeswitch cluster. > I'm going to explain the problem as clear as possible just to understand > if anyone already get it and hopefully fix it. > > Phone A makes a call that match an IVR services: call is transfered to > context services in xml services. > Call is then answered, audio men? is prompted: phone A makes a selection > (ex dtmf 2) and the call is trasfered to context default xml default in > order to ring phone B. > If phone B is in busy state the call is dropped. > On cli logs you can observe this behaviour: > Mod Sofia first hangup the channel with a USER BUSY cause and then it > sends a BYE to Phone A (or to a gateway in case of external calls) > including Q850 cause=17 user busy. > > Phone A or Gateway drop the call without busy tone. > > In this case I'm expecting a SIP 486 (user busy message) instead of a bye, > is that correct? > > I'm using the app "limit" in order to count active calls on extensions and > store them in system db (shared between freeswitch servers). > > Hope you can help me solving the problem. > > Thanks > Regards > > Francesco > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/19b15724/attachment.html From lists at kavun.ch Sun Mar 13 21:58:14 2016 From: lists at kavun.ch (Emrah) Date: Sun, 13 Mar 2016 19:58:14 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> Message-ID: <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> Hi! The server isn?t behind NAT, and I don?t know the make and model of all the routers that the affected clients use. And this problem also occurs when there isn?t NAT involved at all. I will see to open a bug. Best, Emrah > On Mar 11, 2016, at 11:12 PM, Brian West wrote: > > What kind of router is doing your nat? > > Smells like someone needs 'ip virtual-reassembly' > > On Fri, Mar 11, 2016 at 4:09 PM, Ken Rice > wrote: > The particular message on the polycom boards only References FreeSWITCH 1.2... there have been significant changes from that point... without getting decoded packet captures theres really not much to see here. > > TCP handles the packet fragmentation as should TLS... this is transport protocol later stuff... this is not something FreeSWITCH would really be involved in at that point... > > The other thing that might prove useful is isolating this on an idle machine, with 1 phone enabling all the good SIP and libsofia debugging and getting it into a long along with the logs from the client so it can be compared to see whats going on... > > Further discussion of this should be taken to jira so that it can be tracked and captures and logging can be attached to the ticket > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Emrah > Sent: Friday, March 11, 2016 3:57 PM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH > > Hi there, > I am using TLS over TCP for sure. I spent a significant amount of time inspecting this and UDP is only used for the RTP stream. > People have reported issues with Polycom phones where the TLS thread crashes when the SDP is overloaded. > http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 > This is not just a Polycom issue, and doesn?t seem to be happening with other SIP servers. > Many times, because the client doesn?t get a response, it sends the packets over and over and eventually times out. > I doubt that the same SIP stack is used across Polycom, Yealink, Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session in TCP since I can?t share the private key of the SSL certificate. > Is someone willing to provide me with a SIP account where I can test TLS connections with SRTP enabled? An Echo test is enough. > > Thanks > > On Mar 10, 2016, at 8:42 PM, Ken Rice > wrote: > > > > Are you sure you are sending this over TCP/TLS? This sounds like its > > really using UDP... TCP automatically does packet reassembly, UDP does > > not. The behavior you described sounds suspiciously like you are using > > UDP instead of TCP/TLS > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of > > Emrah > > Sent: Thursday, March 10, 2016 1:37 PM > > To: FreeSWITCH Users Help > > > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH > > > > Hi all, > > I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. > > I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. > > > > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. > > > > What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. > > > > The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. > > > > Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. > > > > What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. > > > > In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. > > > > I hope this message can be the starting point of a fruitful resolution process. > > > > Thank you if you?ve read this up to here. Now hit reply and give me > > your 2 cents! :) > > > > Best, > > Emrah > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > 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/20160313/d1e6157d/attachment-0001.html From ssinyagin at gmail.com Sun Mar 13 22:01:26 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 13 Mar 2016 20:01:26 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> Message-ID: Let's try reproducing it in a lab and let freeswitch developers access it if we're able to reproduce the issue. I can help and also provide some hosts for it. On Sun, Mar 13, 2016 at 7:58 PM, Emrah wrote: > Hi! > The server isn?t behind NAT, and I don?t know the make and model of all > the routers that the affected clients use. And this problem also occurs > when there isn?t NAT involved at all. > > I will see to open a bug. > > Best, > Emrah > > On Mar 11, 2016, at 11:12 PM, Brian West wrote: > > What kind of router is doing your nat? > > Smells like someone needs 'ip virtual-reassembly' > > On Fri, Mar 11, 2016 at 4:09 PM, Ken Rice wrote: > >> The particular message on the polycom boards only References FreeSWITCH >> 1.2... there have been significant changes from that point... without >> getting decoded packet captures theres really not much to see here. >> >> TCP handles the packet fragmentation as should TLS... this is transport >> protocol later stuff... this is not something FreeSWITCH would really be >> involved in at that point... >> >> The other thing that might prove useful is isolating this on an idle >> machine, with 1 phone enabling all the good SIP and libsofia debugging and >> getting it into a long along with the logs from the client so it can be >> compared to see whats going on... >> >> Further discussion of this should be taken to jira so that it can be >> tracked and captures and logging can be attached to the ticket >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Emrah >> Sent: Friday, March 11, 2016 3:57 PM >> To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH >> >> Hi there, >> I am using TLS over TCP for sure. I spent a significant amount of time >> inspecting this and UDP is only used for the RTP stream. >> People have reported issues with Polycom phones where the TLS thread >> crashes when the SDP is overloaded. >> >> http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 >> This is not just a Polycom issue, and doesn?t seem to be happening with >> other SIP servers. >> Many times, because the client doesn?t get a response, it sends the >> packets over and over and eventually times out. >> I doubt that the same SIP stack is used across Polycom, Yealink, >> Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session >> in TCP since I can?t share the private key of the SSL certificate. >> Is someone willing to provide me with a SIP account where I can test TLS >> connections with SRTP enabled? An Echo test is enough. >> >> Thanks >> > On Mar 10, 2016, at 8:42 PM, Ken Rice wrote: >> > >> > Are you sure you are sending this over TCP/TLS? This sounds like its >> > really using UDP... TCP automatically does packet reassembly, UDP does >> > not. The behavior you described sounds suspiciously like you are using >> > UDP instead of TCP/TLS >> > >> > -----Original Message----- >> > From: freeswitch-users-bounces at lists.freeswitch.org >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >> > Emrah >> > Sent: Thursday, March 10, 2016 1:37 PM >> > To: FreeSWITCH Users Help >> > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH >> > >> > Hi all, >> > I?m writing to document where I?m at with my issues with FreeSWITCH and >> SSL / TLS and share my conclusions so far. >> > I am hoping that this can give lieu to some further testing in >> different environments, and a proper fix if a bug is indeed confirmed. >> > >> > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows >> sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. >> > >> > What I?ve observed is that in a sequence where client sens an invite to >> FS; FS responds with 407 proxy authorization required; client sends ack; >> Client sends the invite with the digest auth. >> > >> > The last packet can easily exceed the max segment size of a TCP >> segment, typically if the SDP advertises a bunch of codecs, or if the >> client uses SRTP and the SAVP contains many crypto suites. >> > >> > Now, when this occurs, the packets should be sent fragmented so they >> can fit in the MTU. It is then up to the receiving end to reassemble the >> segments and feed the complete packet to the application layer. >> > >> > What I?ve noticed is that a packet that is too large is simply never >> received by FreeSWITCH. Since this is systematically the case with every >> software and hardware client I?ve used, I am drawn to think that the issue >> lies in the SSL implementation of FreeSWITCH. >> > >> > In the event that for some reason my network or server OS configuration >> may be behind this, I would appreciate if someone would be willing to share >> some SIP credentials that can let me test TLS and SRTP. If getting to the >> bottom of this is of interest to any of you, I?d obviously be keen on >> handing out a couple of accounts. >> > >> > I hope this message can be the starting point of a fruitful resolution >> process. >> > >> > Thank you if you?ve read this up to here. Now hit reply and give me >> > your 2 cents! :) >> > >> > Best, >> > Emrah >> > ______________________________________________________________________ >> > ___ Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160313/28a15527/attachment.html From msc at freeswitch.org Sun Mar 13 22:53:00 2016 From: msc at freeswitch.org (Michael Collins) Date: Sun, 13 Mar 2016 12:53:00 -0700 Subject: [Freeswitch-users] API break vs uuid_break In-Reply-To: <000501d17c41$07e435d0$17aca170$@telfa.cz> References: <000501d17c41$07e435d0$17aca170$@telfa.cz> Message-ID: It appears that nearly six years ago the API 'break' was simply changed to 'uuid_break' in this commit: https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/63120a7452ad16fe62dd2b5d22135eb6222e6611 >From what I see in the code, both 'break' and 'uuid_break' call 'break_function' in mod_commands.c, so 'break' is really just an alias for 'uuid_break': SWITCH_ADD_API(commands_api_interface, "break", "uuid_break", break_function, BREAK_SYNTAX); SWITCH_ADD_API(commands_api_interface, "uuid_break", "Break out of media sent to channel", break_function, BREAK_SYNTAX); For the sake of consistency you might want to consider changing your 'bgapi break ' calls to 'bgapi uuid_break '. There is a whole family of uuid_* APIs and 'uuid_break' fits in nicely among them. You may find the word 'break' all over source code, but if you see 'uuid_break' then you know exactly what that means. -MSC On Sat, Mar 12, 2016 at 1:24 AM, Marek Slivansk? - Livispace s.r.o. < marek at telfa.cz> wrote: > Hi there, > > > > sorry if I?m not choosing the right way for asking for something, please > point me out, this is my first time using the mailing list. > > > > I have a question regarding API command ?break? has changed to > ?uuid_break?. I really tried to but I?ve not found any information about > that. > > > > We are using ?bgapi break ? to stop playing some sound to a call > (leg), e.g. moh, and to continue with next dialplan item. We are using > v1.2.stable. Probably since last upgrade to the latest commit in this > branch (prior we were using some 09/2012 commit), sometimes (rarely) the > command ?bgapi break ? gets ignored by FreeSwitch and sound remains > playing forever (local_stream://moh). > > > > Could anyone please shed some light on this change (and perhaps add some > info why break has been deprecated and consequences of continuing to use > it, into wiki)? > > > > Thanks in advance for any answer, > > > > Marek > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160313/0b7737e9/attachment-0001.html From lists at kavun.ch Sun Mar 13 23:24:31 2016 From: lists at kavun.ch (Emrah) Date: Sun, 13 Mar 2016 21:24:31 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> Message-ID: Scratch that, I need to confirm that this issue occurs when there is no NAT involved. I?ll post here what happens. Stan, I like your idea very much. On Mar 13, 2016, at 7:58 PM, Emrah wrote: > > Hi! > The server isn?t behind NAT, and I don?t know the make and model of all the routers that the affected clients use. And this problem also occurs when there isn?t NAT involved at all. > > I will see to open a bug. > > Best, > Emrah >> On Mar 11, 2016, at 11:12 PM, Brian West > wrote: >> >> What kind of router is doing your nat? >> >> Smells like someone needs 'ip virtual-reassembly' >> >> On Fri, Mar 11, 2016 at 4:09 PM, Ken Rice > wrote: >> The particular message on the polycom boards only References FreeSWITCH 1.2... there have been significant changes from that point... without getting decoded packet captures theres really not much to see here. >> >> TCP handles the packet fragmentation as should TLS... this is transport protocol later stuff... this is not something FreeSWITCH would really be involved in at that point... >> >> The other thing that might prove useful is isolating this on an idle machine, with 1 phone enabling all the good SIP and libsofia debugging and getting it into a long along with the logs from the client so it can be compared to see whats going on... >> >> Further discussion of this should be taken to jira so that it can be tracked and captures and logging can be attached to the ticket >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Emrah >> Sent: Friday, March 11, 2016 3:57 PM >> To: FreeSWITCH Users Help > >> Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH >> >> Hi there, >> I am using TLS over TCP for sure. I spent a significant amount of time inspecting this and UDP is only used for the RTP stream. >> People have reported issues with Polycom phones where the TLS thread crashes when the SDP is overloaded. >> http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 >> This is not just a Polycom issue, and doesn?t seem to be happening with other SIP servers. >> Many times, because the client doesn?t get a response, it sends the packets over and over and eventually times out. >> I doubt that the same SIP stack is used across Polycom, Yealink, Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session in TCP since I can?t share the private key of the SSL certificate. >> Is someone willing to provide me with a SIP account where I can test TLS connections with SRTP enabled? An Echo test is enough. >> >> Thanks >> > On Mar 10, 2016, at 8:42 PM, Ken Rice > wrote: >> > >> > Are you sure you are sending this over TCP/TLS? This sounds like its >> > really using UDP... TCP automatically does packet reassembly, UDP does >> > not. The behavior you described sounds suspiciously like you are using >> > UDP instead of TCP/TLS >> > >> > -----Original Message----- >> > From: freeswitch-users-bounces at lists.freeswitch.org >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of >> > Emrah >> > Sent: Thursday, March 10, 2016 1:37 PM >> > To: FreeSWITCH Users Help > >> > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH >> > >> > Hi all, >> > I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. >> > I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. >> > >> > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. >> > >> > What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. >> > >> > The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. >> > >> > Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. >> > >> > What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. >> > >> > In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. >> > >> > I hope this message can be the starting point of a fruitful resolution process. >> > >> > Thank you if you?ve read this up to here. Now hit reply and give me >> > your 2 cents! :) >> > >> > Best, >> > Emrah >> > ______________________________________________________________________ >> > ___ Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> https://www.gofundme.com/freeswitch_ubuntu >> 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/20160313/a9528e73/attachment-0001.html From mi.ke at null.net Sun Mar 13 23:41:40 2016 From: mi.ke at null.net (Mi Ke) Date: Sun, 13 Mar 2016 21:41:40 +0100 Subject: [Freeswitch-users] mod_shout build problem In-Reply-To: References: , Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160313/3f410076/attachment.html From atai at unseen.is Mon Mar 14 05:46:41 2016 From: atai at unseen.is (atai at unseen.is) Date: Mon, 14 Mar 2016 09:46:41 +0700 Subject: [Freeswitch-users] Ask about the integration between xmpp and freeswitch Message-ID: Hello all, We tried to setup the FS and can call using SIP protocol, using different apps for ex. xLite, it works very well! And we tried to setup the FS with xmpp. If we have many xmpp users, and we want users to use SIP to call, so we tried to install the dingaling module, configured them, but when we create the xmpp users, there is no notification from xmpp to FS. Is there any full instruction of configure XMPP in FS and example? Thank you very much. Tai Duc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/ff1872c8/attachment.html From jsun at junsun.net Mon Mar 14 06:41:29 2016 From: jsun at junsun.net (Jun Sun) Date: Sun, 13 Mar 2016 20:41:29 -0700 Subject: [Freeswitch-users] FS behind NAT In-Reply-To: References: Message-ID: Is this issue resolved? I seem to hit the same issue right now. Here is what I did - a fresh FS 1.6 build from master git branch on debian8/jessie, (following this instruction , "compile latest master") - since the machine is on AWS (NAT'ed), I loosely followed this instruction. FS works fine with audio on two X-lite clients. - followed a couple of verto/video related links to get verto communicator working (sort of) but without audio/video, the same issue reported here. I did follow Giovanni's suggestion on setting in verto.conf.xml. That fixed RTP address in caller side. However, SDP received on callee side is still using private address. See below. Remote SDP on callee side type: offer, sdp: v=0 o=FreeSWITCH 1457907139 1457907140 IN IP4 172.30.0.223 s=FreeSWITCH c=IN IP4 172.30.0.223 t=0 0 a=msid-semantic: WMS QTxWvKXI4optn9Z4do0kb1cAyOQE1rCI m=audio 18480 RTP/SAVPF 111 9 0 8 a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; useinbandfec=1; stereo=1; sprop-stereo=1 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=fingerprint:sha-256 B0:6B:27:66:D3:1E:F9:CD:C7:F2:D8:A5:6A:58:6F:8E:93:6F:84:2B:6F:B2:D0:70:BC:65:3A:5E:52:2A:E9:E8 a=setup:actpass a=rtcp-mux a=rtcp:18480 IN IP4 172.30.0.223 a=ssrc:988985139 cname:aZvwzi4uwkNKkC By contrast, below is the remote SDP on caller side. type: answer, sdp: v=0 o=FreeSWITCH 1457901489 1457901490 IN IP4 52.53.227.122 s=FreeSWITCH c=IN IP4 52.53.227.122 t=0 0 a=msid-semantic: WMS qejP8dntVtvBWvqJkQ59aKDPVpHbyKvO m=audio 25168 UDP/TLS/RTP/SAVPF 111 126 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10; stereo=1; sprop-stereo=1 a=rtpmap:126 telephone-event/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv a=fingerprint:sha-256 B0:6B:27:66:D3:1E:F9:CD:C7:F2:D8:A5:6A:58:6F:8E:93:6F:84:2B:6F:B2:D0:70:BC:65:3A:5E:52:2A:E9:E8 a=setup:active a=rtcp-mux a=rtcp:25168 IN IP4 52.53.227.122 To prove the setup is right, I added "bypass_media= true" to the default dialplan. And now I can see audio/video with verto communicator. That seems to indicate something is wrong with verto/FS. Any thoughts? Why verto does give right rtcp address to callee? Many thanks. Jun On Fri, Oct 9, 2015 at 12:39 PM, Giovanni Maruzzelli wrote: > erase your all install, and start from scratch following exactly, step by > step > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video > > On Fri, Oct 9, 2015 at 9:34 PM, Tao Zhang wrote: > >> Yes, I did >> >> systemctl stop freeswitch >> >> then >> >> systemctl start freeswitch >> >> I also tried to modify internal.xml and external.xml following some >> instructions on https://wiki.freeswitch.org/wiki/NAT_Traversal. I think >> this verto video conf demo is not using those sip profiles? It did not fix >> the problem either anyway. >> >> Thanks >> >> Tao >> >> >> On Fri, Oct 9, 2015 at 12:13 PM, Giovanni Maruzzelli >> wrote: >> >>> >>> >>> On Fri, Oct 9, 2015 at 3:06 PM, Tao Zhang wrote: >>> >>>> In verto.conf.xml, there is a param for ext_rtp_ip, but it was >>>> commented out. >>>> >>>> >>>> >>>> I tried to uncomment this param and set it to the FS external IP, but >>>> it dd not fix the problem.. >>>> >>>> >>> have you restarted mod_verto, or freeswitch ? >>> >>> >>> >>>> Tao >>>> >>>> >>>> On Fri, Oct 9, 2015 at 4:50 AM, Giovanni Maruzzelli >>>> wrote: >>>> >>>>> FS is almost always behind a NAT. >>>>> You must set ext-rtp-ip in verto.conf.xml (can't remember the variable >>>>> name now from cellphone. Check into verto.conf.xml) >>>>> >>>>> sent from my mobile, >>>>> Giovanni Maruzzelli >>>>> cell: +39 347 266 56 18 >>>>> On Oct 9, 2015 8:17 AM, "Tao Zhang" wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I have been tracking down why my FS verto video conf demo setup not >>>>>> working. Now I believe the reason is my FS server is behind a NAT. My >>>>>> previous posts may be misleading now, so I am creating a new thread. >>>>>> >>>>>> Some evidence I saw: >>>>>> >>>>>> 1) In the SDP dialog, I saw my FS server's internal IP got used, >>>>>> rather than its public IP, for example >>>>>> >>>>>> Dialog 6c62f631-469c-a2f0-e484-6e9cfcda7eedANSWER SDP v=0 >>>>>> o=FreeSWITCH 1444254094 1444254095 IN IP4 10.240.15.244 >>>>>> s=FreeSWITCH >>>>>> c=IN IP4 10.240.15.244 <============= >>>>>> t=0 0 >>>>>> >>>>>> 2) Also, in wireshark , I saw my client is trying to send STUN >>>>>> packets to the FS server's internal IP, >>>>>> >>>>>> 450 18.252726000 192.168.1.7 10.240.15.244 STUN 158 Binding Request >>>>>> user: mlvLvmDzCphyQYz5:N3MZoB99aGiAZotr >>>>>> >>>>>> So now my questions are Will the verto video conf demo work when the >>>>>> FS server is behind NAT? If so, could someone help me with the necessary >>>>>> config changes and etc.? >>>>>> >>>>>> Thanks so much! >>>>>> >>>>>> Tao >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160313/b96f872d/attachment-0001.html From idokan at gmail.com Mon Mar 14 08:36:32 2016 From: idokan at gmail.com (ik) Date: Mon, 14 Mar 2016 07:36:32 +0200 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis In-Reply-To: References: Message-ID: Creating a trunk between the two should work, regardless of verto. Verto is a way to support web sockets to FS, it's just create a new type of channel, like with SIP or PRI for example. Once one channel exits, it can be bridged to a second supported channel. Ido On Mar 13, 2016 6:32 PM, "Shlomi Schwartz" wrote: > Sorry if this is a stupid question: > > I've connected to FreeSwicth using mod_verto, now I would like to route > the call to a Genesys via SIP. > > Is it the right approach? is there any documentation for it? > > The purpose is to be able to integrate my webRTC solution to many contact > center platforms. > > > > > > > > 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/20160314/5593f835/attachment.html From bhavikpatel14388 at gmail.com Mon Mar 14 10:48:24 2016 From: bhavikpatel14388 at gmail.com (bhavik patel) Date: Mon, 14 Mar 2016 13:18:24 +0530 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Thank you for your answer. Now outbound calls seems to be working. But inbound calls have still the same issue that the call drops after answer. Here i am attaching call and SIP logs. On Fri, Mar 11, 2016 at 5:17 PM, ?talo Rossi wrote: > Your SDP doesn't contain audio codecs, you're setting > absolute_codec_string wrong,it should be > > absolute_codec_string=^^:G729:PCMA:PCMU:opus > > You missed the ':' as the separator being used in the array. > > 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 > > ?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 11 2016, at 1:22 am, bhavik patel >> wrote: >> Can anyone please suggest me for this issue ? >> >> On Mon, Mar 7, 2016 at 6:18 PM, bhavik patel >> wrote: >> >> I did try with PCMA:PCMU and getting same result. >> >> PFA >> >> On Mon, Mar 7, 2016 at 5:58 PM, Gregor Nanger >> wrote: >> >> I guess that there is something with codec. As I see it select g729. Try >> to force PCMA:PCMU for test. >> >> 2016-03-07 13:01 GMT+01:00 bhavik patel : >> >> 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> >> >> >> -- >> Thanks, >> Bhavik Patel >> >> >> >> >> -- >> Thanks, >> Bhavik Patel >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/f8458217/attachment-0001.html -------------- next part -------------- 2016-03-14 06:56:27.659471 [ALERT] mod_verto.c:1365 READ x.x.x.47:42702 [{ "jsonrpc": "2.0", "method": "verto.invite", "params": { "sdp": "v=0\r\no=- 4925387713699119444 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio\r\na=msid-semantic: WMS kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT\r\nm=audio 35020 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 x.x.x.47\r\na=rtcp:35020 IN IP4 x.x.x.47\r\na=candidate:2608808550 1 udp 2122260223 192.168.1.33 35020 typ host generation 0\r\na=candidate:2608808550 2 udp 2122260223 192.168.1.33 35020 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 35020 typ srflx raddr 192.168.1.33 rport 35020 generation 0\r\na=candidate:1836006322 2 udp 1686052607 x.x.x.47 35020 typ srflx raddr 192.168.1.33 rport 35020 generation 0\r\na=ice-ufrag:dOi1z9hQuFdB4joS\r\na=ice-pwd:XCvCkJT3Iwt4chKDNpBkEUVQ\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 87:64:1C:26:A3:1B:4C:8F:37:28:9C:B9:8D:42:71:B3:42:E1:92:C6:CE:F9:75:B7:1E:A4:60:A6:EC:42:C5:D0\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:1052942947 cname:5sn+L4USHksfOGkm\r\na=ssrc:1052942947 msid:kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT 7d18ec77-a85d-452c-a5c0-5fc5653907d5\r\na=ssrc:1052942947 mslabel:kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT\r\na=ssrc:1052942947 label:7d18ec77-a85d-452c-a5c0-5fc5653907d5\r\n", "dialogParams": { "useVideo": false, "useStereo": true, "tag": "webcam", "login": "456456 at x.x.x.91", "destination_number": "123123", "caller_id_name": "xxxxxxxx30", "caller_id_number": "xxxxxxxx30", "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "123123" }, "sessid": "d6b2f69f-e53a-8313-54dd-5fca0e7eebd8" }, "id": 5 }] 2016-03-14 06:56:27.659471 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT 2016-03-14 06:56:27.659471 [DEBUG] switch_core_session.c:613 N/A set UUID=22edc3da-1886-1832-eed3-55220c6f0bfc 2016-03-14 06:56:27.659471 [NOTICE] switch_channel.c:1091 New Channel verto.rtc/123123 [22edc3da-1886-1832-eed3-55220c6f0bfc] 2016-03-14 06:56:27.779410 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/123123: v=0 o=- 4925387713699119444 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio a=msid-semantic: WMS kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT m=audio 35020 RTP/SAVPF 111 103 104 0 8 106 105 13 126 c=IN IP4 x.x.x.47 a=rtcp:35020 IN IP4 x.x.x.47 a=candidate:2608808550 1 udp 2122260223 192.168.1.33 35020 typ host generation 0 a=candidate:2608808550 2 udp 2122260223 192.168.1.33 35020 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 35020 typ srflx raddr 192.168.1.33 rport 35020 generation 0 a=candidate:1836006322 2 udp 1686052607 x.x.x.47 35020 typ srflx raddr 192.168.1.33 rport 35020 generation 0 a=ice-ufrag:dOi1z9hQuFdB4joS a=ice-pwd:XCvCkJT3Iwt4chKDNpBkEUVQ a=ice-options:google-ice a=fingerprint:sha-256 87:64:1C:26:A3:1B:4C:8F:37:28:9C:B9:8D:42:71:B3:42:E1:92:C6:CE:F9:75:B7:1E:A4:60:A6:EC:42:C5:D0 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:1052942947 cname:5sn+L4USHksfOGkm a=ssrc:1052942947 msid:kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT 7d18ec77-a85d-452c-a5c0-5fc5653907d5 a=ssrc:1052942947 mslabel:kpfPv3N3VMm60huukmLdC13YFjik83CkC8uT a=ssrc:1052942947 label:7d18ec77-a85d-452c-a5c0-5fc5653907d5 2016-03-14 06:56:27.779410 [ALERT] mod_verto.c:604 WRITE x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 5, "result": { "message": "CALL CREATED", "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "sessid": "d6b2f69f-e53a-8313-54dd-5fca0e7eebd8" } }] 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/123123) Running State Change CS_INIT 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/123123) State INIT 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:40 verto.rtc/123123 Standard INIT 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/123123) State Change CS_INIT -> CS_ROUTING 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/123123) State INIT going to sleep 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/123123) Running State Change CS_ROUTING 2016-03-14 06:56:27.779410 [DEBUG] switch_channel.c:2239 (verto.rtc/123123) Callstate Change DOWN -> RINGING 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/123123) State ROUTING 2016-03-14 06:56:27.779410 [DEBUG] mod_rtc.c:89 verto.rtc/123123 RTC ROUTING 2016-03-14 06:56:27.779410 [DEBUG] switch_core_state_machine.c:166 verto.rtc/123123 Standard ROUTING 2016-03-14 06:56:27.779410 [INFO] mod_dialplan_xml.c:637 Processing xxxxxxxx30 ->123123 in context default Dialplan: verto.rtc/123123 parsing [default->] continue=false Dialplan: verto.rtc/123123 Regex (PASS) [] destination_number(123123) =~ // break=on-false Dialplan: verto.rtc/123123 Action set(callstart=2016-03-14 04:56:27) Dialplan: verto.rtc/123123 Action set(call_processed=internal) Dialplan: verto.rtc/123123 Action set(originated_destination_number=123123) Dialplan: verto.rtc/123123 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/123123 Action set(fax_enable_t38=true) Dialplan: verto.rtc/123123 Action set(fax_enable_t38_request=true) Dialplan: verto.rtc/123123 Action export(t38_passthru=true) Dialplan: verto.rtc/123123 Action set(call_direction=inbound) Dialplan: verto.rtc/123123 Action sched_hangup(+6000 allotted_timeout) Dialplan: verto.rtc/123123 Action export(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: verto.rtc/123123 Action set(effective_destination_number=123123) Dialplan: verto.rtc/123123 Action set(hangup_after_bridge=true) Dialplan: verto.rtc/123123 Action set(continue_on_fail=true) Dialplan: verto.rtc/123123 Action export(absolute_codec_string=opus,PCMA,PCMU) Dialplan: verto.rtc/123123 Action bridge({sip_invite_to_uri= CS_EXECUTE 2016-03-14 06:56:27.879411 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/123123) State ROUTING going to sleep 2016-03-14 06:56:27.879411 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/123123) Running State Change CS_EXECUTE 2016-03-14 06:56:27.879411 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/123123) State EXECUTE 2016-03-14 06:56:27.879411 [DEBUG] mod_rtc.c:120 verto.rtc/123123 RTC EXECUTE 2016-03-14 06:56:27.879411 [DEBUG] switch_core_state_machine.c:258 verto.rtc/123123 Standard EXECUTE EXECUTE verto.rtc/123123 set(callstart=2016-03-14 04:56:27) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [callstart]=[2016-03-14 04:56:27] EXECUTE verto.rtc/123123 set(call_processed=internal) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [call_processed]=[internal] EXECUTE verto.rtc/123123 set(originated_destination_number=123123) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [originated_destination_number]=[123123] EXECUTE verto.rtc/123123 set(hangup_after_bridge=true) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [hangup_after_bridge]=[true] EXECUTE verto.rtc/123123 set(fax_enable_t38=true) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [fax_enable_t38]=[true] EXECUTE verto.rtc/123123 set(fax_enable_t38_request=true) 2016-03-14 06:56:27.879411 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [fax_enable_t38_request]=[true] EXECUTE verto.rtc/123123 export(t38_passthru=true) 2016-03-14 06:56:27.879411 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE verto.rtc/123123 set(call_direction=inbound) 2016-03-14 06:56:27.899473 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [call_direction]=[inbound] EXECUTE verto.rtc/123123 sched_hangup(+6000 allotted_timeout) 2016-03-14 06:56:27.899473 [DEBUG] switch_scheduler.c:249 Added task 42 switch_ivr_schedule_hangup (22edc3da-1886-1832-eed3-55220c6f0bfc) to run at 1457937387 EXECUTE verto.rtc/123123 export(rtp_append_audio_sdp=a=fmtp:18 annexb=no) 2016-03-14 06:56:27.899473 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [rtp_append_audio_sdp]=[a=fmtp:18 annexb=no] EXECUTE verto.rtc/123123 set(effective_destination_number=123123) 2016-03-14 06:56:27.899473 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [effective_destination_number]=[123123] EXECUTE verto.rtc/123123 set(hangup_after_bridge=true) 2016-03-14 06:56:27.899473 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [hangup_after_bridge]=[true] EXECUTE verto.rtc/123123 set(continue_on_fail=true) 2016-03-14 06:56:27.899473 [DEBUG] mod_dptools.c:1498 SET verto.rtc/123123 [continue_on_fail]=[true] EXECUTE verto.rtc/123123 export(absolute_codec_string=opus,PCMA,PCMU) 2016-03-14 06:56:27.899473 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [absolute_codec_string]=[opus,PCMA,PCMU] EXECUTE verto.rtc/123123 bridge({sip_invite_to_uri= CS_INIT 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_INIT 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:516 (sofia/default/789789 at x.x.x.47:5062) State INIT 2016-03-14 06:56:27.899473 [DEBUG] mod_sofia.c:88 sofia/default/789789 at x.x.x.47:5062 SOFIA INIT 2016-03-14 06:56:27.899473 [DEBUG] sofia_glue.c:1228 sip:x.x.x.91;lr;received=sip:x.x.x.47:5062 Setting proxy route to sofia/default/789789 at x.x.x.47:5062 2016-03-14 06:56:27.899473 [DEBUG] sofia_glue.c:1257 sofia/default/789789 at x.x.x.47:5062 sending invite version: 1.6.5 64bit Local SDP: v=0 o=FreeSWITCH 1457913003 1457913004 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 m=audio 18384 RTP/AVP 111 8 0 102 101 a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10; stereo=1 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-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:40 sofia/default/789789 at x.x.x.47:5062 Standard INIT 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:48 (sofia/default/789789 at x.x.x.47:5062) State Change CS_INIT -> CS_ROUTING 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:516 (sofia/default/789789 at x.x.x.47:5062) State INIT going to sleep 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_ROUTING 2016-03-14 06:56:27.899473 [DEBUG] sofia.c:6750 Channel sofia/default/789789 at x.x.x.47:5062 entering state [calling][0] 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:532 (sofia/default/789789 at x.x.x.47:5062) State ROUTING 2016-03-14 06:56:27.899473 [DEBUG] mod_sofia.c:141 sofia/default/789789 at x.x.x.47:5062 SOFIA ROUTING 2016-03-14 06:56:27.899473 [DEBUG] switch_ivr_originate.c:67 (sofia/default/789789 at x.x.x.47:5062) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:532 (sofia/default/789789 at x.x.x.47:5062) State ROUTING going to sleep 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_CONSUME_MEDIA 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:551 (sofia/default/789789 at x.x.x.47:5062) State CONSUME_MEDIA 2016-03-14 06:56:27.899473 [DEBUG] switch_core_state_machine.c:551 (sofia/default/789789 at x.x.x.47:5062) State CONSUME_MEDIA going to sleep 2016-03-14 06:56:28.499484 [DEBUG] sofia.c:6750 Channel sofia/default/789789 at x.x.x.47:5062 entering state [proceeding][180] 2016-03-14 06:56:28.499484 [NOTICE] sofia.c:6852 Ring-Ready sofia/default/789789 at x.x.x.47:5062! 2016-03-14 06:56:28.499484 [DEBUG] switch_channel.c:3332 (sofia/default/789789 at x.x.x.47:5062) Callstate Change DOWN -> RINGING 2016-03-14 06:56:28.499484 [NOTICE] switch_ivr_originate.c:528 Ring Ready verto.rtc/123123! 2016-03-14 06:56:28.499484 [NOTICE] switch_ivr_originate.c:528 Ring-Ready verto.rtc/123123! 2016-03-14 06:56:28.819484 [DEBUG] sofia.c:6750 Channel sofia/default/789789 at x.x.x.47:5062 entering state [proceeding][180] 2016-03-14 06:56:34.219406 [DEBUG] sofia.c:6750 Channel sofia/default/789789 at x.x.x.47:5062 entering state [completing][200] 2016-03-14 06:56:34.219406 [DEBUG] sofia.c:6760 Remote SDP: v=0 o=789789 8001 8000 IN IP4 x.x.x.47 s=SIP Call c=IN IP4 x.x.x.47 t=0 0 m=audio 5008 RTP/AVP 8 0 102 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:102 telephone-event/8000 a=fmtp:102 0-15 a=ptime:20 2016-03-14 06:56:34.219406 [DEBUG] sofia.c:6750 Channel sofia/default/789789 at x.x.x.47:5062 entering state [ready][200] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with PCMA at 8000h@20i 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4182 Bah HUMBUG! Sticking with PCMU at 8000h@20i 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 102 at 8000 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:2898 Set Codec sofia/default/789789 at x.x.x.47:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2016-03-14 06:56:34.219406 [DEBUG] switch_core_codec.c:111 sofia/default/789789 at x.x.x.47:5062 Original read codec set to PCMA:8 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 102 at 8000 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4473 sofia/default/789789 at x.x.x.47:5062 Set 2833 dtmf send payload to 102 recv payload to 101 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6027 AUDIO RTP [sofia/default/789789 at x.x.x.47:5062] x.x.x.88 port 18384 -> x.x.x.47 port 5008 codec: 8 ms: 20 2016-03-14 06:56:34.219406 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 160 bytes per 20ms 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6326 sofia/default/789789 at x.x.x.47:5062 Set 2833 dtmf send payload to 102 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6333 sofia/default/789789 at x.x.x.47:5062 Set 2833 dtmf receive payload to 101 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6356 sofia/default/789789 at x.x.x.47:5062 Set rtp dtmf delay to 40 2016-03-14 06:56:34.219406 [NOTICE] sofia.c:7714 Channel [sofia/default/789789 at x.x.x.47:5062] has been answered 2016-03-14 06:56:34.219406 [DEBUG] switch_channel.c:3759 (sofia/default/789789 at x.x.x.47:5062) Callstate Change RINGING -> ACTIVE 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [opus:116:48000:20:0:1] ++++ is saved as a match 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [opus:111:48000:60:0:2]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:60:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:60:64000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:106:32000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:105:16000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[opus:116:48000:20:0:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [CN:13:8000:60:0:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 126 at 8000 2016-03-14 06:56:34.219406 [DEBUG] mod_opus.c:559 Opus encoder: set bitrate to local settings [120000bps] 2016-03-14 06:56:34.219406 [DEBUG] mod_opus.c:559 Opus encoder: set bitrate to local settings [120000bps] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:2898 Set Codec verto.rtc/123123 opus/48000 20 ms 960 samples 0 bits 2 channels 2016-03-14 06:56:34.219406 [DEBUG] switch_core_codec.c:111 verto.rtc/123123 Original read codec set to opus:116 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.1.33:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 2 proto: udp type: host addr: 192.168.1.33:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 1 proto: udp type: srflx addr: x.x.x.47:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 2 proto: udp type: srflx addr: x.x.x.47:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3336 Searching for rtp candidate. 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3341 Choose rtp candidate, index 1, x.x.x.47:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3127 verto.rtc/123123 choosing family v4 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3352 Choose same candidate, index 2, for rtcp based on rtcp-mux attribute x.x.x.47:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3397 setting remote audio ice addr to index 1 x.x.x.47:35020 based on candidate 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:3418 Setting remote rtcp audio addr to x.x.x.47:35020 based on candidate 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:4473 verto.rtc/123123 Set 2833 dtmf send payload to 126 recv payload to 126 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6027 AUDIO RTP [verto.rtc/123123] x.x.x.88 port 27548 -> x.x.x.47 port 35020 codec: 111 ms: 20 2016-03-14 06:56:34.219406 [DEBUG] switch_rtp.c:3788 Starting timer [soft] 960 bytes per 20ms 2016-03-14 06:56:34.219406 [INFO] switch_core_media.c:6202 Activating Audio ICE 2016-03-14 06:56:34.219406 [NOTICE] switch_rtp.c:4270 Activating RTP audio ICE: dOi1z9hQuFdB4joS:yoWTsStz55fNiric x.x.x.47:35020 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6245 Activating RTCP PORT 35020 2016-03-14 06:56:34.219406 [DEBUG] switch_rtp.c:4167 RTCP send rate is: 5000 and packet rate is: 20000 Remote Port: 35020 2016-03-14 06:56:34.219406 [INFO] switch_core_media.c:6253 Skipping RTCP ICE (Same as RTP) 2016-03-14 06:56:34.219406 [INFO] switch_rtp.c:3286 Activate RTP/RTCP audio DTLS client 2016-03-14 06:56:34.219406 [INFO] switch_rtp.c:3415 Changing audio DTLS state from OFF to HANDSHAKE 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:1939 Setting Jitterbuffer to 20ms (1 frames) (50 max frames) 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6326 verto.rtc/123123 Set 2833 dtmf send payload to 126 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:6333 verto.rtc/123123 Set 2833 dtmf receive payload to 126 2016-03-14 06:56:34.219406 [DEBUG] mod_verto.c:2437 Local SDP verto.rtc/123123: v=0 o=FreeSWITCH 1457903846 1457903847 IN IP4 x.x.x.88 s=FreeSWITCH c=IN IP4 x.x.x.88 t=0 0 a=msid-semantic: WMS XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF m=audio 27548 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:27548 IN IP4 x.x.x.88 a=ice-ufrag:yoWTsStz55fNiric a=ice-pwd:dCq9aHWpUbI6QzSeNFY6nhwj a=candidate:7405685272 1 udp 659136 x.x.x.88 27548 typ host generation 0 a=ssrc:585776411 cname:3Wun6HrWpmpslO1W a=ssrc:585776411 msid:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF a0 a=ssrc:585776411 mslabel:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF a=ssrc:585776411 label:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlFa0 2016-03-14 06:56:34.219406 [NOTICE] switch_ivr_originate.c:3549 Channel [verto.rtc/123123] has been answered 2016-03-14 06:56:34.219406 [DEBUG] switch_channel.c:3759 (verto.rtc/123123) Callstate Change RINGING -> ACTIVE 2016-03-14 06:56:34.219406 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/default/789789 at x.x.x.47:5062] 2016-03-14 06:56:34.219406 [DEBUG] switch_core_media.c:9118 verto.rtc/123123 PAUSE Jitterbuffer 2016-03-14 06:56:34.219406 [DEBUG] switch_ivr_bridge.c:1591 (sofia/default/789789 at x.x.x.47:5062) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2016-03-14 06:56:34.219406 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_EXCHANGE_MEDIA 2016-03-14 06:56:34.219406 [DEBUG] switch_core_state_machine.c:542 (sofia/default/789789 at x.x.x.47:5062) State EXCHANGE_MEDIA 2016-03-14 06:56:34.219406 [DEBUG] mod_sofia.c:613 SOFIA EXCHANGE_MEDIA 2016-03-14 06:56:34.239410 [ALERT] mod_verto.c:604 WRITE x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 57, "method": "verto.answer", "params": { "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "sdp": "v=0\no=FreeSWITCH 1457903846 1457903847 IN IP4 x.x.x.88\ns=FreeSWITCH\nc=IN IP4 x.x.x.88\nt=0 0\na=msid-semantic: WMS XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF\nm=audio 27548 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:27548 IN IP4 x.x.x.88\na=ice-ufrag:yoWTsStz55fNiric\na=ice-pwd:dCq9aHWpUbI6QzSeNFY6nhwj\na=candidate:7405685272 1 udp 659136 x.x.x.88 27548 typ host generation 0\na=ssrc:585776411 cname:3Wun6HrWpmpslO1W\na=ssrc:585776411 msid:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF a0\na=ssrc:585776411 mslabel:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlF\na=ssrc:585776411 label:XQKYtjndZR5Dd8yILTx9vd6JhmMPRnlFa0\n" } }] 2016-03-14 06:56:34.279398 [ALERT] mod_verto.c:604 WRITE x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 58, "method": "verto.display", "params": { "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "display_name": "Outbound Call", "display_number": "789789", "caller_id_name": "xxxxxxxx30", "caller_id_number": "xxxxxxxx30", "callee_id_name": "Outbound Call", "callee_id_number": "789789", "display_direction": "inbound" } }] 2016-03-14 06:56:34.619410 [ALERT] mod_verto.c:1365 READ x.x.x.47:42702 [{ "jsonrpc": "2.0", "method": "verto.bye", "params": { "dialogParams": { "useVideo": false, "useStereo": true, "tag": "webcam", "login": "456456 at x.x.x.91", "destination_number": "123123", "caller_id_name": "xxxxxxxx30", "caller_id_number": "xxxxxxxx30", "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "remote_caller_id_name": "Outbound Call", "remote_caller_id_number": "123123" }, "sessid": "d6b2f69f-e53a-8313-54dd-5fca0e7eebd8" }, "id": 6 }] 2016-03-14 06:56:34.619410 [NOTICE] mod_verto.c:2738 Hangup verto.rtc/123123 [CS_EXECUTE] [NORMAL_CLEARING] 2016-03-14 06:56:34.619410 [ALERT] mod_verto.c:604 WRITE x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 6, "result": { "callID": "22edc3da-1886-1832-eed3-55220c6f0bfc", "message": "CALL ENDED", "causeCode": 16, "cause": "NORMAL_CLEARING", "sessid": "d6b2f69f-e53a-8313-54dd-5fca0e7eebd8" } }] 2016-03-14 06:56:34.619410 [ALERT] mod_verto.c:1365 READ x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 57, "result": { "method": "verto.answer" } }] 2016-03-14 06:56:34.639408 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/default/789789 at x.x.x.47:5062] 2016-03-14 06:56:34.639408 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/default/789789 at x.x.x.47:5062 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:542 (sofia/default/789789 at x.x.x.47:5062) State EXCHANGE_MEDIA going to sleep 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_HANGUP 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:739 (sofia/default/789789 at x.x.x.47:5062) Callstate Change ACTIVE -> HANGUP 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:741 (sofia/default/789789 at x.x.x.47:5062) State HANGUP 2016-03-14 06:56:34.639408 [DEBUG] mod_sofia.c:431 Channel sofia/default/789789 at x.x.x.47:5062 hanging up, cause: NORMAL_CLEARING 2016-03-14 06:56:34.639408 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/default/789789 at x.x.x.47:5062 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:60 sofia/default/789789 at x.x.x.47:5062 Standard HANGUP, cause: NORMAL_CLEARING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:741 (sofia/default/789789 at x.x.x.47:5062) State HANGUP going to sleep 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:508 (sofia/default/789789 at x.x.x.47:5062) State Change CS_HANGUP -> CS_REPORTING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:473 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_REPORTING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:827 (sofia/default/789789 at x.x.x.47:5062) State REPORTING 2016-03-14 06:56:34.639408 [DEBUG] switch_ivr_bridge.c:705 verto.rtc/123123 ending bridge by request from read function 2016-03-14 06:56:34.639408 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [verto.rtc/123123] 2016-03-14 06:56:34.639408 [DEBUG] switch_ivr_bridge.c:1689 sofia/default/789789 at x.x.x.47:5062 skip receive message [UNBRIDGE] (channel is hungup already) 2016-03-14 06:56:34.639408 [DEBUG] switch_ivr_bridge.c:1692 verto.rtc/123123 skip receive message [UNBRIDGE] (channel is hungup already) 2016-03-14 06:56:34.639408 [DEBUG] switch_core_session.c:2796 verto.rtc/123123 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:539 (verto.rtc/123123) State EXECUTE going to sleep 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/123123) Running State Change CS_HANGUP 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/123123) Callstate Change ACTIVE -> HANGUP 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/123123) State HANGUP 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:60 verto.rtc/123123 Standard HANGUP, cause: NORMAL_CLEARING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/123123) State HANGUP going to sleep 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/123123) State Change CS_HANGUP -> CS_REPORTING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/123123) Running State Change CS_REPORTING 2016-03-14 06:56:34.639408 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/123123) State REPORTING 2016-03-14 06:56:34.659410 [ALERT] mod_verto.c:1365 READ x.x.x.47:42702 [{ "jsonrpc": "2.0", "id": 58, "result": { "method": "verto.display" } }] 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:104 sofia/default/789789 at x.x.x.47:5062 Standard REPORTING, cause: NORMAL_CLEARING 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:827 (sofia/default/789789 at x.x.x.47:5062) State REPORTING going to sleep 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:499 (sofia/default/789789 at x.x.x.47:5062) State Change CS_REPORTING -> CS_DESTROY 2016-03-14 06:56:34.919400 [DEBUG] switch_core_session.c:1646 Session 121 (sofia/default/789789 at x.x.x.47:5062) Locked, Waiting on external entities 2016-03-14 06:56:34.919400 [NOTICE] switch_core_session.c:1664 Session 121 (sofia/default/789789 at x.x.x.47:5062) Ended 2016-03-14 06:56:34.919400 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/789789 at x.x.x.47:5062 [CS_DESTROY] 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:630 (sofia/default/789789 at x.x.x.47:5062) Running State Change CS_DESTROY 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:640 (sofia/default/789789 at x.x.x.47:5062) State DESTROY 2016-03-14 06:56:34.919400 [DEBUG] mod_sofia.c:341 sofia/default/789789 at x.x.x.47:5062 SOFIA DESTROY 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:111 sofia/default/789789 at x.x.x.47:5062 Standard DESTROY 2016-03-14 06:56:34.919400 [DEBUG] switch_core_state_machine.c:640 (sofia/default/789789 at x.x.x.47:5062) State DESTROY going to sleep 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:104 verto.rtc/123123 Standard REPORTING, cause: NORMAL_CLEARING 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/123123) State REPORTING going to sleep 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/123123) State Change CS_REPORTING -> CS_DESTROY 2016-03-14 06:56:34.939411 [DEBUG] switch_core_session.c:1646 Session 120 (verto.rtc/123123) Locked, Waiting on external entities 2016-03-14 06:56:34.939411 [NOTICE] switch_core_session.c:1664 Session 120 (verto.rtc/123123) Ended 2016-03-14 06:56:34.939411 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/123123 [CS_DESTROY] 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:630 (verto.rtc/123123) Running State Change CS_DESTROY 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/123123) State DESTROY 2016-03-14 06:56:34.939411 [DEBUG] mod_rtc.c:132 verto.rtc/123123 RTC DESTROY 2016-03-14 06:56:34.939411 [DEBUG] mod_opus.c:661 Opus decoder stats: Frames[0] PLC[0] FEC[0] 2016-03-14 06:56:34.939411 [DEBUG] mod_opus.c:661 Opus decoder stats: Frames[0] PLC[0] FEC[0] 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:111 verto.rtc/123123 Standard DESTROY 2016-03-14 06:56:34.939411 [DEBUG] switch_core_state_machine.c:640 (verto.rtc/123123) State DESTROY going to sleep 2016-03-14 06:56:35.399439 [DEBUG] switch_scheduler.c:144 Deleting task 42 switch_ivr_schedule_hangup (22edc3da-1886-1832-eed3-55220c6f0bfc) -------------- next part -------------- U x.x.x.88:5060 -> x.x.x.91:5060 INVITE sip:789789 at x.x.x.47:5062 SIP/2.0. Via: SIP/2.0/UDP x.x.x.88;rport;branch=z9hG4bK6yX1N7aDcgt8S. Route: ;lr;received=sip:x.x.x.47:5062. Max-Forwards: 70. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: . Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 INVITE. Contact: . User-Agent: GoldtelSolutions. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Content-Type: application/sdp. Content-Disposition: session. Content-Length: 366. X-FS-Support: update_display,send_info. Remote-Party-ID: "xxxxxxxx30" ;party=calling;screen=yes;privacy=off. . v=0. o=FreeSWITCH 1457913003 1457913004 IN IP4 x.x.x.88. s=FreeSWITCH. c=IN IP4 x.x.x.88. t=0 0. m=audio 18384 RTP/AVP 111 8 0 102 101. a=rtpmap:111 opus/48000/2. a=fmtp:111 minptime=10; stereo=1. 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=ptime:20. U x.x.x.91:5060 -> x.x.x.88:5060 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP x.x.x.88;received=x.x.x.88;rport=5060;branch=z9hG4bK6yX1N7aDcgt8S. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: . Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 INVITE. server: SIP Proxy. Content-Length: 0. . U x.x.x.91:5060 -> x.x.x.88:5060 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP x.x.x.88;received=x.x.x.88;rport=5060;branch=z9hG4bK6yX1N7aDcgt8S. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 INVITE. Contact: . Supported: replaces, path, timer. User-Agent: Grandstream GXP1400 1.0.6.11. Allow-Events: talk, hold. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE. Content-Length: 0. . U x.x.x.91:5060 -> x.x.x.88:5060 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP x.x.x.88;received=x.x.x.88;rport=5060;branch=z9hG4bK6yX1N7aDcgt8S. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 INVITE. Contact: . Supported: replaces, path, timer. User-Agent: Grandstream GXP1400 1.0.6.11. Allow-Events: talk, hold. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE. Content-Length: 0. . U x.x.x.91:5060 -> x.x.x.88:5060 SIP/2.0 200 OK. Via: SIP/2.0/UDP x.x.x.88;received=x.x.x.88;rport=5060;branch=z9hG4bK6yX1N7aDcgt8S. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 INVITE. Contact: . Supported: replaces, path, timer. User-Agent: Grandstream GXP1400 1.0.6.11. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE. Content-Type: application/sdp. Content-Length: 239. . v=0. o=789789 8001 8000 IN IP4 x.x.x.47. s=SIP Call. c=IN IP4 x.x.x.47. t=0 0. m=audio 5008 RTP/AVP 8 0 102. a=sendrecv. a=rtpmap:8 PCMA/8000. a=ptime:20. a=rtpmap:0 PCMU/8000. a=rtpmap:102 telephone-event/8000. a=fmtp:102 0-15. U x.x.x.88:5060 -> x.x.x.91:5060 ACK sip:789789 at x.x.x.91;did=cbd.1b45e6d1 SIP/2.0. Via: SIP/2.0/UDP x.x.x.88;rport;branch=z9hG4bK77ptQ2Ug9rgUN. Max-Forwards: 70. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629629 ACK. Contact: . Content-Length: 0. . U x.x.x.88:5060 -> x.x.x.91:5060 BYE sip:789789 at x.x.x.91;did=cbd.1b45e6d1 SIP/2.0. Via: SIP/2.0/UDP x.x.x.88;rport;branch=z9hG4bK8ggKSXcm616DH. Max-Forwards: 70. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629630 BYE. User-Agent: GoldtelSolutions. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: path, replaces. Reason: Q.850;cause=16;text="NORMAL_CLEARING". Content-Length: 0. . U x.x.x.91:5060 -> x.x.x.88:5060 SIP/2.0 200 OK. Via: SIP/2.0/UDP x.x.x.88;received=x.x.x.88;rport=5060;branch=z9hG4bK8ggKSXcm616DH. From: "xxxxxxxx30" ;tag=jZvFvaZXDmecH. To: ;tag=992100717. Call-ID: f3b3bc6c-6443-1234-e5b0-0024e83afa77. CSeq: 88629630 BYE. Contact: . Supported: replaces, path, timer. User-Agent: Grandstream GXP1400 1.0.6.11. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE. Content-Length: 0. From lexxua at gmail.com Mon Mar 14 11:21:24 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Mon, 14 Mar 2016 09:21:24 +0100 Subject: [Freeswitch-users] Conference Bandwith parameter Message-ID: Hi, community! In wiki page https://freeswitch.org/confluence/display/FREESWITCH/mod_conference I found parameter for conf room: video-codec-bandwidth . It will be used as SDP respond part as a Bandwidth ("b=") from Freeswitch ? Thank you in advance -- Best regards, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/c58dc37e/attachment.html From shlomis at liveperson.com Mon Mar 14 11:29:14 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Mon, 14 Mar 2016 10:29:14 +0200 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis In-Reply-To: References: Message-ID: Hi Ido, Thanks for the reply, the part with mod_verto and webRTC already implemented, but what would be the steps to connect FS to Genesis? I couldn't find (Probably didn't look in the right place) any documentation. On Mon, Mar 14, 2016 at 7:36 AM, ik wrote: > Creating a trunk between the two should work, regardless of verto. > > Verto is a way to support web sockets to FS, it's just create a new type > of channel, like with SIP or PRI for example. > Once one channel exits, it can be bridged to a second supported channel. > > Ido > On Mar 13, 2016 6:32 PM, "Shlomi Schwartz" wrote: > >> Sorry if this is a stupid question: >> >> I've connected to FreeSwicth using mod_verto, now I would like to route >> the call to a Genesys via SIP. >> >> Is it the right approach? is there any documentation for it? >> >> The purpose is to be able to integrate my webRTC solution to many contact >> center platforms. >> >> >> >> >> >> >> >> 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/20160314/f09a9b8c/attachment.html From idokan at gmail.com Mon Mar 14 12:22:35 2016 From: idokan at gmail.com (ik) Date: Mon, 14 Mar 2016 11:22:35 +0200 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis In-Reply-To: References: Message-ID: A sip profile. There are many ways to configure it, but usually the simplest way is to create a username, password on both ends and create the trunk on both systems. Another way is to work on whitelist, a simple IP based trunk. But FS does not count calls that way. I have never used Genesis, but FS is very easy to setup. Take a look at default.XML and at confluence under gateway configuration. Ido On Mar 14, 2016 10:31 AM, "Shlomi Schwartz" wrote: > Hi Ido, > > Thanks for the reply, the part with mod_verto and webRTC already > implemented, but what would be the steps to connect FS to Genesis? > I couldn't find (Probably didn't look in the right place) any > documentation. > > On Mon, Mar 14, 2016 at 7:36 AM, ik wrote: > >> Creating a trunk between the two should work, regardless of verto. >> >> Verto is a way to support web sockets to FS, it's just create a new type >> of channel, like with SIP or PRI for example. >> Once one channel exits, it can be bridged to a second supported channel. >> >> Ido >> On Mar 13, 2016 6:32 PM, "Shlomi Schwartz" >> wrote: >> >>> Sorry if this is a stupid question: >>> >>> I've connected to FreeSwicth using mod_verto, now I would like to route >>> the call to a Genesys via SIP. >>> >>> Is it the right approach? is there any documentation for it? >>> >>> The purpose is to be able to integrate my webRTC solution to many >>> contact center platforms. >>> >>> >>> >>> >>> >>> >>> >>> 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. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/459a61c6/attachment-0001.html From francesco.piccinin at gmail.com Mon Mar 14 14:26:25 2016 From: francesco.piccinin at gmail.com (Francesco Piccinin) Date: Mon, 14 Mar 2016 12:26:25 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions Message-ID: Hello Giovanni, thanks for you quick answer. Please find below patebin link you requested: XML Dialplan file's extract: http://pastebin.com/dmHAKWxT Internal call fscli logs: http://pastebin.com/KfnaYN11 External call fscli logs http://pastebin.com/2Khp1MaX Regarding dialplan files, I'm going to explain here call flow: Default.xml 1.call hits extension call_local, lua script is run and channel vasr cType=SRV, service_type=IVR 2. extension apps in xml services is execute Services.xml lua script is run to retrieve ivr name 3. on selection (2 in the logs) call is transfer to 8910 XML calls Calls.xml 4. extension: call_inside is execute and call is hangup after As you can see from the logs mod sofia hangup with user busy and then send a bye to external or internal channel: 2016-03-14 11:37:40.266607 [DEBUG] mod_sofia.c:506 Channel sofia/external/ 00403737752 at 10.200.24.10 hanging up, cause: USER_BUSY 2016-03-14 11:37:40.266607 [DEBUG] mod_sofia.c:558 Sending BYE to sofia/external/00403737752 at 10.200.24.10 2016-03-14 11:38:54.166606 [DEBUG] mod_sofia.c:506 Channel sofia/internal/ 5532 at insiel.fvgvoipcoll.it hanging up, cause: USER_BUSY 2016-03-14 11:38:54.166606 [DEBUG] mod_sofia.c:558 Sending BYE to sofia/internal/5532 at insiel.fvgvoipcoll.it I tried to removed the limit app and the calls then hint limit_exceeded extension in calls.xml but behaviour is the same. It seems to me that continue_on_fail where passing over IVR is not considered. If I call directly (without IVR) extension 8910 (while it is busy) behaviour for both internal or external call is correct and busy tone is received. Looking forward for a clue :-) Thanks Regards Francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/c9e9ff69/attachment.html From italo at freeswitch.org Mon Mar 14 15:23:51 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Mon, 14 Mar 2016 09:23:51 -0300 Subject: [Freeswitch-users] Call failed with mod_verto In-Reply-To: References: Message-ID: Looks like the BYE is coming from your SIP device. On Mon, Mar 14, 2016 at 4:48 AM, bhavik patel wrote: > Thank you for your answer. > > Now outbound calls seems to be working. > > But inbound calls have still the same issue that the call drops after > answer. > > Here i am attaching call and SIP logs. > > > > On Fri, Mar 11, 2016 at 5:17 PM, ?talo Rossi wrote: > >> Your SDP doesn't contain audio codecs, you're setting >> absolute_codec_string wrong,it should be >> >> absolute_codec_string=^^:G729:PCMA:PCMU:opus >> >> You missed the ':' as the separator being used in the array. >> >> 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 >> >> ?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 11 2016, at 1:22 am, bhavik patel >>> wrote: >>> Can anyone please suggest me for this issue ? >>> >>> On Mon, Mar 7, 2016 at 6:18 PM, bhavik patel >> > wrote: >>> >>> I did try with PCMA:PCMU and getting same result. >>> >>> PFA >>> >>> On Mon, Mar 7, 2016 at 5:58 PM, Gregor Nanger >>> wrote: >>> >>> I guess that there is something with codec. As I see it select g729. Try >>> to force PCMA:PCMU for test. >>> >>> 2016-03-07 13:01 GMT+01:00 bhavik patel : >>> >>> 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 >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> >>> >>> >>> -- >>> Thanks, >>> Bhavik Patel >>> >>> >>> >>> >>> -- >>> Thanks, >>> Bhavik Patel >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/7b13be23/attachment-0001.html From shlomis at liveperson.com Mon Mar 14 15:44:48 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Mon, 14 Mar 2016 14:44:48 +0200 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis In-Reply-To: References: Message-ID: *Connecting my mod_verto demo to a real phone:* I'm at a stage that my mod_verto ios client is working with my browser client. For a quick test, I've added my FreeSwitch IP to my company SBC, but I have no clue where to start and what to configure. Any direction would be appericiated On Mon, Mar 14, 2016 at 11:22 AM, ik wrote: > A sip profile. > > There are many ways to configure it, but usually the simplest way is to > create a username, password on both ends and create the trunk on both > systems. > > Another way is to work on whitelist, a simple IP based trunk. But FS does > not count calls that way. > > I have never used Genesis, but FS is very easy to setup. > > Take a look at default.XML and at confluence under gateway configuration. > > Ido > On Mar 14, 2016 10:31 AM, "Shlomi Schwartz" > wrote: > >> Hi Ido, >> >> Thanks for the reply, the part with mod_verto and webRTC already >> implemented, but what would be the steps to connect FS to Genesis? >> I couldn't find (Probably didn't look in the right place) any >> documentation. >> >> On Mon, Mar 14, 2016 at 7:36 AM, ik wrote: >> >>> Creating a trunk between the two should work, regardless of verto. >>> >>> Verto is a way to support web sockets to FS, it's just create a new type >>> of channel, like with SIP or PRI for example. >>> Once one channel exits, it can be bridged to a second supported channel. >>> >>> Ido >>> On Mar 13, 2016 6:32 PM, "Shlomi Schwartz" >>> wrote: >>> >>>> Sorry if this is a stupid question: >>>> >>>> I've connected to FreeSwicth using mod_verto, now I would like to route >>>> the call to a Genesys via SIP. >>>> >>>> Is it the right approach? is there any documentation for it? >>>> >>>> The purpose is to be able to integrate my webRTC solution to many >>>> contact center platforms. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 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. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160314/c161eddf/attachment.html From ssinyagin at gmail.com Mon Mar 14 15:49:40 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 14 Mar 2016 13:49:40 +0100 Subject: [Freeswitch-users] Connecting FreeSwitch to Genesis In-Reply-To: References: Message-ID: you need to configure a SIP gateway on the FreeSWITCH, pointing towards the SBC, and then edit the dialplan to send the calls to that gateway. My tutorial outlines some basics, and for the rest there's the book and the wiki: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example There are also many people on this list who would build your POC for you for some money. On Mon, Mar 14, 2016 at 1:44 PM, Shlomi Schwartz wrote: > *Connecting my mod_verto demo to a real phone:* > > I'm at a stage that my mod_verto ios client is working with my browser > client. > For a quick test, I've added my FreeSwitch IP to my company SBC, but I > have no clue where to start and what to configure. Any direction would be > appericiated > > On Mon, Mar 14, 2016 at 11:22 AM, ik wrote: > >> A sip profile. >> >> There are many ways to configure it, but usually the simplest way is to >> create a username, password on both ends and create the trunk on both >> systems. >> >> Another way is to work on whitelist, a simple IP based trunk. But FS does >> not count calls that way. >> >> I have never used Genesis, but FS is very easy to setup. >> >> Take a look at default.XML and at confluence under gateway configuration. >> >> Ido >> On Mar 14, 2016 10:31 AM, "Shlomi Schwartz" >> wrote: >> >>> Hi Ido, >>> >>> Thanks for the reply, the part with mod_verto and webRTC already >>> implemented, but what would be the steps to connect FS to Genesis? >>> I couldn't find (Probably didn't look in the right place) any >>> documentation. >>> >>> On Mon, Mar 14, 2016 at 7:36 AM, ik wrote: >>> >>>> Creating a trunk between the two should work, regardless of verto. >>>> >>>> Verto is a way to support web sockets to FS, it's just create a new >>>> type of channel, like with SIP or PRI for example. >>>> Once one channel exits, it can be bridged to a second supported channel. >>>> >>>> Ido >>>> On Mar 13, 2016 6:32 PM, "Shlomi Schwartz" >>>> wrote: >>>> >>>>> Sorry if this is a stupid question: >>>>> >>>>> I've connected to FreeSwicth using mod_verto, now I would like to >>>>> route the call to a Genesys via SIP. >>>>> >>>>> Is it the right approach? is there any documentation for it? >>>>> >>>>> The purpose is to be able to integrate my webRTC solution to many >>>>> contact center platforms. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 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. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/5a073ee4/attachment-0001.html From stasan89 at gmail.com Mon Mar 14 10:23:09 2016 From: stasan89 at gmail.com (=?UTF-8?B?0KHRgtCw0YEg0KLQtdC70YzQvdC+0LI=?=) Date: Mon, 14 Mar 2016 10:23:09 +0300 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error Message-ID: Hello. I have had difficulties at control of the opensips and freeswitch connective. The task is: to organize voip-conference between mobile application users through our opensips server or between mobile application users with addition of a call to the city line. Sip and freeswitch servers are on amazon ec2 each. Physical servers are different. Firstly, I test the opportunity to call to freeswitch and to receive the answer. From the part of opensips everything works, as far as I can judge, correctly. A problem appears at a call with use of freeswitch. In particular for tests I call on number 5000 through Zoiper . In reply I receive the mistake: 488 INCOMPATIBLE_DESTINATION Here is the text of freeswitch tracking data: EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] EXECUTE sofia/external/8 at SIP_DOMAIN hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) EXECUTE sofia/external/8 at SIP_DOMAINhash (insert/172.31.22.124-last_dial/8/5000) EXECUTE sofia/external/8 at SIP_DOMAIN hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 02:54:02 -0400) 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] EXECUTE sofia/external/8 at SIP_DOMAIN answer() 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in SDP. Disable 2833 dtmf and switch to INFO 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 sofia/external/8 at SIP_DOMAIN skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8 at SIP_DOMAIN) State HANGUP 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8 at SIP_DOMAIN) State REPORTING 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/external/8 at SIP_DOMAIN) Ended 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8 at SIP_DOMAIN) State DESTROY 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 sofia/external/8 at SIP_DOMAIN SOFIA DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 sofia/external/8 at SIP_DOMAIN Standard DESTROY 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep Error in my_thread_global_end(): 1 threads didn't exit In such a case I use the following configuration of freeswitch: vars.xmp: http://pastebin.com/DijwsQ7j modules.conf.xml: http://pastebin.com/PjeNgVkh At the same time I use the following configuration of opensips: http://pastebin.com/49XpcGBj Whats i doing incorrect? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/91dd6512/attachment.html From fdelawarde at wirelessmundi.com Mon Mar 14 16:55:50 2016 From: fdelawarde at wirelessmundi.com (=?UTF-8?B?RnJhbsOnb2lz?=) Date: Mon, 14 Mar 2016 14:55:50 +0100 Subject: [Freeswitch-users] freeswitch with tickless linux kernel Message-ID: <56E6C2E6.7030701@wirelessmundi.com> Is it still recommended to use custom 1000HZ kernels for FS servers or can we go tickless now? Any difference if FS is installed in baremetal vs virtualized? Thanks, Fran?ois. From jurij.ivo at gmail.com Mon Mar 14 17:04:26 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 14 Mar 2016 16:04:26 +0200 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Hi Stas, It looks like freeswitch do not like that you do not have media encryption on: [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. Not sure, but I would recommend to take a look on your external sofia profile and look for media encryption. With kind regards, Jurijs 2016-03-14 9:23 GMT+02:00 ???? ??????? : > Hello. > I have had difficulties at control of the opensips and freeswitch > connective. The task is: to organize voip-conference between mobile > application users through our opensips server or between mobile application > users with addition of a call to the city line. > > Sip and freeswitch servers are on amazon ec2 each. Physical servers are > different. > Firstly, I test the opportunity to call to freeswitch and to receive the > answer. From the part of opensips everything works, as far as I can judge, > correctly. A problem appears at a call with use of freeswitch. > In particular for tests I call on number 5000 through Zoiper . In reply I > receive the mistake: > 488 INCOMPATIBLE_DESTINATION > > Here is the text of freeswitch tracking data: > EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) > 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET > sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] > EXECUTE sofia/external/8 at SIP_DOMAIN > hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) > EXECUTE sofia/external/8 at SIP_DOMAINhash > (insert/172.31.22.124-last_dial/8/5000) > EXECUTE sofia/external/8 at SIP_DOMAIN > hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) > EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 > 02:54:02 -0400) > 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT > (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] > EXECUTE sofia/external/8 at SIP_DOMAIN answer() > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec > Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match > 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not > negotiated but required. > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in > SDP. Disable 2833 dtmf and switch to INFO > 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup > sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 > sofia/external/8 at SIP_DOMAIN skip receive message > [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 > (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 > (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/8 at SIP_DOMAIN) State HANGUP > 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel > sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION > 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE > with: 488 > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 > sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: > INCOMPATIBLE_DESTINATION > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 > (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/8 at SIP_DOMAIN) State REPORTING > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 > sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: > INCOMPATIBLE_DESTINATION > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 > (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 > (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities > 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 > (sofia/external/8 at SIP_DOMAIN) Ended > 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close > Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/8 at SIP_DOMAIN) State DESTROY > 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 > sofia/external/8 at SIP_DOMAIN SOFIA DESTROY > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 > sofia/external/8 at SIP_DOMAIN Standard DESTROY > 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep > Error in my_thread_global_end(): 1 threads didn't exit > > > In such a case I use the following configuration of freeswitch: > vars.xmp: http://pastebin.com/DijwsQ7j > modules.conf.xml: http://pastebin.com/PjeNgVkh > > At the same time I use the following configuration of opensips: > http://pastebin.com/49XpcGBj > > Whats i doing incorrect? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/9b2e1b66/attachment-0001.html From stasan89 at gmail.com Mon Mar 14 17:16:23 2016 From: stasan89 at gmail.com (=?UTF-8?B?0KHRgtCw0YEg0KLQtdC70YzQvdC+0LI=?=) Date: Mon, 14 Mar 2016 17:16:23 +0300 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Hi Jurijs, Yes, I see. I tried disabling rtp_secure_media param, but it does not solve the problem. 2016-03-14 17:04 GMT+03:00 Jurijs Ivolga : > Hi Stas, > > It looks like freeswitch do not like that you do not have media encryption > on: > > [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. > > Not sure, but I would recommend to take a look on your external sofia > profile and look for media encryption. > > With kind regards, > > Jurijs > > 2016-03-14 9:23 GMT+02:00 ???? ??????? : > >> Hello. >> I have had difficulties at control of the opensips and freeswitch >> connective. The task is: to organize voip-conference between mobile >> application users through our opensips server or between mobile application >> users with addition of a call to the city line. >> >> Sip and freeswitch servers are on amazon ec2 each. Physical servers are >> different. >> Firstly, I test the opportunity to call to freeswitch and to receive the >> answer. From the part of opensips everything works, as far as I can judge, >> correctly. A problem appears at a call with use of freeswitch. >> In particular for tests I call on number 5000 through Zoiper . In reply I >> receive the mistake: >> 488 INCOMPATIBLE_DESTINATION >> >> Here is the text of freeswitch tracking data: >> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) >> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET >> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] >> EXECUTE sofia/external/8 at SIP_DOMAIN >> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >> EXECUTE sofia/external/8 at SIP_DOMAINhash >> (insert/172.31.22.124-last_dial/8/5000) >> EXECUTE sofia/external/8 at SIP_DOMAIN >> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 >> 02:54:02 -0400) >> 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT >> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] >> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec >> Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match >> 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not >> negotiated but required. >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in >> SDP. Disable 2833 dtmf and switch to INFO >> 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup >> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 >> sofia/external/8 at SIP_DOMAIN skip receive message >> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 >> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 >> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/8 at SIP_DOMAIN) State HANGUP >> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel >> sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION >> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE >> with: 488 >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 >> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >> INCOMPATIBLE_DESTINATION >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/8 at SIP_DOMAIN) State REPORTING >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 >> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >> INCOMPATIBLE_DESTINATION >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 >> (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 >> (sofia/external/8 at SIP_DOMAIN) Ended >> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/8 at SIP_DOMAIN) State DESTROY >> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 >> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 >> sofia/external/8 at SIP_DOMAIN Standard DESTROY >> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >> Error in my_thread_global_end(): 1 threads didn't exit >> >> >> In such a case I use the following configuration of freeswitch: >> vars.xmp: http://pastebin.com/DijwsQ7j >> modules.conf.xml: http://pastebin.com/PjeNgVkh >> >> At the same time I use the following configuration of opensips: >> http://pastebin.com/49XpcGBj >> >> Whats i doing incorrect? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160314/0ff08f80/attachment.html From jurijs.ivolga at gmail.com Mon Mar 14 17:18:31 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Mon, 14 Mar 2016 16:18:31 +0200 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Hi, Could you please share with us logs from console when you disabled media encryption? Do you get same error? With kind regards, 2016-03-14 16:16 GMT+02:00 ???? ??????? : > Hi Jurijs, > > Yes, I see. I tried disabling rtp_secure_media param, but it does not > solve the problem. > > > > 2016-03-14 17:04 GMT+03:00 Jurijs Ivolga : > >> Hi Stas, >> >> It looks like freeswitch do not like that you do not have media >> encryption on: >> >> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. >> >> Not sure, but I would recommend to take a look on your external sofia >> profile and look for media encryption. >> >> With kind regards, >> >> Jurijs >> >> 2016-03-14 9:23 GMT+02:00 ???? ??????? : >> >>> Hello. >>> I have had difficulties at control of the opensips and freeswitch >>> connective. The task is: to organize voip-conference between mobile >>> application users through our opensips server or between mobile application >>> users with addition of a call to the city line. >>> >>> Sip and freeswitch servers are on amazon ec2 each. Physical servers are >>> different. >>> Firstly, I test the opportunity to call to freeswitch and to receive the >>> answer. From the part of opensips everything works, as far as I can judge, >>> correctly. A problem appears at a call with use of freeswitch. >>> In particular for tests I call on number 5000 through Zoiper . In reply >>> I receive the mistake: >>> 488 INCOMPATIBLE_DESTINATION >>> >>> Here is the text of freeswitch tracking data: >>> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) >>> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET >>> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] >>> EXECUTE sofia/external/8 at SIP_DOMAIN >>> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>> EXECUTE sofia/external/8 at SIP_DOMAINhash >>> (insert/172.31.22.124-last_dial/8/5000) >>> EXECUTE sofia/external/8 at SIP_DOMAIN >>> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar >>> 2016 02:54:02 -0400) >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT >>> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] >>> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>> Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec >>> Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match >>> 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto not >>> negotiated but required. >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in >>> SDP. Disable 2833 dtmf and switch to INFO >>> 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup >>> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 >>> sofia/external/8 at SIP_DOMAIN skip receive message >>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 >>> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 >>> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/external/8 at SIP_DOMAIN) State HANGUP >>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel >>> sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION >>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE >>> with: 488 >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 >>> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >>> INCOMPATIBLE_DESTINATION >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 >>> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/external/8 at SIP_DOMAIN) State REPORTING >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 >>> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >>> INCOMPATIBLE_DESTINATION >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 >>> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 >>> (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session 1 >>> (sofia/external/8 at SIP_DOMAIN) Ended >>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close >>> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 >>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/external/8 at SIP_DOMAIN) State DESTROY >>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 >>> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 >>> sofia/external/8 at SIP_DOMAIN Standard DESTROY >>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >>> Error in my_thread_global_end(): 1 threads didn't exit >>> >>> >>> In such a case I use the following configuration of freeswitch: >>> vars.xmp: http://pastebin.com/DijwsQ7j >>> modules.conf.xml: http://pastebin.com/PjeNgVkh >>> >>> At the same time I use the following configuration of opensips: >>> http://pastebin.com/49XpcGBj >>> >>> Whats i doing incorrect? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160314/7db1fd83/attachment-0001.html From stasan89 at gmail.com Mon Mar 14 17:47:41 2016 From: stasan89 at gmail.com (=?UTF-8?B?0KHRgtCw0YEg0KLQtdC70YzQvdC+0LI=?=) Date: Mon, 14 Mar 2016 17:47:41 +0300 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Yes. Now I testing from mobile app, and I view next log: 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:1101 New Channel sofia/external/8 at SIP_DOMAIN [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_NEW 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:9248 sofia/external/8 at SIP_DOMAIN receiving invite from INTERNAL_EC2_SIP_IP:5060 version: 1.6.6 64bit 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6760 Channel sofia/external/8 at SIP_DOMAIN entering state [received][100] 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6770 Remote SDP: v=0 o=- 1457965687 1 IN IP4 MY_DEVICE_IP s=portsip.com c=IN IP4 PUBLIC_EC2_SIP_IP t=0 0 m=audio 37956 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=nortpproxy:yes 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:7125 (sofia/external/8 at SIP_DOMAIN) State Change CS_NEW -> CS_INIT 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:492 (sofia/external/8 at SIP_DOMAIN) State NEW 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_INIT 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8 at SIP_DOMAIN) State INIT 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:88 sofia/external/8 at SIP_DOMAIN SOFIA INIT 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:40 sofia/external/8 at SIP_DOMAIN Standard INIT 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:48 (sofia/external/8 at SIP_DOMAIN) State Change CS_INIT -> CS_ROUTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8 at SIP_DOMAIN) State INIT going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:2247 (sofia/external/8 at SIP_DOMAIN) Callstate Change DOWN -> RINGING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8 at SIP_DOMAIN) State ROUTING 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 sofia/external/8 at SIP_DOMAIN SOFIA ROUTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 sofia/external/8 at SIP_DOMAIN Standard ROUTING 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 <8>->5000 in context public Dialplan: sofia/external/8 at SIP_DOMAIN parsing [public->from_opensips] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [from_opensips] network_addr(INTERNAL_EC2_SIP_IP) =~ /^172\.31\.0\.169$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN Action transfer(${destination_number} XML default) 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8 at SIP_DOMAIN) State EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 sofia/external/8 at SIP_DOMAIN Standard EXECUTE EXECUTE sofia/external/8 at SIP_DOMAIN transfer(5000 XML default) 2016-03-14 10:28:08.300433 [DEBUG] switch_ivr.c:2085 (sofia/external/8 at SIP_DOMAIN) State Change CS_EXECUTE -> CS_ROUTING 2016-03-14 10:28:08.300433 [NOTICE] switch_ivr.c:2092 Transfer sofia/external/8 at SIP_DOMAIN to XML[5000 at default] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8 at SIP_DOMAIN) State ROUTING 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 sofia/external/8 at SIP_DOMAIN SOFIA ROUTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 sofia/external/8 at SIP_DOMAIN Standard ROUTING 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 <8>->5000 in context default Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->unloop] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->tod_example] continue=true Dialplan: sofia/external/8 at SIP_DOMAIN Date/Time Match (PASS) [tod_example] break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN Action set(open=true) Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->holiday_example] continue=true Dialplan: sofia/external/8 at SIP_DOMAIN Date/TimeMatch (FAIL) [holiday_example] break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->global-intercept] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global-intercept] destination_number(5000) =~ /^886$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group-intercept] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group-intercept] destination_number(5000) =~ /^\*8$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->intercept-ext] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [intercept-ext] destination_number(5000) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->redial] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [redial] destination_number(5000) =~ /^(redial|870)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->global] continue=true Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] ${call_debug}(true) =~ /^true$/ break=never Dialplan: sofia/external/8 at SIP_DOMAIN Action info() Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] ${default_password}(12345) =~ /^1234$/ break=never Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] ${rtp_has_crypto}() =~ /^()$/ break=never Dialplan: sofia/external/8 at SIP_DOMAIN Action set(rtp_secure_media=false) Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] ${switch_r_sdp}(v=0 o=- 1457965687 1 IN IP4 MY_DEVICE_IP s=portsip.com c=IN IP4 PUBLIC_EC2_SIP_IP t=0 0 m=audio 37956 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=nortpproxy:yes ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never Dialplan: sofia/external/8 at SIP_DOMAIN Absolute Condition [global] Dialplan: sofia/external/8 at SIP_DOMAIN Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid}) Dialplan: sofia/external/8 at SIP_DOMAIN Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/external/8 at SIP_DOMAIN Action hash(insert/${domain_name}-last_dial/global/${uuid}) Dialplan: sofia/external/8 at SIP_DOMAIN Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-2] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-2] destination_number(5000) =~ /^9001$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-1] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-1] destination_number(5000) =~ /^9000$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] destination_number(5000) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] destination_number(5000) =~ /^779$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call_return] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call_return] destination_number(5000) =~ /^\*69$|^869$|^lcr$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->del-group] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [del-group] destination_number(5000) =~ /^80(\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->add-group] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [add-group] destination_number(5000) =~ /^81(\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call-group-simo] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-simo] destination_number(5000) =~ /^82(\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call-group-order] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-order] destination_number(5000) =~ /^83(\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->extension-intercom] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [extension-intercom] destination_number(5000) =~ /^8(10[01][0-9])$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->Local_Extension] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [Local_Extension] destination_number(5000) =~ /^(10[01][0-9])$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->Local_Extension_Skinny] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [Local_Extension_Skinny] destination_number(5000) =~ /^(11[01][0-9])$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group_dial_sales] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_sales] destination_number(5000) =~ /^2000$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group_dial_support] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_support] destination_number(5000) =~ /^2001$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group_dial_billing] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_billing] destination_number(5000) =~ /^2002$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->operator] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [operator] destination_number(5000) =~ /^(operator|0)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->vmain] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [vmain] destination_number(5000) =~ /^vmain$|^4000$|^\*98$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->sip_uri] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [sip_uri] destination_number(5000) =~ /^sip:(.*)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->nb_conferences] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [nb_conferences] destination_number(5000) =~ /^(30\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->wb_conferences] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [wb_conferences] destination_number(5000) =~ /^(31\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->uwb_conferences] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [uwb_conferences] destination_number(5000) =~ /^(32\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->cdquality_conferences] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [cdquality_conferences] destination_number(5000) =~ /^(33\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->cdquality_conferences] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [cdquality_conferences] destination_number(5000) =~ /^(35\d{2})$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->freeswitch_public_conf_via_sip] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(5000) =~ /^9(888|8888|1616|3232)$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->mad_boss_intercom] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] destination_number(5000) =~ /^0911$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->mad_boss_intercom] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] destination_number(5000) =~ /^0912$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->mad_boss] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss] destination_number(5000) =~ /^0913$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->ivr_demo] continue=false Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [ivr_demo] destination_number(5000) =~ /^5000$/ break=on-false Dialplan: sofia/external/8 at SIP_DOMAIN Action answer() Dialplan: sofia/external/8 at SIP_DOMAIN Action sleep(2000) Dialplan: sofia/external/8 at SIP_DOMAIN Action ivr(demo_ivr) 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8 at SIP_DOMAIN) State EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 sofia/external/8 at SIP_DOMAIN Standard EXECUTE EXECUTE sofia/external/8 at SIP_DOMAIN set(open=true) 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET sofia/external/8 at SIP_DOMAIN [open]=[true] EXECUTE sofia/external/8 at SIP_DOMAIN info() 2016-03-14 10:28:08.300433 [INFO] mod_dptools.c:1711 CHANNEL_DATA: Channel-State: [CS_EXECUTE] Channel-Call-State: [RINGING] Channel-State-Number: [4] Channel-Name: [sofia/external/8 at SIP_DOMAIN] Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] Call-Direction: [inbound] Presence-Call-Direction: [inbound] Channel-HIT-Dialplan: [true] Channel-Call-UUID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] Answer-State: [ringing] Caller-Direction: [inbound] Caller-Logical-Direction: [inbound] Caller-Username: [8] Caller-Dialplan: [XML] Caller-Caller-ID-Name: [8] Caller-Caller-ID-Number: [8] Caller-Orig-Caller-ID-Name: [8] Caller-Orig-Caller-ID-Number: [8] Caller-Network-Addr: [INTERNAL_EC2_SIP_IP] Caller-ANI: [8] Caller-Destination-Number: [5000] Caller-Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] Caller-Source: [mod_sofia] Caller-Transfer-Source: [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] Caller-Context: [default] Caller-RDNIS: [5000] Caller-Channel-Name: [sofia/external/8 at SIP_DOMAIN] Caller-Profile-Index: [2] Caller-Profile-Created-Time: [1457965688300433] Caller-Channel-Created-Time: [1457965688300433] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0] Caller-Channel-Hangup-Time: [0] Caller-Channel-Transfer-Time: [0] Caller-Channel-Resurrect-Time: [0] Caller-Channel-Bridged-Time: [0] Caller-Channel-Last-Hold: [0] Caller-Channel-Hold-Accum: [0] Caller-Screen-Bit: [true] Caller-Privacy-Hide-Name: [false] Caller-Privacy-Hide-Number: [false] variable_direction: [inbound] variable_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] variable_session_id: [3] variable_sip_from_user: [8] variable_sip_from_uri: [8 at SIP_DOMAIN] variable_sip_from_host: [SIP_DOMAIN] variable_video_media_flow: [sendrecv] variable_audio_media_flow: [sendrecv] variable_channel_name: [sofia/external/8 at SIP_DOMAIN] variable_sip_call_id: [71_8NY0kPXL-XSj6yGW0xA..] variable_sip_local_network_addr: [INTERNAL_EC2_FREESWITCH_IP] variable_sip_network_ip: [INTERNAL_EC2_SIP_IP] variable_sip_network_port: [5060] variable_sip_received_ip: [INTERNAL_EC2_SIP_IP] variable_sip_received_port: [5060] variable_sip_via_protocol: [udp] variable_sip_from_user_stripped: [8] variable_sip_from_tag: [fcea0c6a] variable_sofia_profile_name: [external] variable_recovery_profile_name: [external] variable_sip_invite_record_route: [,] variable_sip_full_via: [SIP/2.0/UDP SIP_DOMAIN:5060;branch=z9hG4bK4c2e.c8bf595.0;i=a2;received=INTERNAL_EC2_SIP_IP,SIP/2.0/TLS 192.168.0.117:10209 ;received=MY_DEVICE_IP;branch=z9hG4bK-524287-1---12a94851d2e44a3e;rport=59318] variable_sip_from_display: [8] variable_sip_full_from: ["8" ;tag=fcea0c6a] variable_sip_full_to: [] variable_sip_req_user: [5000] variable_sip_req_uri: [5000 at SIP_DOMAIN] variable_sip_req_host: [SIP_DOMAIN] variable_sip_to_user: [*5000] variable_sip_to_uri: [*5000 at SIP_DOMAIN] variable_sip_to_host: [SIP_DOMAIN] variable_sip_contact_params: [ob;transport=tls] variable_sip_contact_user: [8] variable_sip_contact_port: [59318] variable_sip_contact_uri: [8 at MY_DEVICE_IP:59318] variable_sip_contact_host: [MY_DEVICE_IP] variable_rtp_use_codec_string: [G722,PCMU,PCMA,GSM] variable_sip_user_agent: [PortSIP SDK for IOS] variable_sip_via_host: [SIP_DOMAIN] variable_sip_via_port: [5060] variable_switch_r_sdp: [v=0 o=- 1457965687 1 IN IP4 MY_DEVICE_IP s=portsip.com c=IN IP4 PUBLIC_EC2_SIP_IP t=0 0 m=audio 37956 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=nortpproxy:yes ] variable_endpoint_disposition: [DELAYED NEGOTIATION] variable_max_forwards: [68] variable_transfer_history: [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] variable_transfer_source: [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] variable_DP_MATCH: [ARRAY::DELAYED NEGOTIATION|:DELAYED NEGOTIATION] variable_call_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] variable_open: [true] variable_current_application: [info] EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=false) 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[false] EXECUTE sofia/external/8 at SIP_DOMAIN hash(insert/INTERNAL_EC2_FREESWITCH_IP-spymap/8/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) EXECUTE sofia/external/8 at SIP_DOMAIN hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/8/5000) EXECUTE sofia/external/8 at SIP_DOMAIN hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/global/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 10:28:08 -0400) 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 10:28:08 -0400] EXECUTE sofia/external/8 at SIP_DOMAIN answer() 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4077 Set telephone-event payload to 101 at 8000 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4485 sofia/external/8 at SIP_DOMAIN Set 2833 dtmf send payload to 101 recv payload to 101 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:3806 Hangup sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:2796 sofia/external/8 at SIP_DOMAIN skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8 at SIP_DOMAIN) State HANGUP 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:431 Channel sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:60 sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8 at SIP_DOMAIN) State REPORTING 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:104 sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:1646 Session 3 (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1664 Session 3 (sofia/external/8 at SIP_DOMAIN) Ended 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8 at SIP_DOMAIN) State DESTROY 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:341 sofia/external/8 at SIP_DOMAIN SOFIA DESTROY 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:111 sofia/external/8 at SIP_DOMAIN Standard DESTROY 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep 2016-03-14 17:18 GMT+03:00 Jurijs Ivolga : > Hi, > > Could you please share with us logs from console when you disabled media > encryption? Do you get same error? > > With kind regards, > > 2016-03-14 16:16 GMT+02:00 ???? ??????? : > >> Hi Jurijs, >> >> Yes, I see. I tried disabling rtp_secure_media param, but it does not >> solve the problem. >> >> >> >> 2016-03-14 17:04 GMT+03:00 Jurijs Ivolga : >> >>> Hi Stas, >>> >>> It looks like freeswitch do not like that you do not have media >>> encryption on: >>> >>> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. >>> >>> Not sure, but I would recommend to take a look on your external sofia >>> profile and look for media encryption. >>> >>> With kind regards, >>> >>> Jurijs >>> >>> 2016-03-14 9:23 GMT+02:00 ???? ??????? : >>> >>>> Hello. >>>> I have had difficulties at control of the opensips and freeswitch >>>> connective. The task is: to organize voip-conference between mobile >>>> application users through our opensips server or between mobile application >>>> users with addition of a call to the city line. >>>> >>>> Sip and freeswitch servers are on amazon ec2 each. Physical servers are >>>> different. >>>> Firstly, I test the opportunity to call to freeswitch and to receive >>>> the answer. From the part of opensips everything works, as far as I can >>>> judge, correctly. A problem appears at a call with use of freeswitch. >>>> In particular for tests I call on number 5000 through Zoiper . In reply >>>> I receive the mistake: >>>> 488 INCOMPATIBLE_DESTINATION >>>> >>>> Here is the text of freeswitch tracking data: >>>> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) >>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET >>>> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] >>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>> EXECUTE sofia/external/8 at SIP_DOMAINhash >>>> (insert/172.31.22.124-last_dial/8/5000) >>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar >>>> 2016 02:54:02 -0400) >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT >>>> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] >>>> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio Codec >>>> Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio Codec >>>> Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match >>>> 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto >>>> not negotiated but required. >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in >>>> SDP. Disable 2833 dtmf and switch to INFO >>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup >>>> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 >>>> sofia/external/8 at SIP_DOMAIN skip receive message >>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 >>>> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 >>>> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP >>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel >>>> sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION >>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to INVITE >>>> with: 488 >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 >>>> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >>>> INCOMPATIBLE_DESTINATION >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 >>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 >>>> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >>>> INCOMPATIBLE_DESTINATION >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 >>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session 1 >>>> (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session >>>> 1 (sofia/external/8 at SIP_DOMAIN) Ended >>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close >>>> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 >>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY >>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 >>>> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 >>>> sofia/external/8 at SIP_DOMAIN Standard DESTROY >>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >>>> Error in my_thread_global_end(): 1 threads didn't exit >>>> >>>> >>>> In such a case I use the following configuration of freeswitch: >>>> vars.xmp: http://pastebin.com/DijwsQ7j >>>> modules.conf.xml: http://pastebin.com/PjeNgVkh >>>> >>>> At the same time I use the following configuration of opensips: >>>> http://pastebin.com/49XpcGBj >>>> >>>> Whats i doing incorrect? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160314/988d14b5/attachment-0001.html From jurij.ivo at gmail.com Mon Mar 14 17:56:52 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 14 Mar 2016 16:56:52 +0200 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Hi, Now you are getting other error: 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:431 Channel sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION Not sure, but if you look on top: *a=rtpmap:18 G729/8000* Your client is trying to use g729 codec, but your freeswitch supports only: variable_rtp_use_codec_string: [G722,PCMU,PCMA,GSM] So please switch to PCMU or PCMA codec and in this case call should go through. With kind regards, Jurijs 2016-03-14 16:47 GMT+02:00 ???? ??????? : > Yes. Now I testing from mobile app, and I view next log: > > > 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:1101 New Channel > sofia/external/8 at SIP_DOMAIN [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_NEW > 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:9248 sofia/external/8 at SIP_DOMAIN > receiving invite from INTERNAL_EC2_SIP_IP:5060 version: 1.6.6 64bit > 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6760 Channel > sofia/external/8 at SIP_DOMAIN entering state [received][100] > 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6770 Remote SDP: > v=0 > o=- 1457965687 1 IN IP4 MY_DEVICE_IP > s=portsip.com > c=IN IP4 PUBLIC_EC2_SIP_IP > t=0 0 > m=audio 37956 RTP/AVP 18 101 > a=rtpmap:18 G729/8000 > a=fmtp:18 annexb=no > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=nortpproxy:yes > > 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:7125 > (sofia/external/8 at SIP_DOMAIN) State Change CS_NEW -> CS_INIT > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:492 > (sofia/external/8 at SIP_DOMAIN) State NEW > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_INIT > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 > (sofia/external/8 at SIP_DOMAIN) State INIT > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:88 > sofia/external/8 at SIP_DOMAIN SOFIA INIT > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:40 > sofia/external/8 at SIP_DOMAIN Standard INIT > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:48 > (sofia/external/8 at SIP_DOMAIN) State Change CS_INIT -> CS_ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 > (sofia/external/8 at SIP_DOMAIN) State INIT going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:2247 > (sofia/external/8 at SIP_DOMAIN) Callstate Change DOWN -> RINGING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 > (sofia/external/8 at SIP_DOMAIN) State ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 > sofia/external/8 at SIP_DOMAIN SOFIA ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 > sofia/external/8 at SIP_DOMAIN Standard ROUTING > 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 > <8>->5000 in context public > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [public->from_opensips] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [from_opensips] > network_addr(INTERNAL_EC2_SIP_IP) =~ /^172\.31\.0\.169$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN Action > transfer(${destination_number} XML default) > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 > (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 > (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 > (sofia/external/8 at SIP_DOMAIN) State EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 > sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 > sofia/external/8 at SIP_DOMAIN Standard EXECUTE > EXECUTE sofia/external/8 at SIP_DOMAIN transfer(5000 XML default) > 2016-03-14 10:28:08.300433 [DEBUG] switch_ivr.c:2085 > (sofia/external/8 at SIP_DOMAIN) State Change CS_EXECUTE -> CS_ROUTING > 2016-03-14 10:28:08.300433 [NOTICE] switch_ivr.c:2092 Transfer > sofia/external/8 at SIP_DOMAIN to XML[5000 at default] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 > (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 > (sofia/external/8 at SIP_DOMAIN) State ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 > sofia/external/8 at SIP_DOMAIN SOFIA ROUTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 > sofia/external/8 at SIP_DOMAIN Standard ROUTING > 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 > <8>->5000 in context default > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->unloop] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [unloop] > ${unroll_loops}(true) =~ /^true$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [unloop] > ${sip_looped_call}() =~ /^true$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->tod_example] > continue=true > Dialplan: sofia/external/8 at SIP_DOMAIN Date/Time Match (PASS) > [tod_example] break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN Action set(open=true) > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->holiday_example] > continue=true > Dialplan: sofia/external/8 at SIP_DOMAIN Date/TimeMatch (FAIL) > [holiday_example] break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->global-intercept] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global-intercept] > destination_number(5000) =~ /^886$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group-intercept] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group-intercept] > destination_number(5000) =~ /^\*8$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->intercept-ext] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [intercept-ext] > destination_number(5000) =~ /^\*\*(\d+)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->redial] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [redial] > destination_number(5000) =~ /^(redial|870)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->global] > continue=true > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] > ${call_debug}(true) =~ /^true$/ break=never > Dialplan: sofia/external/8 at SIP_DOMAIN Action info() > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] > ${default_password}(12345) =~ /^1234$/ break=never > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] > ${rtp_has_crypto}() =~ /^()$/ break=never > Dialplan: sofia/external/8 at SIP_DOMAIN Action set(rtp_secure_media=false) > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] > ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ > break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] > ${switch_r_sdp}(v=0 > o=- 1457965687 1 IN IP4 MY_DEVICE_IP > s=portsip.com > c=IN IP4 PUBLIC_EC2_SIP_IP > t=0 0 > m=audio 37956 RTP/AVP 18 101 > a=rtpmap:18 G729/8000 > a=fmtp:18 annexb=no > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=nortpproxy:yes > ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never > Dialplan: sofia/external/8 at SIP_DOMAIN Absolute Condition [global] > Dialplan: sofia/external/8 at SIP_DOMAIN Action > hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid}) > Dialplan: sofia/external/8 at SIP_DOMAIN Action > hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) > > Dialplan: sofia/external/8 at SIP_DOMAIN Action > hash(insert/${domain_name}-last_dial/global/${uuid}) > Dialplan: sofia/external/8 at SIP_DOMAIN Action > export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-2] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-2] > destination_number(5000) =~ /^9001$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-1] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-1] > destination_number(5000) =~ /^9000$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] > destination_number(5000) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] > destination_number(5000) =~ /^779$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call_return] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call_return] > destination_number(5000) =~ /^\*69$|^869$|^lcr$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->del-group] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [del-group] > destination_number(5000) =~ /^80(\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->add-group] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [add-group] > destination_number(5000) =~ /^81(\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call-group-simo] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-simo] > destination_number(5000) =~ /^82(\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call-group-order] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-order] > destination_number(5000) =~ /^83(\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->extension-intercom] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [extension-intercom] > destination_number(5000) =~ /^8(10[01][0-9])$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->Local_Extension] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [Local_Extension] > destination_number(5000) =~ /^(10[01][0-9])$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->Local_Extension_Skinny] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) > [Local_Extension_Skinny] destination_number(5000) =~ /^(11[01][0-9])$/ > break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group_dial_sales] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_sales] > destination_number(5000) =~ /^2000$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->group_dial_support] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_support] > destination_number(5000) =~ /^2001$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->group_dial_billing] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_billing] > destination_number(5000) =~ /^2002$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->operator] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [operator] > destination_number(5000) =~ /^(operator|0)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->vmain] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [vmain] > destination_number(5000) =~ /^vmain$|^4000$|^\*98$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->sip_uri] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [sip_uri] > destination_number(5000) =~ /^sip:(.*)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->nb_conferences] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [nb_conferences] > destination_number(5000) =~ /^(30\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->wb_conferences] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [wb_conferences] > destination_number(5000) =~ /^(31\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->uwb_conferences] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [uwb_conferences] > destination_number(5000) =~ /^(32\d{2})$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->cdquality_conferences] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) > [cdquality_conferences] destination_number(5000) =~ /^(33\d{2})$/ > break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->cdquality_conferences] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) > [cdquality_conferences] destination_number(5000) =~ /^(35\d{2})$/ > break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->freeswitch_public_conf_via_sip] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) > [freeswitch_public_conf_via_sip] destination_number(5000) =~ > /^9(888|8888|1616|3232)$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->mad_boss_intercom] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] > destination_number(5000) =~ /^0911$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing > [default->mad_boss_intercom] continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] > destination_number(5000) =~ /^0912$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->mad_boss] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss] > destination_number(5000) =~ /^0913$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->ivr_demo] > continue=false > Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [ivr_demo] > destination_number(5000) =~ /^5000$/ break=on-false > Dialplan: sofia/external/8 at SIP_DOMAIN Action answer() > Dialplan: sofia/external/8 at SIP_DOMAIN Action sleep(2000) > Dialplan: sofia/external/8 at SIP_DOMAIN Action ivr(demo_ivr) > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 > (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 > (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 > (sofia/external/8 at SIP_DOMAIN) State EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 > sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 > sofia/external/8 at SIP_DOMAIN Standard EXECUTE > EXECUTE sofia/external/8 at SIP_DOMAIN set(open=true) > 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET > sofia/external/8 at SIP_DOMAIN [open]=[true] > EXECUTE sofia/external/8 at SIP_DOMAIN info() > 2016-03-14 10:28:08.300433 [INFO] mod_dptools.c:1711 CHANNEL_DATA: > Channel-State: [CS_EXECUTE] > Channel-Call-State: [RINGING] > Channel-State-Number: [4] > Channel-Name: [sofia/external/8 at SIP_DOMAIN] > Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > Call-Direction: [inbound] > Presence-Call-Direction: [inbound] > Channel-HIT-Dialplan: [true] > Channel-Call-UUID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > Answer-State: [ringing] > Caller-Direction: [inbound] > Caller-Logical-Direction: [inbound] > Caller-Username: [8] > Caller-Dialplan: [XML] > Caller-Caller-ID-Name: [8] > Caller-Caller-ID-Number: [8] > Caller-Orig-Caller-ID-Name: [8] > Caller-Orig-Caller-ID-Number: [8] > Caller-Network-Addr: [INTERNAL_EC2_SIP_IP] > Caller-ANI: [8] > Caller-Destination-Number: [5000] > Caller-Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > Caller-Source: [mod_sofia] > Caller-Transfer-Source: > [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] > Caller-Context: [default] > Caller-RDNIS: [5000] > Caller-Channel-Name: [sofia/external/8 at SIP_DOMAIN] > Caller-Profile-Index: [2] > Caller-Profile-Created-Time: [1457965688300433] > Caller-Channel-Created-Time: [1457965688300433] > Caller-Channel-Answered-Time: [0] > Caller-Channel-Progress-Time: [0] > Caller-Channel-Progress-Media-Time: [0] > Caller-Channel-Hangup-Time: [0] > Caller-Channel-Transfer-Time: [0] > Caller-Channel-Resurrect-Time: [0] > Caller-Channel-Bridged-Time: [0] > Caller-Channel-Last-Hold: [0] > Caller-Channel-Hold-Accum: [0] > Caller-Screen-Bit: [true] > Caller-Privacy-Hide-Name: [false] > Caller-Privacy-Hide-Number: [false] > variable_direction: [inbound] > variable_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > variable_session_id: [3] > variable_sip_from_user: [8] > variable_sip_from_uri: [8 at SIP_DOMAIN] > variable_sip_from_host: [SIP_DOMAIN] > variable_video_media_flow: [sendrecv] > variable_audio_media_flow: [sendrecv] > variable_channel_name: [sofia/external/8 at SIP_DOMAIN] > variable_sip_call_id: [71_8NY0kPXL-XSj6yGW0xA..] > variable_sip_local_network_addr: [INTERNAL_EC2_FREESWITCH_IP] > variable_sip_network_ip: [INTERNAL_EC2_SIP_IP] > variable_sip_network_port: [5060] > variable_sip_received_ip: [INTERNAL_EC2_SIP_IP] > variable_sip_received_port: [5060] > variable_sip_via_protocol: [udp] > variable_sip_from_user_stripped: [8] > variable_sip_from_tag: [fcea0c6a] > variable_sofia_profile_name: [external] > variable_recovery_profile_name: [external] > variable_sip_invite_record_route: > [,] > variable_sip_full_via: [SIP/2.0/UDP > SIP_DOMAIN:5060;branch=z9hG4bK4c2e.c8bf595.0;i=a2;received=INTERNAL_EC2_SIP_IP,SIP/2.0/TLS > 192.168.0.117:10209 > ;received=MY_DEVICE_IP;branch=z9hG4bK-524287-1---12a94851d2e44a3e;rport=59318] > variable_sip_from_display: [8] > variable_sip_full_from: ["8" ;tag=fcea0c6a] > variable_sip_full_to: [] > variable_sip_req_user: [5000] > variable_sip_req_uri: [5000 at SIP_DOMAIN] > variable_sip_req_host: [SIP_DOMAIN] > variable_sip_to_user: [*5000] > variable_sip_to_uri: [*5000 at SIP_DOMAIN] > variable_sip_to_host: [SIP_DOMAIN] > variable_sip_contact_params: [ob;transport=tls] > variable_sip_contact_user: [8] > variable_sip_contact_port: [59318] > variable_sip_contact_uri: [8 at MY_DEVICE_IP:59318] > variable_sip_contact_host: [MY_DEVICE_IP] > variable_rtp_use_codec_string: [G722,PCMU,PCMA,GSM] > variable_sip_user_agent: [PortSIP SDK for IOS] > variable_sip_via_host: [SIP_DOMAIN] > variable_sip_via_port: [5060] > variable_switch_r_sdp: [v=0 > o=- 1457965687 1 IN IP4 MY_DEVICE_IP > s=portsip.com > c=IN IP4 PUBLIC_EC2_SIP_IP > t=0 0 > m=audio 37956 RTP/AVP 18 101 > a=rtpmap:18 G729/8000 > a=fmtp:18 annexb=no > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=nortpproxy:yes > ] > variable_endpoint_disposition: [DELAYED NEGOTIATION] > variable_max_forwards: [68] > variable_transfer_history: > [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] > variable_transfer_source: > [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] > variable_DP_MATCH: [ARRAY::DELAYED NEGOTIATION|:DELAYED NEGOTIATION] > variable_call_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] > variable_open: [true] > variable_current_application: [info] > > > EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=false) > 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET > sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[false] > EXECUTE sofia/external/8 at SIP_DOMAIN > hash(insert/INTERNAL_EC2_FREESWITCH_IP-spymap/8/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) > EXECUTE sofia/external/8 at SIP_DOMAIN > hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/8/5000) > EXECUTE sofia/external/8 at SIP_DOMAIN > hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/global/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) > EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 > 10:28:08 -0400) > 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:1293 EXPORT > (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 10:28:08 -0400] > EXECUTE sofia/external/8 at SIP_DOMAIN answer() > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec > Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4077 Set > telephone-event payload to 101 at 8000 > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4485 > sofia/external/8 at SIP_DOMAIN Set 2833 dtmf send payload to 101 recv > payload to 101 > 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:3806 Hangup > sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:2796 > sofia/external/8 at SIP_DOMAIN skip receive message > [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 > (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:739 > (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/8 at SIP_DOMAIN) State HANGUP > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:431 Channel > sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:568 Responding to INVITE > with: 488 > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:60 > sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: > INCOMPATIBLE_DESTINATION > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 > (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:508 > (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/8 at SIP_DOMAIN) State REPORTING > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:104 > sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: > INCOMPATIBLE_DESTINATION > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 > (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:499 > (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:1646 Session 3 > (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities > 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1664 Session 3 > (sofia/external/8 at SIP_DOMAIN) Ended > 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1668 Close > Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:630 > (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/8 at SIP_DOMAIN) State DESTROY > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:341 > sofia/external/8 at SIP_DOMAIN SOFIA DESTROY > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:111 > sofia/external/8 at SIP_DOMAIN Standard DESTROY > 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 > (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep > > 2016-03-14 17:18 GMT+03:00 Jurijs Ivolga : > >> Hi, >> >> Could you please share with us logs from console when you disabled media >> encryption? Do you get same error? >> >> With kind regards, >> >> 2016-03-14 16:16 GMT+02:00 ???? ??????? : >> >>> Hi Jurijs, >>> >>> Yes, I see. I tried disabling rtp_secure_media param, but it does not >>> solve the problem. >>> >>> >>> >>> 2016-03-14 17:04 GMT+03:00 Jurijs Ivolga : >>> >>>> Hi Stas, >>>> >>>> It looks like freeswitch do not like that you do not have media >>>> encryption on: >>>> >>>> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. >>>> >>>> Not sure, but I would recommend to take a look on your external sofia >>>> profile and look for media encryption. >>>> >>>> With kind regards, >>>> >>>> Jurijs >>>> >>>> 2016-03-14 9:23 GMT+02:00 ???? ??????? : >>>> >>>>> Hello. >>>>> I have had difficulties at control of the opensips and freeswitch >>>>> connective. The task is: to organize voip-conference between mobile >>>>> application users through our opensips server or between mobile application >>>>> users with addition of a call to the city line. >>>>> >>>>> Sip and freeswitch servers are on amazon ec2 each. Physical servers >>>>> are different. >>>>> Firstly, I test the opportunity to call to freeswitch and to receive >>>>> the answer. From the part of opensips everything works, as far as I can >>>>> judge, correctly. A problem appears at a call with use of freeswitch. >>>>> In particular for tests I call on number 5000 through Zoiper . In >>>>> reply I receive the mistake: >>>>> 488 INCOMPATIBLE_DESTINATION >>>>> >>>>> Here is the text of freeswitch tracking data: >>>>> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) >>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET >>>>> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] >>>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>>> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>>> EXECUTE sofia/external/8 at SIP_DOMAINhash >>>>> (insert/172.31.22.124-last_dial/8/5000) >>>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>>> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>>> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar >>>>> 2016 02:54:02 -0400) >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT >>>>> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] >>>>> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>> Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>> Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>> Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>> Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio >>>>> Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match >>>>> 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto >>>>> not negotiated but required. >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 in >>>>> SDP. Disable 2833 dtmf and switch to INFO >>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup >>>>> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 >>>>> sofia/external/8 at SIP_DOMAIN skip receive message >>>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 >>>>> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 >>>>> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP >>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel >>>>> sofia/external/8 at SIP_DOMAIN hanging up, cause: >>>>> INCOMPATIBLE_DESTINATION >>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to >>>>> INVITE with: 488 >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 >>>>> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >>>>> INCOMPATIBLE_DESTINATION >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 >>>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 >>>>> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >>>>> INCOMPATIBLE_DESTINATION >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 >>>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session >>>>> 1 (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 Session >>>>> 1 (sofia/external/8 at SIP_DOMAIN) Ended >>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close >>>>> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 >>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY >>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 >>>>> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 >>>>> sofia/external/8 at SIP_DOMAIN Standard DESTROY >>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >>>>> Error in my_thread_global_end(): 1 threads didn't exit >>>>> >>>>> >>>>> In such a case I use the following configuration of freeswitch: >>>>> vars.xmp: http://pastebin.com/DijwsQ7j >>>>> modules.conf.xml: http://pastebin.com/PjeNgVkh >>>>> >>>>> At the same time I use the following configuration of opensips: >>>>> http://pastebin.com/49XpcGBj >>>>> >>>>> Whats i doing incorrect? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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/20160314/522fa06b/attachment-0001.html From stasan89 at gmail.com Mon Mar 14 18:30:05 2016 From: stasan89 at gmail.com (=?UTF-8?B?0KHRgtCw0YEg0KLQtdC70YzQvdC+0LI=?=) Date: Mon, 14 Mar 2016 18:30:05 +0300 Subject: [Freeswitch-users] opensips+freeswitch on different amazon ec2 servers: 488 error In-Reply-To: References: Message-ID: Thanks! After change codec I view errors: [ERR] mod_sndfile.c:204 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav] [System error : No such file or directory.] [ERR] mod_sndfile.c:204 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-to_call_the_freeswitch_conference.wav] [System error : No such file or directory.] I think, that after add files everything will work. But now users already use mobile app with only sip and g729 codec, backward compatibility is required. Whatever it was, that's another problem, I believe Google will help me make freeswitch RTP and g729 codec. 2016-03-14 17:56 GMT+03:00 Jurijs Ivolga : > Hi, > > Now you are getting other error: > > 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:431 Channel > sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION > > Not sure, but if you look on top: > > > > *a=rtpmap:18 G729/8000* > Your client is trying to use g729 codec, but your freeswitch supports only: > > variable_rtp_use_codec_string: [G722,PCMU,PCMA,GSM] > > So please switch to PCMU or PCMA codec and in this case call should go > through. > > With kind regards, > > Jurijs > > 2016-03-14 16:47 GMT+02:00 ???? ??????? : > >> Yes. Now I testing from mobile app, and I view next log: >> >> >> 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:1101 New Channel >> sofia/external/8 at SIP_DOMAIN [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_NEW >> 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:9248 >> sofia/external/8 at SIP_DOMAIN receiving invite from >> INTERNAL_EC2_SIP_IP:5060 version: 1.6.6 64bit >> 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6760 Channel >> sofia/external/8 at SIP_DOMAIN entering state [received][100] >> 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:6770 Remote SDP: >> v=0 >> o=- 1457965687 1 IN IP4 MY_DEVICE_IP >> s=portsip.com >> c=IN IP4 PUBLIC_EC2_SIP_IP >> t=0 0 >> m=audio 37956 RTP/AVP 18 101 >> a=rtpmap:18 G729/8000 >> a=fmtp:18 annexb=no >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=nortpproxy:yes >> >> 2016-03-14 10:28:08.300433 [DEBUG] sofia.c:7125 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_NEW -> CS_INIT >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:492 >> (sofia/external/8 at SIP_DOMAIN) State NEW >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_INIT >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 >> (sofia/external/8 at SIP_DOMAIN) State INIT >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:88 >> sofia/external/8 at SIP_DOMAIN SOFIA INIT >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:40 >> sofia/external/8 at SIP_DOMAIN Standard INIT >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:48 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_INIT -> CS_ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:516 >> (sofia/external/8 at SIP_DOMAIN) State INIT going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:2247 >> (sofia/external/8 at SIP_DOMAIN) Callstate Change DOWN -> RINGING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 >> (sofia/external/8 at SIP_DOMAIN) State ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 >> sofia/external/8 at SIP_DOMAIN SOFIA ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 >> sofia/external/8 at SIP_DOMAIN Standard ROUTING >> 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 >> <8>->5000 in context public >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [public->from_opensips] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [from_opensips] >> network_addr(INTERNAL_EC2_SIP_IP) =~ /^172\.31\.0\.169$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN Action >> transfer(${destination_number} XML default) >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 >> (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 >> (sofia/external/8 at SIP_DOMAIN) State EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 >> sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 >> sofia/external/8 at SIP_DOMAIN Standard EXECUTE >> EXECUTE sofia/external/8 at SIP_DOMAIN transfer(5000 XML default) >> 2016-03-14 10:28:08.300433 [DEBUG] switch_ivr.c:2085 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_EXECUTE -> CS_ROUTING >> 2016-03-14 10:28:08.300433 [NOTICE] switch_ivr.c:2092 Transfer >> sofia/external/8 at SIP_DOMAIN to XML[5000 at default] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 >> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 >> (sofia/external/8 at SIP_DOMAIN) State ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:141 >> sofia/external/8 at SIP_DOMAIN SOFIA ROUTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:166 >> sofia/external/8 at SIP_DOMAIN Standard ROUTING >> 2016-03-14 10:28:08.300433 [INFO] mod_dialplan_xml.c:637 Processing 8 >> <8>->5000 in context default >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->unloop] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [unloop] >> ${unroll_loops}(true) =~ /^true$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [unloop] >> ${sip_looped_call}() =~ /^true$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->tod_example] >> continue=true >> Dialplan: sofia/external/8 at SIP_DOMAIN Date/Time Match (PASS) >> [tod_example] break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN Action set(open=true) >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->holiday_example] >> continue=true >> Dialplan: sofia/external/8 at SIP_DOMAIN Date/TimeMatch (FAIL) >> [holiday_example] break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->global-intercept] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global-intercept] >> destination_number(5000) =~ /^886$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->group-intercept] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group-intercept] >> destination_number(5000) =~ /^\*8$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->intercept-ext] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [intercept-ext] >> destination_number(5000) =~ /^\*\*(\d+)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->redial] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [redial] >> destination_number(5000) =~ /^(redial|870)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->global] >> continue=true >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] >> ${call_debug}(true) =~ /^true$/ break=never >> Dialplan: sofia/external/8 at SIP_DOMAIN Action info() >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] >> ${default_password}(12345) =~ /^1234$/ break=never >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] >> ${rtp_has_crypto}() =~ /^()$/ break=never >> Dialplan: sofia/external/8 at SIP_DOMAIN Action set(rtp_secure_media=false) >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [global] >> ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ >> break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [global] >> ${switch_r_sdp}(v=0 >> o=- 1457965687 1 IN IP4 MY_DEVICE_IP >> s=portsip.com >> c=IN IP4 PUBLIC_EC2_SIP_IP >> t=0 0 >> m=audio 37956 RTP/AVP 18 101 >> a=rtpmap:18 G729/8000 >> a=fmtp:18 annexb=no >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=nortpproxy:yes >> ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never >> Dialplan: sofia/external/8 at SIP_DOMAIN Absolute Condition [global] >> Dialplan: sofia/external/8 at SIP_DOMAIN Action >> hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid}) >> Dialplan: sofia/external/8 at SIP_DOMAIN Action >> hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) >> >> Dialplan: sofia/external/8 at SIP_DOMAIN Action >> hash(insert/${domain_name}-last_dial/global/${uuid}) >> Dialplan: sofia/external/8 at SIP_DOMAIN Action >> export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-2] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-2] >> destination_number(5000) =~ /^9001$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->snom-demo-1] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [snom-demo-1] >> destination_number(5000) =~ /^9000$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] >> destination_number(5000) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->eavesdrop] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [eavesdrop] >> destination_number(5000) =~ /^779$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call_return] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call_return] >> destination_number(5000) =~ /^\*69$|^869$|^lcr$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->del-group] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [del-group] >> destination_number(5000) =~ /^80(\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->add-group] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [add-group] >> destination_number(5000) =~ /^81(\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->call-group-simo] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-simo] >> destination_number(5000) =~ /^82(\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->call-group-order] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [call-group-order] >> destination_number(5000) =~ /^83(\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->extension-intercom] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [extension-intercom] >> destination_number(5000) =~ /^8(10[01][0-9])$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->Local_Extension] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [Local_Extension] >> destination_number(5000) =~ /^(10[01][0-9])$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->Local_Extension_Skinny] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) >> [Local_Extension_Skinny] destination_number(5000) =~ /^(11[01][0-9])$/ >> break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->group_dial_sales] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_sales] >> destination_number(5000) =~ /^2000$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->group_dial_support] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_support] >> destination_number(5000) =~ /^2001$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->group_dial_billing] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [group_dial_billing] >> destination_number(5000) =~ /^2002$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->operator] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [operator] >> destination_number(5000) =~ /^(operator|0)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->vmain] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [vmain] >> destination_number(5000) =~ /^vmain$|^4000$|^\*98$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->sip_uri] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [sip_uri] >> destination_number(5000) =~ /^sip:(.*)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->nb_conferences] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [nb_conferences] >> destination_number(5000) =~ /^(30\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->wb_conferences] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [wb_conferences] >> destination_number(5000) =~ /^(31\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->uwb_conferences] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [uwb_conferences] >> destination_number(5000) =~ /^(32\d{2})$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->cdquality_conferences] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) >> [cdquality_conferences] destination_number(5000) =~ /^(33\d{2})$/ >> break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->cdquality_conferences] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) >> [cdquality_conferences] destination_number(5000) =~ /^(35\d{2})$/ >> break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->freeswitch_public_conf_via_sip] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) >> [freeswitch_public_conf_via_sip] destination_number(5000) =~ >> /^9(888|8888|1616|3232)$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->mad_boss_intercom] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] >> destination_number(5000) =~ /^0911$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing >> [default->mad_boss_intercom] continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss_intercom] >> destination_number(5000) =~ /^0912$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->mad_boss] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (FAIL) [mad_boss] >> destination_number(5000) =~ /^0913$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN parsing [default->ivr_demo] >> continue=false >> Dialplan: sofia/external/8 at SIP_DOMAIN Regex (PASS) [ivr_demo] >> destination_number(5000) =~ /^5000$/ break=on-false >> Dialplan: sofia/external/8 at SIP_DOMAIN Action answer() >> Dialplan: sofia/external/8 at SIP_DOMAIN Action sleep(2000) >> Dialplan: sofia/external/8 at SIP_DOMAIN Action ivr(demo_ivr) >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:216 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:532 >> (sofia/external/8 at SIP_DOMAIN) State ROUTING going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 >> (sofia/external/8 at SIP_DOMAIN) State EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:196 >> sofia/external/8 at SIP_DOMAIN SOFIA EXECUTE >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:258 >> sofia/external/8 at SIP_DOMAIN Standard EXECUTE >> EXECUTE sofia/external/8 at SIP_DOMAIN set(open=true) >> 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET >> sofia/external/8 at SIP_DOMAIN [open]=[true] >> EXECUTE sofia/external/8 at SIP_DOMAIN info() >> 2016-03-14 10:28:08.300433 [INFO] mod_dptools.c:1711 CHANNEL_DATA: >> Channel-State: [CS_EXECUTE] >> Channel-Call-State: [RINGING] >> Channel-State-Number: [4] >> Channel-Name: [sofia/external/8 at SIP_DOMAIN] >> Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> Call-Direction: [inbound] >> Presence-Call-Direction: [inbound] >> Channel-HIT-Dialplan: [true] >> Channel-Call-UUID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> Answer-State: [ringing] >> Caller-Direction: [inbound] >> Caller-Logical-Direction: [inbound] >> Caller-Username: [8] >> Caller-Dialplan: [XML] >> Caller-Caller-ID-Name: [8] >> Caller-Caller-ID-Number: [8] >> Caller-Orig-Caller-ID-Name: [8] >> Caller-Orig-Caller-ID-Number: [8] >> Caller-Network-Addr: [INTERNAL_EC2_SIP_IP] >> Caller-ANI: [8] >> Caller-Destination-Number: [5000] >> Caller-Unique-ID: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> Caller-Source: [mod_sofia] >> Caller-Transfer-Source: >> [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] >> Caller-Context: [default] >> Caller-RDNIS: [5000] >> Caller-Channel-Name: [sofia/external/8 at SIP_DOMAIN] >> Caller-Profile-Index: [2] >> Caller-Profile-Created-Time: [1457965688300433] >> Caller-Channel-Created-Time: [1457965688300433] >> Caller-Channel-Answered-Time: [0] >> Caller-Channel-Progress-Time: [0] >> Caller-Channel-Progress-Media-Time: [0] >> Caller-Channel-Hangup-Time: [0] >> Caller-Channel-Transfer-Time: [0] >> Caller-Channel-Resurrect-Time: [0] >> Caller-Channel-Bridged-Time: [0] >> Caller-Channel-Last-Hold: [0] >> Caller-Channel-Hold-Accum: [0] >> Caller-Screen-Bit: [true] >> Caller-Privacy-Hide-Name: [false] >> Caller-Privacy-Hide-Number: [false] >> variable_direction: [inbound] >> variable_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> variable_session_id: [3] >> variable_sip_from_user: [8] >> variable_sip_from_uri: [8 at SIP_DOMAIN] >> variable_sip_from_host: [SIP_DOMAIN] >> variable_video_media_flow: [sendrecv] >> variable_audio_media_flow: [sendrecv] >> variable_channel_name: [sofia/external/8 at SIP_DOMAIN] >> variable_sip_call_id: [71_8NY0kPXL-XSj6yGW0xA..] >> variable_sip_local_network_addr: [INTERNAL_EC2_FREESWITCH_IP] >> variable_sip_network_ip: [INTERNAL_EC2_SIP_IP] >> variable_sip_network_port: [5060] >> variable_sip_received_ip: [INTERNAL_EC2_SIP_IP] >> variable_sip_received_port: [5060] >> variable_sip_via_protocol: [udp] >> variable_sip_from_user_stripped: [8] >> variable_sip_from_tag: [fcea0c6a] >> variable_sofia_profile_name: [external] >> variable_recovery_profile_name: [external] >> variable_sip_invite_record_route: >> [,] >> variable_sip_full_via: [SIP/2.0/UDP >> SIP_DOMAIN:5060;branch=z9hG4bK4c2e.c8bf595.0;i=a2;received=INTERNAL_EC2_SIP_IP,SIP/2.0/TLS >> 192.168.0.117:10209 >> ;received=MY_DEVICE_IP;branch=z9hG4bK-524287-1---12a94851d2e44a3e;rport=59318] >> variable_sip_from_display: [8] >> variable_sip_full_from: ["8" ;tag=fcea0c6a] >> variable_sip_full_to: [] >> variable_sip_req_user: [5000] >> variable_sip_req_uri: [5000 at SIP_DOMAIN] >> variable_sip_req_host: [SIP_DOMAIN] >> variable_sip_to_user: [*5000] >> variable_sip_to_uri: [*5000 at SIP_DOMAIN] >> variable_sip_to_host: [SIP_DOMAIN] >> variable_sip_contact_params: [ob;transport=tls] >> variable_sip_contact_user: [8] >> variable_sip_contact_port: [59318] >> variable_sip_contact_uri: [8 at MY_DEVICE_IP:59318] >> variable_sip_contact_host: [MY_DEVICE_IP] >> variable_rtp_use_codec_string: [G722,PCMU,PCMA,GSM] >> variable_sip_user_agent: [PortSIP SDK for IOS] >> variable_sip_via_host: [SIP_DOMAIN] >> variable_sip_via_port: [5060] >> variable_switch_r_sdp: [v=0 >> o=- 1457965687 1 IN IP4 MY_DEVICE_IP >> s=portsip.com >> c=IN IP4 PUBLIC_EC2_SIP_IP >> t=0 0 >> m=audio 37956 RTP/AVP 18 101 >> a=rtpmap:18 G729/8000 >> a=fmtp:18 annexb=no >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=nortpproxy:yes >> ] >> variable_endpoint_disposition: [DELAYED NEGOTIATION] >> variable_max_forwards: [68] >> variable_transfer_history: >> [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] >> variable_transfer_source: >> [1457965688:f8fbe432-e9f0-11e5-aec9-a925ae84fea5:bl_xfer:5000/default/XML] >> variable_DP_MATCH: [ARRAY::DELAYED NEGOTIATION|:DELAYED NEGOTIATION] >> variable_call_uuid: [f8fbc452-e9f0-11e5-aec6-a925ae84fea5] >> variable_open: [true] >> variable_current_application: [info] >> >> >> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=false) >> 2016-03-14 10:28:08.300433 [DEBUG] mod_dptools.c:1498 SET >> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[false] >> EXECUTE sofia/external/8 at SIP_DOMAIN >> hash(insert/INTERNAL_EC2_FREESWITCH_IP-spymap/8/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) >> EXECUTE sofia/external/8 at SIP_DOMAIN >> hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/8/5000) >> EXECUTE sofia/external/8 at SIP_DOMAIN >> hash(insert/INTERNAL_EC2_FREESWITCH_IP-last_dial/global/f8fbc452-e9f0-11e5-aec6-a925ae84fea5) >> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar 2016 >> 10:28:08 -0400) >> 2016-03-14 10:28:08.300433 [DEBUG] switch_channel.c:1293 EXPORT >> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 10:28:08 -0400] >> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4161 Audio Codec >> Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4077 Set >> telephone-event payload to 101 at 8000 >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_media.c:4485 >> sofia/external/8 at SIP_DOMAIN Set 2833 dtmf send payload to 101 recv >> payload to 101 >> 2016-03-14 10:28:08.300433 [NOTICE] switch_channel.c:3806 Hangup >> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:2796 >> sofia/external/8 at SIP_DOMAIN skip receive message >> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:539 >> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:739 >> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/8 at SIP_DOMAIN) State HANGUP >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:431 Channel >> sofia/external/8 at SIP_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:568 Responding to INVITE >> with: 488 >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:60 >> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >> INCOMPATIBLE_DESTINATION >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:508 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/8 at SIP_DOMAIN) State REPORTING >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:104 >> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >> INCOMPATIBLE_DESTINATION >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:499 >> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_session.c:1646 Session 3 >> (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >> 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1664 Session 3 >> (sofia/external/8 at SIP_DOMAIN) Ended >> 2016-03-14 10:28:08.300433 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:630 >> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/8 at SIP_DOMAIN) State DESTROY >> 2016-03-14 10:28:08.300433 [DEBUG] mod_sofia.c:341 >> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:111 >> sofia/external/8 at SIP_DOMAIN Standard DESTROY >> 2016-03-14 10:28:08.300433 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >> >> 2016-03-14 17:18 GMT+03:00 Jurijs Ivolga : >> >>> Hi, >>> >>> Could you please share with us logs from console when you disabled media >>> encryption? Do you get same error? >>> >>> With kind regards, >>> >>> 2016-03-14 16:16 GMT+02:00 ???? ??????? : >>> >>>> Hi Jurijs, >>>> >>>> Yes, I see. I tried disabling rtp_secure_media param, but it does not >>>> solve the problem. >>>> >>>> >>>> >>>> 2016-03-14 17:04 GMT+03:00 Jurijs Ivolga : >>>> >>>>> Hi Stas, >>>>> >>>>> It looks like freeswitch do not like that you do not have media >>>>> encryption on: >>>>> >>>>> [WARNING] switch_core_media.c:4234 Crypto not negotiated but required. >>>>> >>>>> Not sure, but I would recommend to take a look on your external sofia >>>>> profile and look for media encryption. >>>>> >>>>> With kind regards, >>>>> >>>>> Jurijs >>>>> >>>>> 2016-03-14 9:23 GMT+02:00 ???? ??????? : >>>>> >>>>>> Hello. >>>>>> I have had difficulties at control of the opensips and freeswitch >>>>>> connective. The task is: to organize voip-conference between mobile >>>>>> application users through our opensips server or between mobile application >>>>>> users with addition of a call to the city line. >>>>>> >>>>>> Sip and freeswitch servers are on amazon ec2 each. Physical servers >>>>>> are different. >>>>>> Firstly, I test the opportunity to call to freeswitch and to receive >>>>>> the answer. From the part of opensips everything works, as far as I can >>>>>> judge, correctly. A problem appears at a call with use of freeswitch. >>>>>> In particular for tests I call on number 5000 through Zoiper . In >>>>>> reply I receive the mistake: >>>>>> 488 INCOMPATIBLE_DESTINATION >>>>>> >>>>>> Here is the text of freeswitch tracking data: >>>>>> EXECUTE sofia/external/8 at SIP_DOMAIN set(rtp_secure_media=true) >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_dptools.c:1498 SET >>>>>> sofia/external/8 at SIP_DOMAIN [rtp_secure_media]=[true] >>>>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>>>> hash(insert/172.31.22.124-spymap/8/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>>>> EXECUTE sofia/external/8 at SIP_DOMAINhash >>>>>> (insert/172.31.22.124-last_dial/8/5000) >>>>>> EXECUTE sofia/external/8 at SIP_DOMAIN >>>>>> hash(insert/172.31.22.124-last_dial/global/89574eb2-e9b1-11e5-97c9-1f13b1bd8007) >>>>>> EXECUTE sofia/external/8 at SIP_DOMAIN export(RFC2822_DATE=Mon, 14 Mar >>>>>> 2016 02:54:02 -0400) >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_channel.c:1293 EXPORT >>>>>> (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 02:54:02 -0400] >>>>>> EXECUTE sofia/external/8 at SIP_DOMAIN answer() >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>>> Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>>> Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>>> Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4161 Audio >>>>>> Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4216 Audio >>>>>> Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match >>>>>> 2016-03-14 02:54:02.731306 [WARNING] switch_core_media.c:4234 Crypto >>>>>> not negotiated but required. >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_media.c:4492 No 2833 >>>>>> in SDP. Disable 2833 dtmf and switch to INFO >>>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_channel.c:3806 Hangup >>>>>> sofia/external/8 at SIP_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:2796 >>>>>> sofia/external/8 at SIP_DOMAIN skip receive message >>>>>> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:539 >>>>>> (sofia/external/8 at SIP_DOMAIN) State EXECUTE going to sleep >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_HANGUP >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:739 >>>>>> (sofia/external/8 at SIP_DOMAIN) Callstate Change RINGING -> HANGUP >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:431 Channel >>>>>> sofia/external/8 at SIP_DOMAIN hanging up, cause: >>>>>> INCOMPATIBLE_DESTINATION >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:568 Responding to >>>>>> INVITE with: 488 >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:60 >>>>>> sofia/external/8 at SIP_DOMAIN Standard HANGUP, cause: >>>>>> INCOMPATIBLE_DESTINATION >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:741 >>>>>> (sofia/external/8 at SIP_DOMAIN) State HANGUP going to sleep >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:508 >>>>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_HANGUP -> CS_REPORTING >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:473 >>>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_REPORTING >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:104 >>>>>> sofia/external/8 at SIP_DOMAIN Standard REPORTING, cause: >>>>>> INCOMPATIBLE_DESTINATION >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:827 >>>>>> (sofia/external/8 at SIP_DOMAIN) State REPORTING going to sleep >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:499 >>>>>> (sofia/external/8 at SIP_DOMAIN) State Change CS_REPORTING -> CS_DESTROY >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_session.c:1646 Session >>>>>> 1 (sofia/external/8 at SIP_DOMAIN) Locked, Waiting on external entities >>>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1664 >>>>>> Session 1 (sofia/external/8 at SIP_DOMAIN) Ended >>>>>> 2016-03-14 02:54:02.731306 [NOTICE] switch_core_session.c:1668 Close >>>>>> Channel sofia/external/8 at SIP_DOMAIN [CS_DESTROY] >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:630 >>>>>> (sofia/external/8 at SIP_DOMAIN) Running State Change CS_DESTROY >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] mod_sofia.c:341 >>>>>> sofia/external/8 at SIP_DOMAIN SOFIA DESTROY >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:111 >>>>>> sofia/external/8 at SIP_DOMAIN Standard DESTROY >>>>>> 2016-03-14 02:54:02.731306 [DEBUG] switch_core_state_machine.c:640 >>>>>> (sofia/external/8 at SIP_DOMAIN) State DESTROY going to sleep >>>>>> Error in my_thread_global_end(): 1 threads didn't exit >>>>>> >>>>>> >>>>>> In such a case I use the following configuration of freeswitch: >>>>>> vars.xmp: http://pastebin.com/DijwsQ7j >>>>>> modules.conf.xml: http://pastebin.com/PjeNgVkh >>>>>> >>>>>> At the same time I use the following configuration of opensips: >>>>>> http://pastebin.com/49XpcGBj >>>>>> >>>>>> Whats i doing incorrect? >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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/20160314/7ea7e583/attachment-0001.html From adam at steffannicarpet.com Mon Mar 14 20:15:32 2016 From: adam at steffannicarpet.com (Samuel Reamer) Date: Mon, 14 Mar 2016 13:15:32 -0400 Subject: [Freeswitch-users] Security - How can I prevent these calls? Message-ID: I have a small setup for a small business that I've been testing; however, it appears that someone has hacked there way into making calls ($30 worth in just a few minutes). Can anyone provide me guidance on how to prevent these calls? Below is my ACL and a partial log: 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [NOTICE] switch_channel.c:1091 New Channel sofia/internal/10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_NEW 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite from 46.166.160.136:5074 version: 1.7.0 64bit 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 Rejected by acl "domains". Falling back to Digest auth. 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] switch_core_state_machine.c:492 (sofia/internal/10000000 at 192.168.0.10:5060) State NEW 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session 3ff60ad1-2ac7-46e8-b841-03fff79f972e 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [WARNING] switch_core_state_machine.c:576 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/10000000 at 192.168.0.10:5060 Abandoned 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/ 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 hanging up, cause: WRONG_CALL_STATE 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 Standard HANGUP, cause: WRONG_CALL_STATE 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP going to sleep 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 Standard REPORTING, cause: WRONG_CALL_STATE 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING going to sleep 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_session.c:1646 Session 384 (sofia/internal/ 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/ 10000000 at 192.168.0.10:5060) Ended 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/ 10000000 at 192.168.0.10:5060 [CS_DESTROY] 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 Standard DESTROY 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY going to sleep 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:5974 Remote Reason: 16 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:6756 Channel sofia/external/4721935380 entering state [terminated][480] 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request from read function 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:542 (sofia/external/4721935380) State EXCHANGE_MEDIA going to sleep 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_HANGUP 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate Change EARLY -> HANGUP 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: NORMAL_CLEARING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, cause: NORMAL_CLEARING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP going to sleep 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:508 (sofia/external/4721935380) State Change CS_HANGUP -> CS_REPORTING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_REPORTING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:104 sofia/external/4721935380 Standard REPORTING, cause: NORMAL_CLEARING 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING going to sleep 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:499 (sofia/external/4721935380) State Change CS_REPORTING -> CS_DESTROY 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, Waiting on external entities 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ 7070 at 76.188.116.163] 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) Ended 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 [CS_DESTROY] 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/4721935380) Running State Change CS_DESTROY 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change EARLY -> HANGUP 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause 480 with 480 from the other leg 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:1646 Session 381 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/7070 at 76.188.116.163) Ended 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public port 23574 protocol UDP to localport 23574 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public port 24394 protocol UDP to localport 24394 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY going to sleep 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [ 7070 at 76.188.116.163] from 104.245.99.71 You must define a domain called '76.188.116.163' in your directory and add a user with the id="7070" attribute and you must configure your device to use the proper domain in it's authentication credentials. 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [NOTICE] switch_channel.c:1091 New Channel sofia/external/7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_NEW 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from 104.245.99.71:6688 version: 1.7.0 64bit 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state [received][100] 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6766 Remote SDP: 351981a2-a412-49bb-a554-0df34a002f86 v=0 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 104.245.99.71 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 18 5 101 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D 104.245.99.71 6690 351981a2-a412-49bb-a554-0df34a002f86 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> CS_INIT 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) State NEW 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_INIT 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 Standard INIT 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) State Change CS_INIT -> CS_ROUTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT going to sleep 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_ROUTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate Change DOWN -> RINGING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 Standard ROUTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context public 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->unloop] continue=false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->outside_call] continue=true 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Absolute Condition [outside_call] 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Action set(outside_call=true) 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->call_debug] continue=true 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] destination_number(004721935380) =~ /^2000$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 parsing [public->public_did] continue=false 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ 7070 at 76.188.116.163 Regex (FAIL) [public_did] destination_number(004721935380) =~ /^(5551212)$/ break=on-false 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) State Change CS_ROUTING -> CS_EXECUTE 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING going to sleep 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_EXECUTE 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 Standard EXECUTE 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ 7070 at 76.188.116.163 set(outside_call=true) 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 [outside_call]=[true] 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 11:30:13 -0400] 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:315 sofia/external/7070 at 76.188.116.163 has executed the last dialplan instruction, hanging up. 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change RINGING -> HANGUP 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_session.c:1646 Session 385 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/7070 at 76.188.116.163) Ended 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/30defd51/attachment-0001.html From =?utf-8?Q?Marek_Slivansk=C3=BD_-_Livispace_s.r.?= Mon Mar 14 21:39:43 2016 From: =?utf-8?Q?Marek_Slivansk=C3=BD_-_Livispace_s.r.?= (=?utf-8?Q?Marek_Slivansk=C3=BD_-_Livispace_s.r.?=) Date: Mon, 14 Mar 2016 19:39:43 +0100 Subject: [Freeswitch-users] API break vs uuid_break In-Reply-To: References: <000501d17c41$07e435d0$17aca170$@telfa.cz> Message-ID: <004801d17e20$e0687390$a1395ab0$@telfa.cz> Thank you very much for your response and clarifying, Michael. We have change break to uuid_break. Anyway as you say, it has no influence on function, as it?s alias for the same. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Sunday, March 13, 2016 8:53 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] API break vs uuid_break It appears that nearly six years ago the API 'break' was simply changed to 'uuid_break' in this commit: https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/63120a7452ad16fe62dd2b5d22135eb6222e6611 >From what I see in the code, both 'break' and 'uuid_break' call 'break_function' in mod_commands.c, so 'break' is really just an alias for 'uuid_break': SWITCH_ADD_API(commands_api_interface, "break", "uuid_break", break_function, BREAK_SYNTAX); SWITCH_ADD_API(commands_api_interface, "uuid_break", "Break out of media sent to channel", break_function, BREAK_SYNTAX); For the sake of consistency you might want to consider changing your 'bgapi break ' calls to 'bgapi uuid_break '. There is a whole family of uuid_* APIs and 'uuid_break' fits in nicely among them. You may find the word 'break' all over source code, but if you see 'uuid_break' then you know exactly what that means. -MSC On Sat, Mar 12, 2016 at 1:24 AM, Marek Slivansk? - Livispace s.r.o. > wrote: Hi there, sorry if I?m not choosing the right way for asking for something, please point me out, this is my first time using the mailing list. I have a question regarding API command ?break? has changed to ?uuid_break?. I really tried to but I?ve not found any information about that. We are using ?bgapi break ? to stop playing some sound to a call (leg), e.g. moh, and to continue with next dialplan item. We are using v1.2.stable. Probably since last upgrade to the latest commit in this branch (prior we were using some 09/2012 commit), sometimes (rarely) the command ?bgapi break ? gets ignored by FreeSwitch and sound remains playing forever (local_stream://moh). Could anyone please shed some light on this change (and perhaps add some info why break has been deprecated and consequences of continuing to use it, into wiki)? Thanks in advance for any answer, Marek _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160314/3a9bc3fa/attachment.html From jurijs.ivolga at gmail.com Mon Mar 14 23:38:29 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Mon, 14 Mar 2016 22:38:29 +0200 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: Message-ID: Hi Samuel, Your problem has 2 solutions - easy one and not so easy: Easy way: If you are facing such issues this mean that you very new to VoIP and Freeswitch particularly and in my opinion it is worth to find professional who will configure and secure your PBX, otherwise you can end up loosing much more then 30$. Hard way: If you still think that you can handle it, then first and most simple way is to use iptables for blocking unwanted traffic. Below you can find my manual: http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html Additionally to this you can find Freeswitch official documentation regarding Firewall configuration: https://freeswitch.org/confluence/display/FREESWITCH/Firewall Keep in mind that proper FW configuration will not fix all your issues and you should understand how Freeswitch work and what each configuration file do to secure your installation properly. With kind regards, Jurijs 2016-03-14 19:15 GMT+02:00 Samuel Reamer : > I have a small setup for a small business that I've been testing; however, > it appears that someone has hacked there way into making calls ($30 worth > in just a few minutes). Can anyone provide me guidance on how to prevent > these calls? Below is my ACL and a partial log: > > > > > > > > > > > > > > > > > > > > > > > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [NOTICE] > switch_channel.c:1091 New Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_NEW > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] > sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite > from 46.166.160.136:5074 version: 1.7.0 64bit > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 Rejected > by acl "domains". Falling back to Digest auth. > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] > switch_core_state_machine.c:492 (sofia/internal/10000000 at 192.168.0.10:5060) > State NEW > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session > 3ff60ad1-2ac7-46e8-b841-03fff79f972e > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [WARNING] > switch_core_state_machine.c:576 3ff60ad1-2ac7-46e8-b841-03fff79f972e > sofia/internal/10000000 at 192.168.0.10:5060 Abandoned > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_state_machine.c:579 Hangup sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:739 (sofia/internal/10000000 at 192.168.0.10:5060) > Callstate Change DOWN -> HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) > State HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 hanging > up, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 > Standard HANGUP, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) > State HANGUP going to sleep > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:508 (sofia/internal/10000000 at 192.168.0.10:5060) > State Change CS_HANGUP -> CS_REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) > State REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 > Standard REPORTING, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) > State REPORTING going to sleep > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:499 (sofia/internal/10000000 at 192.168.0.10:5060) > State Change CS_REPORTING -> CS_DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_session.c:1646 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_session.c:1664 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Ended > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_DESTROY] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:630 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) > State DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 > Standard DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) > State DESTROY going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > sofia.c:5974 Remote Reason: 16 > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > sofia.c:6756 Channel sofia/external/4721935380 entering state > [terminated][480] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [NOTICE] > sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] > [NORMAL_CLEARING] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request > from read function > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:542 (sofia/external/4721935380) State > EXCHANGE_MEDIA going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/4721935380) Running State > Change CS_HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate > Change EARLY -> HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: > NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, > cause: NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/4721935380) State Change > CS_HANGUP -> CS_REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/4721935380) Running State > Change CS_REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:104 sofia/external/4721935380 Standard > REPORTING, cause: NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/4721935380) State Change > CS_REPORTING -> CS_DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, > Waiting on external entities > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ > 7070 at 76.188.116.163] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 > [CS_EXECUTE] [NORMAL_CLEARING] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1664 Session 382 (sofia/external/4721935380) Ended > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/4721935380 > [CS_DESTROY] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip > receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/4721935380) Running State > Change CS_DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) > Callstate Change EARLY -> HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause > 480 with 480 from the other leg > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, > cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:568 Responding to INVITE with: 480 > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) > State Change CS_HANGUP -> CS_REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) > State Change CS_REPORTING -> CS_DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_session.c:1646 Session 381 (sofia/external/7070 at 76.188.116.163) > Locked, Waiting on external entities > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1664 Session 381 (sofia/external/7070 at 76.188.116.163) > Ended > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public port > 23574 protocol UDP to localport 23574 > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public port > 24394 protocol UDP to localport 24394 > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] > switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] > switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > going to sleep > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [ > 7070 at 76.188.116.163] from 104.245.99.71 > You must define a domain called '76.188.116.163' in your directory and add > a user with the id="7070" attribute > and you must configure your device to use the proper domain in it's > authentication credentials. > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [NOTICE] > switch_channel.c:1091 New Channel sofia/external/7070 at 76.188.116.163 > [351981a2-a412-49bb-a554-0df34a002f86] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_NEW > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from > 104.245.99.71:6688 version: 1.7.0 64bit > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state > [received][100] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:6766 Remote SDP: > 351981a2-a412-49bb-a554-0df34a002f86 v=0 > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 > 104.245.99.71 > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 18 5 > 101 > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D > 104.245.99.71 6690 > 351981a2-a412-49bb-a554-0df34a002f86 > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> > CS_INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) > State NEW > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) > State INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 > Standard INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) State > Change CS_INIT -> CS_ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) > State INIT going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate > Change DOWN -> RINGING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) > State ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 > Standard ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] > mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context > public > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] > destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->unloop] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ > /^true$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ > /^true$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->outside_call] continue=true > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Absolute Condition [outside_call] > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action set(outside_call=true) > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T > %z)}) > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->call_debug] continue=true > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ > /^true$/ break=never > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] > destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] > destination_number(004721935380) =~ /^2000$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_did] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_did] > destination_number(004721935380) =~ /^(5551212)$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) > State Change CS_ROUTING -> CS_EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) > State ROUTING going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 > Standard EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 set(outside_call=true) > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 > [outside_call]=[true] > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 > 11:30:13 -0400] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_state_machine.c:315 sofia/external/7070 at 76.188.116.163 has > executed the last dialplan instruction, hanging up. > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_state_machine.c:317 Hangup sofia/external/7070 at 76.188.116.163 > [CS_EXECUTE] [NORMAL_CLEARING] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) > Callstate Change RINGING -> HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, > cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:568 Responding to INVITE with: 480 > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) > State Change CS_HANGUP -> CS_REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) > State Change CS_REPORTING -> CS_DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_session.c:1646 Session 385 (sofia/external/7070 at 76.188.116.163) > Locked, Waiting on external entities > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_session.c:1664 Session 385 (sofia/external/7070 at 76.188.116.163) > Ended > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY going to sleep > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160314/40f91ea3/attachment-0001.html From lconroy at insensate.co.uk Tue Mar 15 00:08:41 2016 From: lconroy at insensate.co.uk (Lawrence Conroy) Date: Mon, 14 Mar 2016 21:08:41 +0000 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: Message-ID: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Hi there, I guess you're running fS without fail2ban. Welcome to our world. BEFORE you bother trying firewall rules manually (or employing a consultant), read up on the freeswitch web for fail2ban, and install f2b. See Do it BEFORE you run freeSwitch "in anger". Then secure your profiles & dialplan. Then run freeSwitch. Then ask :). all the best Lawrence (who, like most of us, has had exactly this sort of problem) On 14 Mar 2016, at 20:38, Jurijs Ivolga wrote: > Hi Samuel, > > Your problem has 2 solutions - easy one and not so easy: > > Easy way: > If you are facing such issues this mean that you very new to VoIP and Freeswitch particularly and in my opinion it is worth to find professional who will configure and secure your PBX, otherwise you can end up loosing much more then 30$. > > Hard way: > If you still think that you can handle it, then first and most simple way is to use iptables for blocking unwanted traffic. Below you can find my manual: > http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html > > Additionally to this you can find Freeswitch official documentation regarding Firewall configuration: > https://freeswitch.org/confluence/display/FREESWITCH/Firewall > > Keep in mind that proper FW configuration will not fix all your issues and you should understand how Freeswitch work and what each configuration file do to secure your installation properly. > > With kind regards, > > Jurijs > > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : > I have a small setup for a small business that I've been testing; however, it appears that someone has hacked there way into making calls ($30 worth in just a few minutes). Can anyone provide me guidance on how to prevent these calls? Below is my ACL and a partial log: > > > > > > > > > > > > > > > > > > > > > > > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [NOTICE] switch_channel.c:1091 New Channel sofia/internal/10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_NEW > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite from 46.166.160.136:5074 version: 1.7.0 64bit > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 Rejected by acl "domains". Falling back to Digest auth. > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] switch_core_state_machine.c:492 (sofia/internal/10000000 at 192.168.0.10:5060) State NEW > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session 3ff60ad1-2ac7-46e8-b841-03fff79f972e > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [WARNING] switch_core_state_machine.c:576 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/10000000 at 192.168.0.10:5060 Abandoned > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 hanging up, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 Standard HANGUP, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP going to sleep > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 Standard REPORTING, cause: WRONG_CALL_STATE > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING going to sleep > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_session.c:1646 Session 384 (sofia/internal/10000000 at 192.168.0.10:5060) Locked, Waiting on external entities > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/10000000 at 192.168.0.10:5060) Ended > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/10000000 at 192.168.0.10:5060 [CS_DESTROY] > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 Standard DESTROY > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:5974 Remote Reason: 16 > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:6756 Channel sofia/external/4721935380 entering state [terminated][480] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request from read function > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:542 (sofia/external/4721935380) State EXCHANGE_MEDIA going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate Change EARLY -> HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, cause: NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:508 (sofia/external/4721935380) State Change CS_HANGUP -> CS_REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:104 sofia/external/4721935380 Standard REPORTING, cause: NORMAL_CLEARING > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:499 (sofia/external/4721935380) State Change CS_REPORTING -> CS_DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, Waiting on external entities > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/7070 at 76.188.116.163] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) Ended > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 [CS_DESTROY] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/4721935380) Running State Change CS_DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change EARLY -> HANGUP > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause 480 with 480 from the other leg > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:1646 Session 381 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/7070 at 76.188.116.163) Ended > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public port 23574 protocol UDP to localport 23574 > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public port 24394 protocol UDP to localport 24394 > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY going to sleep > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [7070 at 76.188.116.163] from 104.245.99.71 > You must define a domain called '76.188.116.163' in your directory and add a user with the id="7070" attribute > and you must configure your device to use the proper domain in it's authentication credentials. > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [NOTICE] switch_channel.c:1091 New Channel sofia/external/7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_NEW > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from 104.245.99.71:6688 version: 1.7.0 64bit > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state [received][100] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6766 Remote SDP: > 351981a2-a412-49bb-a554-0df34a002f86 v=0 > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 104.245.99.71 > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 18 5 101 > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D 104.245.99.71 6690 > 351981a2-a412-49bb-a554-0df34a002f86 > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> CS_INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) State NEW > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 Standard INIT > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) State Change CS_INIT -> CS_ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate Change DOWN -> RINGING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 Standard ROUTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context public > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->unloop] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->outside_call] continue=true > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Absolute Condition [outside_call] > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Action set(outside_call=true) > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->call_debug] continue=true > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->public_extensions] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [public_extensions] destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] destination_number(004721935380) =~ /^2000$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->public_did] continue=false > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [public_did] destination_number(004721935380) =~ /^(5551212)$/ break=on-false > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) State Change CS_ROUTING -> CS_EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 Standard EXECUTE > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/7070 at 76.188.116.163 set(outside_call=true) > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 [outside_call]=[true] > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 11:30:13 -0400] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:315 sofia/external/7070 at 76.188.116.163 has executed the last dialplan instruction, hanging up. > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change RINGING -> HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_session.c:1646 Session 385 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/7070 at 76.188.116.163) Ended > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 olegstolyar at gmail.com Tue Mar 15 02:18:14 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 14 Mar 2016 16:18:14 -0700 Subject: [Freeswitch-users] SILK codec Message-ID: Hi guys, does FreeSWITCH still support SILK? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160314/1da56e06/attachment.html From jsun at junsun.net Tue Mar 15 02:19:35 2016 From: jsun at junsun.net (Jun Sun) Date: Mon, 14 Mar 2016 16:19:35 -0700 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> References: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Message-ID: Or simply run a prebuilt AMI image from aws. It comes with fail2ban, firewall, etc. https://aws.amazon.com/marketplace/pp/B015ZTS2XM https://aws.amazon.com/marketplace/pp/B0191S5CU4/ Jun On Mon, Mar 14, 2016 at 2:08 PM, Lawrence Conroy wrote: > Hi there, > I guess you're running fS without fail2ban. > Welcome to our world. > BEFORE you bother trying firewall rules manually (or employing a > consultant), read up on the freeswitch web for fail2ban, and install f2b. > See > > Do it BEFORE you run freeSwitch "in anger". > > Then secure your profiles & dialplan. > > Then run freeSwitch. > > Then ask :). > > all the best > Lawrence > (who, like most of us, has had exactly this sort of problem) > > On 14 Mar 2016, at 20:38, Jurijs Ivolga wrote: > > Hi Samuel, > > > > Your problem has 2 solutions - easy one and not so easy: > > > > Easy way: > > If you are facing such issues this mean that you very new to VoIP and > Freeswitch particularly and in my opinion it is worth to find professional > who will configure and secure your PBX, otherwise you can end up loosing > much more then 30$. > > > > Hard way: > > If you still think that you can handle it, then first and most simple > way is to use iptables for blocking unwanted traffic. Below you can find my > manual: > > > http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html > > > > Additionally to this you can find Freeswitch official documentation > regarding Firewall configuration: > > https://freeswitch.org/confluence/display/FREESWITCH/Firewall > > > > Keep in mind that proper FW configuration will not fix all your issues > and you should understand how Freeswitch work and what each configuration > file do to secure your installation properly. > > > > With kind regards, > > > > Jurijs > > > > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : > > I have a small setup for a small business that I've been testing; > however, it appears that someone has hacked there way into making calls > ($30 worth in just a few minutes). Can anyone provide me guidance on how to > prevent these calls? Below is my ACL and a partial log: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [NOTICE] > switch_channel.c:1091 New Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_NEW > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] > sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite > from 46.166.160.136:5074 version: 1.7.0 64bit > > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 > Rejected by acl "domains". Falling back to Digest auth. > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] > switch_core_state_machine.c:492 (sofia/internal/10000000 at 192.168.0.10:5060) > State NEW > > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session > 3ff60ad1-2ac7-46e8-b841-03fff79f972e > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [WARNING] switch_core_state_machine.c:576 > 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/ > 10000000 at 192.168.0.10:5060 Abandoned > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_state_machine.c:579 Hangup sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:739 (sofia/internal/10000000 at 192.168.0.10:5060) > Callstate Change DOWN -> HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) > State HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 hanging > up, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 > Standard HANGUP, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) > State HANGUP going to sleep > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:508 (sofia/internal/10000000 at 192.168.0.10:5060) > State Change CS_HANGUP -> CS_REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) > State REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 > Standard REPORTING, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) > State REPORTING going to sleep > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:499 (sofia/internal/10000000 at 192.168.0.10:5060) > State Change CS_REPORTING -> CS_DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_session.c:1646 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_session.c:1664 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Ended > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_DESTROY] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:630 (sofia/internal/10000000 at 192.168.0.10:5060) > Running State Change CS_DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) > State DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 > Standard DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] > switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) > State DESTROY going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > sofia.c:5974 Remote Reason: 16 > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > sofia.c:6756 Channel sofia/external/4721935380 entering state > [terminated][480] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [NOTICE] > sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] > [NORMAL_CLEARING] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request > from read function > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:542 (sofia/external/4721935380) State > EXCHANGE_MEDIA going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/4721935380) Running State > Change CS_HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate > Change EARLY -> HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: > NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, > cause: NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/4721935380) State Change > CS_HANGUP -> CS_REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/4721935380) Running State > Change CS_REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:104 sofia/external/4721935380 Standard > REPORTING, cause: NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/4721935380) State Change > CS_REPORTING -> CS_DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] > switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, > Waiting on external entities > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ > 7070 at 76.188.116.163] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 > [CS_EXECUTE] [NORMAL_CLEARING] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1664 Session 382 (sofia/external/4721935380) Ended > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/4721935380 > [CS_DESTROY] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip > receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/4721935380) Running State > Change CS_DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) > Callstate Change EARLY -> HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause > 480 with 480 from the other leg > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, > cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:568 Responding to INVITE with: 480 > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) > State Change CS_HANGUP -> CS_REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) > State Change CS_REPORTING -> CS_DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_session.c:1646 Session 381 (sofia/external/7070 at 76.188.116.163) > Locked, Waiting on external entities > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1664 Session 381 (sofia/external/7070 at 76.188.116.163) > Ended > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] > mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public port > 23574 protocol UDP to localport 23574 > > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public port > 24394 protocol UDP to localport 24394 > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] > switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] > switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > going to sleep > > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [ > 7070 at 76.188.116.163] from 104.245.99.71 > > You must define a domain called '76.188.116.163' in your directory and > add a user with the id="7070" attribute > > and you must configure your device to use the proper domain in it's > authentication credentials. > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [NOTICE] > switch_channel.c:1091 New Channel sofia/external/7070 at 76.188.116.163 > [351981a2-a412-49bb-a554-0df34a002f86] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_NEW > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from > 104.245.99.71:6688 version: 1.7.0 64bit > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state > [received][100] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:6766 Remote SDP: > > 351981a2-a412-49bb-a554-0df34a002f86 v=0 > > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 > 104.245.99.71 > > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam > > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 > > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 > > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 18 > 5 101 > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 > > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 > > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D > 104.245.99.71 6690 > > 351981a2-a412-49bb-a554-0df34a002f86 > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> > CS_INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) > State NEW > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) > State INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 > Standard INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) State > Change CS_INIT -> CS_ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) > State INIT going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate > Change DOWN -> RINGING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) > State ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 > Standard ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] > mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context > public > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] > destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->unloop] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ > /^true$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ > /^true$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->outside_call] continue=true > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Absolute Condition [outside_call] > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action set(outside_call=true) > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T > %z)}) > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->call_debug] continue=true > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ > /^true$/ break=never > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] > destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] > destination_number(004721935380) =~ /^2000$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_did] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_did] > destination_number(004721935380) =~ /^(5551212)$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) > State Change CS_ROUTING -> CS_EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] > switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) > State ROUTING going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 > Standard EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 set(outside_call=true) > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 > [outside_call]=[true] > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 > 11:30:13 -0400] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_state_machine.c:315 sofia/external/7070 at 76.188.116.163 has > executed the last dialplan instruction, hanging up. > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_state_machine.c:317 Hangup sofia/external/7070 at 76.188.116.163 > [CS_EXECUTE] [NORMAL_CLEARING] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) > State EXECUTE going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) > Callstate Change RINGING -> HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, > cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:568 Responding to INVITE with: 480 > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) > State HANGUP going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) > State Change CS_HANGUP -> CS_REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) > State REPORTING going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) > State Change CS_REPORTING -> CS_DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_session.c:1646 Session 385 (sofia/external/7070 at 76.188.116.163) > Locked, Waiting on external entities > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_session.c:1664 Session 385 (sofia/external/7070 at 76.188.116.163) > Ended > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] > switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) > Running State Change CS_DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] > switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) > State DESTROY going to sleep > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20160314/ea7bebea/attachment-0001.html From gavin.henry at gmail.com Tue Mar 15 03:06:12 2016 From: gavin.henry at gmail.com (Gavin Henry) Date: Tue, 15 Mar 2016 00:06:12 +0000 Subject: [Freeswitch-users] FS, SS7 and Dialogic IMG2020 in the UK In-Reply-To: References: Message-ID: Just found this! Thanks. We're going into testing this month. That's how long the BT process takes. On Saturday, 2 May 2015, Kristian Kielhofner wrote: > Hi Gavin, > > The only potential things that jump out to me: > > - Support for/requiring PRACK. This is often suggested/strongly > recommended/required with SIP/SS7 interop. FS has a long standing bug with > 100rel. > > - Same for SIP-I/SIP-T. FreeSWITCH can pass these through with multipart > but it can't currently parse or use them in any effective way. With that > said I think I've seen people use LUA and other crazy stuff to parse > specific data they absolutely needed... > > Other than that if these can be configured for fairly > plain/straightforward SIP there shouldn't be any significant issues that I > can see. > > On Saturday, May 2, 2015, Gavin Henry > wrote: > >> Hi all, >> >> We're looking to get a pair of Dialogic IMG2020 for some BT Ofcom >> regulated SS7 interconnects: >> >> http://www.dialogic.com/en/products/gateways/img/img2020.aspx >> >> Any issues known with FS behind these? >> >> Thanks, >> >> Gavin. >> >> -- >> http://www.surevoip.co.uk >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > -- > Sent from mobile device > -- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/842f2b77/attachment.html From ssinyagin at gmail.com Tue Mar 15 03:35:50 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 15 Mar 2016 01:35:50 +0100 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Message-ID: But what does fail2ban have to do with security? If a stranger from the internet is able to make calls to PSTN through your PBX, you need to prevent such access in the first place. It's a matter of dialplan planning, and not the firewall or fail2ban. On 15 Mar 2016 00:20, "Jun Sun" wrote: > Or simply run a prebuilt AMI image from aws. It comes with fail2ban, > firewall, etc. > > https://aws.amazon.com/marketplace/pp/B015ZTS2XM > > https://aws.amazon.com/marketplace/pp/B0191S5CU4/ > > Jun > > On Mon, Mar 14, 2016 at 2:08 PM, Lawrence Conroy > wrote: > >> Hi there, >> I guess you're running fS without fail2ban. >> Welcome to our world. >> BEFORE you bother trying firewall rules manually (or employing a >> consultant), read up on the freeswitch web for fail2ban, and install f2b. >> See >> >> Do it BEFORE you run freeSwitch "in anger". >> >> Then secure your profiles & dialplan. >> >> Then run freeSwitch. >> >> Then ask :). >> >> all the best >> Lawrence >> (who, like most of us, has had exactly this sort of problem) >> >> On 14 Mar 2016, at 20:38, Jurijs Ivolga wrote: >> > Hi Samuel, >> > >> > Your problem has 2 solutions - easy one and not so easy: >> > >> > Easy way: >> > If you are facing such issues this mean that you very new to VoIP and >> Freeswitch particularly and in my opinion it is worth to find professional >> who will configure and secure your PBX, otherwise you can end up loosing >> much more then 30$. >> > >> > Hard way: >> > If you still think that you can handle it, then first and most simple >> way is to use iptables for blocking unwanted traffic. Below you can find my >> manual: >> > >> http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html >> > >> > Additionally to this you can find Freeswitch official documentation >> regarding Firewall configuration: >> > https://freeswitch.org/confluence/display/FREESWITCH/Firewall >> > >> > Keep in mind that proper FW configuration will not fix all your issues >> and you should understand how Freeswitch work and what each configuration >> file do to secure your installation properly. >> > >> > With kind regards, >> > >> > Jurijs >> > >> > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : >> > I have a small setup for a small business that I've been testing; >> however, it appears that someone has hacked there way into making calls >> ($30 worth in just a few minutes). Can anyone provide me guidance on how to >> prevent these calls? Below is my ACL and a partial log: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 >> [NOTICE] switch_channel.c:1091 New Channel sofia/internal/ >> 10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] >> switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_NEW >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] >> sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite >> from 46.166.160.136:5074 version: 1.7.0 64bit >> > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 >> Rejected by acl "domains". Falling back to Digest auth. >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] >> switch_core_state_machine.c:492 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State NEW >> > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session >> 3ff60ad1-2ac7-46e8-b841-03fff79f972e >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [WARNING] switch_core_state_machine.c:576 >> 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/ >> 10000000 at 192.168.0.10:5060 Abandoned >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/ >> 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:739 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:741 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State HANGUP >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 >> hanging up, cause: WRONG_CALL_STATE >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 >> Standard HANGUP, cause: WRONG_CALL_STATE >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:741 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State HANGUP going to sleep >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:508 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:827 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State REPORTING >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 >> Standard REPORTING, cause: WRONG_CALL_STATE >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:827 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State REPORTING going to sleep >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:499 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_session.c:1646 Session 384 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Ended >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/ >> 10000000 at 192.168.0.10:5060 [CS_DESTROY] >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:630 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:640 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State DESTROY >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 >> Standard DESTROY >> > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] >> switch_core_state_machine.c:640 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State DESTROY going to sleep >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> sofia.c:5974 Remote Reason: 16 >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> sofia.c:6756 Channel sofia/external/4721935380 entering state >> [terminated][480] >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] >> [NORMAL_CLEARING] >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request >> from read function >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:542 (sofia/external/4721935380) State >> EXCHANGE_MEDIA going to sleep >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/4721935380) Running State >> Change CS_HANGUP >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate >> Change EARLY -> HANGUP >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: >> NORMAL_CLEARING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, >> cause: NORMAL_CLEARING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP >> going to sleep >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:508 (sofia/external/4721935380) State Change >> CS_HANGUP -> CS_REPORTING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/4721935380) Running State >> Change CS_REPORTING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:104 sofia/external/4721935380 Standard >> REPORTING, cause: NORMAL_CLEARING >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING >> going to sleep >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_state_machine.c:499 (sofia/external/4721935380) State Change >> CS_REPORTING -> CS_DESTROY >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] >> switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, >> Waiting on external entities >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ >> 7070 at 76.188.116.163] >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 >> [CS_EXECUTE] [NORMAL_CLEARING] >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) >> Ended >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 >> [CS_DESTROY] >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip >> receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) >> State EXECUTE going to sleep >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_HANGUP >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:630 (sofia/external/4721935380) Running State >> Change CS_DESTROY >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) >> Callstate Change EARLY -> HANGUP >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] >> mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) >> State HANGUP >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause >> 480 with 480 from the other leg >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, >> cause: NORMAL_CLEARING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> mod_sofia.c:568 Responding to INVITE with: 480 >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 >> Standard HANGUP, cause: NORMAL_CLEARING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) >> State HANGUP going to sleep >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) >> State Change CS_HANGUP -> CS_REPORTING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_REPORTING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) >> State REPORTING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 >> Standard REPORTING, cause: NORMAL_CLEARING >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) >> State REPORTING going to sleep >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) >> State Change CS_REPORTING -> CS_DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_session.c:1646 Session 381 (sofia/external/ >> 7070 at 76.188.116.163) Locked, Waiting on external entities >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/ >> 7070 at 76.188.116.163) Ended >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ >> 7070 at 76.188.116.163 [CS_DESTROY] >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) >> State DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] >> mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY >> > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public >> port 23574 protocol UDP to localport 23574 >> > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public >> port 24394 protocol UDP to localport 24394 >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] >> switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 >> Standard DESTROY >> > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) >> State DESTROY going to sleep >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] >> switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY >> > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY >> going to sleep >> > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [ >> 7070 at 76.188.116.163] from 104.245.99.71 >> > You must define a domain called '76.188.116.163' in your directory and >> add a user with the id="7070" attribute >> > and you must configure your device to use the proper domain in it's >> authentication credentials. >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [NOTICE] switch_channel.c:1091 New Channel sofia/external/ >> 7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_NEW >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from >> 104.245.99.71:6688 version: 1.7.0 64bit >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state >> [received][100] >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> sofia.c:6766 Remote SDP: >> > 351981a2-a412-49bb-a554-0df34a002f86 v=0 >> > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 >> 104.245.99.71 >> > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam >> > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 >> > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 >> > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 >> 18 5 101 >> > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 >> > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 >> > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 >> > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D >> 104.245.99.71 6690 >> > 351981a2-a412-49bb-a554-0df34a002f86 >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> >> CS_INIT >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) >> State NEW >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_INIT >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) >> State INIT >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 >> Standard INIT >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) >> State Change CS_INIT -> CS_ROUTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) >> State INIT going to sleep >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_ROUTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate >> Change DOWN -> RINGING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) >> State ROUTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 >> Standard ROUTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] >> mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context >> public >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] destination_number >> (004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->unloop] continue=false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ >> /^true$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ >> /^true$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->outside_call] continue=true >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Absolute Condition [outside_call] >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Action set(outside_call=true) >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y >> %T %z)}) >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->call_debug] continue=true >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ >> /^true$/ break=never >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] destination_number >> (004721935380) =~ /^(10[01][0-9])$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] destination_number >> (004721935380) =~ /^2000$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->public_did] continue=false >> > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [public_did] destination_number >> (004721935380) =~ /^(5551212)$/ break=on-false >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) >> State Change CS_ROUTING -> CS_EXECUTE >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] >> switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) >> State ROUTING going to sleep >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_EXECUTE >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) >> State EXECUTE >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 >> Standard EXECUTE >> > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ >> 7070 at 76.188.116.163 set(outside_call=true) >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 >> [outside_call]=[true] >> > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ >> 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 >> 11:30:13 -0400] >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_state_machine.c:315 sofia/external/ >> 7070 at 76.188.116.163 has executed the last dialplan instruction, hanging >> up. >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/ >> 7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) >> State EXECUTE going to sleep >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_HANGUP >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) >> Callstate Change RINGING -> HANGUP >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) >> State HANGUP >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, >> cause: NORMAL_CLEARING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> mod_sofia.c:568 Responding to INVITE with: 480 >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 >> Standard HANGUP, cause: NORMAL_CLEARING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) >> State HANGUP going to sleep >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) >> State Change CS_HANGUP -> CS_REPORTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_REPORTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) >> State REPORTING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 >> Standard REPORTING, cause: NORMAL_CLEARING >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) >> State REPORTING going to sleep >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) >> State Change CS_REPORTING -> CS_DESTROY >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_session.c:1646 Session 385 (sofia/external/ >> 7070 at 76.188.116.163) Locked, Waiting on external entities >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/ >> 7070 at 76.188.116.163) Ended >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ >> 7070 at 76.188.116.163 [CS_DESTROY] >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) >> Running State Change CS_DESTROY >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) >> State DESTROY >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 >> Standard DESTROY >> > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] >> switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) >> State DESTROY going to sleep >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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/20160315/b4d674fa/attachment-0001.html From bote_radio at botecomm.com Tue Mar 15 03:44:35 2016 From: bote_radio at botecomm.com (Bote Man) Date: Mon, 14 Mar 2016 20:44:35 -0400 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: <56E6C2E6.7030701@wirelessmundi.com> References: <56E6C2E6.7030701@wirelessmundi.com> Message-ID: <011501d17e53$d90a95f0$8b1fc1d0$@botecomm.com> I can not answer about the tickles kernel, but bare metal is always preferred to maximize performance of FreeSWITCH. Some users have had good results with virtual machines, others have had not so good results. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Fran?ois > Sent: Monday, 14 March, 2016 09:56 > Subject: [Freeswitch-users] freeswitch with tickless linux kernel > > Is it still recommended to use custom 1000HZ kernels for FS servers or > can we go tickless now? > > Any difference if FS is installed in baremetal vs virtualized? > > Thanks, > Fran?ois. > From lconroy at insensate.co.uk Tue Mar 15 04:15:37 2016 From: lconroy at insensate.co.uk (Lawrence Conroy) Date: Tue, 15 Mar 2016 01:15:37 +0000 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Message-ID: Hi again, true, but f2b sure does cut down on wasted traffic and vast numbers of log entries, even with a secured dialplan. That's why I said put in f2b, secure dialplan, and only then run fS "in anger". f2b simplifies/automates the firewall block/unblocking. That cuts traffic, and in so doing, it also slows down brute force attacks to the point where they're not really feasible unless you are a target for APT. So, I'd argue you need both (as suggested). all the best, Lawrence On 15 Mar 2016, at 00:35, Stanislav Sinyagin wrote: > But what does fail2ban have to do with security? If a stranger from the internet is able to make calls to PSTN through your PBX, you need to prevent such access in the first place. It's a matter of dialplan planning, and not the firewall or fail2ban. > > On 15 Mar 2016 00:20, "Jun Sun" wrote: > Or simply run a prebuilt AMI image from aws. It comes with fail2ban, firewall, etc. > > https://aws.amazon.com/marketplace/pp/B015ZTS2XM > > https://aws.amazon.com/marketplace/pp/B0191S5CU4/ > > Jun > > On Mon, Mar 14, 2016 at 2:08 PM, Lawrence Conroy wrote: > Hi there, > I guess you're running fS without fail2ban. > Welcome to our world. > BEFORE you bother trying firewall rules manually (or employing a consultant), read up on the freeswitch web for fail2ban, and install f2b. > See > > Do it BEFORE you run freeSwitch "in anger". > > Then secure your profiles & dialplan. > > Then run freeSwitch. > > Then ask :). > > all the best > Lawrence > (who, like most of us, has had exactly this sort of problem) > > On 14 Mar 2016, at 20:38, Jurijs Ivolga wrote: > > Hi Samuel, > > > > Your problem has 2 solutions - easy one and not so easy: > > > > Easy way: > > If you are facing such issues this mean that you very new to VoIP and Freeswitch particularly and in my opinion it is worth to find professional who will configure and secure your PBX, otherwise you can end up loosing much more then 30$. > > > > Hard way: > > If you still think that you can handle it, then first and most simple way is to use iptables for blocking unwanted traffic. Below you can find my manual: > > http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html > > > > Additionally to this you can find Freeswitch official documentation regarding Firewall configuration: > > https://freeswitch.org/confluence/display/FREESWITCH/Firewall > > > > Keep in mind that proper FW configuration will not fix all your issues and you should understand how Freeswitch work and what each configuration file do to secure your installation properly. > > > > With kind regards, > > > > Jurijs > > > > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : > > I have a small setup for a small business that I've been testing; however, it appears that someone has hacked there way into making calls ($30 worth in just a few minutes). Can anyone provide me guidance on how to prevent these calls? Below is my ACL and a partial log: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [NOTICE] switch_channel.c:1091 New Channel sofia/internal/10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_NEW > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving invite from 46.166.160.136:5074 version: 1.7.0 64bit > > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 Rejected by acl "domains". Falling back to Digest auth. > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 [DEBUG] switch_core_state_machine.c:492 (sofia/internal/10000000 at 192.168.0.10:5060) State NEW > > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session 3ff60ad1-2ac7-46e8-b841-03fff79f972e > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [WARNING] switch_core_state_machine.c:576 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/10000000 at 192.168.0.10:5060 Abandoned > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 hanging up, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:60 sofia/internal/10000000 at 192.168.0.10:5060 Standard HANGUP, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/10000000 at 192.168.0.10:5060) State HANGUP going to sleep > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:104 sofia/internal/10000000 at 192.168.0.10:5060 Standard REPORTING, cause: WRONG_CALL_STATE > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/10000000 at 192.168.0.10:5060) State REPORTING going to sleep > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_session.c:1646 Session 384 (sofia/internal/10000000 at 192.168.0.10:5060) Locked, Waiting on external entities > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/10000000 at 192.168.0.10:5060) Ended > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/10000000 at 192.168.0.10:5060 [CS_DESTROY] > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:111 sofia/internal/10000000 at 192.168.0.10:5060 Standard DESTROY > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/10000000 at 192.168.0.10:5060) State DESTROY going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:5974 Remote Reason: 16 > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] sofia.c:6756 Channel sofia/external/4721935380 entering state [terminated][480] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by request from read function > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/4721935380] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:542 (sofia/external/4721935380) State EXCHANGE_MEDIA going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:739 (sofia/external/4721935380) Callstate Change EARLY -> HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, cause: NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:60 sofia/external/4721935380 Standard HANGUP, cause: NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State HANGUP going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:508 (sofia/external/4721935380) State Change CS_HANGUP -> CS_REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running State Change CS_REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:104 sofia/external/4721935380 Standard REPORTING, cause: NORMAL_CLEARING > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State REPORTING going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_state_machine.c:499 (sofia/external/4721935380) State Change CS_REPORTING -> CS_DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 [DEBUG] switch_core_session.c:1646 Session 382 (sofia/external/4721935380) Locked, Waiting on external entities > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/7070 at 76.188.116.163] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) Ended > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 [CS_DESTROY] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/4721935380) Running State Change CS_DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change EARLY -> HANGUP > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP cause 480 with 480 from the other leg > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_session.c:1646 Session 381 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/7070 at 76.188.116.163) Ended > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public port 23574 protocol UDP to localport 23574 > > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public port 24394 protocol UDP to localport 24394 > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:111 sofia/external/4721935380 Standard DESTROY > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State DESTROY going to sleep > > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [7070 at 76.188.116.163] from 104.245.99.71 > > You must define a domain called '76.188.116.163' in your directory and add a user with the id="7070" attribute > > and you must configure your device to use the proper domain in it's authentication credentials. > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [NOTICE] switch_channel.c:1091 New Channel sofia/external/7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_NEW > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite from 104.245.99.71:6688 version: 1.7.0 64bit > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering state [received][100] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:6766 Remote SDP: > > 351981a2-a412-49bb-a554-0df34a002f86 v=0 > > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 104.245.99.71 > > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam > > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 > > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 > > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 18 5 101 > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 > > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 > > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D 104.245.99.71 6690 > > 351981a2-a412-49bb-a554-0df34a002f86 > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change CS_NEW -> CS_INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:492 (sofia/external/7070 at 76.188.116.163) State NEW > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 Standard INIT > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) State Change CS_INIT -> CS_ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7070 at 76.188.116.163) State INIT going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) Callstate Change DOWN -> RINGING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 Standard ROUTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context public > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->unloop] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->outside_call] continue=true > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Absolute Condition [outside_call] > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Action set(outside_call=true) > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->call_debug] continue=true > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->public_extensions] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [public_extensions] destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] destination_number(004721935380) =~ /^2000$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 parsing [public->public_did] continue=false > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/7070 at 76.188.116.163 Regex (FAIL) [public_did] destination_number(004721935380) =~ /^(5551212)$/ break=on-false > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:216 (sofia/external/7070 at 76.188.116.163) State Change CS_ROUTING -> CS_EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7070 at 76.188.116.163) State ROUTING going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 Standard EXECUTE > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/7070 at 76.188.116.163 set(outside_call=true) > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 [outside_call]=[true] > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 Mar 2016 11:30:13 -0400] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:315 sofia/external/7070 at 76.188.116.163 has executed the last dialplan instruction, hanging up. > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:539 (sofia/external/7070 at 76.188.116.163) State EXECUTE going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7070 at 76.188.116.163) Callstate Change RINGING -> HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 hanging up, cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 Standard HANGUP, cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7070 at 76.188.116.163) State HANGUP going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7070 at 76.188.116.163) Running State Change CS_REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7070 at 76.188.116.163) State REPORTING going to sleep > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_session.c:1646 Session 385 (sofia/external/7070 at 76.188.116.163) Locked, Waiting on external entities > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/7070 at 76.188.116.163) Ended > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7070 at 76.188.116.163 [CS_DESTROY] > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7070 at 76.188.116.163) Running State Change CS_DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 Standard DESTROY > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7070 at 76.188.116.163) State DESTROY going to sleep > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 From s.safarov at gmail.com Tue Mar 15 07:02:40 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 15 Mar 2016 04:02:40 +0000 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: <011501d17e53$d90a95f0$8b1fc1d0$@botecomm.com> References: <56E6C2E6.7030701@wirelessmundi.com> <011501d17e53$d90a95f0$8b1fc1d0$@botecomm.com> Message-ID: Probable hardware line cards will work unstable in virtual environment. On Tue, Mar 15, 2016, 03:45 Bote Man wrote: > I can not answer about the tickles kernel, but bare metal is always > preferred to maximize performance of FreeSWITCH. > > Some users have had good results with virtual machines, others have had > not so good results. > > > --- > Bote > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > > -----Original Message----- > > From: Fran?ois > > Sent: Monday, 14 March, 2016 09:56 > > Subject: [Freeswitch-users] freeswitch with tickless linux kernel > > > > Is it still recommended to use custom 1000HZ kernels for FS servers or > > can we go tickless now? > > > > Any difference if FS is installed in baremetal vs virtualized? > > > > Thanks, > > Fran?ois. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/ad34baa4/attachment.html From fernando at softov.com.br Tue Mar 15 07:11:01 2016 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Tue, 15 Mar 2016 00:11:01 -0400 Subject: [Freeswitch-users] socket_resume + bridge + att_xfer Message-ID: Hi, i'm using dialplan socket (outbound), until now it's ok. But sometimes if my daemon crash (i'm working on it) the call still active. Searching i found socket_resume "If this variable is set to true, the dialplan will resume execution with the next action after the call to the socket application. This can be used for example to allow you to do something intelligent in the dialplan if your IVR application gets killed in an unclean way. If there is a bridge active when the disconnect happens, it is killed. To do this from your application after the socket is already connected, issue the resume command." So i make Now, when i make a bridge (A -> B), and make a att_xfer (B -> C), when B press 0 (tree_way), A hangup. If i remove socket_resume, it's OK (A+B+C), but if i kill my daemon (simulate a crash), the call still ACTIVE. Is there another way to do that? There is something I'm missing? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/bd9c8c4d/attachment.html From ssinyagin at gmail.com Tue Mar 15 10:27:56 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 15 Mar 2016 08:27:56 +0100 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: <56E6C2E6.7030701@wirelessmundi.com> References: <56E6C2E6.7030701@wirelessmundi.com> Message-ID: FreeSWITCH relies heavily on timers, so every media playback or conference will be (probably severely) distracted if your kernel ticks are not frequent enough. In regards to virtualization, the virtualization itself is not too bad, but the problem is, that with most of hosting offers you get a best-effort service, sharing the CPU power with other unknown parties. So, you can't really say how many simultaneous calls your host can handle. By the way, scaleway.com has just published a new offering for physical hosting. On Mon, Mar 14, 2016 at 2:55 PM, Fran?ois wrote: > Is it still recommended to use custom 1000HZ kernels for FS servers or > can we go tickless now? > > Any difference if FS is installed in baremetal vs virtualized? > > Thanks, > Fran?ois. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 ssinyagin at gmail.com Tue Mar 15 12:05:10 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 15 Mar 2016 10:05:10 +0100 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: yes, sure, in mod_silk why the question? On Tue, Mar 15, 2016 at 12:18 AM, Oleg Stolyar wrote: > Hi guys, > > does FreeSWITCH still support SILK? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Tue Mar 15 14:39:24 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 15 Mar 2016 06:39:24 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: CELT+Silk=OPUS. ? On Monday, March 14, 2016, Oleg Stolyar wrote: > Hi guys, > > does FreeSWITCH still support SILK? > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160315/a43ad60a/attachment.html From ssinyagin at gmail.com Tue Mar 15 15:49:52 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 15 Mar 2016 13:49:52 +0100 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: yes Brian, and also much more CPU for encoding/decoding. SILK is quite modest on CPU impact, unlike Opus. On Tue, Mar 15, 2016 at 12:39 PM, Brian West wrote: > CELT+Silk=OPUS. ? > > On Monday, March 14, 2016, Oleg Stolyar wrote: > >> Hi guys, >> >> does FreeSWITCH still support SILK? >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160315/963fc70c/attachment-0001.html From olegstolyar at gmail.com Tue Mar 15 16:47:27 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 06:47:27 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Thanks guys! On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin wrote: > yes Brian, and also much more CPU for encoding/decoding. SILK is quite > modest on CPU impact, unlike Opus. > > > > On Tue, Mar 15, 2016 at 12:39 PM, Brian West wrote: > >> CELT+Silk=OPUS. ? >> >> On Monday, March 14, 2016, Oleg Stolyar wrote: >> >>> Hi guys, >>> >>> does FreeSWITCH still support SILK? >>> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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/20160315/e4415430/attachment.html From olegstolyar at gmail.com Tue Mar 15 18:21:15 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 08:21:15 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. When I uncomment silk in modules.conf, make throws an error that libsilk-dev is required. Not sure where to get it. Do I need to build silk myself? On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar wrote: > Thanks guys! > > On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin > wrote: > >> yes Brian, and also much more CPU for encoding/decoding. SILK is quite >> modest on CPU impact, unlike Opus. >> >> >> >> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >> wrote: >> >>> CELT+Silk=OPUS. ? >>> >>> On Monday, March 14, 2016, Oleg Stolyar wrote: >>> >>>> Hi guys, >>>> >>>> does FreeSWITCH still support SILK? >>>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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/20160315/5e9639bc/attachment.html From aqsyounas at gmail.com Tue Mar 15 18:29:05 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Tue, 15 Mar 2016 20:29:05 +0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: https://freeswitch.org/stash/projects/SD/repos/libsilk/browse On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: > BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. > > When I uncomment silk in modules.conf, make throws an error that > libsilk-dev is required. Not sure where to get it. Do I need to build > silk myself? > > On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar > wrote: > >> Thanks guys! >> >> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin >> wrote: >> >>> yes Brian, and also much more CPU for encoding/decoding. SILK is quite >>> modest on CPU impact, unlike Opus. >>> >>> >>> >>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>> wrote: >>> >>>> CELT+Silk=OPUS. ? >>>> >>>> On Monday, March 14, 2016, Oleg Stolyar wrote: >>>> >>>>> Hi guys, >>>>> >>>>> does FreeSWITCH still support SILK? >>>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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/20160315/5bea2f7c/attachment-0001.html From fdelawarde at wirelessmundi.com Tue Mar 15 18:46:46 2016 From: fdelawarde at wirelessmundi.com (=?UTF-8?B?RnJhbsOnb2lz?=) Date: Tue, 15 Mar 2016 16:46:46 +0100 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: <56E6C2E6.7030701@wirelessmundi.com> References: <56E6C2E6.7030701@wirelessmundi.com> Message-ID: <56E82E66.3010802@wirelessmundi.com> I guess the answer is not that simple so I'll have to give it a try (tickless) and report! On 2016-03-14 14:55, Fran?ois wrote: > Is it still recommended to use custom 1000HZ kernels for FS servers or > can we go tickless now? > > Any difference if FS is installed in baremetal vs virtualized? > > Thanks, > Fran?ois. From anthony.minessale at gmail.com Tue Mar 15 18:52:18 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 10:52:18 -0500 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: <56E82E66.3010802@wirelessmundi.com> References: <56E6C2E6.7030701@wirelessmundi.com> <56E82E66.3010802@wirelessmundi.com> Message-ID: You do not need 1000hz kernel anymore since like 2010 when they actually made the tickless one work right. We now have timerfd to rely on for voip timing. On Tue, Mar 15, 2016 at 10:46 AM, Fran?ois wrote: > I guess the answer is not that simple so I'll have to give it a try > (tickless) and report! > > > On 2016-03-14 14:55, Fran?ois wrote: > > Is it still recommended to use custom 1000HZ kernels for FS servers or > > can we go tickless now? > > > > Any difference if FS is installed in baremetal vs virtualized? > > > > Thanks, > > Fran?ois. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/1f5ccb81/attachment.html From fdelawarde at wirelessmundi.com Tue Mar 15 18:59:03 2016 From: fdelawarde at wirelessmundi.com (=?UTF-8?B?RnJhbsOnb2lz?=) Date: Tue, 15 Mar 2016 16:59:03 +0100 Subject: [Freeswitch-users] freeswitch with tickless linux kernel In-Reply-To: References: <56E6C2E6.7030701@wirelessmundi.com> <56E82E66.3010802@wirelessmundi.com> Message-ID: <56E83147.1040507@wirelessmundi.com> Nice to know, thanks! On 2016-03-15 16:52, Anthony Minessale wrote: > You do not need 1000hz kernel anymore since like 2010 when they > actually made the tickless one work right. > We now have timerfd to rely on for voip timing. > > > On Tue, Mar 15, 2016 at 10:46 AM, Fran?ois > > > wrote: > > I guess the answer is not that simple so I'll have to give it a try > (tickless) and report! > > > On 2016-03-14 14:55, Fran?ois wrote: > > Is it still recommended to use custom 1000HZ kernels for FS > servers or > > can we go tickless now? > > > > Any difference if FS is installed in baremetal vs virtualized? > > > > Thanks, > > Fran?ois. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/7606499d/attachment.html From olegstolyar at gmail.com Tue Mar 15 19:03:24 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 09:03:24 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Thanks Aqs! I made and installed silk from this repo but FS is still saying that it needs libsilk-dev. I am probably missing something obvious here. Has anyone been able to install Silk on FS? Can you share the steps? On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas wrote: > https://freeswitch.org/stash/projects/SD/repos/libsilk/browse > On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: > >> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >> >> When I uncomment silk in modules.conf, make throws an error that >> libsilk-dev is required. Not sure where to get it. Do I need to build >> silk myself? >> >> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >> wrote: >> >>> Thanks guys! >>> >>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin >> > wrote: >>> >>>> yes Brian, and also much more CPU for encoding/decoding. SILK is quite >>>> modest on CPU impact, unlike Opus. >>>> >>>> >>>> >>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>> wrote: >>>> >>>>> CELT+Silk=OPUS. ? >>>>> >>>>> On Monday, March 14, 2016, Oleg Stolyar wrote: >>>>> >>>>>> Hi guys, >>>>>> >>>>>> does FreeSWITCH still support SILK? >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> 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 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/c272ec88/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 15 19:05:42 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 11:05:42 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: You probably need to make sure its installing pkgconfig files and if you already have a built tree, rerun sh config.status --recheck On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar wrote: > Thanks Aqs! > > I made and installed silk from this repo but FS is still saying that it > needs libsilk-dev. I am probably missing something obvious here. > > Has anyone been able to install Silk on FS? Can you share the steps? > > On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas wrote: > >> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: >> >>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>> >>> When I uncomment silk in modules.conf, make throws an error that >>> libsilk-dev is required. Not sure where to get it. Do I need to build >>> silk myself? >>> >>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >>> wrote: >>> >>>> Thanks guys! >>>> >>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>> ssinyagin at gmail.com> wrote: >>>> >>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is quite >>>>> modest on CPU impact, unlike Opus. >>>>> >>>>> >>>>> >>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>>> wrote: >>>>> >>>>>> CELT+Silk=OPUS. ? >>>>>> >>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>> wrote: >>>>>> >>>>>>> Hi guys, >>>>>>> >>>>>>> does FreeSWITCH still support SILK? >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> 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 >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160315/7056336b/attachment.html From olegstolyar at gmail.com Tue Mar 15 19:29:03 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 09:29:03 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Thanks Anthony, it builds after doing this.' However, when I run FS module_exists mod_silk still returns false. I did add in case that was the problem but still no luck. On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > You probably need to make sure its installing pkgconfig files and if you > already have a built tree, rerun sh config.status --recheck > > > On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar > wrote: > >> Thanks Aqs! >> >> I made and installed silk from this repo but FS is still saying that it >> needs libsilk-dev. I am probably missing something obvious here. >> >> Has anyone been able to install Silk on FS? Can you share the steps? >> >> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas wrote: >> >>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: >>> >>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>> >>>> When I uncomment silk in modules.conf, make throws an error that >>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>> silk myself? >>>> >>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >>>> wrote: >>>> >>>>> Thanks guys! >>>>> >>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>> quite modest on CPU impact, unlike Opus. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>>>> wrote: >>>>>> >>>>>>> CELT+Silk=OPUS. ? >>>>>>> >>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>> wrote: >>>>>>> >>>>>>>> Hi guys, >>>>>>>> >>>>>>>> does FreeSWITCH still support SILK? >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Brian West* >>>>>>> brian at freeswitch.org >>>>>>> >>>>>>> >>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>> http://www.freeswitchbook.com >>>>>>> http://www.freeswitchcookbook.com >>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>> >>>>>>> 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 >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160315/1ecf4e10/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 15 19:45:46 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 11:45:46 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: You can try loading it from the cli to see if there are any errors. On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar wrote: > Thanks Anthony, it builds after doing this.' > > However, when I run FS module_exists mod_silk still returns false. I did > add > in case that was the problem but still no luck. > > On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> You probably need to make sure its installing pkgconfig files and if you >> already have a built tree, rerun sh config.status --recheck >> >> >> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar >> wrote: >> >>> Thanks Aqs! >>> >>> I made and installed silk from this repo but FS is still saying that it >>> needs libsilk-dev. I am probably missing something obvious here. >>> >>> Has anyone been able to install Silk on FS? Can you share the steps? >>> >>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas wrote: >>> >>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: >>>> >>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>> >>>>> When I uncomment silk in modules.conf, make throws an error that >>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>> silk myself? >>>>> >>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Thanks guys! >>>>>> >>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> >>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>>> quite modest on CPU impact, unlike Opus. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> CELT+Silk=OPUS. ? >>>>>>>> >>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi guys, >>>>>>>>> >>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>> >>>>>>>> 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 >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160315/aeec049e/attachment-0001.html From olegstolyar at gmail.com Tue Mar 15 19:54:11 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 09:54:11 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Getting this error: reload mod_silk +OK Reloading XML -ERR unloading module [No such module!] -ERR loading module [module load file routine returned an error] 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_silk.so **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file or directory** 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded 530 definitions On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > You can try loading it from the cli to see if there are any errors. > > On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar > wrote: > >> Thanks Anthony, it builds after doing this.' >> >> However, when I run FS module_exists mod_silk still returns false. I >> did add >> in case that was the problem but still no luck. >> >> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> You probably need to make sure its installing pkgconfig files and if you >>> already have a built tree, rerun sh config.status --recheck >>> >>> >>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar >>> wrote: >>> >>>> Thanks Aqs! >>>> >>>> I made and installed silk from this repo but FS is still saying that it >>>> needs libsilk-dev. I am probably missing something obvious here. >>>> >>>> Has anyone been able to install Silk on FS? Can you share the steps? >>>> >>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>> wrote: >>>> >>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: >>>>> >>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>> >>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>> silk myself? >>>>>> >>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >>>>>> wrote: >>>>>> >>>>>>> Thanks guys! >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> >>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>>>> quite modest on CPU impact, unlike Opus. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>> >>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi guys, >>>>>>>>>> >>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> *Brian West* >>>>>>>>> brian at freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>> http://www.freeswitchbook.com >>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>> >>>>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/c0f21216/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 15 20:09:14 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 12:09:14 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Is the lib installed into the system where its reachable by FS and is either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d etc ? ldconfig maybe. On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar wrote: > Getting this error: > > reload mod_silk > +OK Reloading XML > -ERR unloading module [No such module!] > -ERR loading module [module load file routine returned an error] > > 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded > 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error > Loading module /usr/local/freeswitch/mod/mod_silk.so > **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file or > directory** > 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded 530 > definitions > > > On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> You can try loading it from the cli to see if there are any errors. >> >> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar >> wrote: >> >>> Thanks Anthony, it builds after doing this.' >>> >>> However, when I run FS module_exists mod_silk still returns false. I >>> did add >>> in case that was the problem but still no luck. >>> >>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> You probably need to make sure its installing pkgconfig files and if >>>> you already have a built tree, rerun sh config.status --recheck >>>> >>>> >>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar >>>> wrote: >>>> >>>>> Thanks Aqs! >>>>> >>>>> I made and installed silk from this repo but FS is still saying that >>>>> it needs libsilk-dev. I am probably missing something obvious here. >>>>> >>>>> Has anyone been able to install Silk on FS? Can you share the steps? >>>>> >>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>> wrote: >>>>> >>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" wrote: >>>>>> >>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>>> >>>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>>> silk myself? >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar >>>>>> > wrote: >>>>>>> >>>>>>>> Thanks guys! >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> >>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>>>>> quite modest on CPU impact, unlike Opus. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West >>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>> >>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hi guys, >>>>>>>>>>> >>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> *Brian West* >>>>>>>>>> brian at freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>> >>>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160315/e8e391ba/attachment-0001.html From richard.mace at gmail.com Tue Mar 15 20:19:44 2016 From: richard.mace at gmail.com (Richard Mace) Date: Tue, 15 Mar 2016 17:19:44 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: Hi all, I just installed a fresh install of Debian 8 and followed the FreeSWITCH confluence install instructions bit I can't install the freeswitch-all package because it doesn't exist? Only freeswitch-vanilla does any ideas? Thanks Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/f0d0be1f/attachment.html From olegstolyar at gmail.com Tue Mar 15 20:20:49 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 10:20:49 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: It's in /usr/local/lib and FS make at least finds it since it builds. Not sure why FS executable can't find it. ll /usr/local/lib total 2500 drwxr-xr-x 6 root root 4096 Mar 15 15:56 ./ drwxr-xr-x 12 root root 4096 Mar 14 20:21 ../ -rw-r--r-- 1 root root 1604538 Mar 15 15:56 libSKP_SILK_SDK.a -rwxr-xr-x 1 root root 1001 Mar 15 15:56 libSKP_SILK_SDK.la* lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so -> libSKP_SILK_SDK.so.0.0.0* lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so.0 -> libSKP_SILK_SDK.so.0.0.0* -rwxr-xr-x 1 root root 922988 Mar 15 15:56 libSKP_SILK_SDK.so.0.0.0* drwxr-xr-x 2 root root 4096 Mar 15 15:56 pkgconfig/ drwxrwsr-x 4 root staff 4096 Mar 1 17:57 python2.7/ drwxrwsr-x 3 root staff 4096 Apr 16 2014 python3.4/ drwxr-xr-x 3 root root 4096 Mar 1 18:05 site_ruby/ On Tue, Mar 15, 2016 at 10:09 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Is the lib installed into the system where its reachable by FS and is > either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d > etc ? > ldconfig maybe. > > > On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar > wrote: > >> Getting this error: >> >> reload mod_silk >> +OK Reloading XML >> -ERR unloading module [No such module!] >> -ERR loading module [module load file routine returned an error] >> >> 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded >> 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error >> Loading module /usr/local/freeswitch/mod/mod_silk.so >> **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file or >> directory** >> 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded >> 530 definitions >> >> >> On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> You can try loading it from the cli to see if there are any errors. >>> >>> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar >>> wrote: >>> >>>> Thanks Anthony, it builds after doing this.' >>>> >>>> However, when I run FS module_exists mod_silk still returns false. I >>>> did add >>>> in case that was the problem but still no luck. >>>> >>>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> You probably need to make sure its installing pkgconfig files and if >>>>> you already have a built tree, rerun sh config.status --recheck >>>>> >>>>> >>>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Thanks Aqs! >>>>>> >>>>>> I made and installed silk from this repo but FS is still saying that >>>>>> it needs libsilk-dev. I am probably missing something obvious here. >>>>>> >>>>>> Has anyone been able to install Silk on FS? Can you share the steps? >>>>>> >>>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>>> wrote: >>>>>> >>>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" >>>>>>> wrote: >>>>>>> >>>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>>>> >>>>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>>>> silk myself? >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar < >>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>> >>>>>>>>> Thanks guys! >>>>>>>>> >>>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>>>>>> quite modest on CPU impact, unlike Opus. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West < >>>>>>>>>> brian at freeswitch.org> wrote: >>>>>>>>>> >>>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>>> >>>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi guys, >>>>>>>>>>>> >>>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> *Brian West* >>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>> >>>>>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160315/57b1eb90/attachment-0001.html From anthony.minessale at gmail.com Tue Mar 15 21:05:33 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 13:05:33 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: make sure /usr/local/lib is in /etc/ld.so.conf and you perform ldconfig after adding it. or set the env var LD_LIBRARY_PATH=/usr/local/lib On Tue, Mar 15, 2016 at 12:20 PM, Oleg Stolyar wrote: > It's in /usr/local/lib and FS make at least finds it since it builds. Not > sure why FS executable can't find it. > > ll /usr/local/lib > total 2500 > drwxr-xr-x 6 root root 4096 Mar 15 15:56 ./ > drwxr-xr-x 12 root root 4096 Mar 14 20:21 ../ > -rw-r--r-- 1 root root 1604538 Mar 15 15:56 libSKP_SILK_SDK.a > -rwxr-xr-x 1 root root 1001 Mar 15 15:56 libSKP_SILK_SDK.la* > lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so -> > libSKP_SILK_SDK.so.0.0.0* > lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so.0 -> > libSKP_SILK_SDK.so.0.0.0* > -rwxr-xr-x 1 root root 922988 Mar 15 15:56 libSKP_SILK_SDK.so.0.0.0* > drwxr-xr-x 2 root root 4096 Mar 15 15:56 pkgconfig/ > drwxrwsr-x 4 root staff 4096 Mar 1 17:57 python2.7/ > drwxrwsr-x 3 root staff 4096 Apr 16 2014 python3.4/ > drwxr-xr-x 3 root root 4096 Mar 1 18:05 site_ruby/ > > > On Tue, Mar 15, 2016 at 10:09 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Is the lib installed into the system where its reachable by FS and is >> either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d >> etc ? >> ldconfig maybe. >> >> >> On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar >> wrote: >> >>> Getting this error: >>> >>> reload mod_silk >>> +OK Reloading XML >>> -ERR unloading module [No such module!] >>> -ERR loading module [module load file routine returned an error] >>> >>> 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded >>> 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error >>> Loading module /usr/local/freeswitch/mod/mod_silk.so >>> **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file or >>> directory** >>> 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded >>> 530 definitions >>> >>> >>> On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> You can try loading it from the cli to see if there are any errors. >>>> >>>> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar >>>> wrote: >>>> >>>>> Thanks Anthony, it builds after doing this.' >>>>> >>>>> However, when I run FS module_exists mod_silk still returns false. I >>>>> did add >>>>> in case that was the problem but still no luck. >>>>> >>>>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> You probably need to make sure its installing pkgconfig files and if >>>>>> you already have a built tree, rerun sh config.status --recheck >>>>>> >>>>>> >>>>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar >>>>> > wrote: >>>>>> >>>>>>> Thanks Aqs! >>>>>>> >>>>>>> I made and installed silk from this repo but FS is still saying that >>>>>>> it needs libsilk-dev. I am probably missing something obvious here. >>>>>>> >>>>>>> Has anyone been able to install Silk on FS? Can you share the steps? >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>>>> wrote: >>>>>>> >>>>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" >>>>>>>> wrote: >>>>>>>> >>>>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>>>>> >>>>>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>>>>> silk myself? >>>>>>>>> >>>>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar < >>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Thanks guys! >>>>>>>>>> >>>>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK is >>>>>>>>>>> quite modest on CPU impact, unlike Opus. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West < >>>>>>>>>>> brian at freeswitch.org> wrote: >>>>>>>>>>> >>>>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>>>> >>>>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi guys, >>>>>>>>>>>>> >>>>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> >>>>>>>>>>>> *Brian West* >>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at 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 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160315/a8ac4990/attachment-0001.html From olegstolyar at gmail.com Tue Mar 15 21:33:53 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 11:33:53 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Yep, checked that: # cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf # cat /etc/ld.so.conf.d/libc.conf # libc default configuration /usr/local/lib On Tue, Mar 15, 2016 at 11:05 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > make sure /usr/local/lib is in /etc/ld.so.conf and you perform ldconfig > after adding it. > or set the env var LD_LIBRARY_PATH=/usr/local/lib > > > On Tue, Mar 15, 2016 at 12:20 PM, Oleg Stolyar > wrote: > >> It's in /usr/local/lib and FS make at least finds it since it builds. >> Not sure why FS executable can't find it. >> >> ll /usr/local/lib >> total 2500 >> drwxr-xr-x 6 root root 4096 Mar 15 15:56 ./ >> drwxr-xr-x 12 root root 4096 Mar 14 20:21 ../ >> -rw-r--r-- 1 root root 1604538 Mar 15 15:56 libSKP_SILK_SDK.a >> -rwxr-xr-x 1 root root 1001 Mar 15 15:56 libSKP_SILK_SDK.la* >> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so -> >> libSKP_SILK_SDK.so.0.0.0* >> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so.0 -> >> libSKP_SILK_SDK.so.0.0.0* >> -rwxr-xr-x 1 root root 922988 Mar 15 15:56 libSKP_SILK_SDK.so.0.0.0* >> drwxr-xr-x 2 root root 4096 Mar 15 15:56 pkgconfig/ >> drwxrwsr-x 4 root staff 4096 Mar 1 17:57 python2.7/ >> drwxrwsr-x 3 root staff 4096 Apr 16 2014 python3.4/ >> drwxr-xr-x 3 root root 4096 Mar 1 18:05 site_ruby/ >> >> >> On Tue, Mar 15, 2016 at 10:09 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Is the lib installed into the system where its reachable by FS and is >>> either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d >>> etc ? >>> ldconfig maybe. >>> >>> >>> On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar >>> wrote: >>> >>>> Getting this error: >>>> >>>> reload mod_silk >>>> +OK Reloading XML >>>> -ERR unloading module [No such module!] >>>> -ERR loading module [module load file routine returned an error] >>>> >>>> 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded >>>> 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error >>>> Loading module /usr/local/freeswitch/mod/mod_silk.so >>>> **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file or >>>> directory** >>>> 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded >>>> 530 definitions >>>> >>>> >>>> On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> You can try loading it from the cli to see if there are any errors. >>>>> >>>>> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Thanks Anthony, it builds after doing this.' >>>>>> >>>>>> However, when I run FS module_exists mod_silk still returns false. >>>>>> I did add >>>>>> in case that was the problem but still no luck. >>>>>> >>>>>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> You probably need to make sure its installing pkgconfig files and if >>>>>>> you already have a built tree, rerun sh config.status --recheck >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar < >>>>>>> olegstolyar at gmail.com> wrote: >>>>>>> >>>>>>>> Thanks Aqs! >>>>>>>> >>>>>>>> I made and installed silk from this repo but FS is still saying >>>>>>>> that it needs libsilk-dev. I am probably missing something obvious here. >>>>>>>> >>>>>>>> Has anyone been able to install Silk on FS? Can you share the >>>>>>>> steps? >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>>>>> wrote: >>>>>>>> >>>>>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>>>>>> >>>>>>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>>>>>> silk myself? >>>>>>>>>> >>>>>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar < >>>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Thanks guys! >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK >>>>>>>>>>>> is quite modest on CPU impact, unlike Opus. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West < >>>>>>>>>>>> brian at freeswitch.org> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>>>>> >>>>>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi guys, >>>>>>>>>>>>>> >>>>>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> *Brian West* >>>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>>>> >>>>>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at 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 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/2e26ddba/attachment-0001.html From brian at freeswitch.org Tue Mar 15 21:37:00 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 15 Mar 2016 13:37:00 -0500 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: If Freeswitch was running when you installed the lib, you may need to restart it too On Tuesday, March 15, 2016, Oleg Stolyar wrote: > Yep, checked that: > > # cat /etc/ld.so.conf > include /etc/ld.so.conf.d/*.conf > > # cat /etc/ld.so.conf.d/libc.conf > # libc default configuration > /usr/local/lib > > > > > On Tue, Mar 15, 2016 at 11:05 AM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > >> make sure /usr/local/lib is in /etc/ld.so.conf and you perform ldconfig >> after adding it. >> or set the env var LD_LIBRARY_PATH=/usr/local/lib >> >> >> On Tue, Mar 15, 2016 at 12:20 PM, Oleg Stolyar > > wrote: >> >>> It's in /usr/local/lib and FS make at least finds it since it builds. >>> Not sure why FS executable can't find it. >>> >>> ll /usr/local/lib >>> total 2500 >>> drwxr-xr-x 6 root root 4096 Mar 15 15:56 ./ >>> drwxr-xr-x 12 root root 4096 Mar 14 20:21 ../ >>> -rw-r--r-- 1 root root 1604538 Mar 15 15:56 libSKP_SILK_SDK.a >>> -rwxr-xr-x 1 root root 1001 Mar 15 15:56 libSKP_SILK_SDK.la* >>> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so -> >>> libSKP_SILK_SDK.so.0.0.0* >>> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so.0 -> >>> libSKP_SILK_SDK.so.0.0.0* >>> -rwxr-xr-x 1 root root 922988 Mar 15 15:56 libSKP_SILK_SDK.so.0.0.0* >>> drwxr-xr-x 2 root root 4096 Mar 15 15:56 pkgconfig/ >>> drwxrwsr-x 4 root staff 4096 Mar 1 17:57 python2.7/ >>> drwxrwsr-x 3 root staff 4096 Apr 16 2014 python3.4/ >>> drwxr-xr-x 3 root root 4096 Mar 1 18:05 site_ruby/ >>> >>> >>> On Tue, Mar 15, 2016 at 10:09 AM, Anthony Minessale < >>> anthony.minessale at gmail.com >>> > wrote: >>> >>>> Is the lib installed into the system where its reachable by FS and is >>>> either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d >>>> etc ? >>>> ldconfig maybe. >>>> >>>> >>>> On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar >>> > wrote: >>>> >>>>> Getting this error: >>>>> >>>>> reload mod_silk >>>>> +OK Reloading XML >>>>> -ERR unloading module [No such module!] >>>>> -ERR loading module [module load file routine returned an error] >>>>> >>>>> 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded >>>>> 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error >>>>> Loading module /usr/local/freeswitch/mod/mod_silk.so >>>>> **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file >>>>> or directory** >>>>> 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone reloaded >>>>> 530 definitions >>>>> >>>>> >>>>> On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < >>>>> anthony.minessale at gmail.com >>>>> > wrote: >>>>> >>>>>> You can try loading it from the cli to see if there are any errors. >>>>>> >>>>>> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar >>>>> > wrote: >>>>>> >>>>>>> Thanks Anthony, it builds after doing this.' >>>>>>> >>>>>>> However, when I run FS module_exists mod_silk still returns false. >>>>>>> I did add >>>>>>> in case that was the problem but still no luck. >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com >>>>>>> > >>>>>>> wrote: >>>>>>> >>>>>>>> You probably need to make sure its installing pkgconfig files and >>>>>>>> if you already have a built tree, rerun sh config.status --recheck >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar < >>>>>>>> olegstolyar at gmail.com >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Thanks Aqs! >>>>>>>>> >>>>>>>>> I made and installed silk from this repo but FS is still saying >>>>>>>>> that it needs libsilk-dev. I am probably missing something obvious here. >>>>>>>>> >>>>>>>>> Has anyone been able to install Silk on FS? Can you share the >>>>>>>>> steps? >>>>>>>>> >>>>>>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" >>>>>>>>> > wrote: >>>>>>>>>> >>>>>>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS 1.6. >>>>>>>>>>> >>>>>>>>>>> When I uncomment silk in modules.conf, make throws an error that >>>>>>>>>>> libsilk-dev is required. Not sure where to get it. Do I need to build >>>>>>>>>>> silk myself? >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar < >>>>>>>>>>> olegstolyar at gmail.com >>>>>>>>>>> > wrote: >>>>>>>>>>> >>>>>>>>>>>> Thanks guys! >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>>>>>> ssinyagin at gmail.com >>>>>>>>>>>> > wrote: >>>>>>>>>>>> >>>>>>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK >>>>>>>>>>>>> is quite modest on CPU impact, unlike Opus. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West < >>>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>>> > wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar < >>>>>>>>>>>>>> olegstolyar at gmail.com >>>>>>>>>>>>>> > >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi guys, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> >>>>>>>>>>>>>> *Brian West* >>>>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at 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 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160315/f2eadb1a/attachment-0001.html From olegstolyar at gmail.com Tue Mar 15 21:45:10 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 15 Mar 2016 11:45:10 -0700 Subject: [Freeswitch-users] SILK codec In-Reply-To: References: Message-ID: Absolutely. I always restart FS after rebuilding. On Tue, Mar 15, 2016 at 11:37 AM, Brian West wrote: > If Freeswitch was running when you installed the lib, you may need to > restart it too > > > On Tuesday, March 15, 2016, Oleg Stolyar wrote: > >> Yep, checked that: >> >> # cat /etc/ld.so.conf >> include /etc/ld.so.conf.d/*.conf >> >> # cat /etc/ld.so.conf.d/libc.conf >> # libc default configuration >> /usr/local/lib >> >> >> >> >> On Tue, Mar 15, 2016 at 11:05 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> make sure /usr/local/lib is in /etc/ld.so.conf and you perform ldconfig >>> after adding it. >>> or set the env var LD_LIBRARY_PATH=/usr/local/lib >>> >>> >>> On Tue, Mar 15, 2016 at 12:20 PM, Oleg Stolyar >>> wrote: >>> >>>> It's in /usr/local/lib and FS make at least finds it since it builds. >>>> Not sure why FS executable can't find it. >>>> >>>> ll /usr/local/lib >>>> total 2500 >>>> drwxr-xr-x 6 root root 4096 Mar 15 15:56 ./ >>>> drwxr-xr-x 12 root root 4096 Mar 14 20:21 ../ >>>> -rw-r--r-- 1 root root 1604538 Mar 15 15:56 libSKP_SILK_SDK.a >>>> -rwxr-xr-x 1 root root 1001 Mar 15 15:56 libSKP_SILK_SDK.la* >>>> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so -> >>>> libSKP_SILK_SDK.so.0.0.0* >>>> lrwxrwxrwx 1 root root 24 Mar 15 15:56 libSKP_SILK_SDK.so.0 -> >>>> libSKP_SILK_SDK.so.0.0.0* >>>> -rwxr-xr-x 1 root root 922988 Mar 15 15:56 libSKP_SILK_SDK.so.0.0.0* >>>> drwxr-xr-x 2 root root 4096 Mar 15 15:56 pkgconfig/ >>>> drwxrwsr-x 4 root staff 4096 Mar 1 17:57 python2.7/ >>>> drwxrwsr-x 3 root staff 4096 Apr 16 2014 python3.4/ >>>> drwxr-xr-x 3 root root 4096 Mar 1 18:05 site_ruby/ >>>> >>>> >>>> On Tue, Mar 15, 2016 at 10:09 AM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Is the lib installed into the system where its reachable by FS and is >>>>> either in a standard lib path or that path is in ld.so.conf or ld.so.conf.d >>>>> etc ? >>>>> ldconfig maybe. >>>>> >>>>> >>>>> On Tue, Mar 15, 2016 at 11:54 AM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Getting this error: >>>>>> >>>>>> reload mod_silk >>>>>> +OK Reloading XML >>>>>> -ERR unloading module [No such module!] >>>>>> -ERR loading module [module load file routine returned an error] >>>>>> >>>>>> 2016-03-15 16:53:08.136908 [INFO] mod_enum.c:880 ENUM Reloaded >>>>>> 2016-03-15 16:53:08.136908 [CRIT] switch_loadable_module.c:1520 Error >>>>>> Loading module /usr/local/freeswitch/mod/mod_silk.so >>>>>> **libSKP_SILK_SDK.so.0: cannot open shared object file: No such file >>>>>> or directory** >>>>>> 2016-03-15 16:53:08.136908 [INFO] switch_time.c:1415 Timezone >>>>>> reloaded 530 definitions >>>>>> >>>>>> >>>>>> On Tue, Mar 15, 2016 at 9:45 AM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> You can try loading it from the cli to see if there are any errors. >>>>>>> >>>>>>> On Tue, Mar 15, 2016 at 11:29 AM, Oleg Stolyar < >>>>>>> olegstolyar at gmail.com> wrote: >>>>>>> >>>>>>>> Thanks Anthony, it builds after doing this.' >>>>>>>> >>>>>>>> However, when I run FS module_exists mod_silk still returns >>>>>>>> false. I did add >>>>>>>> in case that was the problem but still no luck. >>>>>>>> >>>>>>>> On Tue, Mar 15, 2016 at 9:05 AM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> You probably need to make sure its installing pkgconfig files and >>>>>>>>> if you already have a built tree, rerun sh config.status --recheck >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 15, 2016 at 11:03 AM, Oleg Stolyar < >>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Thanks Aqs! >>>>>>>>>> >>>>>>>>>> I made and installed silk from this repo but FS is still saying >>>>>>>>>> that it needs libsilk-dev. I am probably missing something obvious here. >>>>>>>>>> >>>>>>>>>> Has anyone been able to install Silk on FS? Can you share the >>>>>>>>>> steps? >>>>>>>>>> >>>>>>>>>> On Tue, Mar 15, 2016 at 8:29 AM, Aqs Younas >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> https://freeswitch.org/stash/projects/SD/repos/libsilk/browse >>>>>>>>>>> On 15-Mar-2016 8:24 pm, "Oleg Stolyar" >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> BTW, any instructions on how to enable it on Ubuntu 1.4? FS >>>>>>>>>>>> 1.6. >>>>>>>>>>>> >>>>>>>>>>>> When I uncomment silk in modules.conf, make throws an error >>>>>>>>>>>> that libsilk-dev is required. Not sure where to get it. Do I need to >>>>>>>>>>>> build silk myself? >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 15, 2016 at 6:47 AM, Oleg Stolyar < >>>>>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Thanks guys! >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Mar 15, 2016 at 5:49 AM, Stanislav Sinyagin < >>>>>>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> yes Brian, and also much more CPU for encoding/decoding. SILK >>>>>>>>>>>>>> is quite modest on CPU impact, unlike Opus. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Mar 15, 2016 at 12:39 PM, Brian West < >>>>>>>>>>>>>> brian at freeswitch.org> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> CELT+Silk=OPUS. ? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Monday, March 14, 2016, Oleg Stolyar < >>>>>>>>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hi guys, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> does FreeSWITCH still support SILK? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *Brian West* >>>>>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 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 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>>> http://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>>> FreeSWITCH-users at 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 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160315/b7bad409/attachment-0001.html From vagarwal at vertical.com Tue Mar 15 22:59:35 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 15 Mar 2016 19:59:35 +0000 Subject: [Freeswitch-users] Default Freeswitch configuration - Cannot call internal extensions Message-ID: <04AB0A185A23864CA9255FD38901F65D023375CB3A@SCEX1.vertical.com> Hi, I just installed Freeswitch on a CentOS 7.0 system and registered a phone on 1001. When I dial another extension (ex. 5000 for IVR), I see this in the logs freeswitch at leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] switch_channel.c:1101 New Channel sofia/external/1001 at 172.18.19.71 [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f] 2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->5000 in context public 2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 sofia/external/1001 at 172.18.19.71 has executed the last dialplan instruction, hanging up. Why is it using "public context" for internal extensions? How can I make it use default? Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/377de8b6/attachment.html From gmaruzz at gmail.com Tue Mar 15 23:23:42 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 15 Mar 2016 21:23:42 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions In-Reply-To: References: Message-ID: Seems the pastebins are private, not accessible. Anyway, you are probably on the right path. Try to recode avoiding relying on it sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT Il 14/Mar/2016 12:27, "Francesco Piccinin" ha scritto: > Hello Giovanni, > thanks for you quick answer. > > Please find below patebin link you requested: > > XML Dialplan file's extract: > http://pastebin.com/dmHAKWxT > > Internal call fscli logs: > http://pastebin.com/KfnaYN11 > > External call fscli logs > http://pastebin.com/2Khp1MaX > > > Regarding dialplan files, I'm going to explain here call flow: > Default.xml > 1.call hits extension call_local, lua script is run and channel vasr > cType=SRV, service_type=IVR > 2. extension apps in xml services is execute > Services.xml > lua script is run to retrieve ivr name > 3. on selection (2 in the logs) call is transfer to 8910 XML calls > Calls.xml > 4. extension: call_inside is execute and call is hangup after > > > As you can see from the logs mod sofia hangup with user busy and then send > a bye to external or internal channel: > > 2016-03-14 11:37:40.266607 [DEBUG] mod_sofia.c:506 Channel sofia/external/ > 00403737752 at 10.200.24.10 hanging up, cause: USER_BUSY > 2016-03-14 11:37:40.266607 [DEBUG] mod_sofia.c:558 Sending BYE to > sofia/external/00403737752 at 10.200.24.10 > > > 2016-03-14 11:38:54.166606 [DEBUG] mod_sofia.c:506 Channel sofia/internal/ > 5532 at insiel.fvgvoipcoll.it hanging up, cause: USER_BUSY > 2016-03-14 11:38:54.166606 [DEBUG] mod_sofia.c:558 Sending BYE to > sofia/internal/5532 at insiel.fvgvoipcoll.it > > > I tried to removed the limit app and the calls then hint limit_exceeded > extension in calls.xml but behaviour is the same. > It seems to me that continue_on_fail where passing over IVR is not > considered. > > > If I call directly (without IVR) extension 8910 (while it is busy) > behaviour for both internal or external call is correct and busy tone is > received. > > Looking forward for a clue :-) > > Thanks > Regards > Francesco > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/d28a2661/attachment.html From bote_radio at botecomm.com Tue Mar 15 23:57:56 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 15 Mar 2016 16:57:56 -0400 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions In-Reply-To: References: Message-ID: <01f501d17efd$5a249e70$0e6ddb50$@botecomm.com> Please use https://pastebin.freeswitch.org/ Bote From: Giovanni Maruzzelli Sent: Tuesday, 15 March, 2016 16:24 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions Seems the pastebins are private, not accessible. Anyway, you are probably on the right path. Try to recode avoiding relying on it sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT Il 14/Mar/2016 12:27, "Francesco Piccinin" ha scritto: Hello Giovanni, thanks for you quick answer. Please find below patebin link you requested: XML Dialplan file's extract: http://pastebin.com/dmHAKWxT Internal call fscli logs: http://pastebin.com/KfnaYN11 External call fscli logs http://pastebin.com/2Khp1MaX -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/565a4754/attachment.html From richard.mace at gmail.com Wed Mar 16 00:04:21 2016 From: richard.mace at gmail.com (Richard Mace) Date: Tue, 15 Mar 2016 21:04:21 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: This is the link that I followed. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie Thanks Richard On 15 March 2016 at 17:19, Richard Mace wrote: > Hi all, > > I just installed a fresh install of Debian 8 and followed the FreeSWITCH > confluence install instructions bit I can't install the freeswitch-all > package because it doesn't exist? Only freeswitch-vanilla does any ideas? > > Thanks Richard > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/0188eb37/attachment.html From mandra at gmail.com Wed Mar 16 01:02:17 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 15 Mar 2016 18:02:17 -0400 Subject: [Freeswitch-users] Switch_curl Message-ID: Hey guys, I'm working on a simple media bug module using FS 1.6. When a call comes in I'm calling switch_curl doing an http get. In switch_standard_app I use switch_curl and invoke switch_curl_easy_perform and exit after that. Calling switch_curl seems very unstable. It's crashing free switch most of the time. Are there any things I should be looking for related to this? I'm wondering if maybe this is a threading issue? Any ideas? I've included some backtraces Thanks, chris (gdb) bt #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 *[* 5:44 *]* (gdb) bt full #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 18329 selftid = 18421 #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x0} sigs = {__val = {32, 0 }} #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} fd = 2 on_2 = list = nlist = cp = written = #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 buf = "00007f8ed0036700" cp = #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 size = fb = nextchunk = nextsize = nextinuse = prevsize = bck = fwd = errstr = locked = #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 node = 0x7f8ed8012ab0 #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 dnode = 0x7f8ed8012ab0 do_sleep = mlen = 0 bytes = 0 mbuf = 0x7f8ecc1ebfc0 "" buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: retrieve\nLog-Line: 115\nUser-Data: \347@ \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... len = 88 status = SWITCH_STATUS_BREAK count = 0 elapsed = start = 1457966137 pop = 0x7f8ed8012ab0 ptr = 0x7f8ecc1ebfc0 "" crcount = 0 '\000' buf_len = 2048 channel = 0x0 clen = 0 __PRETTY_FUNCTION__ = "read_packet" __func__ = "read_packet" #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 listener = 0x7f8ebc027898 buf = '\000' len = 1024 status = event = 0x0 reply = "\000OK log level [7]", '\000' session = 0x0 channel = 0x0 revent = 0x0 var = locked = 1 __PRETTY_FUNCTION__ = "listener_run" __func__ = "listener_run" #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 thread = 0x7f8eb2be4868 #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 __res = pd = 0x7f8eb2b20700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, -640791540281233069, 0, 0, 140250860095936, 140250860095232, 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/84065747/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: --1.cpp Type: text/x-c++src Size: 109036 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/84065747/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: -.cpp Type: text/x-c++src Size: 37345 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/84065747/attachment-0003.bin From anthony.minessale at gmail.com Wed Mar 16 01:42:07 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 15 Mar 2016 17:42:07 -0500 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Curl is used in a few places and is not unstable. Study some of those mods and maybe you can see how to use it in a typical situation. Probably its related to memory management or lifecycle of objects you may be using. On Tuesday, March 15, 2016, Chris Mandra wrote: > Hey guys, I'm working on a simple media bug module using FS 1.6. When a > call comes in I'm calling switch_curl doing an http get. > > In switch_standard_app I use switch_curl and invoke > switch_curl_easy_perform and exit after that. > > Calling switch_curl seems very unstable. It's crashing free switch most of > the time. Are there any things I should be looking for related to this? > I'm wondering if maybe this is a threading issue? Any ideas? > I've included some backtraces > > Thanks, chris > > > (gdb) bt > > #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > > #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 > > #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, > fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at > ../sysdeps/posix/libc_fatal.c:175 > > #3 0x00007f8f00ca266e in malloc_printerr (ptr=, > str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 > > #4 _int_free (av=, p=, have_lock=0) at > malloc.c:3840 > > #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) > at src/switch_log.c:136 > > #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, > event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at > mod_event_socket.c:1361 > > #7 0x00007f8eeb1988a0 in listener_run (thread=, > obj=0x7f8ebc027898) at mod_event_socket.c:2719 > > #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at > threadproc/unix/thread.c:151 > > #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at > pthread_create.c:312 > > #10 0x00007f8f00d1d47d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 > > > *[* > > 5:44 > > *]* > > (gdb) bt full > > #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > > resultvar = 0 > > pid = 18329 > > selftid = 18421 > > #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 > > save_stage = 2 > > act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = > 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer > = 0x0} > > sigs = {__val = {32, 0 }} > > #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, > fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at > ../sysdeps/posix/libc_fatal.c:175 > > ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = > 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} > > fd = 2 > > on_2 = > > list = > > nlist = > > cp = > > written = > > #3 0x00007f8f00ca266e in malloc_printerr (ptr=, > str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 > > buf = "00007f8ed0036700" > > cp = > > #4 _int_free (av=, p=, have_lock=0) at > malloc.c:3840 > > size = > > fb = > > nextchunk = > > nextsize = > > nextinuse = > > prevsize = > > bck = > > fwd = > > errstr = > > locked = > > #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) > at src/switch_log.c:136 > > node = 0x7f8ed8012ab0 > > #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, > event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at > mod_event_socket.c:1361 > > dnode = 0x7f8ed8012ab0 > > do_sleep = > > mlen = 0 > > bytes = 0 > > mbuf = 0x7f8ecc1ebfc0 "" > > buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: > 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: > retrieve\nLog-Line: 115\nUser-Data: \347@ > \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... > > len = 88 > > status = SWITCH_STATUS_BREAK > > count = 0 > > elapsed = > > start = 1457966137 > > pop = 0x7f8ed8012ab0 > > ptr = 0x7f8ecc1ebfc0 "" > > crcount = 0 '\000' > > buf_len = 2048 > > channel = 0x0 > > clen = 0 > > __PRETTY_FUNCTION__ = "read_packet" > > __func__ = "read_packet" > > #7 0x00007f8eeb1988a0 in listener_run (thread=, > obj=0x7f8ebc027898) at mod_event_socket.c:2719 > > listener = 0x7f8ebc027898 > > buf = '\000' > > len = 1024 > > status = > > event = 0x0 > > reply = "\000OK log level [7]", '\000' > > session = 0x0 > > channel = 0x0 > > revent = 0x0 > > var = > > locked = 1 > > __PRETTY_FUNCTION__ = "listener_run" > > __func__ = "listener_run" > > #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at > threadproc/unix/thread.c:151 > > thread = 0x7f8eb2be4868 > > #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at > pthread_create.c:312 > > __res = > > pd = 0x7f8eb2b20700 > > now = > > unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, > -640791540281233069, 0, 0, 140250860095936, 140250860095232, > 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad > = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} > > not_first_call = > > pagesize_m1 = > > sp = > > freesize = > > __PRETTY_FUNCTION__ = "start_thread" > > #10 0x00007f8f00d1d47d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 > > No locals > -- 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/20160315/b9766d4f/attachment.html From msc at freeswitch.org Wed Mar 16 01:52:37 2016 From: msc at freeswitch.org (Michael Collins) Date: Tue, 15 Mar 2016 15:52:37 -0700 Subject: [Freeswitch-users] Default Freeswitch configuration - Cannot call internal extensions In-Reply-To: <04AB0A185A23864CA9255FD38901F65D023375CB3A@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D023375CB3A@SCEX1.vertical.com> Message-ID: Do you have an ACL for authentication for the user? If so I believe it will default to public dialplan context. Try with digest auth (i.e. traditional username/password) and verify that it's working, then go from there. -MSC On Tue, Mar 15, 2016 at 12:59 PM, Varsha Agarwal wrote: > Hi, > > > > I just installed Freeswitch on a CentOS 7.0 system and registered a phone > on 1001. When I dial another extension (ex. 5000 for IVR), I see this in > the logs > > > > freeswitch at leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] > switch_channel.c:1101 New Channel sofia/external/1001 at 172.18.19.71 > [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f] > > 2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 > <1001>->5000 in context public > > 2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 > sofia/external/1001 at 172.18.19.71 has executed the last dialplan > instruction, hanging up. > > > > Why is it using "public context" for internal extensions? How can I make > it use default? > > > > Thanks, > > Varsha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/c662ba3f/attachment.html From abaci64 at gmail.com Wed Mar 16 03:33:30 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 15 Mar 2016 20:33:30 -0400 Subject: [Freeswitch-users] Better results from mod_vmd Message-ID: I just tried mod_avmd and mod_vmd and seem to have the same issue, my question is if someone has this working with Panasonic answering machine and Verizon Wireless (as well as other US wireless carriers) voicemail, what change if any should I apply to get it working. Thanks for the help On Thu, Aug 20, 2009 at 8:36 PM, Matthew Fong wrote: > I changed > > /*! Minimum time for a beep. */ > #define MIN_TIME 8000 > to 6500 and it seemed to work, but I'm not sure how many false positives I > will get in a real-world environment. at 4000 it fired the event like 5 > times in a session, but 6500 only once. Do you think I should expect a lot > of false positives after changing this value? > > --matt > http://www.hellohunter.com > > On Thu, Aug 20, 2009 at 4:54 PM, Eric des Courtis < > eric.des.courtis at gmail.com> wrote: > >> Matt, >> >> As is mod_vmd will not detect tones shorter then 138ms. However I >> could get that value down to ~30ms at best by making a few >> modifications to the algorithm. >> >> Cheers. >> >> Eric des Courtis >> >> >> On Thu, Aug 20, 2009 at 7:51 PM, Eric des >> Courtis wrote: >> > Matt, >> > >> > For your information the tones you gave me are exactly 738Hz. If you >> > want to try that tone detection thing. >> > >> > Cheers. >> > >> > Eric des Courtis >> > >> > On Thu, Aug 20, 2009 at 2:20 PM, Michael Collins >> wrote: >> >> >> >> >> >> On Thu, Aug 20, 2009 at 11:06 AM, Steve Underwood >> >> wrote: >> >>> >> >>> On 08/20/2009 05:22 AM, Michael Collins wrote: >> >>> > >> >>> > There is no noise on those 3 beeps. In fact, for something >> that's >> >>> > been >> >>> > through ulaw/alaw compression those beeps are very clean. They >> are >> >>> > quite >> >>> > short, though. >> >>> > >> >>> > >> >>> > Heck yeah they're short! Steve, in your experience is there a >> >>> > practical way to detect a beep that short without chewing up system >> >>> > resources or having lots of false positives? >> >>> > -MC >> >>> > >> >>> The tone samples I just looked at are about 130ms long. The problem is >> >>> the detector is trying to be a very open ended detector of anything >> >>> narrowband enough to be a single tone, and of any duration beyond some >> >>> small minimum. Its difficult to make such a thing voice immune unless >> >>> you can also count on a very large signal to noise ratio. With a >> digital >> >>> trunk you can probably rely on a large SNR, but what happens when >> people >> >>> use analogue lines? There is a reason why DTMF detectors try hard to >> >>> work down to about 10dB SNR. :-) >> >>> >> >>> Steve >> >> >> >> Thanks for the lesson uncle Steve! I'm guessing that the OP will need >> a new >> >> strategy. Possibly waiting for silence? Not sure what's the best way >> to go >> >> but I'm interested in hearing if someone has a solution. >> >> >> >> -MC >> >> >> >> >> >> >> >> _______________________________________________ >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> >> > >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160315/3168398f/attachment-0001.html From mandra at gmail.com Wed Mar 16 03:47:55 2016 From: mandra at gmail.com (Chris Mandra) Date: Tue, 15 Mar 2016 20:47:55 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? On Tuesday, March 15, 2016, Anthony Minessale wrote: > Curl is used in a few places and is not unstable. Study some of those > mods and maybe you can see how to use it in a typical situation. Probably > its related to memory management or lifecycle of objects you may be using. > > On Tuesday, March 15, 2016, Chris Mandra > wrote: > >> Hey guys, I'm working on a simple media bug module using FS 1.6. When a >> call comes in I'm calling switch_curl doing an http get. >> >> In switch_standard_app I use switch_curl and invoke >> switch_curl_easy_perform and exit after that. >> >> Calling switch_curl seems very unstable. It's crashing free switch most >> of the time. Are there any things I should be looking for related to this? >> I'm wondering if maybe this is a threading issue? Any ideas? >> I've included some backtraces >> >> Thanks, chris >> >> >> (gdb) bt >> >> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >> >> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >> >> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >> ../sysdeps/posix/libc_fatal.c:175 >> >> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >> >> #4 _int_free (av=, p=, have_lock=0) at >> malloc.c:3840 >> >> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >> at src/switch_log.c:136 >> >> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >> mod_event_socket.c:1361 >> >> #7 0x00007f8eeb1988a0 in listener_run (thread=, >> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >> >> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >> threadproc/unix/thread.c:151 >> >> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >> pthread_create.c:312 >> >> #10 0x00007f8f00d1d47d in clone () at >> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >> >> >> *[* >> >> 5:44 >> >> *]* >> >> (gdb) bt full >> >> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >> >> resultvar = 0 >> >> pid = 18329 >> >> selftid = 18421 >> >> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >> >> save_stage = 2 >> >> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = >> 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer >> = 0x0} >> >> sigs = {__val = {32, 0 }} >> >> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >> ../sysdeps/posix/libc_fatal.c:175 >> >> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >> >> fd = 2 >> >> on_2 = >> >> list = >> >> nlist = >> >> cp = >> >> written = >> >> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >> >> buf = "00007f8ed0036700" >> >> cp = >> >> #4 _int_free (av=, p=, have_lock=0) at >> malloc.c:3840 >> >> size = >> >> fb = >> >> nextchunk = >> >> nextsize = >> >> nextinuse = >> >> prevsize = >> >> bck = >> >> fwd = >> >> errstr = >> >> locked = >> >> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >> at src/switch_log.c:136 >> >> node = 0x7f8ed8012ab0 >> >> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >> mod_event_socket.c:1361 >> >> dnode = 0x7f8ed8012ab0 >> >> do_sleep = >> >> mlen = 0 >> >> bytes = 0 >> >> mbuf = 0x7f8ecc1ebfc0 "" >> >> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >> retrieve\nLog-Line: 115\nUser-Data: \347@ >> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >> >> len = 88 >> >> status = SWITCH_STATUS_BREAK >> >> count = 0 >> >> elapsed = >> >> start = 1457966137 >> >> pop = 0x7f8ed8012ab0 >> >> ptr = 0x7f8ecc1ebfc0 "" >> >> crcount = 0 '\000' >> >> buf_len = 2048 >> >> channel = 0x0 >> >> clen = 0 >> >> __PRETTY_FUNCTION__ = "read_packet" >> >> __func__ = "read_packet" >> >> #7 0x00007f8eeb1988a0 in listener_run (thread=, >> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >> >> listener = 0x7f8ebc027898 >> >> buf = '\000' >> >> len = 1024 >> >> status = >> >> event = 0x0 >> >> reply = "\000OK log level [7]", '\000' >> >> session = 0x0 >> >> channel = 0x0 >> >> revent = 0x0 >> >> var = >> >> locked = 1 >> >> __PRETTY_FUNCTION__ = "listener_run" >> >> __func__ = "listener_run" >> >> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >> threadproc/unix/thread.c:151 >> >> thread = 0x7f8eb2be4868 >> >> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >> pthread_create.c:312 >> >> __res = >> >> pd = 0x7f8eb2b20700 >> >> now = >> >> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >> >> not_first_call = >> >> pagesize_m1 = >> >> sp = >> >> freesize = >> >> __PRETTY_FUNCTION__ = "start_thread" >> >> #10 0x00007f8f00d1d47d in clone () at >> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >> >> No locals >> > > > -- > 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 > > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160315/42642b10/attachment.html From piotrek.gregor at gmail.com Wed Mar 16 04:13:22 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Wed, 16 Mar 2016 01:13:22 +0000 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: Hi Abaci, what issues do you mean by "same issue"? Is this amount of false positives? Could you describe the tests you perform in more details please? The avmd module is being revised by myself at this moment and there is at least one bug in this module that influence the results FS-8855 fix calc of variance of tone's freq estimator and it has been fixed now in pull request #714 and will be merged soon after I do some more testing and rebase, to the end of this week. Apart from this, there are improvements coming, e.g. FS-8875 Enable faster beep detection cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/fedbe016/attachment.html From francesco.piccinin at gmail.com Wed Mar 16 11:41:25 2016 From: francesco.piccinin at gmail.com (Francesco Piccinin) Date: Wed, 16 Mar 2016 09:41:25 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions Message-ID: Hello Giovanni and Bote, here you are updated pastebin on suggested url: Freeswitch dialplan files https://pastebin.freeswitch.org/24597 FSCLI internal call log: https://pastebin.freeswitch.org/24598 FSCLI external call log: https://pastebin.freeswitch.org/24599 Looking forward to your feedback. thanks Regards Francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/405f8c3f/attachment-0001.html From mandra at gmail.com Wed Mar 16 12:00:22 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 16 Mar 2016 05:00:22 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Thanks for responding Anthony. Can you tell me this: Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? On Tuesday, March 15, 2016, Chris Mandra wrote: > > Should curl calls be done in separate thread or is it ok to do them in > the main thread of modules? > On Tuesday, March 15, 2016, Anthony Minessale > wrote: > >> Curl is used in a few places and is not unstable. Study some of those >> mods and maybe you can see how to use it in a typical situation. Probably >> its related to memory management or lifecycle of objects you may be using. >> >> On Tuesday, March 15, 2016, Chris Mandra wrote: >> >>> Hey guys, I'm working on a simple media bug module using FS 1.6. When a >>> call comes in I'm calling switch_curl doing an http get. >>> >>> In switch_standard_app I use switch_curl and invoke >>> switch_curl_easy_perform and exit after that. >>> >>> Calling switch_curl seems very unstable. It's crashing free switch most >>> of the time. Are there any things I should be looking for related to this? >>> I'm wondering if maybe this is a threading issue? Any ideas? >>> I've included some backtraces >>> >>> Thanks, chris >>> >>> >>> (gdb) bt >>> >>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>> >>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>> >>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>> ../sysdeps/posix/libc_fatal.c:175 >>> >>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>> >>> #4 _int_free (av=, p=, have_lock=0) at >>> malloc.c:3840 >>> >>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>> at src/switch_log.c:136 >>> >>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>> mod_event_socket.c:1361 >>> >>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>> >>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>> threadproc/unix/thread.c:151 >>> >>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>> pthread_create.c:312 >>> >>> #10 0x00007f8f00d1d47d in clone () at >>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>> >>> >>> *[* >>> >>> 5:44 >>> >>> *]* >>> >>> (gdb) bt full >>> >>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>> >>> resultvar = 0 >>> >>> pid = 18329 >>> >>> selftid = 18421 >>> >>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>> >>> save_stage = 2 >>> >>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = >>> 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer >>> = 0x0} >>> >>> sigs = {__val = {32, 0 }} >>> >>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>> ../sysdeps/posix/libc_fatal.c:175 >>> >>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >>> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>> >>> fd = 2 >>> >>> on_2 = >>> >>> list = >>> >>> nlist = >>> >>> cp = >>> >>> written = >>> >>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>> >>> buf = "00007f8ed0036700" >>> >>> cp = >>> >>> #4 _int_free (av=, p=, have_lock=0) at >>> malloc.c:3840 >>> >>> size = >>> >>> fb = >>> >>> nextchunk = >>> >>> nextsize = >>> >>> nextinuse = >>> >>> prevsize = >>> >>> bck = >>> >>> fwd = >>> >>> errstr = >>> >>> locked = >>> >>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>> at src/switch_log.c:136 >>> >>> node = 0x7f8ed8012ab0 >>> >>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>> mod_event_socket.c:1361 >>> >>> dnode = 0x7f8ed8012ab0 >>> >>> do_sleep = >>> >>> mlen = 0 >>> >>> bytes = 0 >>> >>> mbuf = 0x7f8ecc1ebfc0 "" >>> >>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >>> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >>> retrieve\nLog-Line: 115\nUser-Data: \347@ >>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>> >>> len = 88 >>> >>> status = SWITCH_STATUS_BREAK >>> >>> count = 0 >>> >>> elapsed = >>> >>> start = 1457966137 >>> >>> pop = 0x7f8ed8012ab0 >>> >>> ptr = 0x7f8ecc1ebfc0 "" >>> >>> crcount = 0 '\000' >>> >>> buf_len = 2048 >>> >>> channel = 0x0 >>> >>> clen = 0 >>> >>> __PRETTY_FUNCTION__ = "read_packet" >>> >>> __func__ = "read_packet" >>> >>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>> >>> listener = 0x7f8ebc027898 >>> >>> buf = '\000' >>> >>> len = 1024 >>> >>> status = >>> >>> event = 0x0 >>> >>> reply = "\000OK log level [7]", '\000' >>> >>> session = 0x0 >>> >>> channel = 0x0 >>> >>> revent = 0x0 >>> >>> var = >>> >>> locked = 1 >>> >>> __PRETTY_FUNCTION__ = "listener_run" >>> >>> __func__ = "listener_run" >>> >>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>> threadproc/unix/thread.c:151 >>> >>> thread = 0x7f8eb2be4868 >>> >>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>> pthread_create.c:312 >>> >>> __res = >>> >>> pd = 0x7f8eb2b20700 >>> >>> now = >>> >>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>> >>> not_first_call = >>> >>> pagesize_m1 = >>> >>> sp = >>> >>> freesize = >>> >>> __PRETTY_FUNCTION__ = "start_thread" >>> >>> #10 0x00007f8f00d1d47d in clone () at >>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>> >>> No locals >>> >> >> >> -- >> 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 >> >> > > -- > 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/20160316/783d03e8/attachment.html From lists at kavun.ch Wed Mar 16 14:32:12 2016 From: lists at kavun.ch (Emrah) Date: Wed, 16 Mar 2016 12:32:12 +0100 Subject: [Freeswitch-users] SSL implementation in FreeSWITCH In-Reply-To: References: <631D84E6-E54D-4EFE-9FC6-89D5D574FBF1@kavun.ch> <083f01d17b04$fdb2e3a0$f918aae0$@freeswitch.org> <152a01d17be2$a37bcd00$ea736700$@freeswitch.org> <9F093B64-06F8-43AE-9699-F5A7F0EF80EC@kavun.ch> Message-ID: <1B1A93EE-EB76-496C-818D-B9441250ABFD@kavun.ch> Digging into my Yealink logs, I just wanted to show one interesting line that occurs right before the phone goes crazy on the TLS session. Mar 16 11:10:56 sua [574]: DLG <5+notice> [002] Message sent: (to dest=123.123.123.123:5061 len=1466) My little finger tells me the len=1466 is the size of the TLS record, or of its content, and it?s trying to squeeze it into one TCP segment. I am just not sure what to do of this. Because it doesn?t seem to be a constant. I?ve had success with large packets I?m sure, but can?t say for sure in what network condition. All I know for certain is that I have multiple phones and softphones in different network topologies. that when TLS and SRTP are used, calls randomly fail. If TCP is used with SRTP, it works fine. If TLS without SRTP is used, it also works consistently. Emrah > On Mar 13, 2016, at 9:24 PM, Emrah wrote: > > Scratch that, I need to confirm that this issue occurs when there is no NAT involved. > > I?ll post here what happens. > > Stan, I like your idea very much. > On Mar 13, 2016, at 7:58 PM, Emrah > wrote: >> >> Hi! >> The server isn?t behind NAT, and I don?t know the make and model of all the routers that the affected clients use. And this problem also occurs when there isn?t NAT involved at all. >> >> I will see to open a bug. >> >> Best, >> Emrah >>> On Mar 11, 2016, at 11:12 PM, Brian West > wrote: >>> >>> What kind of router is doing your nat? >>> >>> Smells like someone needs 'ip virtual-reassembly' >>> >>> On Fri, Mar 11, 2016 at 4:09 PM, Ken Rice > wrote: >>> The particular message on the polycom boards only References FreeSWITCH 1.2... there have been significant changes from that point... without getting decoded packet captures theres really not much to see here. >>> >>> TCP handles the packet fragmentation as should TLS... this is transport protocol later stuff... this is not something FreeSWITCH would really be involved in at that point... >>> >>> The other thing that might prove useful is isolating this on an idle machine, with 1 phone enabling all the good SIP and libsofia debugging and getting it into a long along with the logs from the client so it can be compared to see whats going on... >>> >>> Further discussion of this should be taken to jira so that it can be tracked and captures and logging can be attached to the ticket >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Emrah >>> Sent: Friday, March 11, 2016 3:57 PM >>> To: FreeSWITCH Users Help > >>> Subject: Re: [Freeswitch-users] SSL implementation in FreeSWITCH >>> >>> Hi there, >>> I am using TLS over TCP for sure. I spent a significant amount of time inspecting this and UDP is only used for the RTP stream. >>> People have reported issues with Polycom phones where the TLS thread crashes when the SDP is overloaded. >>> http://community.polycom.com/t5/VoIP/IP550-Loses-Registration-as-soon-as-I-try-to-make-a-call/td-p/21372 >>> This is not just a Polycom issue, and doesn?t seem to be happening with other SIP servers. >>> Many times, because the client doesn?t get a response, it sends the packets over and over and eventually times out. >>> I doubt that the same SIP stack is used across Polycom, Yealink, Counterpath Bria, Blink Pro, etc? I will put together a PCAP of the session in TCP since I can?t share the private key of the SSL certificate. >>> Is someone willing to provide me with a SIP account where I can test TLS connections with SRTP enabled? An Echo test is enough. >>> >>> Thanks >>> > On Mar 10, 2016, at 8:42 PM, Ken Rice > wrote: >>> > >>> > Are you sure you are sending this over TCP/TLS? This sounds like its >>> > really using UDP... TCP automatically does packet reassembly, UDP does >>> > not. The behavior you described sounds suspiciously like you are using >>> > UDP instead of TCP/TLS >>> > >>> > -----Original Message----- >>> > From: freeswitch-users-bounces at lists.freeswitch.org >>> > [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of >>> > Emrah >>> > Sent: Thursday, March 10, 2016 1:37 PM >>> > To: FreeSWITCH Users Help > >>> > Subject: [Freeswitch-users] SSL implementation in FreeSWITCH >>> > >>> > Hi all, >>> > I?m writing to document where I?m at with my issues with FreeSWITCH and SSL / TLS and share my conclusions so far. >>> > I am hoping that this can give lieu to some further testing in different environments, and a proper fix if a bug is indeed confirmed. >>> > >>> > First, I am running FreeSWITCH 1.6.6 on a Debian 8. Vars.xml shows sip_tls_version=tlsv1,tlsv1.1,tlsv1.2. >>> > >>> > What I?ve observed is that in a sequence where client sens an invite to FS; FS responds with 407 proxy authorization required; client sends ack; Client sends the invite with the digest auth. >>> > >>> > The last packet can easily exceed the max segment size of a TCP segment, typically if the SDP advertises a bunch of codecs, or if the client uses SRTP and the SAVP contains many crypto suites. >>> > >>> > Now, when this occurs, the packets should be sent fragmented so they can fit in the MTU. It is then up to the receiving end to reassemble the segments and feed the complete packet to the application layer. >>> > >>> > What I?ve noticed is that a packet that is too large is simply never received by FreeSWITCH. Since this is systematically the case with every software and hardware client I?ve used, I am drawn to think that the issue lies in the SSL implementation of FreeSWITCH. >>> > >>> > In the event that for some reason my network or server OS configuration may be behind this, I would appreciate if someone would be willing to share some SIP credentials that can let me test TLS and SRTP. If getting to the bottom of this is of interest to any of you, I?d obviously be keen on handing out a couple of accounts. >>> > >>> > I hope this message can be the starting point of a fruitful resolution process. >>> > >>> > Thank you if you?ve read this up to here. Now hit reply and give me >>> > your 2 cents! :) >>> > >>> > Best, >>> > Emrah >>> > ______________________________________________________________________ >>> > ___ Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users 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 >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> https://www.gofundme.com/freeswitch_ubuntu >>> 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/20160316/32797373/attachment-0001.html From abaci64 at gmail.com Wed Mar 16 16:28:11 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 16 Mar 2016 09:28:11 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: My problem was simple it doesn't detect voicemail beeps of wireless carriers voicemail (e.g. Verizon Wireless) the only beep it detected without issue was a beep from another FreeSWITCH Voicemail On Tue, Mar 15, 2016 at 9:13 PM, Piotr Gregor wrote: > Hi Abaci, > > what issues do you mean by "same issue"? > Is this amount of false positives? > Could you describe the tests you perform in more details please? > > The avmd module is being revised by myself at this moment > and there is at least one bug in this module that influence the results > FS-8855 fix calc of variance of tone's freq estimator > > and it has been fixed now in pull request #714 and will be merged soon > after I do some more testing and rebase, to the end of this week. > Apart from this, there are improvements coming, e.g. > > FS-8875 Enable faster beep detection > > cheers, > Piotr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/854fd0a6/attachment.html From shlomis at liveperson.com Wed Mar 16 16:55:45 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Wed, 16 Mar 2016 15:55:45 +0200 Subject: [Freeswitch-users] FusionPBX - connection issues Message-ID: Hi All, I have installed FusionPBX, and when going to "active calls" menu I get *Connection to Event Socket failed.* I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- 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/20160316/d1ba0588/attachment.html From joelists at tm.net.uk Wed Mar 16 17:10:52 2016 From: joelists at tm.net.uk (Joseph Waite) Date: Wed, 16 Mar 2016 14:10:52 +0000 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <916E7C10-D369-4B7E-958D-C8FAC11ABCE4@tm.net.uk> Just tried it on a fresh install 2 days ago and is fine here. You on Debian 8? Joe Waite > On 16 Mar 2016, at 13:55, Shlomi Schwartz wrote: > > Hi All, > > I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. > > I'm Installing FS and FusionPBX on a digitalocean virtual server > > Any clue? > -- > > 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/20160316/d2195b82/attachment.html From bote_radio at botecomm.com Wed Mar 16 17:15:22 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 16 Mar 2016 10:15:22 -0400 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <007c01d17f8e$47ac8ff0$d705afd0$@botecomm.com> I can?t check specifics right now, but play with the value set in autoload_configs/event_socket.conf.xml to see whether works or works. I think your solution lies there. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Shlomi Schwartz Sent: Wednesday, 16 March, 2016 09:56 To: FreeSWITCH Users Help Subject: [Freeswitch-users] FusionPBX - connection issues Hi All, I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/9fcd15db/attachment-0001.html From italo at freeswitch.org Wed Mar 16 17:16:34 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 16 Mar 2016 11:16:34 -0300 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: Better asking this in fusionpbx mailing list or irc channel #fusionpbx On Wed, Mar 16, 2016 at 10:55 AM, Shlomi Schwartz wrote: > Hi All, > > I have installed FusionPBX, and when going to "active calls" menu I get *Connection > to Event Socket failed.* > > I'm Installing FS and FusionPBX on a digitalocean virtual server > > Any clue? > -- > 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 > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/38d01b5f/attachment.html From shaun.stokes at itec-support.co.uk Wed Mar 16 17:17:51 2016 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Wed, 16 Mar 2016 14:17:51 +0000 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <6FD2F8B5BB72834E9939AEDF9FB802A901E7BA5DCB@mbx-01.sysconfig.co.uk> Hi Shlomi, This is related to your configuration in FusionPBX and would be better directed to their support. In FusionPBX if you go to Advanced -> Settings check you have entered your FreeSWITCH Event Socket settings. Providing those settings are correct and the port isn?t being blocked you shouldn?t see this error. I?d also recommend you use the scripted installation for FusionPBX on Debian 8, this will build FreeSWITCH and FusionPBX for you pre-configured so you?re unlikely to experience configuration issues. http://fusionpbx.com/download.php Shaun From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: 16 March 2016 13:56 To: FreeSWITCH Users Help Subject: [Freeswitch-users] FusionPBX - connection issues Hi All, I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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. ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/97b214ba/attachment.html From max at nysolutions.com Wed Mar 16 17:19:04 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Wed, 16 Mar 2016 14:19:04 +0000 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <86ce2a48af434a80af137228640d3c05@nysolutions.com> Please visit #fusionpbx irc. Either event socket password incorrect or permission issue. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Wednesday, March 16, 2016 9:56 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] FusionPBX - connection issues Hi All, I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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/20160316/da118b46/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/da118b46/attachment-0001.jpg From italo at freeswitch.org Wed Mar 16 17:18:19 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 16 Mar 2016 11:18:19 -0300 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: Make sure you added our debian apt repo and run apt-get update without any errors On Tue, Mar 15, 2016 at 6:04 PM, Richard Mace wrote: > This is the link that I followed. > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > > Thanks > > Richard > > On 15 March 2016 at 17:19, Richard Mace wrote: > >> Hi all, >> >> I just installed a fresh install of Debian 8 and followed the FreeSWITCH >> confluence install instructions bit I can't install the freeswitch-all >> package because it doesn't exist? Only freeswitch-vanilla does any ideas? >> >> Thanks Richard >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/87b14db4/attachment.html From italo at freeswitch.org Wed Mar 16 17:21:17 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 16 Mar 2016 11:21:17 -0300 Subject: [Freeswitch-users] Default Freeswitch configuration - Cannot call internal extensions In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D023375CB3A@SCEX1.vertical.com> Message-ID: Hi Varsha, You're trying to register your endpoint on a external profile: New Channel sofia/external/1001 at 172.18.19.71 Make sure you put the right ip and sip port equivalent to your internal profile and it'll work. The external one doesn't authenticate calls and will always put your calls to public context no matter if you tried to register on it or no. On Tue, Mar 15, 2016 at 7:52 PM, Michael Collins wrote: > Do you have an ACL for authentication for the user? If so I believe it > will default to public dialplan context. Try with digest auth (i.e. > traditional username/password) and verify that it's working, then go from > there. > > -MSC > > On Tue, Mar 15, 2016 at 12:59 PM, Varsha Agarwal > wrote: > >> Hi, >> >> >> >> I just installed Freeswitch on a CentOS 7.0 system and registered a phone >> on 1001. When I dial another extension (ex. 5000 for IVR), I see this in >> the logs >> >> >> >> freeswitch at leccnha2> 2016-03-15 12:55:41.216586 [NOTICE] >> switch_channel.c:1101 New Channel sofia/external/1001 at 172.18.19.71 >> [e56f4f6a-eae7-11e5-b3e9-335237ee0f3f] >> >> 2016-03-15 12:55:41.216586 [INFO] mod_dialplan_xml.c:637 Processing 1001 >> <1001>->5000 in context public >> >> 2016-03-15 12:55:41.216586 [NOTICE] switch_core_state_machine.c:315 >> sofia/external/1001 at 172.18.19.71 has executed the last dialplan >> instruction, hanging up. >> >> >> >> Why is it using "public context" for internal extensions? How can I make >> it use default? >> >> >> >> Thanks, >> >> Varsha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/514ea10a/attachment.html From shlomis at liveperson.com Wed Mar 16 17:55:49 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Wed, 16 Mar 2016 16:55:49 +0200 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: Sorry, for that ... Just in case anyone is interested, I had to change all FS Directory permissions to 777 prior to install FusionPBX, that's solved the issue (I know it's a bad habit, but that was a quick fix for me) On Wed, Mar 16, 2016 at 4:16 PM, ?talo Rossi wrote: > Better asking this in fusionpbx mailing list or irc channel #fusionpbx > > On Wed, Mar 16, 2016 at 10:55 AM, Shlomi Schwartz > wrote: > >> Hi All, >> >> I have installed FusionPBX, and when going to "active calls" menu I get *Connection >> to Event Socket failed.* >> >> I'm Installing FS and FusionPBX on a digitalocean virtual server >> >> Any clue? >> -- >> 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 >> > > > > -- > ?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 > -- 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/20160316/5700d494/attachment-0001.html From max at nysolutions.com Wed Mar 16 18:51:40 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Wed, 16 Mar 2016 15:51:40 +0000 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <52fd155e835247d0a9c8ab6466bd8450@nysolutions.com> You don?t need 777 you do need the correct permissions. The web server user does need access to the FS data. Fusionpbx has a fix permission script too. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Wednesday, March 16, 2016 10:56 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FusionPBX - connection issues Sorry, for that ... Just in case anyone is interested, I had to change all FS Directory permissions to 777 prior to install FusionPBX, that's solved the issue (I know it's a bad habit, but that was a quick fix for me) On Wed, Mar 16, 2016 at 4:16 PM, ?talo Rossi > wrote: Better asking this in fusionpbx mailing list or irc channel #fusionpbx On Wed, Mar 16, 2016 at 10:55 AM, Shlomi Schwartz > wrote: Hi All, I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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 -- ?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 -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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/20160316/42e3b043/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/42e3b043/attachment-0001.jpg From richard.mace at gmail.com Wed Mar 16 19:05:41 2016 From: richard.mace at gmail.com (Richard Mace) Date: Wed, 16 Mar 2016 16:05:41 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: > > > Make sure you added our debian apt repo and run apt-get update without any > errors > > On Tue, Mar 15, 2016 at 6:04 PM, Richard Mace > wrote: > >> This is the link that I followed. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >> >> Thanks >> >> Richard >> >> ?Yes, I think I did that by typing the following?: echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list and then: apt-get update && apt-get install -y freeswitch-all freeswitch-all-dbg gdb but the package freeswitch-all doesn't exist? Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/8c6ff64a/attachment.html From shaun.stokes at itec-support.co.uk Wed Mar 16 19:07:09 2016 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Wed, 16 Mar 2016 16:07:09 +0000 Subject: [Freeswitch-users] FusionPBX - connection issues In-Reply-To: References: Message-ID: <6FD2F8B5BB72834E9939AEDF9FB802A901E7BA6091@mbx-01.sysconfig.co.uk> Use the Debian 8 FusionPBX install script to install both FreeSWITCH and FusionPBX this will pre-configure everything for you, including permissions. cd /usr/src apt-get install wget wget https://raw.githubusercontent.com/fusionpbx/fusionpbx-scripts/master/install/debian/install_fusionpbx.sh chmod 755 install_fusionpbx.sh ./install_fusionpbx.sh install-both auto From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: 16 March 2016 14:56 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FusionPBX - connection issues Sorry, for that ... Just in case anyone is interested, I had to change all FS Directory permissions to 777 prior to install FusionPBX, that's solved the issue (I know it's a bad habit, but that was a quick fix for me) On Wed, Mar 16, 2016 at 4:16 PM, ?talo Rossi > wrote: Better asking this in fusionpbx mailing list or irc channel #fusionpbx On Wed, Mar 16, 2016 at 10:55 AM, Shlomi Schwartz > wrote: Hi All, I have installed FusionPBX, and when going to "active calls" menu I get Connection to Event Socket failed. I'm Installing FS and FusionPBX on a digitalocean virtual server Any clue? -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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 -- ?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 -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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. ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/265bce08/attachment-0001.html From ynasida at gmail.com Wed Mar 16 20:33:36 2016 From: ynasida at gmail.com (=?UTF-8?B?0K7RgNC40Lkg0J3QsNGB0LjQtNCw?=) Date: Wed, 16 Mar 2016 20:33:36 +0300 Subject: [Freeswitch-users] segfaults from mod_easyroute. Message-ID: Hi list, I would like to ask if somebody else had segfaults from mod_easyroute. I have JIRA ticket opened but really need additional advice to solve this issue because I am not C developer. https://freeswitch.org/jira/browse/FS-8937 At this moment I just got idea to re-write mod_easyroute using lua. Any advice - welcome. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/42ea329f/attachment.html From italo at freeswitch.org Wed Mar 16 21:02:00 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Wed, 16 Mar 2016 15:02:00 -0300 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: Whats the output of apt-get update pastebin it On Wed, Mar 16, 2016 at 1:05 PM, Richard Mace wrote: > >> Make sure you added our debian apt repo and run apt-get update without >> any errors >> >> On Tue, Mar 15, 2016 at 6:04 PM, Richard Mace >> wrote: >> >>> This is the link that I followed. >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>> >>> Thanks >>> >>> Richard >>> >>> > ?Yes, I think I did that by typing the following?: > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie > main" > /etc/apt/sources.list.d/freeswitch.list > > and then: > > apt-get update && apt-get install -y freeswitch-all freeswitch-all-dbg gdb > > but the package freeswitch-all doesn't exist? > > Richard > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/975a3517/attachment.html From fabiomargarido at gmail.com Wed Mar 16 21:42:28 2016 From: fabiomargarido at gmail.com (Fabio Margarido) Date: Wed, 16 Mar 2016 18:42:28 +0000 Subject: [Freeswitch-users] Disable picture_fast_update INFO requests In-Reply-To: References: Message-ID: Anyone? >From what I understood reading other discussions regarding this request on the list, this is an obsolete way of requesting a picture refresh and that the ideal way would be via RTCP. Does FreeSWITCH support both? If that's the case, shouldn't there be a flag which allows to choose which method to use? Thanks. On Wed, Mar 9, 2016 at 3:01 PM Fabio Margarido wrote: > Hi there. > > I'm trying a scenario in which FreeSWITCH sits between a WebRTC endpoint > and an IMS network, performing media conversion. > > When a call is established, FS starts to send INFO requests with an > application/media_control+xml body related to RFC 5168. The WebRTC endpoint > always responds with 415 Unsupported Media Type (the web application uses > sip.js) and the IMS network sometimes responds with 500 Server Internal > Error. The problem I have is that FS sends that request every second to > both sides and keeps doing so for as long as the call is answered. > > My question is whether it would stop or at least scale down the frequency > if both sides replied with 200 OK, or alternatively if there is a way to > disable the sending of these requests. I've looked at the documentation and > the mailing list history but couldn't find anything conclusive. > > Thanks in advance. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/fed3d49a/attachment.html From 0x6e6562 at gmail.com Wed Mar 16 22:14:23 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 19:14:23 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: Is libvpx optional, i.e. is there a way to disable libvpx support in the build (e.g. by supplying --without-libvpx to the configure script)? On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: > please note this important change that went into master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have mod_vpx.so or have to manually load it. I'll have more details coming, but let me know if you have any questions. Please note for anyone doing cross compiling, this probably needs a bit more work for you, I'll be working on fixing that this week. > > Mike > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 victor.medina at cibersys.com Wed Mar 16 22:27:33 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 16 Mar 2016 14:57:33 -0430 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: building... ? 2016-03-16 14:44 GMT-04:30 Ben Hood <0x6e6562 at gmail.com>: > Is libvpx optional, i.e. is there a way to disable libvpx support in > the build (e.g. by supplying --without-libvpx to the configure > script)? > > On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: > > please note this important change that went into master today. As of > today, we are no longer using system versions of libyuv and libvpx due to > major conflicts with system versions of these libraries. These are now > built static into the freeswitch core. Also note, mod_vpx no longer > exists, it is automatically loaded as part of the core and you will no > longer have mod_vpx.so or have to manually load it. I'll have more details > coming, but let me know if you have any questions. Please note for anyone > doing cross compiling, this probably needs a bit more work for you, I'll be > working on fixing that this week. > > > > Mike > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/2e561527/attachment-0001.html From victor.medina at cibersys.com Wed Mar 16 22:33:48 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 16 Mar 2016 15:03:48 -0430 Subject: [Freeswitch-users] Spanish Say support in freeswitch In-Reply-To: References: Message-ID: Hi! Hope this can help! http://lists.freeswitch.org/pipermail/freeswitch-users/2015-June/113584.html 2016-03-09 17:11 GMT-04:30 Michael Jerris : > its possible there are some bugs, if there are, feel free to send us some > pull requests to fix them. We are not native spanish speakers and these > were originally contributed by the community, so we depend on them a bit to > catch when things are wrong. > > > On Mar 6, 2016, at 7:50 AM, Ashwin Rath wrote: > > > > 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/e85d0077/attachment.html From 0x6e6562 at gmail.com Wed Mar 16 23:10:06 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 20:10:06 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: Hi Victor, I'm not quite sure I understand your response - was I maybe asking about something that makes no sense? Ben > On 16 Mar 2016, at 19:27, Victor Medina wrote: > > building... ? > > 2016-03-16 14:44 GMT-04:30 Ben Hood <0x6e6562 at gmail.com>: >> Is libvpx optional, i.e. is there a way to disable libvpx support in >> the build (e.g. by supplying --without-libvpx to the configure >> script)? >> >> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >> > please note this important change that went into master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have mod_vpx.so or have to manually load it. I'll have more details coming, but let me know if you have any questions. Please note for anyone doing cross compiling, this probably needs a bit more work for you, I'll be working on fixing that this week. >> > >> > Mike >> > _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 > > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/a364c516/attachment.html From mike at jerris.com Wed Mar 16 23:17:18 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 16:17:18 -0400 Subject: [Freeswitch-users] Conference Bandwith parameter In-Reply-To: References: Message-ID: Its only used in mod_conference, and I believe it will be adjusted via rtcp. > On Mar 14, 2016, at 4:21 AM, Volodymyr Fedorov wrote: > > Hi, community! > In wiki page https://freeswitch.org/confluence/display/FREESWITCH/mod_conference > I found parameter for conf room: video-codec-bandwidth . It will be used as SDP respond part as a Bandwidth ("b=") from Freeswitch ? > Thank you in advance > -- > Best regards, > Volodymyr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/f1b231d4/attachment.html From mike at jerris.com Wed Mar 16 23:46:40 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 16:46:40 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: depends on your needs. The concern would be trying to access those objects across threads potentially could cause issues depending on if they are syncronized or not, easier to just not do it and not have the concern. Anthony is suggesting looking at how we do it in other places. Life cycle could be an issue, are you destroying things too early? > On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: > > Thanks for responding Anthony. Can you tell me this: > Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? > On Tuesday, March 15, 2016, Chris Mandra > wrote: > > Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? > On Tuesday, March 15, 2016, Anthony Minessale > wrote: > Curl is used in a few places and is not unstable. Study some of those mods and maybe you can see how to use it in a typical situation. Probably its related to memory management or lifecycle of objects you may be using. > > On Tuesday, March 15, 2016, Chris Mandra > wrote: > Hey guys, I'm working on a simple media bug module using FS 1.6. When a call comes in I'm calling switch_curl doing an http get. > In switch_standard_app I use switch_curl and invoke switch_curl_easy_perform and exit after that. > > Calling switch_curl seems very unstable. It's crashing free switch most of the time. Are there any things I should be looking for related to this? I'm wondering if maybe this is a threading issue? Any ideas? > > I've included some backtraces > > Thanks, chris > > > (gdb) bt > > #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > > #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 > > #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 > > #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 > > #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 > > #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 > > #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 > > #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 > > #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 > > #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 > > #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 > > > > [ > 5:44 > ] > (gdb) bt full > > #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > > resultvar = 0 > > pid = 18329 > > selftid = 18421 > > #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 > > save_stage = 2 > > act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x0} > > sigs = {__val = {32, 0 }} > > #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 > > ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} > > fd = 2 > > on_2 = > > list = > > nlist = > > cp = > > written = > > #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 > > buf = "00007f8ed0036700" > > cp = > > #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 > > size = > > fb = > > nextchunk = > > nextsize = > > nextinuse = > > prevsize = > > bck = > > fwd = > > errstr = > > locked = > > #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 > > node = 0x7f8ed8012ab0 > > #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 > > dnode = 0x7f8ed8012ab0 > > do_sleep = > > mlen = 0 > > bytes = 0 > > mbuf = 0x7f8ecc1ebfc0 "" > > buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: retrieve\nLog-Line: 115\nUser-Data: \347@\247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... > > len = 88 > > status = SWITCH_STATUS_BREAK > > count = 0 > > elapsed = > > start = 1457966137 > > pop = 0x7f8ed8012ab0 > > ptr = 0x7f8ecc1ebfc0 "" > > crcount = 0 '\000' > > buf_len = 2048 > > channel = 0x0 > > clen = 0 > > __PRETTY_FUNCTION__ = "read_packet" > > __func__ = "read_packet" > > #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 > > listener = 0x7f8ebc027898 > > buf = '\000' > > len = 1024 > > status = > > event = 0x0 > > reply = "\000OK log level [7]", '\000' > > session = 0x0 > > channel = 0x0 > > revent = 0x0 > > var = > > locked = 1 > > __PRETTY_FUNCTION__ = "listener_run" > > __func__ = "listener_run" > > #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 > > thread = 0x7f8eb2be4868 > > #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 > > __res = > > pd = 0x7f8eb2b20700 > > now = > > unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, -640791540281233069, 0, 0, 140250860095936, 140250860095232, 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} > > not_first_call = > > pagesize_m1 = > > sp = > > freesize = > > __PRETTY_FUNCTION__ = "start_thread" > > #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 > > No locals > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/45576a67/attachment-0001.html From mike at jerris.com Wed Mar 16 23:53:13 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 16:53:13 -0400 Subject: [Freeswitch-users] segfaults from mod_easyroute. In-Reply-To: References: Message-ID: <2EFAB8E3-3BC5-4AF2-84FE-43C967E4BC95@jerris.com> If you can catch me on IRC or hipchat tomorrow during the bug hunt and provide access to this machine I can take a look. My nickname is MikeJ > On Mar 16, 2016, at 1:33 PM, ???? ?????? wrote: > > Hi list, > > I would like to ask if somebody else had segfaults from mod_easyroute. > > I have JIRA ticket opened but really need additional advice to solve this issue because I am not C developer. > https://freeswitch.org/jira/browse/FS-8937 > > At this moment I just got idea to re-write mod_easyroute using lua. > > Any advice - welcome. > > 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/20160316/7f19851e/attachment.html From anthony.minessale at gmail.com Wed Mar 16 23:54:12 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 16 Mar 2016 15:54:12 -0500 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: If you use more threads you just need to make sure the objects are properly scoped. For instance, if you want to use a session from the other thread you need to read lock it for the life of the thread. Objects shared need to be dynamically allocated and properly mutexed etc. Whatever thread you call curl from will be used for the whole curl operation. On Wednesday, March 16, 2016, Michael Jerris wrote: > depends on your needs. The concern would be trying to access those > objects across threads potentially could cause issues depending on if they > are syncronized or not, easier to just not do it and not have the concern. > Anthony is suggesting looking at how we do it in other places. Life cycle > could be an issue, are you destroying things too early? > > On Mar 16, 2016, at 5:00 AM, Chris Mandra > wrote: > > Thanks for responding Anthony. Can you tell me this: > Should curl calls be done in separate thread or is it ok to do them in > the main thread of modules? > On Tuesday, March 15, 2016, Chris Mandra > wrote: > >> >> Should curl calls be done in separate thread or is it ok to do them in >> the main thread of modules? >> On Tuesday, March 15, 2016, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Curl is used in a few places and is not unstable. Study some of those >>> mods and maybe you can see how to use it in a typical situation. Probably >>> its related to memory management or lifecycle of objects you may be using. >>> >>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>> >>>> Hey guys, I'm working on a simple media bug module using FS 1.6. When a >>>> call comes in I'm calling switch_curl doing an http get. >>>> >>>> In switch_standard_app I use switch_curl and invoke >>>> switch_curl_easy_perform and exit after that. >>>> >>>> Calling switch_curl seems very unstable. It's crashing free switch most >>>> of the time. Are there any things I should be looking for related to this? >>>> I'm wondering if maybe this is a threading issue? Any ideas? >>>> I've included some backtraces >>>> >>>> Thanks, chris >>>> >>>> >>>> (gdb) bt >>>> >>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>> >>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>> >>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>> ../sysdeps/posix/libc_fatal.c:175 >>>> >>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>> >>>> #4 _int_free (av=, p=, have_lock=0) at >>>> malloc.c:3840 >>>> >>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>> at src/switch_log.c:136 >>>> >>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>> mod_event_socket.c:1361 >>>> >>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>> >>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>> threadproc/unix/thread.c:151 >>>> >>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>> pthread_create.c:312 >>>> >>>> #10 0x00007f8f00d1d47d in clone () at >>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>> >>>> >>>> *[* >>>> >>>> 5:44 >>>> >>>> >>>> *]* >>>> >>>> (gdb) bt full >>>> >>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>> >>>> resultvar = 0 >>>> >>>> pid = 18329 >>>> >>>> selftid = 18421 >>>> >>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>> >>>> save_stage = 2 >>>> >>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = >>>> 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer >>>> = 0x0} >>>> >>>> sigs = {__val = {32, 0 }} >>>> >>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>> ../sysdeps/posix/libc_fatal.c:175 >>>> >>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >>>> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>> >>>> fd = 2 >>>> >>>> on_2 = >>>> >>>> list = >>>> >>>> nlist = >>>> >>>> cp = >>>> >>>> written = >>>> >>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>> >>>> buf = "00007f8ed0036700" >>>> >>>> cp = >>>> >>>> #4 _int_free (av=, p=, have_lock=0) at >>>> malloc.c:3840 >>>> >>>> size = >>>> >>>> fb = >>>> >>>> nextchunk = >>>> >>>> nextsize = >>>> >>>> nextinuse = >>>> >>>> prevsize = >>>> >>>> bck = >>>> >>>> fwd = >>>> >>>> errstr = >>>> >>>> locked = >>>> >>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>> at src/switch_log.c:136 >>>> >>>> node = 0x7f8ed8012ab0 >>>> >>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>> mod_event_socket.c:1361 >>>> >>>> dnode = 0x7f8ed8012ab0 >>>> >>>> do_sleep = >>>> >>>> mlen = 0 >>>> >>>> bytes = 0 >>>> >>>> mbuf = 0x7f8ecc1ebfc0 "" >>>> >>>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >>>> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >>>> retrieve\nLog-Line: 115\nUser-Data: \347@ >>>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>> >>>> len = 88 >>>> >>>> status = SWITCH_STATUS_BREAK >>>> >>>> count = 0 >>>> >>>> elapsed = >>>> >>>> start = 1457966137 >>>> >>>> pop = 0x7f8ed8012ab0 >>>> >>>> ptr = 0x7f8ecc1ebfc0 "" >>>> >>>> crcount = 0 '\000' >>>> >>>> buf_len = 2048 >>>> >>>> channel = 0x0 >>>> >>>> clen = 0 >>>> >>>> __PRETTY_FUNCTION__ = "read_packet" >>>> >>>> __func__ = "read_packet" >>>> >>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>> >>>> listener = 0x7f8ebc027898 >>>> >>>> buf = '\000' >>>> >>>> len = 1024 >>>> >>>> status = >>>> >>>> event = 0x0 >>>> >>>> reply = "\000OK log level [7]", '\000' >>>> >>>> session = 0x0 >>>> >>>> channel = 0x0 >>>> >>>> revent = 0x0 >>>> >>>> var = >>>> >>>> locked = 1 >>>> >>>> __PRETTY_FUNCTION__ = "listener_run" >>>> >>>> __func__ = "listener_run" >>>> >>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>> threadproc/unix/thread.c:151 >>>> >>>> thread = 0x7f8eb2be4868 >>>> >>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>> pthread_create.c:312 >>>> >>>> __res = >>>> >>>> pd = 0x7f8eb2b20700 >>>> >>>> now = >>>> >>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>> >>>> not_first_call = >>>> >>>> pagesize_m1 = >>>> >>>> sp = >>>> >>>> freesize = >>>> >>>> __PRETTY_FUNCTION__ = "start_thread" >>>> >>>> #10 0x00007f8f00d1d47d in clone () at >>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>> >>>> No locals >>>> >>> >>> > -- 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/20160316/2fd4516d/attachment-0001.html From mike at jerris.com Wed Mar 16 23:55:46 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 16:55:46 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> It is... --disable-libvpx There shouldn't be much reason for it, if you have a good reason due to a build issue I'd like to try to resolve that. I have seen issues that people need to install yasm or nasm for libyuv, and some people have had to upgrade toolchain on older distros. What issue/concern are you having? > On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > Is libvpx optional, i.e. is there a way to disable libvpx support in > the build (e.g. by supplying --without-libvpx to the configure > script)? > > On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >> please note this important change that went into master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have mod_vpx.so or have to manually load it. I'll have more details coming, but let me know if you have any questions. Please note for anyone doing cross compiling, this probably needs a bit more work for you, I'll be working on fixing that this week. >> >> Mike From 0x6e6562 at gmail.com Thu Mar 17 00:36:56 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 21:36:56 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> Message-ID: Thanks for the heads up about the name of the disabling flag - that seems to have worked in the sense that the build now goes past an issue I was seeing with libvpx. The problem I am having is trying to get c422cddb to compile on Solaris 11.3, which I appreciate is not a supported platform. I've been using 2d46e0af which I successfully compiled and have been running for a few weeks, but that version doesn't appear to have the libvpx refactoring in it. In addition, this time round I was attempting to supply custom versions of the dependencies such as libsndfile, rather than depend on CSW packaging. Anyway, I think the issue with the build is more of a libvpx thing than a FS issue, which is why I raised a question on their list: https://groups.google.com/a/webmproject.org/d/msg/webm-discuss/jrKh-cN5tS4/94zqgIVRBQAJ So I guess the fundamental issue is I'm trying to do something that isn't supported - so I appreciate that there's probably not too much time that you can dwell on this. BTW can I disable speex support by passing --disable-libspeex or similar? Is there a list of the names of features that can be turned off during compilation in one of the build files? On Wed, Mar 16, 2016 at 8:55 PM, Michael Jerris wrote: > It is... --disable-libvpx There shouldn't be much reason for it, if you have a good reason due to a build issue I'd like to try to resolve that. I have seen issues that people need to install yasm or nasm for libyuv, and some people have had to upgrade toolchain on older distros. What issue/concern are you having? > >> On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >> >> Is libvpx optional, i.e. is there a way to disable libvpx support in >> the build (e.g. by supplying --without-libvpx to the configure >> script)? >> >> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >>> please note this important change that went into master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have mod_vpx.so or have to manually load it. I'll have more details coming, but let me know if you have any questions. Please note for anyone doing cross compiling, this probably needs a bit more work for you, I'll be working on fixing that this week. >>> >>> Mike > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 sos at sokhapkin.dyndns.org Thu Mar 17 00:44:44 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Wed, 16 Mar 2016 17:44:44 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> Message-ID: <1855299.Fb8dx6ItaL@sos> Is there a way to completely disable video support in FS to not require unneeded video-related libraries? On Wednesday 16 March 2016 16:55:46 Michael Jerris wrote: > It is... --disable-libvpx There shouldn't be much reason for it, if you > have a good reason due to a build issue I'd like to try to resolve that. I > have seen issues that people need to install yasm or nasm for libyuv, and > some people have had to upgrade toolchain on older distros. What > issue/concern are you having? > > On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > > > Is libvpx optional, i.e. is there a way to disable libvpx support in > > the build (e.g. by supplying --without-libvpx to the configure > > script)? > > > > On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: > >> please note this important change that went into master today. As of > >> today, we are no longer using system versions of libyuv and libvpx due > >> to major conflicts with system versions of these libraries. These are > >> now built static into the freeswitch core. Also note, mod_vpx no longer > >> exists, it is automatically loaded as part of the core and you will no > >> longer have mod_vpx.so or have to manually load it. I'll have more > >> details coming, but let me know if you have any questions. Please note > >> for anyone doing cross compiling, this probably needs a bit more work > >> for you, I'll be working on fixing that this week. > >> > >> Mike > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 at infomedia.si Thu Mar 17 00:49:34 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 16 Mar 2016 22:49:34 +0100 Subject: [Freeswitch-users] Windows build In-Reply-To: <38494249596647c6a08591eca41e3000@imladris.sermotec.local> References: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> <56E10D5D.1000303@zg.t-com.hr> <38494249596647c6a08591eca41e3000@imladris.sermotec.local> Message-ID: Thank you Harald. I tried with latest branch 1.7 and x64 and got errors regarding mod_V8. I tried what Peter suggested, but I am more in c# and web projects and do not have experience in building C++ projects. There is already prebuilt setup on freeswitch site, so someone successfully build it :-)) It is not so important for us at this point to make own build, so will try again later. 2016-03-11 7:32 GMT+01:00 Harald Petrovitsch : > Hi Gregor, > > > > I only do a > > Git.exe clone ?bv1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git . > > > > Loaded the solution into vs2015, set configuration Win32 / Release and > press f7 (need to do it two times) > > > > The build ended with > > ========== Build: 20 succeeded, 0 failed, 157 up-to-date, 15 skipped > ========== > > > > I?ve attached a list of the generated mod folder > > > > Regards > > Harald > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Shishko > *Gesendet:* Donnerstag, 10. M?rz 2016 07:00 > *An:* freeswitch-users at lists.freeswitch.org > > *Betreff:* Re: [Freeswitch-users] Windows build > > > > Hi Harald, > > what did you do to build libv8 and mod_v8? I tried with VS2015 Update 1, > branch 1.6, but to no avail. > > Thanks > > On 03/07/2016 08:20 AM, Harald Petrovitsch wrote: > > 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 v**on *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 > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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/20160316/952fcb58/attachment-0001.html From mike at jerris.com Thu Mar 17 01:41:53 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 18:41:53 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> Message-ID: <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> What is the error you are getting when you try to build current master. There is no need for a flag to disable libspeex, you just don't build the module. > On Mar 16, 2016, at 5:36 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > Thanks for the heads up about the name of the disabling flag - that > seems to have worked in the sense that the build now goes past an > issue I was seeing with libvpx. > > The problem I am having is trying to get c422cddb to compile on > Solaris 11.3, which I appreciate is not a supported platform. I've > been using 2d46e0af which I successfully compiled and have been > running for a few weeks, but that version doesn't appear to have the > libvpx refactoring in it. In addition, this time round I was > attempting to supply custom versions of the dependencies such as > libsndfile, rather than depend on CSW packaging. > > Anyway, I think the issue with the build is more of a libvpx thing > than a FS issue, which is why I raised a question on their list: > > https://groups.google.com/a/webmproject.org/d/msg/webm-discuss/jrKh-cN5tS4/94zqgIVRBQAJ > > So I guess the fundamental issue is I'm trying to do something that > isn't supported - so I appreciate that there's probably not too much > time that you can dwell on this. > > BTW can I disable speex support by passing --disable-libspeex or > similar? Is there a list of the names of features that can be turned > off during compilation in one of the build files? > > On Wed, Mar 16, 2016 at 8:55 PM, Michael Jerris wrote: >> It is... --disable-libvpx There shouldn't be much reason for it, if you have a good reason due to a build issue I'd like to try to resolve that. I have seen issues that people need to install yasm or nasm for libyuv, and some people have had to upgrade toolchain on older distros. What issue/concern are you having? >> >>> On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >>> >>> Is libvpx optional, i.e. is there a way to disable libvpx support in >>> the build (e.g. by supplying --without-libvpx to the configure >>> script)? >>> >>> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >>>> please note this important change that went into master today. As of today, we are no longer using system versions of libyuv and libvpx due to major conflicts with system versions of these libraries. These are now built static into the freeswitch core. Also note, mod_vpx no longer exists, it is automatically loaded as part of the core and you will no longer have mod_vpx.so or have to manually load it. I'll have more details coming, but let me know if you have any questions. Please note for anyone doing cross compiling, this probably needs a bit more work for you, I'll be working on fixing that this week. >>>> >>>> Mike >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 mike at jerris.com Thu Mar 17 01:42:26 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 18:42:26 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <1855299.Fb8dx6ItaL@sos> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <1855299.Fb8dx6ItaL@sos> Message-ID: <9FBFE269-312B-4ADD-A1E8-E6A52F0B33B7@jerris.com> There should be no reason to do so, unless there is a specific build issue, if so, lets address those. > On Mar 16, 2016, at 5:44 PM, Sergey Okhapkin wrote: > > Is there a way to completely disable video support in FS to not require > unneeded video-related libraries? > > On Wednesday 16 March 2016 16:55:46 Michael Jerris wrote: >> It is... --disable-libvpx There shouldn't be much reason for it, if you >> have a good reason due to a build issue I'd like to try to resolve that. I >> have seen issues that people need to install yasm or nasm for libyuv, and >> some people have had to upgrade toolchain on older distros. What >> issue/concern are you having? >>> On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >>> >>> Is libvpx optional, i.e. is there a way to disable libvpx support in >>> the build (e.g. by supplying --without-libvpx to the configure >>> script)? >>> >>> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >>>> please note this important change that went into master today. As of >>>> today, we are no longer using system versions of libyuv and libvpx due >>>> to major conflicts with system versions of these libraries. These are >>>> now built static into the freeswitch core. Also note, mod_vpx no longer >>>> exists, it is automatically loaded as part of the core and you will no >>>> longer have mod_vpx.so or have to manually load it. I'll have more >>>> details coming, but let me know if you have any questions. Please note >>>> for anyone doing cross compiling, this probably needs a bit more work >>>> for you, I'll be working on fixing that this week. >>>> >>>> Mike >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 sos at sokhapkin.dyndns.org Thu Mar 17 02:00:55 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Wed, 16 Mar 2016 19:00:55 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <9FBFE269-312B-4ADD-A1E8-E6A52F0B33B7@jerris.com> References: <1855299.Fb8dx6ItaL@sos> <9FBFE269-312B-4ADD-A1E8-E6A52F0B33B7@jerris.com> Message-ID: <1798544.GPkNyPXjsl@sos> The issue is with memory footprint when building FS for embedded systems like routers, raspberry pi etc. On Wednesday 16 March 2016 18:42:26 Michael Jerris wrote: > There should be no reason to do so, unless there is a specific build issue, > if so, lets address those. > > On Mar 16, 2016, at 5:44 PM, Sergey Okhapkin > > wrote: > > > > Is there a way to completely disable video support in FS to not require > > unneeded video-related libraries? > > > > On Wednesday 16 March 2016 16:55:46 Michael Jerris wrote: > >> It is... --disable-libvpx There shouldn't be much reason for it, if > >> you > >> have a good reason due to a build issue I'd like to try to resolve that. > >> I > >> have seen issues that people need to install yasm or nasm for libyuv, and > >> some people have had to upgrade toolchain on older distros. What > >> issue/concern are you having? > >> > >>> On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > >>> > >>> Is libvpx optional, i.e. is there a way to disable libvpx support in > >>> the build (e.g. by supplying --without-libvpx to the configure > >>> script)? > >>> > >>> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: > >>>> please note this important change that went into master today. As of > >>>> today, we are no longer using system versions of libyuv and libvpx due > >>>> to major conflicts with system versions of these libraries. These are > >>>> now built static into the freeswitch core. Also note, mod_vpx no > >>>> longer > >>>> exists, it is automatically loaded as part of the core and you will no > >>>> longer have mod_vpx.so or have to manually load it. I'll have more > >>>> details coming, but let me know if you have any questions. Please note > >>>> for anyone doing cross compiling, this probably needs a bit more work > >>>> for you, I'll be working on fixing that this week. > >>>> > >>>> Mike > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 From piotrek.gregor at gmail.com Thu Mar 17 02:02:03 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Wed, 16 Mar 2016 23:02:03 +0000 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: Hi Abaci, is this attached Verizon voicemail the kind of beep that you mean? cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/71843680/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: verizon_voicemail_1.mp3 Type: audio/mpeg Size: 177135 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/71843680/attachment-0001.mp3 From 0x6e6562 at gmail.com Thu Mar 17 02:04:56 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 23:04:56 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: > What is the error you are getting when you try to build current master. Here's a the complete output for the compiler error: https://gist.github.com/0x6e6562/1afb379410accfdcd123 >There is no need for a flag to disable libspeex, you just don't build the module. I initially assumed that I could trim the modules.conf to exclude libspeex, so that when the makefile was invoked on the top level, then the libspeex module is just ignored. However, this doesn't appear to be the case, so for the sake of expediency, I decided to supply the speex dependency manually and just moved on to the next problem, which was the non-compilability of the C++ code in libvpx on Solaris, combined with the fact that gcc was producing a 32 bit image that the 64 bit libfreeswitch is going to have to link against. From mike at jerris.com Thu Mar 17 02:24:25 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 19:24:25 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <1798544.GPkNyPXjsl@sos> References: <1855299.Fb8dx6ItaL@sos> <9FBFE269-312B-4ADD-A1E8-E6A52F0B33B7@jerris.com> <1798544.GPkNyPXjsl@sos> Message-ID: <44AE1711-EFF6-4B01-BCEA-61513DB9C33D@jerris.com> libvpx and yuv are quite small.. it shouldn't be an issue... that being said, there are configure flags to disable them > On Mar 16, 2016, at 7:00 PM, Sergey Okhapkin wrote: > > The issue is with memory footprint when building FS for embedded systems like > routers, raspberry pi etc. > > On Wednesday 16 March 2016 18:42:26 Michael Jerris wrote: >> There should be no reason to do so, unless there is a specific build issue, >> if so, lets address those. >>> On Mar 16, 2016, at 5:44 PM, Sergey Okhapkin >>> wrote: >>> >>> Is there a way to completely disable video support in FS to not require >>> unneeded video-related libraries? >>> >>> On Wednesday 16 March 2016 16:55:46 Michael Jerris wrote: >>>> It is... --disable-libvpx There shouldn't be much reason for it, if >>>> you >>>> have a good reason due to a build issue I'd like to try to resolve that. >>>> I >>>> have seen issues that people need to install yasm or nasm for libyuv, and >>>> some people have had to upgrade toolchain on older distros. What >>>> issue/concern are you having? >>>> >>>>> On Mar 16, 2016, at 3:14 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >>>>> >>>>> Is libvpx optional, i.e. is there a way to disable libvpx support in >>>>> the build (e.g. by supplying --without-libvpx to the configure >>>>> script)? >>>>> >>>>> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris > wrote: >>>>>> please note this important change that went into master today. As of >>>>>> today, we are no longer using system versions of libyuv and libvpx due >>>>>> to major conflicts with system versions of these libraries. These are >>>>>> now built static into the freeswitch core. Also note, mod_vpx no >>>>>> longer >>>>>> exists, it is automatically loaded as part of the core and you will no >>>>>> longer have mod_vpx.so or have to manually load it. I'll have more >>>>>> details coming, but let me know if you have any questions. Please note >>>>>> for anyone doing cross compiling, this probably needs a bit more work >>>>>> for you, I'll be working on fixing that this week. >>>>>> >>>>>> Mike >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 From mike at jerris.com Thu Mar 17 02:25:23 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 19:25:23 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: <5EF436EF-A38C-481D-8A27-07950D7B2A3C@jerris.com> I'm sorry, i forgot, yes, speex is required. I'll take a look at the other issues. What compiler and version are you using? > On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: >> What is the error you are getting when you try to build current master. > > Here's a the complete output for the compiler error: > > https://gist.github.com/0x6e6562/1afb379410accfdcd123 > >> There is no need for a flag to disable libspeex, you just don't build the module. > > I initially assumed that I could trim the modules.conf to exclude > libspeex, so that when the makefile was invoked on the top level, then > the libspeex module is just ignored. However, this doesn't appear to > be the case, so for the sake of expediency, I decided to supply the > speex dependency manually and just moved on to the next problem, which > was the non-compilability of the C++ code in libvpx on Solaris, > combined with the fact that gcc was producing a 32 bit image that the > 64 bit libfreeswitch is going to have to link against. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mike at jerris.com Thu Mar 17 02:26:15 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 16 Mar 2016 19:26:15 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: And can you provide remote access to this box. I think I know whats wrong but will have to fix it on the box to get it right > On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: >> What is the error you are getting when you try to build current master. > > Here's a the complete output for the compiler error: > > https://gist.github.com/0x6e6562/1afb379410accfdcd123 > >> There is no need for a flag to disable libspeex, you just don't build the module. > > I initially assumed that I could trim the modules.conf to exclude > libspeex, so that when the makefile was invoked on the top level, then > the libspeex module is just ignored. However, this doesn't appear to > be the case, so for the sake of expediency, I decided to supply the > speex dependency manually and just moved on to the next problem, which > was the non-compilability of the C++ code in libvpx on Solaris, > combined with the fact that gcc was producing a 32 bit image that the > 64 bit libfreeswitch is going to have to link against. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 abaci64 at gmail.com Thu Mar 17 02:31:11 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 16 Mar 2016 19:31:11 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: yes On Wed, Mar 16, 2016 at 7:02 PM, Piotr Gregor wrote: > Hi Abaci, > is this attached Verizon voicemail the kind of beep that you mean? > > cheers, > Piotr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160316/faf76c7b/attachment.html From 0x6e6562 at gmail.com Thu Mar 17 02:56:06 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 23:56:06 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <5EF436EF-A38C-481D-8A27-07950D7B2A3C@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <5EF436EF-A38C-481D-8A27-07950D7B2A3C@jerris.com> Message-ID: On Wed, Mar 16, 2016 at 11:25 PM, Michael Jerris wrote: > I'm sorry, i forgot, yes, speex is required. I'll take a look at the other issues. What compiler and version are you using? GCC 4.8.2 From abaci64 at gmail.com Thu Mar 17 02:58:12 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 16 Mar 2016 19:58:12 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: if it helps I can email you a Verizon wireless number that I used to test so that you can test yourself On Wed, Mar 16, 2016 at 7:31 PM, Abaci B wrote: > yes > > On Wed, Mar 16, 2016 at 7:02 PM, Piotr Gregor > wrote: > >> Hi Abaci, >> is this attached Verizon voicemail the kind of beep that you mean? >> >> cheers, >> Piotr >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160316/20639a46/attachment-0001.html From 0x6e6562 at gmail.com Thu Mar 17 02:58:57 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Wed, 16 Mar 2016 23:58:57 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: Unfortunately the box is running as VMWare guest in a network with no external access. So I can either export the VM image if you would like to download and run it locally. Alternatively I could look into reproducing the issue on an AWS instance, which I could then give you access to. On Wed, Mar 16, 2016 at 11:26 PM, Michael Jerris wrote: > And can you provide remote access to this box. I think I know whats wrong but will have to fix it on the box to get it right > >> On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >> >> On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: >>> What is the error you are getting when you try to build current master. >> >> Here's a the complete output for the compiler error: >> >> https://gist.github.com/0x6e6562/1afb379410accfdcd123 >> >>> There is no need for a flag to disable libspeex, you just don't build the module. >> >> I initially assumed that I could trim the modules.conf to exclude >> libspeex, so that when the makefile was invoked on the top level, then >> the libspeex module is just ignored. However, this doesn't appear to >> be the case, so for the sake of expediency, I decided to supply the >> speex dependency manually and just moved on to the next problem, which >> was the non-compilability of the C++ code in libvpx on Solaris, >> combined with the fact that gcc was producing a 32 bit image that the >> 64 bit libfreeswitch is going to have to link against. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 mandra at gmail.com Thu Mar 17 05:23:35 2016 From: mandra at gmail.com (Chris Mandra) Date: Wed, 16 Mar 2016 22:23:35 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Thanks for the responses guys. I have another question: I need to call mod_curl api from my module. What's the proper way to call a module from a module? thanks, chris On Wed, Mar 16, 2016 at 4:54 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > If you use more threads you just need to make sure the objects are > properly scoped. For instance, if you want to use a session from the other > thread you need to read lock it for the life of the thread. Objects shared > need to be dynamically allocated and properly mutexed etc. > > Whatever thread you call curl from will be used for the whole > curl operation. > > > On Wednesday, March 16, 2016, Michael Jerris wrote: > >> depends on your needs. The concern would be trying to access those >> objects across threads potentially could cause issues depending on if they >> are syncronized or not, easier to just not do it and not have the concern. >> Anthony is suggesting looking at how we do it in other places. Life cycle >> could be an issue, are you destroying things too early? >> >> On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: >> >> Thanks for responding Anthony. Can you tell me this: >> Should curl calls be done in separate thread or is it ok to do them in >> the main thread of modules? >> On Tuesday, March 15, 2016, Chris Mandra wrote: >> >>> >>> Should curl calls be done in separate thread or is it ok to do them in >>> the main thread of modules? >>> On Tuesday, March 15, 2016, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Curl is used in a few places and is not unstable. Study some of those >>>> mods and maybe you can see how to use it in a typical situation. Probably >>>> its related to memory management or lifecycle of objects you may be using. >>>> >>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>> >>>>> Hey guys, I'm working on a simple media bug module using FS 1.6. When >>>>> a call comes in I'm calling switch_curl doing an http get. >>>>> >>>>> In switch_standard_app I use switch_curl and invoke >>>>> switch_curl_easy_perform and exit after that. >>>>> >>>>> Calling switch_curl seems very unstable. It's crashing free switch >>>>> most of the time. Are there any things I should be looking for related to >>>>> this? I'm wondering if maybe this is a threading issue? Any ideas? >>>>> I've included some backtraces >>>>> >>>>> Thanks, chris >>>>> >>>>> >>>>> (gdb) bt >>>>> >>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>> >>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>> >>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>>> ../sysdeps/posix/libc_fatal.c:175 >>>>> >>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>> >>>>> #4 _int_free (av=, p=, have_lock=0) at >>>>> malloc.c:3840 >>>>> >>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>> at src/switch_log.c:136 >>>>> >>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>> mod_event_socket.c:1361 >>>>> >>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>> >>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>> threadproc/unix/thread.c:151 >>>>> >>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>> pthread_create.c:312 >>>>> >>>>> #10 0x00007f8f00d1d47d in clone () at >>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>> >>>>> >>>>> *[* >>>>> >>>>> >>>>> 5:44 >>>>> >>>>> >>>>> *]* >>>>> >>>>> >>>>> (gdb) bt full >>>>> >>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>> >>>>> resultvar = 0 >>>>> >>>>> pid = 18329 >>>>> >>>>> selftid = 18421 >>>>> >>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>> >>>>> save_stage = 2 >>>>> >>>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = >>>>> 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer >>>>> = 0x0} >>>>> >>>>> sigs = {__val = {32, 0 }} >>>>> >>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>>> ../sysdeps/posix/libc_fatal.c:175 >>>>> >>>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >>>>> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>>> >>>>> fd = 2 >>>>> >>>>> on_2 = >>>>> >>>>> list = >>>>> >>>>> nlist = >>>>> >>>>> cp = >>>>> >>>>> written = >>>>> >>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>> >>>>> buf = "00007f8ed0036700" >>>>> >>>>> cp = >>>>> >>>>> #4 _int_free (av=, p=, have_lock=0) at >>>>> malloc.c:3840 >>>>> >>>>> size = >>>>> >>>>> fb = >>>>> >>>>> nextchunk = >>>>> >>>>> nextsize = >>>>> >>>>> nextinuse = >>>>> >>>>> prevsize = >>>>> >>>>> bck = >>>>> >>>>> fwd = >>>>> >>>>> errstr = >>>>> >>>>> locked = >>>>> >>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>> at src/switch_log.c:136 >>>>> >>>>> node = 0x7f8ed8012ab0 >>>>> >>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>> mod_event_socket.c:1361 >>>>> >>>>> dnode = 0x7f8ed8012ab0 >>>>> >>>>> do_sleep = >>>>> >>>>> mlen = 0 >>>>> >>>>> bytes = 0 >>>>> >>>>> mbuf = 0x7f8ecc1ebfc0 "" >>>>> >>>>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >>>>> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >>>>> retrieve\nLog-Line: 115\nUser-Data: \347@ >>>>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>>> >>>>> len = 88 >>>>> >>>>> status = SWITCH_STATUS_BREAK >>>>> >>>>> count = 0 >>>>> >>>>> elapsed = >>>>> >>>>> start = 1457966137 >>>>> >>>>> pop = 0x7f8ed8012ab0 >>>>> >>>>> ptr = 0x7f8ecc1ebfc0 "" >>>>> >>>>> crcount = 0 '\000' >>>>> >>>>> buf_len = 2048 >>>>> >>>>> channel = 0x0 >>>>> >>>>> clen = 0 >>>>> >>>>> __PRETTY_FUNCTION__ = "read_packet" >>>>> >>>>> __func__ = "read_packet" >>>>> >>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>> >>>>> listener = 0x7f8ebc027898 >>>>> >>>>> buf = '\000' >>>>> >>>>> len = 1024 >>>>> >>>>> status = >>>>> >>>>> event = 0x0 >>>>> >>>>> reply = "\000OK log level [7]", '\000' >>>>> >>>>> session = 0x0 >>>>> >>>>> channel = 0x0 >>>>> >>>>> revent = 0x0 >>>>> >>>>> var = >>>>> >>>>> locked = 1 >>>>> >>>>> __PRETTY_FUNCTION__ = "listener_run" >>>>> >>>>> __func__ = "listener_run" >>>>> >>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>> threadproc/unix/thread.c:151 >>>>> >>>>> thread = 0x7f8eb2be4868 >>>>> >>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>> pthread_create.c:312 >>>>> >>>>> __res = >>>>> >>>>> pd = 0x7f8eb2b20700 >>>>> >>>>> now = >>>>> >>>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>>>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>>>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>>>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>>> >>>>> not_first_call = >>>>> >>>>> pagesize_m1 = >>>>> >>>>> sp = >>>>> >>>>> freesize = >>>>> >>>>> __PRETTY_FUNCTION__ = "start_thread" >>>>> >>>>> #10 0x00007f8f00d1d47d in clone () at >>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>> >>>>> No locals >>>>> >>>> >>>> >> > > -- > 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 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160316/b5fd8311/attachment-0001.html From anthony.minessale at gmail.com Thu Mar 17 07:25:54 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 16 Mar 2016 23:25:54 -0500 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Via one of the exposed interfaces like api interface etc. Why do you need mod_curl and native curl at the same time? On Wednesday, March 16, 2016, Chris Mandra wrote: > Thanks for the responses guys. I have another question: I need to call > mod_curl api from my module. What's the proper way to call a module from a > module? > thanks, chris > > On Wed, Mar 16, 2016 at 4:54 PM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > >> If you use more threads you just need to make sure the objects are >> properly scoped. For instance, if you want to use a session from the other >> thread you need to read lock it for the life of the thread. Objects shared >> need to be dynamically allocated and properly mutexed etc. >> >> Whatever thread you call curl from will be used for the whole >> curl operation. >> >> >> On Wednesday, March 16, 2016, Michael Jerris > > wrote: >> >>> depends on your needs. The concern would be trying to access those >>> objects across threads potentially could cause issues depending on if they >>> are syncronized or not, easier to just not do it and not have the concern. >>> Anthony is suggesting looking at how we do it in other places. Life cycle >>> could be an issue, are you destroying things too early? >>> >>> On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: >>> >>> Thanks for responding Anthony. Can you tell me this: >>> Should curl calls be done in separate thread or is it ok to do them in >>> the main thread of modules? >>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>> >>>> >>>> Should curl calls be done in separate thread or is it ok to do them in >>>> the main thread of modules? >>>> On Tuesday, March 15, 2016, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Curl is used in a few places and is not unstable. Study some of those >>>>> mods and maybe you can see how to use it in a typical situation. Probably >>>>> its related to memory management or lifecycle of objects you may be using. >>>>> >>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>> >>>>>> Hey guys, I'm working on a simple media bug module using FS 1.6. When >>>>>> a call comes in I'm calling switch_curl doing an http get. >>>>>> >>>>>> In switch_standard_app I use switch_curl and invoke >>>>>> switch_curl_easy_perform and exit after that. >>>>>> >>>>>> Calling switch_curl seems very unstable. It's crashing free switch >>>>>> most of the time. Are there any things I should be looking for related to >>>>>> this? I'm wondering if maybe this is a threading issue? Any ideas? >>>>>> I've included some backtraces >>>>>> >>>>>> Thanks, chris >>>>>> >>>>>> >>>>>> (gdb) bt >>>>>> >>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>> >>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>> >>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>>>> ../sysdeps/posix/libc_fatal.c:175 >>>>>> >>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>> >>>>>> #4 _int_free (av=, p=, have_lock=0) at >>>>>> malloc.c:3840 >>>>>> >>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>> at src/switch_log.c:136 >>>>>> >>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>> mod_event_socket.c:1361 >>>>>> >>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>> >>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>> threadproc/unix/thread.c:151 >>>>>> >>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>> pthread_create.c:312 >>>>>> >>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>> >>>>>> >>>>>> *[* >>>>>> >>>>>> >>>>>> 5:44 >>>>>> >>>>>> >>>>>> *]* >>>>>> >>>>>> >>>>>> (gdb) bt full >>>>>> >>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>> >>>>>> resultvar = 0 >>>>>> >>>>>> pid = 18329 >>>>>> >>>>>> selftid = 18421 >>>>>> >>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>> >>>>>> save_stage = 2 >>>>>> >>>>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = >>>>>> 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer >>>>>> = 0x0} >>>>>> >>>>>> sigs = {__val = {32, 0 }} >>>>>> >>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at >>>>>> ../sysdeps/posix/libc_fatal.c:175 >>>>>> >>>>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >>>>>> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>>>> >>>>>> fd = 2 >>>>>> >>>>>> on_2 = >>>>>> >>>>>> list = >>>>>> >>>>>> nlist = >>>>>> >>>>>> cp = >>>>>> >>>>>> written = >>>>>> >>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>> >>>>>> buf = "00007f8ed0036700" >>>>>> >>>>>> cp = >>>>>> >>>>>> #4 _int_free (av=, p=, have_lock=0) at >>>>>> malloc.c:3840 >>>>>> >>>>>> size = >>>>>> >>>>>> fb = >>>>>> >>>>>> nextchunk = >>>>>> >>>>>> nextsize = >>>>>> >>>>>> nextinuse = >>>>>> >>>>>> prevsize = >>>>>> >>>>>> bck = >>>>>> >>>>>> fwd = >>>>>> >>>>>> errstr = >>>>>> >>>>>> locked = >>>>>> >>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>> at src/switch_log.c:136 >>>>>> >>>>>> node = 0x7f8ed8012ab0 >>>>>> >>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>> mod_event_socket.c:1361 >>>>>> >>>>>> dnode = 0x7f8ed8012ab0 >>>>>> >>>>>> do_sleep = >>>>>> >>>>>> mlen = 0 >>>>>> >>>>>> bytes = 0 >>>>>> >>>>>> mbuf = 0x7f8ecc1ebfc0 "" >>>>>> >>>>>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >>>>>> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >>>>>> retrieve\nLog-Line: 115\nUser-Data: \347@ >>>>>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>>>> >>>>>> len = 88 >>>>>> >>>>>> status = SWITCH_STATUS_BREAK >>>>>> >>>>>> count = 0 >>>>>> >>>>>> elapsed = >>>>>> >>>>>> start = 1457966137 >>>>>> >>>>>> pop = 0x7f8ed8012ab0 >>>>>> >>>>>> ptr = 0x7f8ecc1ebfc0 "" >>>>>> >>>>>> crcount = 0 '\000' >>>>>> >>>>>> buf_len = 2048 >>>>>> >>>>>> channel = 0x0 >>>>>> >>>>>> clen = 0 >>>>>> >>>>>> __PRETTY_FUNCTION__ = "read_packet" >>>>>> >>>>>> __func__ = "read_packet" >>>>>> >>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>> >>>>>> listener = 0x7f8ebc027898 >>>>>> >>>>>> buf = '\000' >>>>>> >>>>>> len = 1024 >>>>>> >>>>>> status = >>>>>> >>>>>> event = 0x0 >>>>>> >>>>>> reply = "\000OK log level [7]", '\000' >>>>>> >>>>>> session = 0x0 >>>>>> >>>>>> channel = 0x0 >>>>>> >>>>>> revent = 0x0 >>>>>> >>>>>> var = >>>>>> >>>>>> locked = 1 >>>>>> >>>>>> __PRETTY_FUNCTION__ = "listener_run" >>>>>> >>>>>> __func__ = "listener_run" >>>>>> >>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>> threadproc/unix/thread.c:151 >>>>>> >>>>>> thread = 0x7f8eb2be4868 >>>>>> >>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>> pthread_create.c:312 >>>>>> >>>>>> __res = >>>>>> >>>>>> pd = 0x7f8eb2b20700 >>>>>> >>>>>> now = >>>>>> >>>>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>>>>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>>>>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>>>>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>>>> >>>>>> not_first_call = >>>>>> >>>>>> pagesize_m1 = >>>>>> >>>>>> sp = >>>>>> >>>>>> freesize = >>>>>> >>>>>> __PRETTY_FUNCTION__ = "start_thread" >>>>>> >>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>> >>>>>> No locals >>>>>> >>>>> >>>>> >>> >> >> -- >> 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 >> > > > > -- > mandra > c:410.258.5281 > -- 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/20160316/b4444e87/attachment-0001.html From s.safarov at gmail.com Thu Mar 17 07:37:29 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 17 Mar 2016 07:37:29 +0300 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: Please provide are link to VM. I will run VM on public IP for remote access. What is size of VM? On Thu, Mar 17, 2016 at 2:58 AM, Ben Hood <0x6e6562 at gmail.com> wrote: > Unfortunately the box is running as VMWare guest in a network with no > external access. So I can either export the VM image if you would like > to download and run it locally. Alternatively I could look into > reproducing the issue on an AWS instance, which I could then give you > access to. > > On Wed, Mar 16, 2016 at 11:26 PM, Michael Jerris wrote: > > And can you provide remote access to this box. I think I know whats > wrong but will have to fix it on the box to get it right > > > >> On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > >> > >> On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris > wrote: > >>> What is the error you are getting when you try to build current master. > >> > >> Here's a the complete output for the compiler error: > >> > >> https://gist.github.com/0x6e6562/1afb379410accfdcd123 > >> > >>> There is no need for a flag to disable libspeex, you just don't build > the module. > >> > >> I initially assumed that I could trim the modules.conf to exclude > >> libspeex, so that when the makefile was invoked on the top level, then > >> the libspeex module is just ignored. However, this doesn't appear to > >> be the case, so for the sake of expediency, I decided to supply the > >> speex dependency manually and just moved on to the next problem, which > >> was the non-compilability of the C++ code in libvpx on Solaris, > >> combined with the fact that gcc was producing a 32 bit image that the > >> 64 bit libfreeswitch is going to have to link against. > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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/20160317/b6940518/attachment.html From s.safarov at gmail.com Thu Mar 17 07:43:40 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 17 Mar 2016 07:43:40 +0300 Subject: [Freeswitch-users] Windows build In-Reply-To: References: <9589f6e5d757412ba5d620cf8e2bf26c@imladris.sermotec.local> <56E10D5D.1000303@zg.t-com.hr> <38494249596647c6a08591eca41e3000@imladris.sermotec.local> Message-ID: One week ago I successfully compiled mod_V8 on CentOS 7. May be switch to Linux? On Thu, Mar 17, 2016 at 12:49 AM, Gregor Nanger wrote: > Thank you Harald. > > I tried with latest branch 1.7 and x64 and got errors regarding mod_V8. I > tried what Peter suggested, but I am more in c# and web projects and do not > have experience in building C++ projects. There is already prebuilt setup > on freeswitch site, so someone successfully build it :-)) It is not so > important for us at this point to make own build, so will try again later. > > > 2016-03-11 7:32 GMT+01:00 Harald Petrovitsch < > Harald.Petrovitsch at sermotec.at>: > >> Hi Gregor, >> >> >> >> I only do a >> >> Git.exe clone ?bv1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git . >> >> >> >> Loaded the solution into vs2015, set configuration Win32 / Release and >> press f7 (need to do it two times) >> >> >> >> The build ended with >> >> ========== Build: 20 succeeded, 0 failed, 157 up-to-date, 15 skipped >> ========== >> >> >> >> I?ve attached a list of the generated mod folder >> >> >> >> Regards >> >> Harald >> >> >> >> *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Shishko >> *Gesendet:* Donnerstag, 10. M?rz 2016 07:00 >> *An:* freeswitch-users at lists.freeswitch.org >> >> *Betreff:* Re: [Freeswitch-users] Windows build >> >> >> >> Hi Harald, >> >> what did you do to build libv8 and mod_v8? I tried with VS2015 Update 1, >> branch 1.6, but to no avail. >> >> Thanks >> >> On 03/07/2016 08:20 AM, Harald Petrovitsch wrote: >> >> 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 v**on *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 >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at 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/20160317/0d8b75b5/attachment-0001.html From richard.mace at gmail.com Thu Mar 17 11:19:02 2016 From: richard.mace at gmail.com (Richard Mace) Date: Thu, 17 Mar 2016 08:19:02 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: Here is the pastbin: http://pastebin.com/DhQDZdd7 Thanks Richard On 16 March 2016 at 18:02, ?talo Rossi wrote: > Whats the output of > > apt-get update > > pastebin it > > On Wed, Mar 16, 2016 at 1:05 PM, Richard Mace > wrote: > >> >>> Make sure you added our debian apt repo and run apt-get update without >>> any errors >>> >>> On Tue, Mar 15, 2016 at 6:04 PM, Richard Mace >>> wrote: >>> >>>> This is the link that I followed. >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>>> >>>> Thanks >>>> >>>> Richard >>>> >>>> >> ?Yes, I think I did that by typing the following?: >> >> echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie >> main" > /etc/apt/sources.list.d/freeswitch.list >> >> and then: >> >> apt-get update && apt-get install -y freeswitch-all freeswitch-all-dbg gdb >> >> but the package freeswitch-all doesn't exist? >> >> Richard >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/ce5d7d04/attachment.html From 0x6e6562 at gmail.com Thu Mar 17 12:28:05 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Thu, 17 Mar 2016 09:28:05 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: On Thu, Mar 17, 2016 at 4:37 AM, Sergey Safarov wrote: > Please provide are link to VM. I will run VM on public IP for remote access. https://www.dropbox.com/sh/nlmn2g9uhyhnjtm/AABR7MphpAcMAYXzYCrWlL6La?dl=0 login: root/passw0rd > What is size of VM? The image is 7.2 GB. It's effectively a vanilla install - the only tweaks I have made are to install the minimal required build tools: $ pkg install git gcc make libtool autoconf pkg-config automake The FS source tree is in /opt/freeswitch. I've begun to compile the dependencies into /opt/fs_libs (e.g. libspeex). I haven't compiled libsndfile yet, that is next on the todo list - I have been blocked by this libvpx dependency until now. From miha at softnet.si Thu Mar 17 13:02:11 2016 From: miha at softnet.si (Miha) Date: Thu, 17 Mar 2016 11:02:11 +0100 Subject: [Freeswitch-users] user busy, Q=850,cause=16 Message-ID: <56EA80A3.4040108@softnet.si> Hi I am getting this: SIP/2.0 486 Busy Here. Reason: Q.850;cause=17;text="USER_BUSY" but FS trasnfer this to: SIP/2.0 486 Busy Here Reason: Q.850;cause=16;text="NORMAL_CLEARING". which is not ok it should send cause=17 further. I tried with: continue_on_fail=false hangup_after_bridge=true before bridge but no luck. Could some help me resolve this issue? tnx miha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/b318fced/attachment.html From mandra at gmail.com Thu Mar 17 13:24:03 2016 From: mandra at gmail.com (Chris Mandra) Date: Thu, 17 Mar 2016 06:24:03 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Thanks for responding Anthony! I may just use mod curl instead of native bc it has the functionality I need. How can I find info on how to use the api interface - maybe examples of how to use the api interface from c or c++? Freeswitch is an amazing thing. Thanks for making it available to regular people. Thanks! chris On Thu, Mar 17, 2016 at 12:25 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Via one of the exposed interfaces like api interface etc. > Why do you need mod_curl and native curl at the same time? > > > On Wednesday, March 16, 2016, Chris Mandra wrote: > >> Thanks for the responses guys. I have another question: I need to call >> mod_curl api from my module. What's the proper way to call a module from a >> module? >> thanks, chris >> >> On Wed, Mar 16, 2016 at 4:54 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> If you use more threads you just need to make sure the objects are >>> properly scoped. For instance, if you want to use a session from the other >>> thread you need to read lock it for the life of the thread. Objects shared >>> need to be dynamically allocated and properly mutexed etc. >>> >>> Whatever thread you call curl from will be used for the whole >>> curl operation. >>> >>> >>> On Wednesday, March 16, 2016, Michael Jerris wrote: >>> >>>> depends on your needs. The concern would be trying to access those >>>> objects across threads potentially could cause issues depending on if they >>>> are syncronized or not, easier to just not do it and not have the concern. >>>> Anthony is suggesting looking at how we do it in other places. Life cycle >>>> could be an issue, are you destroying things too early? >>>> >>>> On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: >>>> >>>> Thanks for responding Anthony. Can you tell me this: >>>> Should curl calls be done in separate thread or is it ok to do them in >>>> the main thread of modules? >>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>> >>>>> >>>>> Should curl calls be done in separate thread or is it ok to do them in >>>>> the main thread of modules? >>>>> On Tuesday, March 15, 2016, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> Curl is used in a few places and is not unstable. Study some of >>>>>> those mods and maybe you can see how to use it in a typical situation. >>>>>> Probably its related to memory management or lifecycle of objects you may >>>>>> be using. >>>>>> >>>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>>> >>>>>>> Hey guys, I'm working on a simple media bug module using FS 1.6. >>>>>>> When a call comes in I'm calling switch_curl doing an http get. >>>>>>> >>>>>>> In switch_standard_app I use switch_curl and invoke >>>>>>> switch_curl_easy_perform and exit after that. >>>>>>> >>>>>>> Calling switch_curl seems very unstable. It's crashing free switch >>>>>>> most of the time. Are there any things I should be looking for related to >>>>>>> this? I'm wondering if maybe this is a threading issue? Any ideas? >>>>>>> I've included some backtraces >>>>>>> >>>>>>> Thanks, chris >>>>>>> >>>>>>> >>>>>>> (gdb) bt >>>>>>> >>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>> >>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>> >>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") >>>>>>> at ../sysdeps/posix/libc_fatal.c:175 >>>>>>> >>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>> >>>>>>> #4 _int_free (av=, p=, have_lock=0) >>>>>>> at malloc.c:3840 >>>>>>> >>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>>> at src/switch_log.c:136 >>>>>>> >>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>>> mod_event_socket.c:1361 >>>>>>> >>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>> >>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>>> threadproc/unix/thread.c:151 >>>>>>> >>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>>> pthread_create.c:312 >>>>>>> >>>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>> >>>>>>> >>>>>>> *[* >>>>>>> >>>>>>> >>>>>>> 5:44 >>>>>>> >>>>>>> >>>>>>> *]* >>>>>>> >>>>>>> >>>>>>> (gdb) bt full >>>>>>> >>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>> >>>>>>> resultvar = 0 >>>>>>> >>>>>>> pid = 18329 >>>>>>> >>>>>>> selftid = 18421 >>>>>>> >>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>> >>>>>>> save_stage = 2 >>>>>>> >>>>>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction >>>>>>> = 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, >>>>>>> sa_restorer = 0x0} >>>>>>> >>>>>>> sigs = {__val = {32, 0 }} >>>>>>> >>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") >>>>>>> at ../sysdeps/posix/libc_fatal.c:175 >>>>>>> >>>>>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = >>>>>>> 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>>>>> >>>>>>> fd = 2 >>>>>>> >>>>>>> on_2 = >>>>>>> >>>>>>> list = >>>>>>> >>>>>>> nlist = >>>>>>> >>>>>>> cp = >>>>>>> >>>>>>> written = >>>>>>> >>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>> >>>>>>> buf = "00007f8ed0036700" >>>>>>> >>>>>>> cp = >>>>>>> >>>>>>> #4 _int_free (av=, p=, have_lock=0) >>>>>>> at malloc.c:3840 >>>>>>> >>>>>>> size = >>>>>>> >>>>>>> fb = >>>>>>> >>>>>>> nextchunk = >>>>>>> >>>>>>> nextsize = >>>>>>> >>>>>>> nextinuse = >>>>>>> >>>>>>> prevsize = >>>>>>> >>>>>>> bck = >>>>>>> >>>>>>> fwd = >>>>>>> >>>>>>> errstr = >>>>>>> >>>>>>> locked = >>>>>>> >>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>>> at src/switch_log.c:136 >>>>>>> >>>>>>> node = 0x7f8ed8012ab0 >>>>>>> >>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>>> mod_event_socket.c:1361 >>>>>>> >>>>>>> dnode = 0x7f8ed8012ab0 >>>>>>> >>>>>>> do_sleep = >>>>>>> >>>>>>> mlen = 0 >>>>>>> >>>>>>> bytes = 0 >>>>>>> >>>>>>> mbuf = 0x7f8ecc1ebfc0 "" >>>>>>> >>>>>>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: >>>>>>> 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: >>>>>>> retrieve\nLog-Line: 115\nUser-Data: \347@ >>>>>>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>>>>> >>>>>>> len = 88 >>>>>>> >>>>>>> status = SWITCH_STATUS_BREAK >>>>>>> >>>>>>> count = 0 >>>>>>> >>>>>>> elapsed = >>>>>>> >>>>>>> start = 1457966137 >>>>>>> >>>>>>> pop = 0x7f8ed8012ab0 >>>>>>> >>>>>>> ptr = 0x7f8ecc1ebfc0 "" >>>>>>> >>>>>>> crcount = 0 '\000' >>>>>>> >>>>>>> buf_len = 2048 >>>>>>> >>>>>>> channel = 0x0 >>>>>>> >>>>>>> clen = 0 >>>>>>> >>>>>>> __PRETTY_FUNCTION__ = "read_packet" >>>>>>> >>>>>>> __func__ = "read_packet" >>>>>>> >>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>> >>>>>>> listener = 0x7f8ebc027898 >>>>>>> >>>>>>> buf = '\000' >>>>>>> >>>>>>> len = 1024 >>>>>>> >>>>>>> status = >>>>>>> >>>>>>> event = 0x0 >>>>>>> >>>>>>> reply = "\000OK log level [7]", '\000' >>>>>>> >>>>>>> session = 0x0 >>>>>>> >>>>>>> channel = 0x0 >>>>>>> >>>>>>> revent = 0x0 >>>>>>> >>>>>>> var = >>>>>>> >>>>>>> locked = 1 >>>>>>> >>>>>>> __PRETTY_FUNCTION__ = "listener_run" >>>>>>> >>>>>>> __func__ = "listener_run" >>>>>>> >>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>>> threadproc/unix/thread.c:151 >>>>>>> >>>>>>> thread = 0x7f8eb2be4868 >>>>>>> >>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>>> pthread_create.c:312 >>>>>>> >>>>>>> __res = >>>>>>> >>>>>>> pd = 0x7f8eb2b20700 >>>>>>> >>>>>>> now = >>>>>>> >>>>>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>>>>>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>>>>>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>>>>>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>>>>> >>>>>>> not_first_call = >>>>>>> >>>>>>> pagesize_m1 = >>>>>>> >>>>>>> sp = >>>>>>> >>>>>>> freesize = >>>>>>> >>>>>>> __PRETTY_FUNCTION__ = "start_thread" >>>>>>> >>>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>> >>>>>>> No locals >>>>>>> >>>>>> >>>>>> >>>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> mandra >> c:410.258.5281 >> > > > -- > 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 > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/2033b5c0/attachment-0001.html From victor.medina at cibersys.com Thu Mar 17 14:41:52 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Thu, 17 Mar 2016 07:11:52 -0430 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: Ben. Only saying i was trying to Build m?ster myself to give it a try. El 16/3/2016 15:41, "Ben Hood" <0x6e6562 at gmail.com> escribi?: > Hi Victor, > > I'm not quite sure I understand your response - was I maybe asking about > something that makes no sense? > > Ben > > On 16 Mar 2016, at 19:27, Victor Medina > wrote: > > building... ? > > 2016-03-16 14:44 GMT-04:30 Ben Hood <0x6e6562 at gmail.com>: > >> Is libvpx optional, i.e. is there a way to disable libvpx support in >> the build (e.g. by supplying --without-libvpx to the configure >> script)? >> >> On Wed, Feb 24, 2016 at 11:49 PM, Michael Jerris wrote: >> > please note this important change that went into master today. As of >> today, we are no longer using system versions of libyuv and libvpx due to >> major conflicts with system versions of these libraries. These are now >> built static into the freeswitch core. Also note, mod_vpx no longer >> exists, it is automatically loaded as part of the core and you will no >> longer have mod_vpx.so or have to manually load it. I'll have more details >> coming, but let me know if you have any questions. Please note for anyone >> doing cross compiling, this probably needs a bit more work for you, I'll be >> working on fixing that this week. >> > >> > Mike >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at 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 >> > > > > -- > > > > V?ctor E. Medina M. > Platform Architect / Chief Infrastructure > +58424 291 4561 > BB #79A8AFA2 > @VMCibersys > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160317/c64df77c/attachment.html From mike at jerris.com Thu Mar 17 14:49:04 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 17 Mar 2016 07:49:04 -0400 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: i386? On Thursday, March 17, 2016, Richard Mace wrote: > Here is the pastbin: http://pastebin.com/DhQDZdd7 > > Thanks > > Richard > > On 16 March 2016 at 18:02, ?talo Rossi > wrote: > >> Whats the output of >> >> apt-get update >> >> pastebin it >> >> On Wed, Mar 16, 2016 at 1:05 PM, Richard Mace > > wrote: >> >>> >>>> Make sure you added our debian apt repo and run apt-get update without >>>> any errors >>>> >>>> On Tue, Mar 15, 2016 at 6:04 PM, Richard Mace >>> > wrote: >>>> >>>>> This is the link that I followed. >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>>>> >>>>> Thanks >>>>> >>>>> Richard >>>>> >>>>> >>> ?Yes, I think I did that by typing the following?: >>> >>> echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie >>> main" > /etc/apt/sources.list.d/freeswitch.list >>> >>> and then: >>> >>> apt-get update && apt-get install -y freeswitch-all freeswitch-all-dbg >>> gdb >>> >>> but the package freeswitch-all doesn't exist? >>> >>> Richard >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/38ae5ab7/attachment.html From cmrienzo at gmail.com Thu Mar 17 14:49:21 2016 From: cmrienzo at gmail.com (cmrienzo at gmail.com) Date: Thu, 17 Mar 2016 07:49:21 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: Grep for switch_api_execute > On Mar 17, 2016, at 06:24, Chris Mandra wrote: > > > > Thanks for responding Anthony! > I may just use mod curl instead of native bc it has the functionality I need. How can I find info on how to use the api interface - maybe examples of how > to use the api interface from c or c++? > Freeswitch is an amazing thing. Thanks for making it available to regular people. > Thanks! > chris > >> On Thu, Mar 17, 2016 at 12:25 AM, Anthony Minessale wrote: >> Via one of the exposed interfaces like api interface etc. >> Why do you need mod_curl and native curl at the same time? >> >> >>> On Wednesday, March 16, 2016, Chris Mandra wrote: >>> Thanks for the responses guys. I have another question: I need to call mod_curl api from my module. What's the proper way to call a module from a module? >>> thanks, chris >>> >>>> On Wed, Mar 16, 2016 at 4:54 PM, Anthony Minessale wrote: >>>> If you use more threads you just need to make sure the objects are properly scoped. For instance, if you want to use a session from the other thread you need to read lock it for the life of the thread. Objects shared need to be dynamically allocated and properly mutexed etc. >>>> >>>> Whatever thread you call curl from will be used for the whole curl operation. >>>> >>>> >>>>> On Wednesday, March 16, 2016, Michael Jerris wrote: >>>>> depends on your needs. The concern would be trying to access those objects across threads potentially could cause issues depending on if they are syncronized or not, easier to just not do it and not have the concern. Anthony is suggesting looking at how we do it in other places. Life cycle could be an issue, are you destroying things too early? >>>>> >>>>>> On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: >>>>>> >>>>>> Thanks for responding Anthony. Can you tell me this: >>>>>> Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? >>>>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>>>> >>>>>>> Should curl calls be done in separate thread or is it ok to do them in the main thread of modules? >>>>>>>> On Tuesday, March 15, 2016, Anthony Minessale wrote: >>>>>>>> Curl is used in a few places and is not unstable. Study some of those mods and maybe you can see how to use it in a typical situation. Probably its related to memory management or lifecycle of objects you may be using. >>>>>>>> >>>>>>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>>>>>> Hey guys, I'm working on a simple media bug module using FS 1.6. When a call comes in I'm calling switch_curl doing an http get. >>>>>>>>> In switch_standard_app I use switch_curl and invoke switch_curl_easy_perform and exit after that. >>>>>>>>> >>>>>>>>> Calling switch_curl seems very unstable. It's crashing free switch most of the time. Are there any things I should be looking for related to this? I'm wondering if maybe this is a threading issue? Any ideas? >>>>>>>>> >>>>>>>>> I've included some backtraces >>>>>>>>> >>>>>>>>> Thanks, chris >>>>>>>>> >>>>>>>>> >>>>>>>>> (gdb) bt >>>>>>>>> >>>>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>>>> >>>>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>>>> >>>>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 >>>>>>>>> >>>>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>>>> >>>>>>>>> #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 >>>>>>>>> >>>>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 >>>>>>>>> >>>>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 >>>>>>>>> >>>>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>>>> >>>>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 >>>>>>>>> >>>>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 >>>>>>>>> >>>>>>>>> #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> [ >>>>>>>>> >>>>>>>>> 5:44 >>>>>>>>> >>>>>>>>> ] >>>>>>>>> >>>>>>>>> (gdb) bt full >>>>>>>>> >>>>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>>>> >>>>>>>>> resultvar = 0 >>>>>>>>> >>>>>>>>> pid = 18329 >>>>>>>>> >>>>>>>>> selftid = 18421 >>>>>>>>> >>>>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>>>> >>>>>>>>> save_stage = 2 >>>>>>>>> >>>>>>>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x0} >>>>>>>>> >>>>>>>>> sigs = {__val = {32, 0 }} >>>>>>>>> >>>>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 >>>>>>>>> >>>>>>>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area = 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>>>>>>> >>>>>>>>> fd = 2 >>>>>>>>> >>>>>>>>> on_2 = >>>>>>>>> >>>>>>>>> list = >>>>>>>>> >>>>>>>>> nlist = >>>>>>>>> >>>>>>>>> cp = >>>>>>>>> >>>>>>>>> written = >>>>>>>>> >>>>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>>>> >>>>>>>>> buf = "00007f8ed0036700" >>>>>>>>> >>>>>>>>> cp = >>>>>>>>> >>>>>>>>> #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 >>>>>>>>> >>>>>>>>> size = >>>>>>>>> >>>>>>>>> fb = >>>>>>>>> >>>>>>>>> nextchunk = >>>>>>>>> >>>>>>>>> nextsize = >>>>>>>>> >>>>>>>>> nextinuse = >>>>>>>>> >>>>>>>>> prevsize = >>>>>>>>> >>>>>>>>> bck = >>>>>>>>> >>>>>>>>> fwd = >>>>>>>>> >>>>>>>>> errstr = >>>>>>>>> >>>>>>>>> locked = >>>>>>>>> >>>>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) at src/switch_log.c:136 >>>>>>>>> >>>>>>>>> node = 0x7f8ed8012ab0 >>>>>>>>> >>>>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at mod_event_socket.c:1361 >>>>>>>>> >>>>>>>>> dnode = 0x7f8ed8012ab0 >>>>>>>>> >>>>>>>>> do_sleep = >>>>>>>>> >>>>>>>>> mlen = 0 >>>>>>>>> >>>>>>>>> bytes = 0 >>>>>>>>> >>>>>>>>> mbuf = 0x7f8ecc1ebfc0 "" >>>>>>>>> >>>>>>>>> buf = "Content-Type: log/data\nContent-Length: 88\nLog-Level: 7\nText-Channel: 3\nLog-File: param_hps_strategy.cpp\nLog-Func: retrieve\nLog-Line: 115\nUser-Data: \347@\247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>>>>>>> >>>>>>>>> len = 88 >>>>>>>>> >>>>>>>>> status = SWITCH_STATUS_BREAK >>>>>>>>> >>>>>>>>> count = 0 >>>>>>>>> >>>>>>>>> elapsed = >>>>>>>>> >>>>>>>>> start = 1457966137 >>>>>>>>> >>>>>>>>> pop = 0x7f8ed8012ab0 >>>>>>>>> >>>>>>>>> ptr = 0x7f8ecc1ebfc0 "" >>>>>>>>> >>>>>>>>> crcount = 0 '\000' >>>>>>>>> >>>>>>>>> buf_len = 2048 >>>>>>>>> >>>>>>>>> channel = 0x0 >>>>>>>>> >>>>>>>>> clen = 0 >>>>>>>>> >>>>>>>>> __PRETTY_FUNCTION__ = "read_packet" >>>>>>>>> >>>>>>>>> __func__ = "read_packet" >>>>>>>>> >>>>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>>>> >>>>>>>>> listener = 0x7f8ebc027898 >>>>>>>>> >>>>>>>>> buf = '\000' >>>>>>>>> >>>>>>>>> len = 1024 >>>>>>>>> >>>>>>>>> status = >>>>>>>>> >>>>>>>>> event = 0x0 >>>>>>>>> >>>>>>>>> reply = "\000OK log level [7]", '\000' >>>>>>>>> >>>>>>>>> session = 0x0 >>>>>>>>> >>>>>>>>> channel = 0x0 >>>>>>>>> >>>>>>>>> revent = 0x0 >>>>>>>>> >>>>>>>>> var = >>>>>>>>> >>>>>>>>> locked = 1 >>>>>>>>> >>>>>>>>> __PRETTY_FUNCTION__ = "listener_run" >>>>>>>>> >>>>>>>>> __func__ = "listener_run" >>>>>>>>> >>>>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at threadproc/unix/thread.c:151 >>>>>>>>> >>>>>>>>> thread = 0x7f8eb2be4868 >>>>>>>>> >>>>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at pthread_create.c:312 >>>>>>>>> >>>>>>>>> __res = >>>>>>>>> >>>>>>>>> pd = 0x7f8eb2b20700 >>>>>>>>> >>>>>>>>> now = >>>>>>>>> >>>>>>>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, -640791540281233069, 0, 0, 140250860095936, 140250860095232, 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>>>>>>> >>>>>>>>> not_first_call = >>>>>>>>> >>>>>>>>> pagesize_m1 = >>>>>>>>> >>>>>>>>> sp = >>>>>>>>> >>>>>>>>> freesize = >>>>>>>>> >>>>>>>>> __PRETTY_FUNCTION__ = "start_thread" >>>>>>>>> >>>>>>>>> #10 0x00007f8f00d1d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>>>> >>>>>>>>> No locals >>>>>>>>> >>>> >>>> >>>> -- >>>> 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 >>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >> >> >> >> -- >> 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 > > > > -- > 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/20160317/cd6c3708/attachment-0001.html From mike at jerris.com Thu Mar 17 14:50:52 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 17 Mar 2016 07:50:52 -0400 Subject: [Freeswitch-users] Switch_curl In-Reply-To: References: Message-ID: look for switch_api_execute. Not sure this makes the most sense in your case when you already have native curl access On Thursday, March 17, 2016, Chris Mandra wrote: > > > Thanks for responding Anthony! > I may just use mod curl instead of native bc it has the functionality I > need. How can I find info on how to use the api interface - maybe > examples of how > to use the api interface from c or c++? > Freeswitch is an amazing thing. Thanks for making it available to regular > people. > Thanks! > chris > > On Thu, Mar 17, 2016 at 12:25 AM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > >> Via one of the exposed interfaces like api interface etc. >> Why do you need mod_curl and native curl at the same time? >> >> >> On Wednesday, March 16, 2016, Chris Mandra > > wrote: >> >>> Thanks for the responses guys. I have another question: I need to call >>> mod_curl api from my module. What's the proper way to call a module from a >>> module? >>> thanks, chris >>> >>> On Wed, Mar 16, 2016 at 4:54 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> If you use more threads you just need to make sure the objects are >>>> properly scoped. For instance, if you want to use a session from the other >>>> thread you need to read lock it for the life of the thread. Objects shared >>>> need to be dynamically allocated and properly mutexed etc. >>>> >>>> Whatever thread you call curl from will be used for the whole >>>> curl operation. >>>> >>>> >>>> On Wednesday, March 16, 2016, Michael Jerris wrote: >>>> >>>>> depends on your needs. The concern would be trying to access those >>>>> objects across threads potentially could cause issues depending on if they >>>>> are syncronized or not, easier to just not do it and not have the concern. >>>>> Anthony is suggesting looking at how we do it in other places. Life cycle >>>>> could be an issue, are you destroying things too early? >>>>> >>>>> On Mar 16, 2016, at 5:00 AM, Chris Mandra wrote: >>>>> >>>>> Thanks for responding Anthony. Can you tell me this: >>>>> Should curl calls be done in separate thread or is it ok to do them in >>>>> the main thread of modules? >>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>> >>>>>> >>>>>> Should curl calls be done in separate thread or is it ok to do them >>>>>> in the main thread of modules? >>>>>> On Tuesday, March 15, 2016, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> Curl is used in a few places and is not unstable. Study some of >>>>>>> those mods and maybe you can see how to use it in a typical situation. >>>>>>> Probably its related to memory management or lifecycle of objects you may >>>>>>> be using. >>>>>>> >>>>>>> On Tuesday, March 15, 2016, Chris Mandra wrote: >>>>>>> >>>>>>>> Hey guys, I'm working on a simple media bug module using FS 1.6. >>>>>>>> When a call comes in I'm calling switch_curl doing an http get. >>>>>>>> >>>>>>>> In switch_standard_app I use switch_curl and invoke >>>>>>>> switch_curl_easy_perform and exit after that. >>>>>>>> >>>>>>>> Calling switch_curl seems very unstable. It's crashing free switch >>>>>>>> most of the time. Are there any things I should be looking for related to >>>>>>>> this? I'm wondering if maybe this is a threading issue? Any ideas? >>>>>>>> I've included some backtraces >>>>>>>> >>>>>>>> Thanks, chris >>>>>>>> >>>>>>>> >>>>>>>> (gdb) bt >>>>>>>> >>>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>>> >>>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>>> >>>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") >>>>>>>> at ../sysdeps/posix/libc_fatal.c:175 >>>>>>>> >>>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>>> >>>>>>>> #4 _int_free (av=, p=, have_lock=0) >>>>>>>> at malloc.c:3840 >>>>>>>> >>>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>>>> at src/switch_log.c:136 >>>>>>>> >>>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>>>> mod_event_socket.c:1361 >>>>>>>> >>>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>>> >>>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>>>> threadproc/unix/thread.c:151 >>>>>>>> >>>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>>>> pthread_create.c:312 >>>>>>>> >>>>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>>> >>>>>>>> >>>>>>>> *[* >>>>>>>> >>>>>>>> >>>>>>>> 5:44 >>>>>>>> >>>>>>>> >>>>>>>> *]* >>>>>>>> >>>>>>>> >>>>>>>> (gdb) bt full >>>>>>>> >>>>>>>> #0 0x00007f8f00c59cc9 in __GI_raise (sig=sig at entry=6) at >>>>>>>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56 >>>>>>>> >>>>>>>> resultvar = 0 >>>>>>>> >>>>>>>> pid = 18329 >>>>>>>> >>>>>>>> selftid = 18421 >>>>>>>> >>>>>>>> #1 0x00007f8f00c5d0d8 in __GI_abort () at abort.c:89 >>>>>>>> >>>>>>>> save_stage = 2 >>>>>>>> >>>>>>>> act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction >>>>>>>> = 0x0}, sa_mask = {__val = {0 }}, sa_flags = 0, >>>>>>>> sa_restorer = 0x0} >>>>>>>> >>>>>>>> sigs = {__val = {32, 0 }} >>>>>>>> >>>>>>>> #2 0x00007f8f00c96394 in __libc_message (do_abort=do_abort at entry=1, >>>>>>>> fmt=fmt at entry=0x7f8f00da4b28 "*** Error in `%s': %s: 0x%s ***\n") >>>>>>>> at ../sysdeps/posix/libc_fatal.c:175 >>>>>>>> >>>>>>>> ap = {{gp_offset = 40, fp_offset = 32654, overflow_arg_area >>>>>>>> = 0x7f8eb2b1f010, reg_save_area = 0x7f8eb2b1efa0}} >>>>>>>> >>>>>>>> fd = 2 >>>>>>>> >>>>>>>> on_2 = >>>>>>>> >>>>>>>> list = >>>>>>>> >>>>>>>> nlist = >>>>>>>> >>>>>>>> cp = >>>>>>>> >>>>>>>> written = >>>>>>>> >>>>>>>> #3 0x00007f8f00ca266e in malloc_printerr (ptr=, >>>>>>>> str=0x7f8f00da0c19 "free(): invalid pointer", action=1) at malloc.c:4996 >>>>>>>> >>>>>>>> buf = "00007f8ed0036700" >>>>>>>> >>>>>>>> cp = >>>>>>>> >>>>>>>> #4 _int_free (av=, p=, have_lock=0) >>>>>>>> at malloc.c:3840 >>>>>>>> >>>>>>>> size = >>>>>>>> >>>>>>>> fb = >>>>>>>> >>>>>>>> nextchunk = >>>>>>>> >>>>>>>> nextsize = >>>>>>>> >>>>>>>> nextinuse = >>>>>>>> >>>>>>>> prevsize = >>>>>>>> >>>>>>>> bck = >>>>>>>> >>>>>>>> fwd = >>>>>>>> >>>>>>>> errstr = >>>>>>>> >>>>>>>> locked = >>>>>>>> >>>>>>>> #5 0x00007f8f01334567 in switch_log_node_free (pnode=pnode at entry=0x7f8eb2b1f158) >>>>>>>> at src/switch_log.c:136 >>>>>>>> >>>>>>>> node = 0x7f8ed8012ab0 >>>>>>>> >>>>>>>> #6 0x00007f8eeb192a24 in read_packet (listener=listener at entry=0x7f8ebc027898, >>>>>>>> event=event at entry=0x7f8eb2b1f7f0, timeout=timeout at entry=0) at >>>>>>>> mod_event_socket.c:1361 >>>>>>>> >>>>>>>> dnode = 0x7f8ed8012ab0 >>>>>>>> >>>>>>>> do_sleep = >>>>>>>> >>>>>>>> mlen = 0 >>>>>>>> >>>>>>>> bytes = 0 >>>>>>>> >>>>>>>> mbuf = 0x7f8ecc1ebfc0 "" >>>>>>>> >>>>>>>> buf = "Content-Type: log/data\nContent-Length: >>>>>>>> 88\nLog-Level: 7\nText-Channel: 3\nLog-File: >>>>>>>> param_hps_strategy.cpp\nLog-Func: retrieve\nLog-Line: 115\nUser-Data: \347@ >>>>>>>> \247\a\n\n\000\n\n\000\065-418f-a6d1-9dc8f48e0cf9\n\n\000\000\071\n\n\000c8f48e0cf9"... >>>>>>>> >>>>>>>> len = 88 >>>>>>>> >>>>>>>> status = SWITCH_STATUS_BREAK >>>>>>>> >>>>>>>> count = 0 >>>>>>>> >>>>>>>> elapsed = >>>>>>>> >>>>>>>> start = 1457966137 >>>>>>>> >>>>>>>> pop = 0x7f8ed8012ab0 >>>>>>>> >>>>>>>> ptr = 0x7f8ecc1ebfc0 "" >>>>>>>> >>>>>>>> crcount = 0 '\000' >>>>>>>> >>>>>>>> buf_len = 2048 >>>>>>>> >>>>>>>> channel = 0x0 >>>>>>>> >>>>>>>> clen = 0 >>>>>>>> >>>>>>>> __PRETTY_FUNCTION__ = "read_packet" >>>>>>>> >>>>>>>> __func__ = "read_packet" >>>>>>>> >>>>>>>> #7 0x00007f8eeb1988a0 in listener_run (thread=, >>>>>>>> obj=0x7f8ebc027898) at mod_event_socket.c:2719 >>>>>>>> >>>>>>>> listener = 0x7f8ebc027898 >>>>>>>> >>>>>>>> buf = '\000' >>>>>>>> >>>>>>>> len = 1024 >>>>>>>> >>>>>>>> status = >>>>>>>> >>>>>>>> event = 0x0 >>>>>>>> >>>>>>>> reply = "\000OK log level [7]", '\000' >>>>>>>> >>>>>>>> session = 0x0 >>>>>>>> >>>>>>>> channel = 0x0 >>>>>>>> >>>>>>>> revent = 0x0 >>>>>>>> >>>>>>>> var = >>>>>>>> >>>>>>>> locked = 1 >>>>>>>> >>>>>>>> __PRETTY_FUNCTION__ = "listener_run" >>>>>>>> >>>>>>>> __func__ = "listener_run" >>>>>>>> >>>>>>>> #8 0x00007f8f01544430 in dummy_worker (opaque=0x7f8eb2be4868) at >>>>>>>> threadproc/unix/thread.c:151 >>>>>>>> >>>>>>>> thread = 0x7f8eb2be4868 >>>>>>>> >>>>>>>> #9 0x00007f8f00ff0182 in start_thread (arg=0x7f8eb2b20700) at >>>>>>>> pthread_create.c:312 >>>>>>>> >>>>>>>> __res = >>>>>>>> >>>>>>>> pd = 0x7f8eb2b20700 >>>>>>>> >>>>>>>> now = >>>>>>>> >>>>>>>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140250860095232, >>>>>>>> -640791540281233069, 0, 0, 140250860095936, 140250860095232, >>>>>>>> 578173923610734931, 577994035108262227}, mask_was_saved = 0}}, priv = {pad >>>>>>>> = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} >>>>>>>> >>>>>>>> not_first_call = >>>>>>>> >>>>>>>> pagesize_m1 = >>>>>>>> >>>>>>>> sp = >>>>>>>> >>>>>>>> freesize = >>>>>>>> >>>>>>>> __PRETTY_FUNCTION__ = "start_thread" >>>>>>>> >>>>>>>> #10 0x00007f8f00d1d47d in clone () at >>>>>>>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >>>>>>>> >>>>>>>> No locals >>>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> >>> >>> -- >>> mandra >>> c:410.258.5281 >>> >> >> >> -- >> 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 >> > > > > -- > mandra > c:410.258.5281 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/aff5a6ac/attachment-0001.html From piotrek.gregor at gmail.com Thu Mar 17 14:52:45 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Thu, 17 Mar 2016 11:52:45 +0000 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: Hi Abaci, It is not necessary. I will take a look at this, but first we need to merge what is already awaiting. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/8999c129/attachment.html From richard.mace at gmail.com Thu Mar 17 14:59:45 2016 From: richard.mace at gmail.com (Richard Mace) Date: Thu, 17 Mar 2016 11:59:45 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: Yes, is that the problem? Richard On 17 March 2016 at 11:49, Michael Jerris wrote: > i386? > > > On Thursday, March 17, 2016, Richard Mace wrote: > >> Here is the pastbin: http://pastebin.com/DhQDZdd7 >> >> Thanks >> >> Richard >> >> On 16 March 2016 at 18:02, ?talo Rossi wrote: >> >>> Whats the output of >>> >>> apt-get update >>> >>> pastebin it >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/1908902d/attachment.html From italo at freeswitch.org Thu Mar 17 15:34:30 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Thu, 17 Mar 2016 05:34:30 -0700 (PDT) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt Message-ID: FreeSWITCHers, Join us TODAY 2PM CST for the Thursday FreeSWITCH Bug Hunt! Where? [conference.freeswitch.org/vc/#/?autocall=888](https://conference.frees witch.org/vc/#/?autocall=888 "https://conference.freeswitch.org/vc/#/?autocall=888" ) Chat? What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! Help us help you, Join the Bug Hunt! ?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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/e30ad2f0/attachment.html From jhunter at voxboxcoms.co.uk Thu Mar 17 16:07:43 2016 From: jhunter at voxboxcoms.co.uk (Jonathan Hunter) Date: Thu, 17 Mar 2016 13:07:43 +0000 Subject: [Freeswitch-users] Set Sofia Profile Parameters in dialplan-bypass-media-after-hold Message-ID: Hi Guys, Sorry for the question. Is it possible to set the following parameter in dialplan as appose to profile so I can apply it on the fly? I am using bypass_media_after_bridge so that local users can have local RTP, however I would ideally like to set the parameter; I know I can see in the profile but can it be set in dialplan, and if so whats the syntax? Many thanks Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/7eacdb48/attachment.html From richard.mace at gmail.com Thu Mar 17 16:38:52 2016 From: richard.mace at gmail.com (Richard Mace) Date: Thu, 17 Mar 2016 13:38:52 +0000 Subject: [Freeswitch-users] Debian 8 and FreeSWITCH package install In-Reply-To: References: Message-ID: That WAS the problem. Thanks, all sorted now. Richard On 17 March 2016 at 11:59, Richard Mace wrote: > Yes, is that the problem? > > Richard > > On 17 March 2016 at 11:49, Michael Jerris wrote: > >> i386? >> >> >> On Thursday, March 17, 2016, Richard Mace wrote: >> >>> Here is the pastbin: http://pastebin.com/DhQDZdd7 >>> >>> Thanks >>> >>> Richard >>> >>> On 16 March 2016 at 18:02, ?talo Rossi wrote: >>> >>>> Whats the output of >>>> >>>> apt-get update >>>> >>>> pastebin it >>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/80cb4863/attachment.html From vma at 440hz.fr Thu Mar 17 16:43:49 2016 From: vma at 440hz.fr (Vallimamod Abdullah) Date: Thu, 17 Mar 2016 14:43:49 +0100 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: Message-ID: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Hi Piotr, I am glad that you are working on the avmd module! I tried myself a few months ago but found the code very difficult to follow and debug due to its overuse of macros. Do you plan to rewrite these macros as inline functions? For my part, I ended up rewriting all these macros as functions just to understand the code. I eventually wrote a new module from scratch as I noticed the bugs you mention and needed incompatible changes in the api. But had not time to clean it up and check the licensing matters yet. The real breakthrough is actually the one you mentioned in FS-8875: I have noticed real improvements in the cpu usage and detection accuracy by checking only the convergence of OMEGA instead of sin(OMEGA) and thus avoiding the sin calculation entirely! I will be glad to help in any way. Please keep me in touch when you publish your patch, I?ll be happy to have a look. Best Regards, Vallimamod . > On 16 Mar 2016, at 02:13, Piotr Gregor wrote: > > Hi Abaci, > > what issues do you mean by "same issue"? > Is this amount of false positives? > Could you describe the tests you perform in more details please? > > The avmd module is being revised by myself at this moment > and there is at least one bug in this module that influence the results > FS-8855 fix calc of variance of tone's freq estimator > > and it has been fixed now in pull request #714 and will be merged soon > after I do some more testing and rebase, to the end of this week. > Apart from this, there are improvements coming, e.g. > > FS-8875 Enable faster beep detection > > cheers, > Piotr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160317/bba40b8b/attachment-0001.html From 0x6e6562 at gmail.com Thu Mar 17 17:14:47 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Thu, 17 Mar 2016 14:14:47 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: Message-ID: On Thu, Mar 17, 2016 at 11:41 AM, Victor Medina wrote: > > Only saying i was trying to Build m?ster myself to give it a try. > Victor - cool, now I understand where you're coming from :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/65856971/attachment.html From amani.mansour2 at gmail.com Thu Mar 17 12:45:04 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Thu, 17 Mar 2016 10:45:04 +0100 Subject: [Freeswitch-users] (no subject) Message-ID: Hi , How can I make a call between 2 freeSWITCH using socket ? with : i have 2 virtual machine ,i installed in each one a serveur freeswitch and the softphone is installed in host machine thanks amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/08acbf56/attachment.html From luis.azedo at factorlusitano.com Thu Mar 17 20:02:26 2016 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Thu, 17 Mar 2016 10:02:26 -0700 Subject: [Freeswitch-users] playback mp4 file Message-ID: Hi, on latest master (debian 8), trying to playback a mp4 file i got only the audio part. tried with webrtc client and jitsi. mod_av is running and libavcodec-extra is installed https://gist.github.com/lazedo/14b34196e50e9b7b5d41 any hints ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160317/1debb19e/attachment.html From s.safarov at gmail.com Thu Mar 17 20:52:15 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 17 Mar 2016 17:52:15 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: My VMware ESXi 6.0 could read provided VMDK disk. Could you, pelase, export VM to OVF template (File -> Export -> Export OFV template). Also, please configure VM ip 91.103.196.10 netmask 255.255.255.248 gateway 91.103.196.9 Sergey ??, 17 ???. 2016 ?. ? 12:29, Ben Hood <0x6e6562 at gmail.com>: > On Thu, Mar 17, 2016 at 4:37 AM, Sergey Safarov > wrote: > > Please provide are link to VM. I will run VM on public IP for remote > access. > > https://www.dropbox.com/sh/nlmn2g9uhyhnjtm/AABR7MphpAcMAYXzYCrWlL6La?dl=0 > > login: root/passw0rd > > > What is size of VM? > > The image is 7.2 GB. > > It's effectively a vanilla install - the only tweaks I have made are > to install the minimal required build tools: > > $ pkg install git gcc make libtool autoconf pkg-config automake > > The FS source tree is in /opt/freeswitch. I've begun to compile the > dependencies into /opt/fs_libs (e.g. libspeex). I haven't compiled > libsndfile yet, that is next on the todo list - I have been blocked by > this libvpx dependency until now. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160317/88e2ed10/attachment.html From italo at freeswitch.org Thu Mar 17 20:56:22 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 17 Mar 2016 14:56:22 -0300 Subject: [Freeswitch-users] user busy, Q=850,cause=16 In-Reply-To: <56EA80A3.4040108@softnet.si> References: <56EA80A3.4040108@softnet.si> Message-ID: Can you pastebin your logs and your dialplan? On Thu, Mar 17, 2016 at 7:02 AM, Miha wrote: > Hi > > I am getting this: > > SIP/2.0 486 Busy Here. > Reason: Q.850;cause=17;text="USER_BUSY" > > but FS trasnfer this to: > > SIP/2.0 486 Busy Here > Reason: Q.850;cause=16;text="NORMAL_CLEARING". > > > which is not ok it should send cause=17 further. > I tried with: > continue_on_fail=false > hangup_after_bridge=true > before bridge but no luck. > > Could some help me resolve this issue? > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160317/c90fe7d5/attachment.html From msc at freeswitch.org Thu Mar 17 23:33:59 2016 From: msc at freeswitch.org (Michael Collins) Date: Thu, 17 Mar 2016 13:33:59 -0700 Subject: [Freeswitch-users] (no subject) In-Reply-To: References: Message-ID: I think if you could add some more information to this question it would be easier for someone to respond. In your call between two FreeSWITCH systems, what are the endpoints? Also, why is socket needed? What are you trying to accomplish? -MSC On Thu, Mar 17, 2016 at 2:45 AM, amani mansour wrote: > Hi , > How can I make a call between 2 freeSWITCH using socket ? > with : i have 2 virtual machine ,i installed in each one a serveur > freeswitch > and the softphone is installed in host machine > > thanks > > amani > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160317/619341eb/attachment-0001.html From 0x6e6562 at gmail.com Fri Mar 18 02:33:14 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Thu, 17 Mar 2016 23:33:14 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: On Thu, Mar 17, 2016 at 5:52 PM, Sergey Safarov wrote: > My VMware ESXi 6.0 could read provided VMDK disk. > Could you, pelase, export VM to OVF template (File -> Export -> Export OFV > template). > Also, please configure VM ip 91.103.196.10 netmask 255.255.255.248 > gateway 91.103.196.9 Sorry about the format - that was the raw disk image from VMWare Fusion. I've exported the VM to OVF: https://www.dropbox.com/sh/d6gtou9k1ksvuws/AACiVVJVRt1V8ZetVvmYC4xCa?dl=0 I haven't configured the network because whilst being a straight forward thing to do, there's no way I could verify that it works in my setup, so I would be giving you a blindly configured image. Right now a DHCP request will be issued for the net0 device. If this is a problem, could you login via the console to set the IP and gateway? From s.safarov at gmail.com Fri Mar 18 15:39:03 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 18 Mar 2016 12:39:03 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: VM published. You can login using command "ssh -p 2230 -i id_rsa root at 91.103.196.13". Where id_rsa is file with private key. File with private key will be send to Ben and Michael Jerris. Sergey ??, 18 ???. 2016 ?. ? 2:34, Ben Hood <0x6e6562 at gmail.com>: > On Thu, Mar 17, 2016 at 5:52 PM, Sergey Safarov > wrote: > > My VMware ESXi 6.0 could read provided VMDK disk. > > Could you, pelase, export VM to OVF template (File -> Export -> Export > OFV > > template). > > Also, please configure VM ip 91.103.196.10 netmask 255.255.255.248 > > gateway 91.103.196.9 > > Sorry about the format - that was the raw disk image from VMWare Fusion. > > I've exported the VM to OVF: > > https://www.dropbox.com/sh/d6gtou9k1ksvuws/AACiVVJVRt1V8ZetVvmYC4xCa?dl=0 > > I haven't configured the network because whilst being a straight > forward thing to do, there's no way I could verify that it works in my > setup, so I would be giving you a blindly configured image. Right now > a DHCP request will be issued for the net0 device. If this is a > problem, could you login via the console to set the IP and gateway? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160318/9c58dbf0/attachment.html From eternal24 at gmail.com Fri Mar 18 17:33:58 2016 From: eternal24 at gmail.com (Eternal21) Date: Fri, 18 Mar 2016 10:33:58 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' Message-ID: I am using FreeSWITCH demo configuration to test SRTP calls. I am placing a call between endpoint 1000 and 1001. The call works fine when SRTP is disabled on the softphones. The problem starts when I enable SRTP on the softphones. I also enabled SRTP on FreeSWITCH server, by including the following command in vars.xml: When I try to place a call between the two endpoints now, I end up with one side immediately hanging up. Specifically, the error seems to be: [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because secure media is administratively disabled Followed by: [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] Couldn't find any info on how to resolve this issue online. Here's the relevant log: 2016-03-18 09:45:21.664536 [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND [DEBUG] switch_core_sqldb.c:2607 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_80 [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV [DEBUG] switch_core_sqldb.c:2607 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_80 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77! [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77) Callstate Change RINGING -> EARLY [DEBUG] mod_sofia.c:2330 Ring SDP: v=0 o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 s=FreeSWITCH c=IN IP4 10.10.10.77 t=0 0 m=audio 20188 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16 at 8000hz 1 channel 20ms [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 Push codec L16:100 [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone [%(2000,4000,440,480)] [DEBUG] sofia.c:6756 Channel sofia/internal/1000 at 10.10.10.77 entering state [early][183] [DEBUG] switch_rtp.c:6645 Correct audio ip/port confirmed. [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering state [completing][200] [DEBUG] sofia.c:6766 Remote SDP: v=0 o=VOCAL 61793 12653 IN IP4 10.10.10.112 s=- c=IN IP4 10.10.10.112 t=0 0 m=audio 1442 RTP/SAVP 0 a=rtpmap:0 PCMU/8000 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av a=ptime:20 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering state [ready][200] [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because secure media is administratively disabled [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] [DEBUG] sofia.c:1355 Channel is already hungup. 2016-03-18 09:45:26.303802 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/b9f0ab91/attachment.html From covici at ccs.covici.com Fri Mar 18 18:04:33 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 18 Mar 2016 11:04:33 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: References: Message-ID: <24460.1458313473@ccs.covici.com> They changed the name to rtp_secure_media sometime in the last few months. Eternal21 wrote: > I am using FreeSWITCH demo configuration to test SRTP calls. I am placing > a call between endpoint 1000 and 1001. The call works fine when SRTP is > disabled on the softphones. The problem starts when I enable SRTP on the > softphones. I also enabled SRTP on FreeSWITCH server, by including the > following command in vars.xml: > > > > When I try to place a call between the two endpoints now, I end up with one > side immediately hanging up. > Specifically, the error seems to be: > [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because > secure media is administratively disabled > > Followed by: > [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] > > Couldn't find any info on how to resolve this issue online. > > Here's the relevant log: > 2016-03-18 09:45:21.664536 > > [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND > [DEBUG] switch_core_sqldb.c:2607 Secure Type: > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV > [DEBUG] switch_core_sqldb.c:2607 Secure Type: > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77! > [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77) Callstate > Change RINGING -> EARLY > [DEBUG] mod_sofia.c:2330 Ring SDP: > v=0 > o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 > s=FreeSWITCH > c=IN IP4 10.10.10.77 > t=0 0 > m=audio 20188 RTP/SAVP 0 101 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > a=sendrecv > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP > > [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16 at 8000hz > 1 channel 20ms > [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 Push codec > L16:100 > [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone > [%(2000,4000,440,480)] > [DEBUG] sofia.c:6756 Channel sofia/internal/1000 at 10.10.10.77 entering state > [early][183] > [DEBUG] switch_rtp.c:6645 Correct audio ip/port confirmed. > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering > state [completing][200] > [DEBUG] sofia.c:6766 Remote SDP: > v=0 > o=VOCAL 61793 12653 IN IP4 10.10.10.112 > s=- > c=IN IP4 10.10.10.112 > t=0 0 > m=audio 1442 RTP/SAVP 0 > a=rtpmap:0 PCMU/8000 > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av > a=ptime:20 > > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering > state [ready][200] > [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because > secure media is administratively disabled > [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] > [DEBUG] sofia.c:1355 Channel is already hungup. > > 2016-03-18 09:45:26.303802 > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From pstarzyk at general-devices.com Fri Mar 18 18:14:15 2016 From: pstarzyk at general-devices.com (Piotr Starzyk) Date: Fri, 18 Mar 2016 11:14:15 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: <24460.1458313473@ccs.covici.com> References: <24460.1458313473@ccs.covici.com> Message-ID: Thank you for a prompt response. Replacing sip_secure_media with rtp_secure_media resolved my issue. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of covici at ccs.covici.com Sent: Friday, March 18, 2016 11:05 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' They changed the name to rtp_secure_media sometime in the last few months. Eternal21 wrote: > I am using FreeSWITCH demo configuration to test SRTP calls. I am > placing a call between endpoint 1000 and 1001. The call works fine > when SRTP is disabled on the softphones. The problem starts when I > enable SRTP on the softphones. I also enabled SRTP on FreeSWITCH > server, by including the following command in vars.xml: > > > > When I try to place a call between the two endpoints now, I end up > with one side immediately hanging up. > Specifically, the error seems to be: > [WARNING] switch_core_media.c:4035 Declining invite with only SAVP > because secure media is administratively disabled > > Followed by: > [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] > > Couldn't find any info on how to resolve this issue online. > > Here's the relevant log: > 2016-03-18 09:45:21.664536 > > [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND [DEBUG] > switch_core_sqldb.c:2607 Secure Type: > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV [DEBUG] > switch_core_sqldb.c:2607 Secure Type: > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77! > [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77) > Callstate Change RINGING -> EARLY [DEBUG] mod_sofia.c:2330 Ring SDP: > v=0 > o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 s=FreeSWITCH > c=IN IP4 10.10.10.77 > t=0 0 > m=audio 20188 RTP/SAVP 0 101 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > a=sendrecv > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP > > [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success > L16 at 8000hz > 1 channel 20ms > [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 Push > codec > L16:100 > [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone > [%(2000,4000,440,480)] [DEBUG] sofia.c:6756 Channel > sofia/internal/1000 at 10.10.10.77 entering state [early][183] [DEBUG] > switch_rtp.c:6645 Correct audio ip/port confirmed. > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 > entering state [completing][200] [DEBUG] sofia.c:6766 Remote SDP: > v=0 > o=VOCAL 61793 12653 IN IP4 10.10.10.112 > s=- > c=IN IP4 10.10.10.112 > t=0 0 > m=audio 1442 RTP/SAVP 0 > a=rtpmap:0 PCMU/8000 > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av > a=ptime:20 > > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 > entering state [ready][200] [WARNING] switch_core_media.c:4035 > Declining invite with only SAVP because secure media is > administratively disabled [NOTICE] sofia.c:7742 Hangup > sofia/internal/1001 at 10.10.10.112:5060 > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] [DEBUG] sofia.c:1355 > Channel is already hungup. > > 2016-03-18 09:45:26.303802 > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users 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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.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 From adam at steffannicarpet.com Fri Mar 18 20:35:48 2016 From: adam at steffannicarpet.com (Samuel Reamer) Date: Fri, 18 Mar 2016 17:35:48 +0000 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Message-ID: Thanks all for the input, it's helped! I followed Jurijs' tutorial on setting up iptables and it seems to be working well; however, during my setup I noticed that incoming calls from the SIP provider were coming through the internal profile (port 5060, the same ports that were opened up in iptables). Is this right? The FreeSwitch documentation seems to indicate that these calls should go through the external profile. I added port 5080 to the iptables in the same fashion as above, and specified port 5080 in the SIP address called by the provider. It seems to be working, but I want to make sure that's the correct course of action. On Mon, Mar 14, 2016 at 9:16 PM Lawrence Conroy wrote: > Hi again, > true, but f2b sure does cut down on wasted traffic and vast numbers of log > entries, even with a secured dialplan. > That's why I said put in f2b, secure dialplan, and only then run fS "in > anger". > f2b simplifies/automates the firewall block/unblocking. That cuts traffic, > and in so doing, it also slows down brute force attacks to the point where > they're not really feasible unless you are a target for APT. > So, I'd argue you need both (as suggested). > > all the best, > Lawrence > > On 15 Mar 2016, at 00:35, Stanislav Sinyagin wrote: > > But what does fail2ban have to do with security? If a stranger from the > internet is able to make calls to PSTN through your PBX, you need to > prevent such access in the first place. It's a matter of dialplan planning, > and not the firewall or fail2ban. > > > > On 15 Mar 2016 00:20, "Jun Sun" wrote: > > Or simply run a prebuilt AMI image from aws. It comes with fail2ban, > firewall, etc. > > > > https://aws.amazon.com/marketplace/pp/B015ZTS2XM > > > > https://aws.amazon.com/marketplace/pp/B0191S5CU4/ > > > > Jun > > > > On Mon, Mar 14, 2016 at 2:08 PM, Lawrence Conroy < > lconroy at insensate.co.uk> wrote: > > Hi there, > > I guess you're running fS without fail2ban. > > Welcome to our world. > > BEFORE you bother trying firewall rules manually (or employing a > consultant), read up on the freeswitch web for fail2ban, and install f2b. > > See > > > > Do it BEFORE you run freeSwitch "in anger". > > > > Then secure your profiles & dialplan. > > > > Then run freeSwitch. > > > > Then ask :). > > > > all the best > > Lawrence > > (who, like most of us, has had exactly this sort of problem) > > > > On 14 Mar 2016, at 20:38, Jurijs Ivolga wrote: > > > Hi Samuel, > > > > > > Your problem has 2 solutions - easy one and not so easy: > > > > > > Easy way: > > > If you are facing such issues this mean that you very new to VoIP and > Freeswitch particularly and in my opinion it is worth to find professional > who will configure and secure your PBX, otherwise you can end up loosing > much more then 30$. > > > > > > Hard way: > > > If you still think that you can handle it, then first and most simple > way is to use iptables for blocking unwanted traffic. Below you can find my > manual: > > > > http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html > > > > > > Additionally to this you can find Freeswitch official documentation > regarding Firewall configuration: > > > https://freeswitch.org/confluence/display/FREESWITCH/Firewall > > > > > > Keep in mind that proper FW configuration will not fix all your issues > and you should understand how Freeswitch work and what each configuration > file do to secure your installation properly. > > > > > > With kind regards, > > > > > > Jurijs > > > > > > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : > > > I have a small setup for a small business that I've been testing; > however, it appears that someone has hacked there way into making calls > ($30 worth in just a few minutes). Can anyone provide me guidance on how to > prevent these calls? Below is my ACL and a partial log: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 > [NOTICE] switch_channel.c:1091 New Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 > [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Running State Change CS_NEW > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 > [DEBUG] sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving > invite from 46.166.160.136:5074 version: 1.7.0 64bit > > > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 > Rejected by acl "domains". Falling back to Digest auth. > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 > [DEBUG] switch_core_state_machine.c:492 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State NEW > > > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session > 3ff60ad1-2ac7-46e8-b841-03fff79f972e > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [WARNING] switch_core_state_machine.c:576 > 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/ > 10000000 at 192.168.0.10:5060 Abandoned > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:739 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:741 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State HANGUP > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 > hanging up, cause: WRONG_CALL_STATE > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:60 sofia/internal/ > 10000000 at 192.168.0.10:5060 Standard HANGUP, cause: WRONG_CALL_STATE > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:741 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State HANGUP going to sleep > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:508 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:827 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State REPORTING > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:104 sofia/internal/ > 10000000 at 192.168.0.10:5060 Standard REPORTING, cause: WRONG_CALL_STATE > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:827 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State REPORTING going to sleep > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:499 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_session.c:1646 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Ended > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/ > 10000000 at 192.168.0.10:5060 [CS_DESTROY] > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:630 (sofia/internal/ > 10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:640 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State DESTROY > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA > DESTROY > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:111 sofia/internal/ > 10000000 at 192.168.0.10:5060 Standard DESTROY > > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 > [DEBUG] switch_core_state_machine.c:640 (sofia/internal/ > 10000000 at 192.168.0.10:5060) State DESTROY going to sleep > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] sofia.c:5974 Remote Reason: 16 > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] sofia.c:6756 Channel sofia/external/4721935380 entering state > [terminated][480] > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] > [NORMAL_CLEARING] > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by > request from read function > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE > [sofia/external/4721935380] > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:542 (sofia/external/4721935380) State > EXCHANGE_MEDIA going to sleep > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running > State Change CS_HANGUP > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:739 (sofia/external/4721935380) > Callstate Change EARLY -> HANGUP > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State > HANGUP > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, > cause: NORMAL_CLEARING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:60 sofia/external/4721935380 Standard > HANGUP, cause: NORMAL_CLEARING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State > HANGUP going to sleep > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:508 (sofia/external/4721935380) State > Change CS_HANGUP -> CS_REPORTING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running > State Change CS_REPORTING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State > REPORTING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:104 sofia/external/4721935380 Standard > REPORTING, cause: NORMAL_CLEARING > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State > REPORTING going to sleep > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_state_machine.c:499 (sofia/external/4721935380) State > Change CS_REPORTING -> CS_DESTROY > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 > [DEBUG] switch_core_session.c:1646 Session 382 (sofia/external/4721935380) > Locked, Waiting on external entities > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ > 7070 at 76.188.116.163] > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 > [CS_EXECUTE] [NORMAL_CLEARING] > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 > [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) > Ended > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 > [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 > [CS_DESTROY] > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 > skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:539 (sofia/external/ > 7070 at 76.188.116.163) State EXECUTE going to sleep > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_HANGUP > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:630 (sofia/external/4721935380) Running > State Change CS_DESTROY > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State > DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:739 (sofia/external/ > 7070 at 76.188.116.163) Callstate Change EARLY -> HANGUP > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 > [DEBUG] mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/ > 7070 at 76.188.116.163) State HANGUP > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding SIP > cause 480 with 480 from the other leg > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 > hanging up, cause: NORMAL_CLEARING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/ > 7070 at 76.188.116.163) State HANGUP going to sleep > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:508 (sofia/external/ > 7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_REPORTING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/ > 7070 at 76.188.116.163) State REPORTING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/ > 7070 at 76.188.116.163) State REPORTING going to sleep > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:499 (sofia/external/ > 7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_session.c:1646 Session 381 (sofia/external/ > 7070 at 76.188.116.163) Locked, Waiting on external entities > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/ > 7070 at 76.188.116.163) Ended > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:630 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/ > 7070 at 76.188.116.163) State DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 > [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public > port 23574 protocol UDP to localport 23574 > > > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public > port 24394 protocol UDP to localport 24394 > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 > [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/ > 7070 at 76.188.116.163) State DESTROY going to sleep > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 > [DEBUG] switch_core_state_machine.c:111 sofia/external/4721935380 Standard > DESTROY > > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State > DESTROY going to sleep > > > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user [ > 7070 at 76.188.116.163] from 104.245.99.71 > > > You must define a domain called '76.188.116.163' in your directory and > add a user with the id="7070" attribute > > > and you must configure your device to use the proper domain in it's > authentication credentials. > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [NOTICE] switch_channel.c:1091 New Channel sofia/external/ > 7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_NEW > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite > from 104.245.99.71:6688 version: 1.7.0 64bit > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering > state [received][100] > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] sofia.c:6766 Remote SDP: > > > 351981a2-a412-49bb-a554-0df34a002f86 v=0 > > > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 > 104.245.99.71 > > > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam > > > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 > > > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 > > > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 > 18 5 101 > > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 > > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 > > > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 > > > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D > 104.245.99.71 6690 > > > 351981a2-a412-49bb-a554-0df34a002f86 > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change > CS_NEW -> CS_INIT > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:492 (sofia/external/ > 7070 at 76.188.116.163) State NEW > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_INIT > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:516 (sofia/external/ > 7070 at 76.188.116.163) State INIT > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 > Standard INIT > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:48 (sofia/external/7070 at 76.188.116.163) > State Change CS_INIT -> CS_ROUTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:516 (sofia/external/ > 7070 at 76.188.116.163) State INIT going to sleep > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_ROUTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) > Callstate Change DOWN -> RINGING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:532 (sofia/external/ > 7070 at 76.188.116.163) State ROUTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:166 sofia/external/7070 at 76.188.116.163 > Standard ROUTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 [INFO] > mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in context > public > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] > destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->unloop] continue=false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ > /^true$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ > /^true$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->outside_call] continue=true > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Absolute Condition [outside_call] > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action set(outside_call=true) > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T > %z)}) > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->call_debug] continue=true > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ > /^true$/ break=never > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] > destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] > destination_number(004721935380) =~ /^2000$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 parsing [public->public_did] continue=false > > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ > 7070 at 76.188.116.163 Regex (FAIL) [public_did] > destination_number(004721935380) =~ /^(5551212)$/ break=on-false > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:216 (sofia/external/ > 7070 at 76.188.116.163) State Change CS_ROUTING -> CS_EXECUTE > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 > [DEBUG] switch_core_state_machine.c:532 (sofia/external/ > 7070 at 76.188.116.163) State ROUTING going to sleep > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_EXECUTE > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:539 (sofia/external/ > 7070 at 76.188.116.163) State EXECUTE > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:258 sofia/external/7070 at 76.188.116.163 > Standard EXECUTE > > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 set(outside_call=true) > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 > [outside_call]=[true] > > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ > 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 > Mar 2016 11:30:13 -0400] > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [NOTICE] switch_core_state_machine.c:315 sofia/external/ > 7070 at 76.188.116.163 has executed the last dialplan instruction, hanging > up. > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/ > 7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:539 (sofia/external/ > 7070 at 76.188.116.163) State EXECUTE going to sleep > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_HANGUP > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:739 (sofia/external/ > 7070 at 76.188.116.163) Callstate Change RINGING -> HANGUP > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/ > 7070 at 76.188.116.163) State HANGUP > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 > hanging up, cause: NORMAL_CLEARING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 > Standard HANGUP, cause: NORMAL_CLEARING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:741 (sofia/external/ > 7070 at 76.188.116.163) State HANGUP going to sleep > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:508 (sofia/external/ > 7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:473 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_REPORTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/ > 7070 at 76.188.116.163) State REPORTING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:104 sofia/external/7070 at 76.188.116.163 > Standard REPORTING, cause: NORMAL_CLEARING > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:827 (sofia/external/ > 7070 at 76.188.116.163) State REPORTING going to sleep > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:499 (sofia/external/ > 7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_session.c:1646 Session 385 (sofia/external/ > 7070 at 76.188.116.163) Locked, Waiting on external entities > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/ > 7070 at 76.188.116.163) Ended > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ > 7070 at 76.188.116.163 [CS_DESTROY] > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:630 (sofia/external/ > 7070 at 76.188.116.163) Running State Change CS_DESTROY > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/ > 7070 at 76.188.116.163) State DESTROY > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:111 sofia/external/7070 at 76.188.116.163 > Standard DESTROY > > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 > [DEBUG] switch_core_state_machine.c:640 (sofia/external/ > 7070 at 76.188.116.163) State DESTROY going to sleep > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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/20160318/f2970e5c/attachment-0001.html From lexxua at gmail.com Fri Mar 18 21:02:28 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Fri, 18 Mar 2016 19:02:28 +0100 Subject: [Freeswitch-users] Conference Bandwith parameter In-Reply-To: References: Message-ID: Thanks Mike for answer, quite strange that freeswitch always answer with b=AS:1024 for video stream. Let me describe Invite from UA (Grandstream gvc3200) SDP: v=0 o=ipod7 8000 8000 IN IP4 77.120.9.98 s=SIP Call c=IN IP4 77.120.9.98 b=AS:1312 t=0 0 m=audio 5004 RTP/AVP 0 8 9 104 123 101 b=TIAS:64000 a=sendrecv a=rtpmap:0 PCMU/8000 a=ptime:20 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:104 G7221/16000 a=fmtp:104 bitrate=32000 a=rtpmap:123 opus/48000/2 a=fmtp:123 useinbandfec=1; sprop-maxcapturerate=16000; stereo=0; sprop-stereo=0 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 5006 RTP/AVP 99 b=TIAS:1024000 a=sendrecv a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42801F; packetization-mode=1 a=framerate:15 a=content:main a=label:11 FS respond part: v=0 o=FreeSWITCH 1458296997 1458296998 IN IP4 77.121.1.26 s=FreeSWITCH c=IN IP4 77.121.1.26 t=0 0 m=audio 26504 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 m=video 31298 RTP/AVP 99 b=AS:1024 a=rtpmap:99 H264/90000 What really confusing me are b=AS:1024 for Video rtp stream and absent a=fmtp:99 profile-level-id=42801F; packetization-mode=1 in freeswitch answer SDP. Why I`m interesting because my device always starts with video resolution 176x144. I tried with asterisk and it`s respond part looks like this for video: a=fmtp:99 profile-level-id=428028 and device starts to send 1920x1080. Now I`m using Freeswitch Version 1.6.6 -13-d2d0b32 64bit from stable repo. On Wed, Mar 16, 2016 at 9:17 PM, Michael Jerris wrote: > Its only used in mod_conference, and I believe it will be adjusted via > rtcp. > > On Mar 14, 2016, at 4:21 AM, Volodymyr Fedorov wrote: > > Hi, community! > In wiki page > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference > I found parameter for conf room: video-codec-bandwidth . It will be used > as SDP respond part as a Bandwidth ("b=") from Freeswitch ? > Thank you in advance > -- > Best regards, > Volodymyr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/43a197bd/attachment.html From mike at jerris.com Fri Mar 18 21:11:42 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 14:11:42 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: <24460.1458313473@ccs.covici.com> References: <24460.1458313473@ccs.covici.com> Message-ID: That change was made between 1.2 and 1.4, its been multiple years now, not recent. > On Mar 18, 2016, at 11:04 AM, covici at ccs.covici.com wrote: > > They changed the name to rtp_secure_media sometime in the last few > months. > > Eternal21 > wrote: > >> I am using FreeSWITCH demo configuration to test SRTP calls. I am placing >> a call between endpoint 1000 and 1001. The call works fine when SRTP is >> disabled on the softphones. The problem starts when I enable SRTP on the >> softphones. I also enabled SRTP on FreeSWITCH server, by including the >> following command in vars.xml: >> >> >> >> When I try to place a call between the two endpoints now, I end up with one >> side immediately hanging up. >> Specifically, the error seems to be: >> [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because >> secure media is administratively disabled >> >> Followed by: >> [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 >> [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] >> >> Couldn't find any info on how to resolve this issue online. >> >> Here's the relevant log: >> 2016-03-18 09:45:21.664536 >> >> [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND >> [DEBUG] switch_core_sqldb.c:2607 Secure Type: >> srtp:sdes:AES_CM_128_HMAC_SHA1_80 >> [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV >> [DEBUG] switch_core_sqldb.c:2607 Secure Type: >> srtp:sdes:AES_CM_128_HMAC_SHA1_80 >> [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77! >> [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77) Callstate >> Change RINGING -> EARLY >> [DEBUG] mod_sofia.c:2330 Ring SDP: >> v=0 >> o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 >> s=FreeSWITCH >> c=IN IP4 10.10.10.77 >> t=0 0 >> m=audio 20188 RTP/SAVP 0 101 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=ptime:20 >> a=sendrecv >> a=crypto:1 AES_CM_128_HMAC_SHA1_80 >> inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP >> >> [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16 at 8000hz >> 1 channel 20ms >> [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 Push codec >> L16:100 >> [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone >> [%(2000,4000,440,480)] >> [DEBUG] sofia.c:6756 Channel sofia/internal/1000 at 10.10.10.77 entering state >> [early][183] >> [DEBUG] switch_rtp.c:6645 Correct audio ip/port confirmed. >> [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering >> state [completing][200] >> [DEBUG] sofia.c:6766 Remote SDP: >> v=0 >> o=VOCAL 61793 12653 IN IP4 10.10.10.112 >> s=- >> c=IN IP4 10.10.10.112 >> t=0 0 >> m=audio 1442 RTP/SAVP 0 >> a=rtpmap:0 PCMU/8000 >> a=crypto:1 AES_CM_128_HMAC_SHA1_80 >> inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av >> a=ptime:20 >> >> [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering >> state [ready][200] >> [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because >> secure media is administratively disabled >> [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 >> [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] >> [DEBUG] sofia.c:1355 Channel is already hungup. >> >> 2016-03-18 09:45:26.303802 >> >> ---------------------------------------------------- >> Alternatives: >> >> ---------------------------------------------------- >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.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/20160318/17d72e84/attachment-0001.html From mike at jerris.com Fri Mar 18 21:15:16 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 14:15:16 -0400 Subject: [Freeswitch-users] Conference Bandwith parameter In-Reply-To: References: Message-ID: <668BFC65-6A12-44E2-857A-3AA28723AEFA@jerris.com> This probably needs some work.. Can you open up a jira and get as much details as possible about how this should be negotiated, In the case you are talking about the timing of when we know what the bandwidth and resolution of the video could be probelmatic, in fact, they can change mid call too, so any info you have on capabilites of your device to support things such as rtcp tmmbr and such to adjust these settings is important. It may be as simple as what is passed in the sdp is the top bound, but this may depend on the device. Get as much detail into the jira as possible and we can discuss more there. Thanks Mike > On Mar 18, 2016, at 2:02 PM, Volodymyr Fedorov wrote: > > Thanks Mike for answer, quite strange that freeswitch always answer with b=AS:1024 for video stream. > Let me describe Invite from UA (Grandstream gvc3200) SDP: > > v=0 > o=ipod7 8000 8000 IN IP4 77.120.9.98 > s=SIP Call > c=IN IP4 77.120.9.98 > b=AS:1312 > t=0 0 > m=audio 5004 RTP/AVP 0 8 9 104 123 101 > b=TIAS:64000 > a=sendrecv > a=rtpmap:0 PCMU/8000 > a=ptime:20 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:104 G7221/16000 > a=fmtp:104 bitrate=32000 > a=rtpmap:123 opus/48000/2 > a=fmtp:123 useinbandfec=1; sprop-maxcapturerate=16000; stereo=0; sprop-stereo=0 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > m=video 5006 RTP/AVP 99 > b=TIAS:1024000 > a=sendrecv > a=rtpmap:99 H264/90000 > a=fmtp:99 profile-level-id=42801F; packetization-mode=1 > a=framerate:15 > a=content:main > a=label:11 > > FS respond part: > v=0 > o=FreeSWITCH 1458296997 1458296998 IN IP4 77.121.1.26 > s=FreeSWITCH > c=IN IP4 77.121.1.26 > t=0 0 > m=audio 26504 RTP/AVP 0 101 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > m=video 31298 RTP/AVP 99 > b=AS:1024 > a=rtpmap:99 H264/90000 > > What really confusing me are b=AS:1024 for Video rtp stream and absent a=fmtp:99 profile-level-id=42801F; packetization-mode=1 in freeswitch answer SDP. Why I`m interesting because my device always starts with video resolution 176x144. I tried with asterisk and it`s respond part looks like this for video: > a=fmtp:99 profile-level-id=428028 and device starts to send 1920x1080. Now I`m using Freeswitch Version 1.6.6 -13-d2d0b32 64bit from stable repo. > > > On Wed, Mar 16, 2016 at 9:17 PM, Michael Jerris > wrote: > Its only used in mod_conference, and I believe it will be adjusted via rtcp. > >> On Mar 14, 2016, at 4:21 AM, Volodymyr Fedorov > wrote: >> >> Hi, community! >> In wiki page https://freeswitch.org/confluence/display/FREESWITCH/mod_conference >> I found parameter for conf room: video-codec-bandwidth . It will be used as SDP respond part as a Bandwidth ("b=") from Freeswitch ? >> Thank you in advance >> -- >> Best regards, >> Volodymyr >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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, > Volodymyr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160318/5fdf0559/attachment.html From pstarzyk at general-devices.com Fri Mar 18 21:21:26 2016 From: pstarzyk at general-devices.com (Piotr Starzyk) Date: Fri, 18 Mar 2016 14:21:26 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: References: <24460.1458313473@ccs.covici.com> Message-ID: <6a74f0f08054bc300cce7aacb731e9ed@mail.gmail.com> I was going by examples from FreeSWITCH 1.2 book (didn?t see a later release on Amazon). The following wiki states outdated values as well (and happens to be the first link when googling for freeswitch SRTP): https://wiki.freeswitch.org/wiki/SRTP *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael Jerris *Sent:* Friday, March 18, 2016 2:12 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' That change was made between 1.2 and 1.4, its been multiple years now, not recent. On Mar 18, 2016, at 11:04 AM, covici at ccs.covici.com wrote: They changed the name to rtp_secure_media sometime in the last few months. Eternal21 wrote: I am using FreeSWITCH demo configuration to test SRTP calls. I am placing a call between endpoint 1000 and 1001. The call works fine when SRTP is disabled on the softphones. The problem starts when I enable SRTP on the softphones. I also enabled SRTP on FreeSWITCH server, by including the following command in vars.xml: When I try to place a call between the two endpoints now, I end up with one side immediately hanging up. Specifically, the error seems to be: [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because secure media is administratively disabled Followed by: [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] Couldn't find any info on how to resolve this issue online. Here's the relevant log: 2016-03-18 09:45:21.664536 [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND [DEBUG] switch_core_sqldb.c:2607 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_80 [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV [DEBUG] switch_core_sqldb.c:2607 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_80 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77! [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77) Callstate Change RINGING -> EARLY [DEBUG] mod_sofia.c:2330 Ring SDP: v=0 o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 s=FreeSWITCH c=IN IP4 10.10.10.77 t=0 0 m=audio 20188 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16 at 8000hz 1 channel 20ms [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 Push codec L16:100 [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone [%(2000,4000,440,480)] [DEBUG] sofia.c:6756 Channel sofia/internal/1000 at 10.10.10.77 entering state [early][183] [DEBUG] switch_rtp.c:6645 Correct audio ip/port confirmed. [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering state [completing][200] [DEBUG] sofia.c:6766 Remote SDP: v=0 o=VOCAL 61793 12653 IN IP4 10.10.10.112 s=- c=IN IP4 10.10.10.112 t=0 0 m=audio 1442 RTP/SAVP 0 a=rtpmap:0 PCMU/8000 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av a=ptime:20 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 entering state [ready][200] [WARNING] switch_core_media.c:4035 Declining invite with only SAVP because secure media is administratively disabled [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] [DEBUG] sofia.c:1355 Channel is already hungup. 2016-03-18 09:45:26.303802 ---------------------------------------------------- Alternatives: ---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.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/20160318/8ffc1784/attachment-0001.html From olegstolyar at gmail.com Fri Mar 18 21:28:27 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 18 Mar 2016 11:28:27 -0700 Subject: [Freeswitch-users] Customer headers in REFER message Message-ID: Hi guys, is there a way to add customer headers to the REFER SIP message created by the deflect application? I tried both sip_rh_ and sip_ph_, no luck on either. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/83e9aea2/attachment.html From anthony.minessale at gmail.com Fri Mar 18 21:41:32 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 18 Mar 2016 13:41:32 -0500 Subject: [Freeswitch-users] Conference Bandwith parameter In-Reply-To: <668BFC65-6A12-44E2-857A-3AA28723AEFA@jerris.com> References: <668BFC65-6A12-44E2-857A-3AA28723AEFA@jerris.com> Message-ID: The param in the SDP is the max bw the client should send or recv. Its controlled from channel variables or globals in vars.xml. You should coordinate the value with what you want in your conference because the conference does not control it. rtp_video_max_bandwidth_in rtp_video_max_bandwidth_out On Fri, Mar 18, 2016 at 1:15 PM, Michael Jerris wrote: > This probably needs some work.. Can you open up a jira and get as much > details as possible about how this should be negotiated, In the case you > are talking about the timing of when we know what the bandwidth and > resolution of the video could be probelmatic, in fact, they can change mid > call too, so any info you have on capabilites of your device to support > things such as rtcp tmmbr and such to adjust these settings is important. > It may be as simple as what is passed in the sdp is the top bound, but this > may depend on the device. Get as much detail into the jira as possible and > we can discuss more there. > Thanks > Mike > > On Mar 18, 2016, at 2:02 PM, Volodymyr Fedorov wrote: > > Thanks Mike for answer, quite strange that freeswitch always answer with > b=AS:1024 for video stream. > Let me describe Invite from UA (Grandstream gvc3200) SDP: > > v=0 > o=ipod7 8000 8000 IN IP4 77.120.9.98 > s=SIP Call > c=IN IP4 77.120.9.98 > b=AS:1312 > t=0 0 > m=audio 5004 RTP/AVP 0 8 9 104 123 101 > b=TIAS:64000 > a=sendrecv > a=rtpmap:0 PCMU/8000 > a=ptime:20 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:104 G7221/16000 > a=fmtp:104 bitrate=32000 > a=rtpmap:123 opus/48000/2 > a=fmtp:123 useinbandfec=1; sprop-maxcapturerate=16000; stereo=0; > sprop-stereo=0 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > m=video 5006 RTP/AVP 99 > b=TIAS:1024000 > a=sendrecv > a=rtpmap:99 H264/90000 > a=fmtp:99 profile-level-id=42801F; packetization-mode=1 > a=framerate:15 > a=content:main > a=label:11 > > FS respond part: > v=0 > o=FreeSWITCH 1458296997 1458296998 IN IP4 77.121.1.26 > s=FreeSWITCH > c=IN IP4 77.121.1.26 > t=0 0 > m=audio 26504 RTP/AVP 0 101 > a=rtpmap:0 PCMU/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > m=video 31298 RTP/AVP 99 > b=AS:1024 > a=rtpmap:99 H264/90000 > > What really confusing me are b=AS:1024 for Video rtp stream and absent > a=fmtp:99 profile-level-id=42801F; packetization-mode=1 in freeswitch > answer SDP. Why I`m interesting because my device always starts with video > resolution 176x144. I tried with asterisk and it`s respond part looks > like this for video: > a=fmtp:99 profile-level-id=428028 and device starts to send 1920x1080. Now > I`m using Freeswitch Version 1.6.6 -13-d2d0b32 64bit from stable repo. > > > On Wed, Mar 16, 2016 at 9:17 PM, Michael Jerris wrote: > >> Its only used in mod_conference, and I believe it will be adjusted via >> rtcp. >> >> On Mar 14, 2016, at 4:21 AM, Volodymyr Fedorov wrote: >> >> Hi, community! >> In wiki page >> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference >> I found parameter for conf room: video-codec-bandwidth . It will be used >> as SDP respond part as a Bandwidth ("b=") from Freeswitch ? >> Thank you in advance >> -- >> Best regards, >> Volodymyr >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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, > Volodymyr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160318/4b5845f3/attachment.html From jurijs.ivolga at gmail.com Fri Mar 18 21:42:50 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Fri, 18 Mar 2016 20:42:50 +0200 Subject: [Freeswitch-users] Security - How can I prevent these calls? In-Reply-To: References: <8459312C-6F43-4B9B-9891-C396477E0503@insensate.co.uk> Message-ID: Hi Samuel, As far as I understood, you are asking: Do I need to use external or internal profile for external gateway? Short answer is external, as is stated in Freeswitch documentation. In reality it is not so obvious. For example I had worked with some providers which do not support other port then 5060 and in this case you will need to change external profile to port 5060 and internal to something else(both profiles can't use same port) or use internal profile for that provider if your SIP phones can't use other port then 5060 for some reason. So short answer is that you should use external profile for SIP gateways, but sometimes you might need or you can use internal profile. With kind regards, On Fri, Mar 18, 2016 at 7:35 PM, Samuel Reamer wrote: > Thanks all for the input, it's helped! > > I followed Jurijs' tutorial on setting up iptables and it seems to be > working well; however, during my setup I noticed that incoming calls from > the SIP provider were coming through the internal profile (port 5060, the > same ports that were opened up in iptables). Is this right? > > The FreeSwitch documentation seems to indicate that these calls should go > through the external profile. I added port 5080 to the iptables in the same > fashion as above, and specified port 5080 in the SIP address called by the > provider. It seems to be working, but I want to make sure that's the > correct course of action. > > On Mon, Mar 14, 2016 at 9:16 PM Lawrence Conroy > wrote: > >> Hi again, >> true, but f2b sure does cut down on wasted traffic and vast numbers of >> log entries, even with a secured dialplan. >> That's why I said put in f2b, secure dialplan, and only then run fS "in >> anger". >> f2b simplifies/automates the firewall block/unblocking. That cuts >> traffic, and in so doing, it also slows down brute force attacks to the >> point where they're not really feasible unless you are a target for APT. >> So, I'd argue you need both (as suggested). >> >> all the best, >> Lawrence >> >> On 15 Mar 2016, at 00:35, Stanislav Sinyagin wrote: >> > But what does fail2ban have to do with security? If a stranger from the >> internet is able to make calls to PSTN through your PBX, you need to >> prevent such access in the first place. It's a matter of dialplan planning, >> and not the firewall or fail2ban. >> > >> > On 15 Mar 2016 00:20, "Jun Sun" wrote: >> > Or simply run a prebuilt AMI image from aws. It comes with fail2ban, >> firewall, etc. >> > >> > https://aws.amazon.com/marketplace/pp/B015ZTS2XM >> > >> > https://aws.amazon.com/marketplace/pp/B0191S5CU4/ >> > >> > Jun >> > >> > On Mon, Mar 14, 2016 at 2:08 PM, Lawrence Conroy < >> lconroy at insensate.co.uk> wrote: >> > Hi there, >> > I guess you're running fS without fail2ban. >> > Welcome to our world. >> > BEFORE you bother trying firewall rules manually (or employing a >> consultant), read up on the freeswitch web for fail2ban, and install f2b. >> > See >> > >> > Do it BEFORE you run freeSwitch "in anger". >> > >> > Then secure your profiles & dialplan. >> > >> > Then run freeSwitch. >> > >> > Then ask :). >> > >> > all the best >> > Lawrence >> > (who, like most of us, has had exactly this sort of problem) >> > >> > On 14 Mar 2016, at 20:38, Jurijs Ivolga >> wrote: >> > > Hi Samuel, >> > > >> > > Your problem has 2 solutions - easy one and not so easy: >> > > >> > > Easy way: >> > > If you are facing such issues this mean that you very new to VoIP and >> Freeswitch particularly and in my opinion it is worth to find professional >> who will configure and secure your PBX, otherwise you can end up loosing >> much more then 30$. >> > > >> > > Hard way: >> > > If you still think that you can handle it, then first and most simple >> way is to use iptables for blocking unwanted traffic. Below you can find my >> manual: >> > > >> http://blog.volunge.net/jekyll/update/2016/02/27/how-to-secure-freeswitch-with-iptables.html >> > > >> > > Additionally to this you can find Freeswitch official documentation >> regarding Firewall configuration: >> > > https://freeswitch.org/confluence/display/FREESWITCH/Firewall >> > > >> > > Keep in mind that proper FW configuration will not fix all your >> issues and you should understand how Freeswitch work and what each >> configuration file do to secure your installation properly. >> > > >> > > With kind regards, >> > > >> > > Jurijs >> > > >> > > 2016-03-14 19:15 GMT+02:00 Samuel Reamer : >> > > I have a small setup for a small business that I've been testing; >> however, it appears that someone has hacked there way into making calls >> ($30 worth in just a few minutes). Can anyone provide me guidance on how to >> prevent these calls? Below is my ACL and a partial log: >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 >> [NOTICE] switch_channel.c:1091 New Channel sofia/internal/ >> 10000000 at 192.168.0.10:5060 [3ff60ad1-2ac7-46e8-b841-03fff79f972e] >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 >> [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_NEW >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.850490 >> [DEBUG] sofia.c:9244 sofia/internal/10000000 at 192.168.0.10:5060 receiving >> invite from 46.166.160.136:5074 version: 1.7.0 64bit >> > > 2016-03-14 11:29:48.850490 [DEBUG] sofia.c:9411 IP 46.166.160.136 >> Rejected by acl "domains". Falling back to Digest auth. >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:48.870521 >> [DEBUG] switch_core_state_machine.c:492 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State NEW >> > > 2016-03-14 11:29:48.870521 [DEBUG] sofia.c:2147 detaching session >> 3ff60ad1-2ac7-46e8-b841-03fff79f972e >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [WARNING] switch_core_state_machine.c:576 >> 3ff60ad1-2ac7-46e8-b841-03fff79f972e sofia/internal/ >> 10000000 at 192.168.0.10:5060 Abandoned >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_state_machine.c:579 Hangup sofia/internal/ >> 10000000 at 192.168.0.10:5060 [CS_NEW] [WRONG_CALL_STATE] >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_HANGUP >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:739 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Callstate Change DOWN -> HANGUP >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:741 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State HANGUP >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] mod_sofia.c:431 Channel sofia/internal/10000000 at 192.168.0.10:5060 >> hanging up, cause: WRONG_CALL_STATE >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:60 sofia/internal/ >> 10000000 at 192.168.0.10:5060 Standard HANGUP, cause: WRONG_CALL_STATE >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:741 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State HANGUP going to sleep >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:508 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State Change CS_HANGUP -> CS_REPORTING >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:473 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_REPORTING >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:827 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State REPORTING >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:104 sofia/internal/ >> 10000000 at 192.168.0.10:5060 Standard REPORTING, cause: WRONG_CALL_STATE >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:827 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State REPORTING going to sleep >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:499 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State Change CS_REPORTING -> CS_DESTROY >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_session.c:1646 Session 384 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Locked, Waiting on external entities >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_session.c:1664 Session 384 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Ended >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/ >> 10000000 at 192.168.0.10:5060 [CS_DESTROY] >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:630 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) Running State Change CS_DESTROY >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:640 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State DESTROY >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] mod_sofia.c:341 sofia/internal/10000000 at 192.168.0.10:5060 SOFIA >> DESTROY >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:111 sofia/internal/ >> 10000000 at 192.168.0.10:5060 Standard DESTROY >> > > 3ff60ad1-2ac7-46e8-b841-03fff79f972e 2016-03-14 11:29:59.371127 >> [DEBUG] switch_core_state_machine.c:640 (sofia/internal/ >> 10000000 at 192.168.0.10:5060) State DESTROY going to sleep >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] sofia.c:5974 Remote Reason: 16 >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] sofia.c:6756 Channel sofia/external/4721935380 entering state >> [terminated][480] >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [NOTICE] sofia.c:7775 Hangup sofia/external/4721935380 [CS_EXCHANGE_MEDIA] >> [NORMAL_CLEARING] >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_ivr_bridge.c:705 sofia/external/4721935380 ending bridge by >> request from read function >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE >> [sofia/external/4721935380] >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:542 (sofia/external/4721935380) State >> EXCHANGE_MEDIA going to sleep >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running >> State Change CS_HANGUP >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:739 (sofia/external/4721935380) >> Callstate Change EARLY -> HANGUP >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State >> HANGUP >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] mod_sofia.c:431 Channel sofia/external/4721935380 hanging up, >> cause: NORMAL_CLEARING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:60 sofia/external/4721935380 Standard >> HANGUP, cause: NORMAL_CLEARING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/4721935380) State >> HANGUP going to sleep >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:508 (sofia/external/4721935380) State >> Change CS_HANGUP -> CS_REPORTING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/4721935380) Running >> State Change CS_REPORTING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State >> REPORTING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:104 sofia/external/4721935380 Standard >> REPORTING, cause: NORMAL_CLEARING >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/4721935380) State >> REPORTING going to sleep >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_state_machine.c:499 (sofia/external/4721935380) State >> Change CS_REPORTING -> CS_DESTROY >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.431383 >> [DEBUG] switch_core_session.c:1646 Session 382 (sofia/external/4721935380) >> Locked, Waiting on external entities >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/ >> 7070 at 76.188.116.163] >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_channel.c:4801 Hangup sofia/external/7070 at 76.188.116.163 >> [CS_EXECUTE] [NORMAL_CLEARING] >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1664 Session 382 (sofia/external/4721935380) >> Ended >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/4721935380 >> [CS_DESTROY] >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_session.c:2796 sofia/external/7070 at 76.188.116.163 >> skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:539 (sofia/external/ >> 7070 at 76.188.116.163) State EXECUTE going to sleep >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_HANGUP >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:630 (sofia/external/4721935380) Running >> State Change CS_DESTROY >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State >> DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:739 (sofia/external/ >> 7070 at 76.188.116.163) Callstate Change EARLY -> HANGUP >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:04.451379 >> [DEBUG] mod_sofia.c:341 sofia/external/4721935380 SOFIA DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/ >> 7070 at 76.188.116.163) State HANGUP >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] mod_sofia.c:425 sofia/external/7070 at 76.188.116.163 Overriding >> SIP cause 480 with 480 from the other leg >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 >> hanging up, cause: NORMAL_CLEARING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 >> Standard HANGUP, cause: NORMAL_CLEARING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/ >> 7070 at 76.188.116.163) State HANGUP going to sleep >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:508 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_REPORTING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/ >> 7070 at 76.188.116.163) State REPORTING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:104 sofia/external/ >> 7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/ >> 7070 at 76.188.116.163) State REPORTING going to sleep >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:499 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_session.c:1646 Session 381 (sofia/external/ >> 7070 at 76.188.116.163) Locked, Waiting on external entities >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1664 Session 381 (sofia/external/ >> 7070 at 76.188.116.163) Ended >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ >> 7070 at 76.188.116.163 [CS_DESTROY] >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:630 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/ >> 7070 at 76.188.116.163) State DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:04.451379 >> [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY >> > > 2016-03-14 11:30:05.530466 [DEBUG] switch_nat.c:568 unmapped public >> port 23574 protocol UDP to localport 23574 >> > > 2016-03-14 11:30:06.650545 [DEBUG] switch_nat.c:568 unmapped public >> port 24394 protocol UDP to localport 24394 >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 >> [DEBUG] switch_core_state_machine.c:111 sofia/external/ >> 7070 at 76.188.116.163 Standard DESTROY >> > > 773dea0b-4847-4c8b-8fa7-71301ff9f60c 2016-03-14 11:30:06.650545 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/ >> 7070 at 76.188.116.163) State DESTROY going to sleep >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 >> [DEBUG] switch_core_state_machine.c:111 sofia/external/4721935380 Standard >> DESTROY >> > > 2fb2983d-bfde-4c22-8813-76d598e74a42 2016-03-14 11:30:06.690512 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/4721935380) State >> DESTROY going to sleep >> > > 2016-03-14 11:30:08.970671 [WARNING] sofia_reg.c:2874 Can't find user >> [7070 at 76.188.116.163] from 104.245.99.71 >> > > You must define a domain called '76.188.116.163' in your directory >> and add a user with the id="7070" attribute >> > > and you must configure your device to use the proper domain in it's >> authentication credentials. >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [NOTICE] switch_channel.c:1091 New Channel sofia/external/ >> 7070 at 76.188.116.163 [351981a2-a412-49bb-a554-0df34a002f86] >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_NEW >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] sofia.c:9244 sofia/external/7070 at 76.188.116.163 receiving invite >> from 104.245.99.71:6688 version: 1.7.0 64bit >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] sofia.c:6756 Channel sofia/external/7070 at 76.188.116.163 entering >> state [received][100] >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] sofia.c:6766 Remote SDP: >> > > 351981a2-a412-49bb-a554-0df34a002f86 v=0 >> > > 351981a2-a412-49bb-a554-0df34a002f86 o=- 21305208 21305221 IN IP4 >> 104.245.99.71 >> > > 351981a2-a412-49bb-a554-0df34a002f86 s=eyeBeam >> > > 351981a2-a412-49bb-a554-0df34a002f86 c=IN IP4 104.245.99.71 >> > > 351981a2-a412-49bb-a554-0df34a002f86 t=0 0 >> > > 351981a2-a412-49bb-a554-0df34a002f86 m=audio 6690 RTP/AVP 100 6 0 8 3 >> 18 5 101 >> > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:100 speex/16000 >> > > 351981a2-a412-49bb-a554-0df34a002f86 a=rtpmap:101 telephone-event/8000 >> > > 351981a2-a412-49bb-a554-0df34a002f86 a=fmtp:101 0-15 >> > > 351981a2-a412-49bb-a554-0df34a002f86 a=alt:1 1 : 8EB1B249 0000007D >> 104.245.99.71 6690 >> > > 351981a2-a412-49bb-a554-0df34a002f86 >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] sofia.c:7121 (sofia/external/7070 at 76.188.116.163) State Change >> CS_NEW -> CS_INIT >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:492 (sofia/external/ >> 7070 at 76.188.116.163) State NEW >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_INIT >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:516 (sofia/external/ >> 7070 at 76.188.116.163) State INIT >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] mod_sofia.c:88 sofia/external/7070 at 76.188.116.163 SOFIA INIT >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:40 sofia/external/7070 at 76.188.116.163 >> Standard INIT >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:48 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_INIT -> CS_ROUTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:516 (sofia/external/ >> 7070 at 76.188.116.163) State INIT going to sleep >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_ROUTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_channel.c:2240 (sofia/external/7070 at 76.188.116.163) >> Callstate Change DOWN -> RINGING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:532 (sofia/external/ >> 7070 at 76.188.116.163) State ROUTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] mod_sofia.c:141 sofia/external/7070 at 76.188.116.163 SOFIA ROUTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:166 sofia/external/ >> 7070 at 76.188.116.163 Standard ROUTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [INFO] mod_dialplan_xml.c:637 Processing 7070 <7070>->004721935380 in >> context public >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->Calls to Plivo] continue=false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [Calls to Plivo] >> destination_number(004721935380) =~ /^(1{0,1}\d{10})$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->unloop] continue=false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (PASS) [unloop] ${unroll_loops}(true) =~ >> /^true$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [unloop] ${sip_looped_call}() =~ >> /^true$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->outside_call] continue=true >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Absolute Condition [outside_call] >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Action set(outside_call=true) >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y >> %T %z)}) >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->call_debug] continue=true >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [call_debug] ${call_debug}(false) =~ >> /^true$/ break=never >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->public_extensions] continue=false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [public_extensions] >> destination_number(004721935380) =~ /^(10[01][0-9])$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->group_dial_standard] continue=false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [group_dial_standard] >> destination_number(004721935380) =~ /^2000$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 parsing [public->public_did] continue=false >> > > 351981a2-a412-49bb-a554-0df34a002f86 Dialplan: sofia/external/ >> 7070 at 76.188.116.163 Regex (FAIL) [public_did] >> destination_number(004721935380) =~ /^(5551212)$/ break=on-false >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:216 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_ROUTING -> CS_EXECUTE >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.430898 >> [DEBUG] switch_core_state_machine.c:532 (sofia/external/ >> 7070 at 76.188.116.163) State ROUTING going to sleep >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_EXECUTE >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:539 (sofia/external/ >> 7070 at 76.188.116.163) State EXECUTE >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] mod_sofia.c:196 sofia/external/7070 at 76.188.116.163 SOFIA EXECUTE >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:258 sofia/external/ >> 7070 at 76.188.116.163 Standard EXECUTE >> > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ >> 7070 at 76.188.116.163 set(outside_call=true) >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] mod_dptools.c:1498 SET sofia/external/7070 at 76.188.116.163 >> [outside_call]=[true] >> > > 351981a2-a412-49bb-a554-0df34a002f86 EXECUTE sofia/external/ >> 7070 at 76.188.116.163 export(RFC2822_DATE=Mon, 14 Mar 2016 11:30:13 -0400) >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_channel.c:1283 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 14 >> Mar 2016 11:30:13 -0400] >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_state_machine.c:315 sofia/external/ >> 7070 at 76.188.116.163 has executed the last dialplan instruction, hanging >> up. >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/ >> 7070 at 76.188.116.163 [CS_EXECUTE] [NORMAL_CLEARING] >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:539 (sofia/external/ >> 7070 at 76.188.116.163) State EXECUTE going to sleep >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_HANGUP >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:739 (sofia/external/ >> 7070 at 76.188.116.163) Callstate Change RINGING -> HANGUP >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/ >> 7070 at 76.188.116.163) State HANGUP >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] mod_sofia.c:431 Channel sofia/external/7070 at 76.188.116.163 >> hanging up, cause: NORMAL_CLEARING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:60 sofia/external/7070 at 76.188.116.163 >> Standard HANGUP, cause: NORMAL_CLEARING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:741 (sofia/external/ >> 7070 at 76.188.116.163) State HANGUP going to sleep >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:508 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_HANGUP -> CS_REPORTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:473 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_REPORTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/ >> 7070 at 76.188.116.163) State REPORTING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:104 sofia/external/ >> 7070 at 76.188.116.163 Standard REPORTING, cause: NORMAL_CLEARING >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:827 (sofia/external/ >> 7070 at 76.188.116.163) State REPORTING going to sleep >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:499 (sofia/external/ >> 7070 at 76.188.116.163) State Change CS_REPORTING -> CS_DESTROY >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_session.c:1646 Session 385 (sofia/external/ >> 7070 at 76.188.116.163) Locked, Waiting on external entities >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_session.c:1664 Session 385 (sofia/external/ >> 7070 at 76.188.116.163) Ended >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/ >> 7070 at 76.188.116.163 [CS_DESTROY] >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:630 (sofia/external/ >> 7070 at 76.188.116.163) Running State Change CS_DESTROY >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/ >> 7070 at 76.188.116.163) State DESTROY >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] mod_sofia.c:341 sofia/external/7070 at 76.188.116.163 SOFIA DESTROY >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:111 sofia/external/ >> 7070 at 76.188.116.163 Standard DESTROY >> > > 351981a2-a412-49bb-a554-0df34a002f86 2016-03-14 11:30:13.450893 >> [DEBUG] switch_core_state_machine.c:640 (sofia/external/ >> 7070 at 76.188.116.163) State DESTROY going to sleep >> > > >> > > >> > > >> _________________________________________________________________________ >> > > Professional FreeSWITCH Consulting Services: >> > > consulting at freeswitch.org >> > > http://www.freeswitchsolutions.com >> > > >> > > Official FreeSWITCH Sites >> > > http://www.freeswitch.org >> > > http://confluence.freeswitch.org >> > > http://www.cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at 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 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160318/133f1788/attachment-0001.html From govoiper at gmail.com Fri Mar 18 21:43:38 2016 From: govoiper at gmail.com (SamyGo) Date: Fri, 18 Mar 2016 14:43:38 -0400 Subject: [Freeswitch-users] Customer headers in REFER message In-Reply-To: References: Message-ID: I'm guessing if defelect application source code will let you do that. If that is not possible then use a SIP proxy to intercept and append header to it. Kind of an over-over-overkill. Regards., Sammy On Mar 18, 2016 14:29, "Oleg Stolyar" wrote: > Hi guys, > > is there a way to add customer headers to the REFER SIP message created by > the deflect application? > > I tried both sip_rh_ and sip_ph_, no luck on either. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160318/d81c1787/attachment.html From mike at jerris.com Fri Mar 18 21:53:28 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 14:53:28 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: <9AE684D4-20DD-4AAA-87D0-BF3998CD12F9@jerris.com> A follow up on deps, pkg install speex will handle the speex dependency, no need to install from source. > On Mar 17, 2016, at 5:28 AM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Thu, Mar 17, 2016 at 4:37 AM, Sergey Safarov wrote: >> Please provide are link to VM. I will run VM on public IP for remote access. > > https://www.dropbox.com/sh/nlmn2g9uhyhnjtm/AABR7MphpAcMAYXzYCrWlL6La?dl=0 > > login: root/passw0rd > >> What is size of VM? > > The image is 7.2 GB. > > It's effectively a vanilla install - the only tweaks I have made are > to install the minimal required build tools: > > $ pkg install git gcc make libtool autoconf pkg-config automake > > The FS source tree is in /opt/freeswitch. I've begun to compile the > dependencies into /opt/fs_libs (e.g. libspeex). I haven't compiled > libsndfile yet, that is next on the todo list - I have been blocked by > this libvpx dependency until now. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Fri Mar 18 22:04:23 2016 From: msc at freeswitch.org (Michael Collins) Date: Fri, 18 Mar 2016 12:04:23 -0700 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: <6a74f0f08054bc300cce7aacb731e9ed@mail.gmail.com> References: <24460.1458313473@ccs.covici.com> <6a74f0f08054bc300cce7aacb731e9ed@mail.gmail.com> Message-ID: On Fri, Mar 18, 2016 at 11:21 AM, Piotr Starzyk < pstarzyk at general-devices.com> wrote: > I was going by examples from FreeSWITCH 1.2 book (didn?t see a later > release on Amazon). > > The following wiki states outdated values as well (and happens to be the > first link when googling for freeswitch SRTP): > > https://wiki.freeswitch.org/wiki/SRTP > > > The docs are all being migrated over to Confluence from the old wiki. Any time you see a link to something on wiki.freeswitch.org you should definitely check the Confluence page first. In a pinch just click the "Docs" link on freeswitch.org. That all being said, there does not seem to be an equivalent page in Confluence. However, if you search for "sip_secure_media" in Confluence you'll see several links that mention the change to "rtp_secure_media" and other helpful information. -MSC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/606093e1/attachment.html From fabiomargarido at gmail.com Fri Mar 18 22:11:05 2016 From: fabiomargarido at gmail.com (Fabio Margarido) Date: Fri, 18 Mar 2016 19:11:05 +0000 Subject: [Freeswitch-users] Disable picture_fast_update INFO requests In-Reply-To: References: Message-ID: I've now managed to get both sides to send a 200 OK response to the INFO request, but FreeSWITCH keeps sending them at a rate of more than one per second. Is this expected behavior? On Wed, Mar 16, 2016 at 3:41 PM Fabio Margarido wrote: > Anyone? > > From what I understood reading other discussions regarding this request on > the list, this is an obsolete way of requesting a picture refresh and that > the ideal way would be via RTCP. Does FreeSWITCH support both? If that's > the case, shouldn't there be a flag which allows to choose which method to > use? > > Thanks. > > On Wed, Mar 9, 2016 at 3:01 PM Fabio Margarido > wrote: > >> Hi there. >> >> I'm trying a scenario in which FreeSWITCH sits between a WebRTC endpoint >> and an IMS network, performing media conversion. >> >> When a call is established, FS starts to send INFO requests with an >> application/media_control+xml body related to RFC 5168. The WebRTC endpoint >> always responds with 415 Unsupported Media Type (the web application uses >> sip.js) and the IMS network sometimes responds with 500 Server Internal >> Error. The problem I have is that FS sends that request every second to >> both sides and keeps doing so for as long as the call is answered. >> >> My question is whether it would stop or at least scale down the frequency >> if both sides replied with 200 OK, or alternatively if there is a way to >> disable the sending of these requests. I've looked at the documentation and >> the mailing list history but couldn't find anything conclusive. >> >> Thanks in advance. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/0913c145/attachment.html From mike at jerris.com Fri Mar 18 22:11:35 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 15:11:35 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> I just pushed a patch for you, the core builds now fine with libvpx and libyuv. Note i did a pkg install speex to satisfy that dependency, then did bootstrap, configure --enable-64, and gmake. Mike > On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: >> What is the error you are getting when you try to build current master. > > Here's a the complete output for the compiler error: > > https://gist.github.com/0x6e6562/1afb379410accfdcd123 > >> There is no need for a flag to disable libspeex, you just don't build the module. > > I initially assumed that I could trim the modules.conf to exclude > libspeex, so that when the makefile was invoked on the top level, then > the libspeex module is just ignored. However, this doesn't appear to > be the case, so for the sake of expediency, I decided to supply the > speex dependency manually and just moved on to the next problem, which > was the non-compilability of the C++ code in libvpx on Solaris, > combined with the fact that gcc was producing a 32 bit image that the > 64 bit libfreeswitch is going to have to link against. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mike at jerris.com Fri Mar 18 22:32:21 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 15:32:21 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> Message-ID: tested through, these are the only default build mods that had issues, appears to all be dependencies missing but I didn't try to chase any of those down -applications/mod_enum -codecs/mod_opus -formats/mod_png -formats/mod_sndfile > On Mar 18, 2016, at 3:11 PM, Michael Jerris wrote: > > I just pushed a patch for you, the core builds now fine with libvpx and libyuv. Note i did a pkg install speex to satisfy that dependency, then did bootstrap, configure --enable-64, and gmake. > > Mike > >> On Mar 16, 2016, at 7:04 PM, Ben Hood <0x6e6562 at gmail.com> wrote: >> >> On Wed, Mar 16, 2016 at 10:41 PM, Michael Jerris wrote: >>> What is the error you are getting when you try to build current master. >> >> Here's a the complete output for the compiler error: >> >> https://gist.github.com/0x6e6562/1afb379410accfdcd123 >> >>> There is no need for a flag to disable libspeex, you just don't build the module. >> >> I initially assumed that I could trim the modules.conf to exclude >> libspeex, so that when the makefile was invoked on the top level, then >> the libspeex module is just ignored. However, this doesn't appear to >> be the case, so for the sake of expediency, I decided to supply the >> speex dependency manually and just moved on to the next problem, which >> was the non-compilability of the C++ code in libvpx on Solaris, >> combined with the fact that gcc was producing a 32 bit image that the >> 64 bit libfreeswitch is going to have to link against. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 jprangi at gmail.com Sat Mar 19 00:30:13 2016 From: jprangi at gmail.com (Jai Rangi) Date: Fri, 18 Mar 2016 14:30:13 -0700 Subject: [Freeswitch-users] Intermittent call quality issue Message-ID: We have experienced intermittent call quality issue. Muffled sound in the middle of call. No high load on free-switch. Even with as low as 10 simultaneous calls. Does any one know any tool free or paid that can monitor the RTP traffic and help us trouble shoot the issue. System is hosted in data-center with 100MB connection. Thank you, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/8155cabf/attachment.html From mike at jerris.com Sat Mar 19 01:10:35 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 18:10:35 -0400 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: muffled would be an analog issue typically (I'd have to hear a sample to be sure)... digital examination will have a hard time detecting that. Maybe something that looks at frequency range but I doubt you could make something that would not give you massive false positives.I can not see any major way anything on the VoIP side of this could cause this other than something very very strange with codecs that are adaptive. I've never seen this in 20 years so I doubt it. On Friday, March 18, 2016, Jai Rangi wrote: > We have experienced intermittent call quality issue. Muffled sound in the > middle of call. No high load on free-switch. Even with as low as 10 > simultaneous calls. Does any one know any tool free or paid that can > monitor the RTP traffic and help us trouble shoot the issue. > > System is hosted in data-center with 100MB connection. > > Thank you, > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160318/b091bd2e/attachment.html From 0x6e6562 at gmail.com Sat Mar 19 01:37:30 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Fri, 18 Mar 2016 22:37:30 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> Message-ID: Cool - thanks very much for looking into this. With the patch I am now able to get past the libvpx issue using these flags: PKG_CONFIG_PATH=/opt/fs_libs/lib/pkgconfig ./configure --prefix=/opt/fs --enable-64 BTW the reason why I was looking into an alternative dependency delivery mechanism than pkg was because I was trying to see if I could be an FS package that could use an arbitrary version of the dependencies, not just those versions that have official published versions. Sometimes the OS packages get so out of date that can be better to supply your own rather than rely on the published artifacts. On Fri, Mar 18, 2016 at 7:32 PM, Michael Jerris wrote: > tested through, these are the only default build mods that had issues, appears to all be dependencies missing but I didn't try to chase any of those down > > -applications/mod_enum > -codecs/mod_opus > -formats/mod_png > -formats/mod_sndfile Sure, I'll look into to supplying these. From 0x6e6562 at gmail.com Sat Mar 19 01:38:52 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Fri, 18 Mar 2016 22:38:52 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> Message-ID: On Fri, Mar 18, 2016 at 12:39 PM, Sergey Safarov wrote: > VM published. You can login using command "ssh -p 2230 -i id_rsa > root at 91.103.196.13". > Where id_rsa is file with private key. File with private key will be send to > Ben and Michael Jerris. Hey Sergey, Thanks very much for taking the time to set this up - much appreciated :-) Ben From mike at jerris.com Sat Mar 19 01:44:57 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 18:44:57 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> Message-ID: <36E193AF-389F-4CAA-A56A-36C678232356@jerris.com> what deps do you have that have conflicting versions? I didn't run into any. The ones i ran in to were all missing not version conflicts. The only couple libs i have seen where we tend to run into version conflicts were vpx (which we now have in tree due to how bad that issue was) and libpng. For libpng its probably worth getting the base distro to update it as most distros have painfully old versions and there is no real reason not to update it, it seems to be backwards api compatible. > On Mar 18, 2016, at 6:37 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > Cool - thanks very much for looking into this. > > With the patch I am now able to get past the libvpx issue using these flags: > > PKG_CONFIG_PATH=/opt/fs_libs/lib/pkgconfig ./configure > --prefix=/opt/fs --enable-64 > > BTW the reason why I was looking into an alternative dependency > delivery mechanism than pkg was because I was trying to see if I could > be an FS package that could use an arbitrary version of the > dependencies, not just those versions that have official published > versions. Sometimes the OS packages get so out of date that can be > better to supply your own rather than rely on the published artifacts. > > On Fri, Mar 18, 2016 at 7:32 PM, Michael Jerris wrote: >> tested through, these are the only default build mods that had issues, appears to all be dependencies missing but I didn't try to chase any of those down >> >> -applications/mod_enum >> -codecs/mod_opus >> -formats/mod_png >> -formats/mod_sndfile > > Sure, I'll look into to supplying these. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 0x6e6562 at gmail.com Sat Mar 19 02:05:36 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Fri, 18 Mar 2016 23:05:36 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: <36E193AF-389F-4CAA-A56A-36C678232356@jerris.com> References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> <36E193AF-389F-4CAA-A56A-36C678232356@jerris.com> Message-ID: On Fri, Mar 18, 2016 at 10:44 PM, Michael Jerris wrote: > what deps do you have that have conflicting versions? I didn't run into any. The ones i ran in to were all missing not version conflicts. The only couple libs i have seen where we tend to run into version conflicts were vpx (which we now have in tree due to how bad that issue was) and libpng. For libpng its probably worth getting the base distro to update it as most distros have painfully old versions and there is no real reason not to update it, it seems to be backwards api compatible. The issue I ran into was with libspeexdsp, which I originally grabbed from CSW. So I could compile and run FS with this dependency, but when I tried to construct a package for FS using pkgdepend, it could not resolve the dependency for libspeexdsp because of the way that the RUNPATH was configured in the assembly: $ elfdump /opt/csw/lib/64/libspeexdsp.so.1 | grep RUNPATH /opt/csw/lib/64/libspeexdsp.so.1: .SUNW_version: zero sh_entsize information, expected 0x1 [5] RUNPATH 0x7f4 /opt/csw/lib/$ISALIST:/opt/csw/lib/64 So I was trying to see if could supply a custom libspeexdsp to see if that fixed the pkgdepend issue. And in doing so, I ran into the updated libvpx tree. From mike at jerris.com Sat Mar 19 02:12:12 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 18 Mar 2016 19:12:12 -0400 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> <36E193AF-389F-4CAA-A56A-36C678232356@jerris.com> Message-ID: I think the version from CSW was fine. I don't think there is any reason to use the copy from ours over that one. > On Mar 18, 2016, at 7:05 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Fri, Mar 18, 2016 at 10:44 PM, Michael Jerris wrote: >> what deps do you have that have conflicting versions? I didn't run into any. The ones i ran in to were all missing not version conflicts. The only couple libs i have seen where we tend to run into version conflicts were vpx (which we now have in tree due to how bad that issue was) and libpng. For libpng its probably worth getting the base distro to update it as most distros have painfully old versions and there is no real reason not to update it, it seems to be backwards api compatible. > > The issue I ran into was with libspeexdsp, which I originally grabbed from CSW. > > So I could compile and run FS with this dependency, but when I tried > to construct a package for FS using pkgdepend, it could not resolve > the dependency for libspeexdsp because of the way that the RUNPATH was > configured in the assembly: > > $ elfdump /opt/csw/lib/64/libspeexdsp.so.1 | grep RUNPATH > /opt/csw/lib/64/libspeexdsp.so.1: .SUNW_version: zero sh_entsize > information, expected 0x1 > [5] RUNPATH 0x7f4 /opt/csw/lib/$ISALIST:/opt/csw/lib/64 > > So I was trying to see if could supply a custom libspeexdsp to see if > that fixed the pkgdepend issue. > > And in doing so, I ran into the updated libvpx tree. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 0x6e6562 at gmail.com Sat Mar 19 02:46:25 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Fri, 18 Mar 2016 23:46:25 +0000 Subject: [Freeswitch-users] major build change in master. In-Reply-To: References: <11F53FA1-A64F-4DF4-BE42-E22F668E25EB@jerris.com> <19472AAF-A44E-4D28-B648-6E292F201392@jerris.com> <2666207F-8FF5-4A6F-B746-E2613847F6D2@jerris.com> <36E193AF-389F-4CAA-A56A-36C678232356@jerris.com> Message-ID: On Fri, Mar 18, 2016 at 11:12 PM, Michael Jerris wrote: > I think the version from CSW was fine. I don't think there is any reason to use the copy from ours over that one. You might well be right on that point - after all, I got FS to run just fine with CSW package. The issue I encountered was with pkgdepend, and I could make any further headway with the issue, so I decided to try something different in order to exclude the possibility that there was something about the CSW packaging of libspeex that was presenting pkgdepend with issues. But after having rebuild FS with non-CSW dependencies, I ran into the same issue with pkgdepend, so it has nothing to due with the method of supplying the dependenices. From brian at freeswitch.org Sat Mar 19 02:49:35 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 18 Mar 2016 19:49:35 -0400 Subject: [Freeswitch-users] SRTP calls fail 'because secure media is administratively disabled' In-Reply-To: <24460.1458313473@ccs.covici.com> References: <24460.1458313473@ccs.covici.com> Message-ID: Think you mean YEAR On Friday, March 18, 2016, wrote: > They changed the name to rtp_secure_media sometime in the last few > months. > > Eternal21 > wrote: > > > I am using FreeSWITCH demo configuration to test SRTP calls. I am > placing > > a call between endpoint 1000 and 1001. The call works fine when SRTP is > > disabled on the softphones. The problem starts when I enable SRTP on the > > softphones. I also enabled SRTP on FreeSWITCH server, by including the > > following command in vars.xml: > > > > > > > > When I try to place a call between the two endpoints now, I end up with > one > > side immediately hanging up. > > Specifically, the error seems to be: > > [WARNING] switch_core_media.c:4035 Declining invite with only SAVP > because > > secure media is administratively disabled > > > > Followed by: > > [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 > > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] > > > > Couldn't find any info on how to resolve this issue online. > > > > Here's the relevant log: > > 2016-03-18 09:45:21.664536 > > > > [INFO] switch_rtp.c:3605 Activating Audio Secure RTP SEND > > [DEBUG] switch_core_sqldb.c:2607 Secure Type: > > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > > [INFO] switch_rtp.c:3583 Activating Audio Secure RTP RECV > > [DEBUG] switch_core_sqldb.c:2607 Secure Type: > > srtp:sdes:AES_CM_128_HMAC_SHA1_80 > > [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 10.10.10.77 > ! > > [DEBUG] switch_channel.c:3461 (sofia/internal/1000 at 10.10.10.77 > ) Callstate > > Change RINGING -> EARLY > > [DEBUG] mod_sofia.c:2330 Ring SDP: > > v=0 > > o=FreeSWITCH 1458288533 1458288534 IN IP4 10.10.10.77 > > s=FreeSWITCH > > c=IN IP4 10.10.10.77 > > t=0 0 > > m=audio 20188 RTP/SAVP 0 101 > > a=rtpmap:0 PCMU/8000 > > a=rtpmap:101 telephone-event/8000 > > a=fmtp:101 0-16 > > a=ptime:20 > > a=sendrecv > > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > > inline:uhco9Z9FgciE1vh5LQqGyNXxts0etxavW51gJKVP > > > > [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success > L16 at 8000hz > > 1 channel 20ms > > [DEBUG] switch_core_codec.c:221 sofia/internal/1000 at 10.10.10.77 > Push codec > > L16:100 > > [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone > > [%(2000,4000,440,480)] > > [DEBUG] sofia.c:6756 Channel sofia/internal/1000 at 10.10.10.77 > entering state > > [early][183] > > [DEBUG] switch_rtp.c:6645 Correct audio ip/port confirmed. > > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 > entering > > state [completing][200] > > [DEBUG] sofia.c:6766 Remote SDP: > > v=0 > > o=VOCAL 61793 12653 IN IP4 10.10.10.112 > > s=- > > c=IN IP4 10.10.10.112 > > t=0 0 > > m=audio 1442 RTP/SAVP 0 > > a=rtpmap:0 PCMU/8000 > > a=crypto:1 AES_CM_128_HMAC_SHA1_80 > > inline:i7qQOAKGWeBs/QtXQcYRD3g7u2pGv/BDqrvKE6Av > > a=ptime:20 > > > > [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 10.10.10.112:5060 > entering > > state [ready][200] > > [WARNING] switch_core_media.c:4035 Declining invite with only SAVP > because > > secure media is administratively disabled > > [NOTICE] sofia.c:7742 Hangup sofia/internal/1001 at 10.10.10.112:5060 > > [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] > > [DEBUG] sofia.c:1355 Channel is already hungup. > > > > 2016-03-18 09:45:26.303802 > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici at ccs.covici.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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160318/93aebc59/attachment.html From francesco.piccinin at gmail.com Sat Mar 19 03:50:39 2016 From: francesco.piccinin at gmail.com (Francesco Piccinin) Date: Sat, 19 Mar 2016 01:50:39 +0100 Subject: [Freeswitch-users] Freeswitch IVR: call drop on transfer to busy extensions In-Reply-To: References: Message-ID: After further testing it seems that in xml calls I'm not able of gather continue on fail var on bridge and for this reason the ivr leg is hanged up. Might be useful to use originate_disposition in this case in order to moving on and processing dialplan instructions? Thanks Regards Francesco Il 16/mar/2016 09:41, "Francesco Piccinin" ha scritto: > Hello Giovanni and Bote, > here you are updated pastebin on suggested url: > > Freeswitch dialplan files > https://pastebin.freeswitch.org/24597 > > FSCLI internal call log: > https://pastebin.freeswitch.org/24598 > > FSCLI external call log: > https://pastebin.freeswitch.org/24599 > > > Looking forward to your feedback. > > thanks > Regards > > Francesco > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160319/4f0bf573/attachment.html From piotrek.gregor at gmail.com Sat Mar 19 03:55:49 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Sat, 19 Mar 2016 00:55:49 +0000 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Hi Vallimamod, the macros must unfortunately stay as they are because we need to avoid unnecessary function calls on heavy code paths of execution. Actually, I've had to add more of them recently to enable change of resolution in arc cosine table creation (this is used if FASTMATH is defined). To ease debugging you may wish to compile module with -E flag, this will expand macros. I am going to complete FS-8875 in coming week. Most likely this will simply comes down to another option in options header (which if enabled will avoid computing of arcus cosine) plus some minor adjustments to make the rest of the code reflect that change. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160319/10e88204/attachment-0001.html From anthony.minessale at gmail.com Sat Mar 19 10:36:13 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 19 Mar 2016 02:36:13 -0500 Subject: [Freeswitch-users] Disable picture_fast_update INFO requests In-Reply-To: References: Message-ID: Probably if it actually sent a key frame when onr was desired. We could pribably make a param to disable it. Or disable it on sip+webrtc though I still don't get why that is even a thing. Webrtc hates sip, their very core goal is to eliminaye it. Yes we support the rtcp way. On Friday, March 18, 2016, Fabio Margarido wrote: > I've now managed to get both sides to send a 200 OK response to the INFO > request, but FreeSWITCH keeps sending them at a rate of more than one per > second. > > Is this expected behavior? > > On Wed, Mar 16, 2016 at 3:41 PM Fabio Margarido > wrote: > >> Anyone? >> >> From what I understood reading other discussions regarding this request >> on the list, this is an obsolete way of requesting a picture refresh and >> that the ideal way would be via RTCP. Does FreeSWITCH support both? If >> that's the case, shouldn't there be a flag which allows to choose which >> method to use? >> >> Thanks. >> >> On Wed, Mar 9, 2016 at 3:01 PM Fabio Margarido > > wrote: >> >>> Hi there. >>> >>> I'm trying a scenario in which FreeSWITCH sits between a WebRTC endpoint >>> and an IMS network, performing media conversion. >>> >>> When a call is established, FS starts to send INFO requests with an >>> application/media_control+xml body related to RFC 5168. The WebRTC endpoint >>> always responds with 415 Unsupported Media Type (the web application uses >>> sip.js) and the IMS network sometimes responds with 500 Server Internal >>> Error. The problem I have is that FS sends that request every second to >>> both sides and keeps doing so for as long as the call is answered. >>> >>> My question is whether it would stop or at least scale down the >>> frequency if both sides replied with 200 OK, or alternatively if there is a >>> way to disable the sending of these requests. I've looked at the >>> documentation and the mailing list history but couldn't find anything >>> conclusive. >>> >>> Thanks in advance. >>> >> -- 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/20160319/fedb3ef7/attachment.html From anthony.minessale at gmail.com Sat Mar 19 10:47:34 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 19 Mar 2016 02:47:34 -0500 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: If you are using FS as a dialer. The beep detect thing is there for amusement. If you are serious and making money from this ridiculous election remember FS is saving you countless thousands and donate or make an investment in the commercial AMD module. consulting at freeswitch.org On Friday, March 18, 2016, Piotr Gregor wrote: > Hi Vallimamod, > > the macros must unfortunately stay as they are because we need to avoid > unnecessary function calls on heavy code paths of execution. > Actually, I've had to add more of them recently to enable change of > resolution > in arc cosine table creation (this is used if FASTMATH is defined). > To ease debugging you may wish to compile module with -E flag, > this will expand macros. > > I am going to complete FS-8875 in coming week. Most likely this will > simply comes > down to another option in options header (which if enabled will avoid > computing > of arcus cosine) plus some minor adjustments to make the rest of the code > reflect > that change. > > cheers, > Piotr > -- 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/20160319/d9524f12/attachment.html From ssinyagin at gmail.com Sat Mar 19 18:42:57 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 19 Mar 2016 16:42:57 +0100 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: is it a physical or virtual host? It's quite common that with public virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH may lose RTP packets or send them too late because it didn't have enough CPU cycles. You can analyze the quality of RTP stream with tshark, and also there's voice analysis software by Sevena (http://sevana.biz/products/aqua/). On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: > We have experienced intermittent call quality issue. Muffled sound in the > middle of call. No high load on free-switch. Even with as low as 10 > simultaneous calls. Does any one know any tool free or paid that can > monitor the RTP traffic and help us trouble shoot the issue. > > System is hosted in data-center with 100MB connection. > > 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 From naveen32india at gmail.com Sat Mar 19 21:41:54 2016 From: naveen32india at gmail.com (Naveen Tamanam) Date: Sun, 20 Mar 2016 00:11:54 +0530 Subject: [Freeswitch-users] How to stop the current dialplan application which is being executed Message-ID: Hi, How to stop the current dialplan application which is being executed. I'm aware of uuid_break, which is useful to stop the audio which is being sent on channel currently. But I'm looking for the way to stop the current application. UseCase: Here is the use case, why I asked this question, and what I have experienced. I'm playing some IVR application on channel, I switched back to playback application by calling uuid_break to stop the IVR, but I still hear the sound regarding IVR application(ivr greet short sound) during gap/silence of current playback sound. -- Thanks & Regards, Naveen Tamanam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160320/320b8df3/attachment.html From anthony.minessale at gmail.com Sat Mar 19 22:06:41 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 19 Mar 2016 14:06:41 -0500 Subject: [Freeswitch-users] How to stop the current dialplan application which is being executed In-Reply-To: References: Message-ID: uuid_transfer park inline On Sat, Mar 19, 2016 at 1:41 PM, Naveen Tamanam wrote: > Hi, > > How to stop the current dialplan application which is being executed. > I'm aware of uuid_break, which is useful to stop the audio which is being > sent on channel currently. But I'm looking for the way to stop the current > application. > > UseCase: > Here is the use case, why I asked this question, and what I have > experienced. > > I'm playing some IVR application on channel, I switched back to playback > application by calling uuid_break to stop the IVR, but I still hear the > sound regarding IVR application(ivr greet short sound) during gap/silence > of current playback sound. > > -- > Thanks & Regards, > Naveen Tamanam > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160319/59b0622c/attachment-0001.html From shlomis at liveperson.com Sun Mar 20 14:46:08 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Sun, 20 Mar 2016 13:46:08 +0200 Subject: [Freeswitch-users] MOD_VERTO Login Incorrect Message-ID: Hi All, I have reinstalled FreeSwitch with FusionPBX. After installation I have changed the default password at vars.xml and modified verto.conf.xml like so: ** ** I'm trying to login like so: *{"jsonrpc":"2.0","method":"login","id":1,"params":{"login":"1000 at X.X.X.X","loginParams":{},"userVariables":{},"passwd":"my_pass","sessid":"6B3DC5AB-58E0-4375-82C1-E1A98ACBA5ED"}}* However I get a login error: *{"jsonrpc":"2.0","id":1,"error":{"message":"Login Incorrect","code":-32001}}* This setting used to work for me, what am I missing? -- 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/20160320/4a7f284d/attachment.html From shlomis at liveperson.com Sun Mar 20 17:53:40 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Sun, 20 Mar 2016 16:53:40 +0200 Subject: [Freeswitch-users] mod_verto - can't find user Message-ID: Hi All, (Sorry for the newbe question) I'm using mod verto with: ** user login works fine, and I get: *{"jsonrpc":"2.0","id":1,"result":{"message":"logged in","sessid":"E1778D07-8A99-4DBF-88EE-2C57740205D0"}}* however when dialing I can see this warning in the log: *switch_ivr.c:3767 can't find user [1008 at X.X.X.X] * And no call is initiated, what am I missing? -- 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/20160320/c5af43f7/attachment.html From max at nysolutions.com Sun Mar 20 18:40:58 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Sun, 20 Mar 2016 15:40:58 +0000 Subject: [Freeswitch-users] mod_verto - can't find user In-Reply-To: References: Message-ID: A little more of the log will help, make sure the domain/context is correct. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Sunday, March 20, 2016 10:54 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] mod_verto - can't find user Hi All, (Sorry for the newbe question) I'm using mod verto with: user login works fine, and I get: {"jsonrpc":"2.0","id":1,"result":{"message":"logged in","sessid":"E1778D07-8A99-4DBF-88EE-2C57740205D0"}} however when dialing I can see this warning in the log: switch_ivr.c:3767 can't find user [1008 at X.X.X.X] And no call is initiated, what am I missing? 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/20160320/077fe2bb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160320/077fe2bb/attachment-0001.jpg From gregor at infomedia.si Mon Mar 21 02:43:03 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 21 Mar 2016 00:43:03 +0100 Subject: [Freeswitch-users] Schedule Api Message-ID: Playing with ESL and need some advice. How can I schedule this dialplan command for example: I want to shedule from ESL to raise CUSTOM event in x seconds, so I can catch this event in ESL. Should I send Api or Command from my code (ESL)? I tried to send like: sched_api +5 cc event Event-Name=CUSTOM, Event-Subclass=mysub::sub But I get error Invalid Command! Any hint? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/e520e482/attachment.html From vfclists at gmail.com Mon Mar 21 10:36:54 2016 From: vfclists at gmail.com (vfclists .) Date: Mon, 21 Mar 2016 07:36:54 +0000 Subject: [Freeswitch-users] What Lua packages do I need to get started with Lua, especially if I want to use ESL? Message-ID: What Lua packages do I need to get started with Lua, especially if I want to use ESL, ie in addition to those which are automatically included by the Lua installation? Are there some recommended sets and download locations? -- Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/909daadb/attachment.html From shlomis at liveperson.com Mon Mar 21 11:03:41 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Mon, 21 Mar 2016 10:03:41 +0200 Subject: [Freeswitch-users] mod_verto - can't find user In-Reply-To: References: Message-ID: Thanks for the reply, here is an extra log: 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:3997 195.62.30.20:52875 Client Connect. 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:1973 195.62.30.20:52875 Starting client thread. 2016-03-21 03:56:51.473025 [INFO] mod_verto.c:1262 195.62.30.20:52875 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:56:59.693030 [DEBUG] mod_verto.c:1857 BAD READ -1000 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2000 195.62.30.20:52875 Ending client thread. 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2007 195.62.30.20:52875 Thread ended 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:3997 195.62.30.20:52879 Client Connect. 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:1973 195.62.30.20:52879 Starting client thread. 2016-03-21 03:57:02.873047 [INFO] mod_verto.c:1262 195.62.30.20:52879 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:57:02.993016 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:57:03.013014 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:57:10.293081 [DEBUG] mod_verto.c:1857 BAD READ -1000 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2000 195.62.30.20:52879 Ending client thread. 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2007 195.62.30.20:52879 Thread ended 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:3997 195.62.30.20:52883 Client Connect. 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:1973 195.62.30.20:52883 Starting client thread. 2016-03-21 03:57:13.633074 [INFO] mod_verto.c:1262 195.62.30.20:52883 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:3997 82.166.93.197:52545 Client Connect. 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:1973 82.166.93.197:52545 Starting client thread. 2016-03-21 03:58:08.853008 [INFO] mod_verto.c:1262 82.166.93.197:52545 re-connecting session C911C9C4-05EA-453D-8716-08AF865B65A1 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_session.c:613 N/A set UUID=B27A64E8-DC42-43EA-B75E-384E7E6A18F7 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [NOTICE] switch_channel.c:1101 New Channel verto.rtc/1008 [B27A64E8-DC42-43EA-B75E-384E7E6A18F7] 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [WARNING] switch_ivr.c:3767 can't find user [1000 at X.X.X.X] B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/1008: B27A64E8-DC42-43EA-B75E-384E7E6A18F7 v=0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 o=- 7848321386842985721 2 IN IP4 127.0.0.1 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 s=- B27A64E8-DC42-43EA-B75E-384E7E6A18F7 t=0 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=group:BUNDLE audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=msid-semantic: WMS Local-Meida B27A64E8-DC42-43EA-B75E-384E7E6A18F7 m=audio 51977 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 127 126 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 c=IN IP4 82.166.93.197 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp:56900 IN IP4 82.166.93.197 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 1 udp 2122260223 11.0.0.244 51977 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 1 udp 2122194687 10.131.189.56 60401 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 2 udp 2122260222 11.0.0.244 56900 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 2 udp 2122194686 10.131.189.56 61611 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 1 udp 1686052607 82.166.93.197 51977 typ srflx raddr 11.0.0.244 rport 51977 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 2 udp 1686052606 82.166.93.197 56900 typ srflx raddr 11.0.0.244 rport 56900 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 1 tcp 1518280447 11.0.0.244 52551 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 1 tcp 1518214911 10.131.189.56 52552 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 2 tcp 1518280446 11.0.0.244 52553 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 2 tcp 1518214910 10.131.189.56 52554 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 1 udp 1685987071 176.13.17.109 3179 typ srflx raddr 10.131.189.56 rport 60401 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 2 udp 1685987070 176.13.17.109 3209 typ srflx raddr 10.131.189.56 rport 61611 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-ufrag:/lAaBb3R+aNjW4Iy B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-pwd:Uzvfu2w67cIGuS3pUcd+Ogrk B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fingerprint:sha-256 52:A7:FD:0F:DA:6D:CA:6A:4C:1F:EE:E1:C3:DE:B7:B4:E8:48:68:92:5A:AD:4F:72:6A:DD:2B:44:B2:BD:6F:AC B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=setup:actpass B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=mid:audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=sendrecv B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp-mux B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:111 opus/48000/2 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fmtp:111 minptime=10; useinbandfec=1 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:103 ISAC/16000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:104 ISAC/32000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:9 G722/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:102 ILBC/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:0 PCMU/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:8 PCMA/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:106 CN/32000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:105 CN/16000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:13 CN/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:127 red/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:126 telephone-event/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=maxptime:60 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 cname:T1GgzljXKNQUWpXL B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 msid:Local-Meida Local-Audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 mslabel:Local-Meida B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 label:Local-Audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1008) State INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:40 verto.rtc/1008 Standard INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/1008) State Change CS_INIT -> CS_ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1008) State INIT going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_channel.c:2247 (verto.rtc/1008) Callstate Change DOWN -> RINGING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_rtc.c:89 verto.rtc/1008 RTC ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:166 verto.rtc/1008 Standard ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [INFO] mod_dialplan_xml.c:637 Processing FreeSWITCH User <1000>->1008 in context default 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:14.073050 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 parsing [default->intercept-ext-polycom] continue=false B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 Regex (FAIL) [intercept-ext-polycom] destination_number(1008) =~ /^\*97(\d+)$/ break=on-false B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [INFO] switch_core_state_machine.c:241 No Route, Aborting B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [NOTICE] switch_core_state_machine.c:242 Hangup verto.rtc/1008 [CS_ROUTING] [NO_ROUTE_DESTINATION] B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/1008) Callstate Change RINGING -> HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:60 verto.rtc/1008 Standard HANGUP, cause: NO_ROUTE_DESTINATION B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/1008) State Change CS_HANGUP -> CS_REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:104 verto.rtc/1008 Standard REPORTING, cause: NO_ROUTE_DESTINATION B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/1008) State Change CS_REPORTING -> CS_DESTROY B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_session.c:1646 Session 117 (verto.rtc/1008) Locked, Waiting on external entities B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] switch_core_session.c:1664 Session 117 (verto.rtc/1008) Ended B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/1008 [CS_DESTROY] On Sun, Mar 20, 2016 at 5:40 PM, Moishe Grunstein wrote: > A little more of the log will help, make sure the domain/context is > correct. > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shlomi > Schwartz > *Sent:* Sunday, March 20, 2016 10:54 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] mod_verto - can't find user > > > > Hi All, (Sorry for the newbe question) I'm using mod verto with: * name="blind-reg" value="true"/>* > > user login works fine, and I get: *{"jsonrpc":"2.0","id":1,"result":{"message":"logged > in","sessid":"E1778D07-8A99-4DBF-88EE-2C57740205D0"}}* > > however when dialing I can see this warning in the log: *switch_ivr.c:3767 > can't find user [1008 at X.X.X.X] * > > And no call is initiated, what am I missing? > > > > > > 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 > -- 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/20160321/6b69e2cc/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/6b69e2cc/attachment-0001.jpg From gregor at infomedia.si Mon Mar 21 13:24:26 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 21 Mar 2016 11:24:26 +0100 Subject: [Freeswitch-users] Schedule Api In-Reply-To: References: Message-ID: Or maybe if I explain what I want to achive. I want to triger CUSTOM event in 10 seconds for example. I know that sched_api is right tool to do this job, but do not know how to set command event ... in sched_api. Maybe another way for this scenario? Best regards, Gregor 2016-03-21 0:43 GMT+01:00 Gregor Nanger : > Playing with ESL and need some advice. > > How can I schedule this dialplan command for example: > > data="Event-Subclass=myevent::notify,Event-Name=CUSTOM,key1=value1,key2=value2"/> > > I want to shedule from ESL to raise CUSTOM event in x seconds, so I can > catch this event in ESL. > > Should I send Api or Command from my code (ESL)? > > I tried to send like: > > sched_api +5 cc event Event-Name=CUSTOM, Event-Subclass=mysub::sub > > But I get error Invalid Command! > > Any hint? > > > -- 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/20160321/0616ab07/attachment.html From max at nysolutions.com Mon Mar 21 15:46:23 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Mon, 21 Mar 2016 12:46:23 +0000 Subject: [Freeswitch-users] mod_verto - can't find user In-Reply-To: References: Message-ID: <9f070cbe0e484f14a21b15beec4d24d7@nysolutions.com> It may be a bad acl configuration, it appears as an external call on public context. I can also see you are using context default, you mentioned you are using fusionpbx, they do not use context default, fusionpbx uses a multi-tenant domain-name context. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Monday, March 21, 2016 4:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_verto - can't find user Thanks for the reply, here is an extra log: 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:3997 195.62.30.20:52875 Client Connect. 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:1973 195.62.30.20:52875 Starting client thread. 2016-03-21 03:56:51.473025 [INFO] mod_verto.c:1262 195.62.30.20:52875 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:56:59.693030 [DEBUG] mod_verto.c:1857 BAD READ -1000 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2000 195.62.30.20:52875 Ending client thread. 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2007 195.62.30.20:52875 Thread ended 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:3997 195.62.30.20:52879 Client Connect. 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:1973 195.62.30.20:52879 Starting client thread. 2016-03-21 03:57:02.873047 [INFO] mod_verto.c:1262 195.62.30.20:52879 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:57:02.993016 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:57:03.013014 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:57:10.293081 [DEBUG] mod_verto.c:1857 BAD READ -1000 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2000 195.62.30.20:52879 Ending client thread. 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2007 195.62.30.20:52879 Thread ended 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:3997 195.62.30.20:52883 Client Connect. 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:1973 195.62.30.20:52883 Starting client thread. 2016-03-21 03:57:13.633074 [INFO] mod_verto.c:1262 195.62.30.20:52883 re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0898102700 Connected. 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0898102700 released. 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:3997 82.166.93.197:52545 Client Connect. 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:1973 82.166.93.197:52545 Starting client thread. 2016-03-21 03:58:08.853008 [INFO] mod_verto.c:1262 82.166.93.197:52545 re-connecting session C911C9C4-05EA-453D-8716-08AF865B65A1 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_rtc.c:389 () State Change CS_NEW -> CS_INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_session.c:613 N/A set UUID=B27A64E8-DC42-43EA-B75E-384E7E6A18F7 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [NOTICE] switch_channel.c:1101 New Channel verto.rtc/1008 [B27A64E8-DC42-43EA-B75E-384E7E6A18F7] 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [WARNING] switch_ivr.c:3767 can't find user [1000 at X.X.X.X] B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_verto.c:3553 Remote SDP verto.rtc/1008: B27A64E8-DC42-43EA-B75E-384E7E6A18F7 v=0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 o=- 7848321386842985721 2 IN IP4 127.0.0.1 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 s=- B27A64E8-DC42-43EA-B75E-384E7E6A18F7 t=0 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=group:BUNDLE audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=msid-semantic: WMS Local-Meida B27A64E8-DC42-43EA-B75E-384E7E6A18F7 m=audio 51977 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 127 126 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 c=IN IP4 82.166.93.197 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp:56900 IN IP4 82.166.93.197 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 1 udp 2122260223 11.0.0.244 51977 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 1 udp 2122194687 10.131.189.56 60401 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 2 udp 2122260222 11.0.0.244 56900 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 2 udp 2122194686 10.131.189.56 61611 typ host generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 1 udp 1686052607 82.166.93.197 51977 typ srflx raddr 11.0.0.244 rport 51977 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 2 udp 1686052606 82.166.93.197 56900 typ srflx raddr 11.0.0.244 rport 56900 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 1 tcp 1518280447 11.0.0.244 52551 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 1 tcp 1518214911 10.131.189.56 52552 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 2 tcp 1518280446 11.0.0.244 52553 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 2 tcp 1518214910 10.131.189.56 52554 typ host tcptype passive generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 1 udp 1685987071 176.13.17.109 3179 typ srflx raddr 10.131.189.56 rport 60401 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 2 udp 1685987070 176.13.17.109 3209 typ srflx raddr 10.131.189.56 rport 61611 generation 0 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-ufrag:/lAaBb3R+aNjW4Iy B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-pwd:Uzvfu2w67cIGuS3pUcd+Ogrk B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fingerprint:sha-256 52:A7:FD:0F:DA:6D:CA:6A:4C:1F:EE:E1:C3:DE:B7:B4:E8:48:68:92:5A:AD:4F:72:6A:DD:2B:44:B2:BD:6F:AC B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=setup:actpass B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=mid:audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=sendrecv B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp-mux B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:111 opus/48000/2 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fmtp:111 minptime=10; useinbandfec=1 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:103 ISAC/16000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:104 ISAC/32000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:9 G722/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:102 ILBC/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:0 PCMU/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:8 PCMA/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:106 CN/32000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:105 CN/16000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:13 CN/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:127 red/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:126 telephone-event/8000 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=maxptime:60 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 cname:T1GgzljXKNQUWpXL B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 msid:Local-Meida Local-Audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 mslabel:Local-Meida B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 label:Local-Audio B27A64E8-DC42-43EA-B75E-384E7E6A18F7 B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1008) State INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:40 verto.rtc/1008 Standard INIT B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:48 (verto.rtc/1008) State Change CS_INIT -> CS_ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:516 (verto.rtc/1008) State INIT going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_channel.c:2247 (verto.rtc/1008) Callstate Change DOWN -> RINGING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] mod_rtc.c:89 verto.rtc/1008 RTC ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] switch_core_state_machine.c:166 verto.rtc/1008 Standard ROUTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [INFO] mod_dialplan_xml.c:637 Processing FreeSWITCH User <1000>->1008 in context default 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f08a8048530 Connected. 2016-03-21 03:58:14.073050 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f08a8048530 released. B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 parsing [default->intercept-ext-polycom] continue=false B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 Regex (FAIL) [intercept-ext-polycom] destination_number(1008) =~ /^\*97(\d+)$/ break=on-false B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [INFO] switch_core_state_machine.c:241 No Route, Aborting B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [NOTICE] switch_core_state_machine.c:242 Hangup verto.rtc/1008 [CS_ROUTING] [NO_ROUTE_DESTINATION] B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:739 (verto.rtc/1008) Callstate Change RINGING -> HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:60 verto.rtc/1008 Standard HANGUP, cause: NO_ROUTE_DESTINATION B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:508 (verto.rtc/1008) State Change CS_HANGUP -> CS_REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change CS_REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:104 verto.rtc/1008 Standard REPORTING, cause: NO_ROUTE_DESTINATION B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING going to sleep B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_state_machine.c:499 (verto.rtc/1008) State Change CS_REPORTING -> CS_DESTROY B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] switch_core_session.c:1646 Session 117 (verto.rtc/1008) Locked, Waiting on external entities B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] switch_core_session.c:1664 Session 117 (verto.rtc/1008) Ended B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] switch_core_session.c:1668 Close Channel verto.rtc/1008 [CS_DESTROY] On Sun, Mar 20, 2016 at 5:40 PM, Moishe Grunstein > wrote: A little more of the log will help, make sure the domain/context is correct. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Sunday, March 20, 2016 10:54 AM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] mod_verto - can't find user Hi All, (Sorry for the newbe question) I'm using mod verto with: user login works fine, and I get: {"jsonrpc":"2.0","id":1,"result":{"message":"logged in","sessid":"E1778D07-8A99-4DBF-88EE-2C57740205D0"}} however when dialing I can see this warning in the log: switch_ivr.c:3767 can't find user [1008 at X.X.X.X] And no call is initiated, what am I missing? 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 -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png] [https://signature.s3.amazonaws.com/2015/Twitter.png] [https://signature.s3.amazonaws.com/2015/Facebook.png] We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg] 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/20160321/2a667acb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/2a667acb/attachment-0001.jpg From fabiomargarido at gmail.com Mon Mar 21 16:07:26 2016 From: fabiomargarido at gmail.com (Fabio Margarido) Date: Mon, 21 Mar 2016 13:07:26 +0000 Subject: [Freeswitch-users] Disable picture_fast_update INFO requests In-Reply-To: References: Message-ID: Yeah, sometimes it's a pain to get things to work with SIP in the browser. I've created improvement FS-8964 for this. Thanks On Sat, Mar 19, 2016 at 4:37 AM Anthony Minessale < anthony.minessale at gmail.com> wrote: > Probably if it actually sent a key frame when onr was desired. > > We could pribably make a param to disable it. Or disable it on sip+webrtc > though I still don't get why that is even a thing. Webrtc hates sip, their > very core goal is to eliminaye it. > > Yes we support the rtcp way. > > > > On Friday, March 18, 2016, Fabio Margarido > wrote: > >> I've now managed to get both sides to send a 200 OK response to the INFO >> request, but FreeSWITCH keeps sending them at a rate of more than one per >> second. >> >> Is this expected behavior? >> >> On Wed, Mar 16, 2016 at 3:41 PM Fabio Margarido >> wrote: >> >>> Anyone? >>> >>> From what I understood reading other discussions regarding this request >>> on the list, this is an obsolete way of requesting a picture refresh and >>> that the ideal way would be via RTCP. Does FreeSWITCH support both? If >>> that's the case, shouldn't there be a flag which allows to choose which >>> method to use? >>> >>> Thanks. >>> >>> On Wed, Mar 9, 2016 at 3:01 PM Fabio Margarido >>> wrote: >>> >>>> Hi there. >>>> >>>> I'm trying a scenario in which FreeSWITCH sits between a WebRTC >>>> endpoint and an IMS network, performing media conversion. >>>> >>>> When a call is established, FS starts to send INFO requests with an >>>> application/media_control+xml body related to RFC 5168. The WebRTC endpoint >>>> always responds with 415 Unsupported Media Type (the web application uses >>>> sip.js) and the IMS network sometimes responds with 500 Server Internal >>>> Error. The problem I have is that FS sends that request every second to >>>> both sides and keeps doing so for as long as the call is answered. >>>> >>>> My question is whether it would stop or at least scale down the >>>> frequency if both sides replied with 200 OK, or alternatively if there is a >>>> way to disable the sending of these requests. I've looked at the >>>> documentation and the mailing list history but couldn't find anything >>>> conclusive. >>>> >>>> Thanks in advance. >>>> >>> > > -- > 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/20160321/d6960b5a/attachment.html From piotrek.gregor at gmail.com Mon Mar 21 16:27:10 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Mon, 21 Mar 2016 13:27:10 +0000 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Hi Abaci, back to your problems with Verizon voicemail - the cause of them is: 1. Audio is stereo 2. Audio is sampled at 44100Hz 3. DESA algorithm used in avmd is very sensitive to noise If you resample audio to 8000Hz and set avmd module to 8000Hz bit rate or leave it at 44100Hz but adjust avmd to 44100Hz while always properly handling number of channels (mono/stereo/...) then results are good. Avmd module in current form is unable to meet these requirements, but I am going to add the support for this. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/d5ab31fb/attachment.html From mburakbor at gmail.com Mon Mar 21 17:09:08 2016 From: mburakbor at gmail.com (=?UTF-8?B?QnVyYWsgQm9yWWF6xLFsxLFt?=) Date: Mon, 21 Mar 2016 16:09:08 +0200 Subject: [Freeswitch-users] Silent Call On Google Cloud Message-ID: Hi, I have FS 1.2.24 on Red Hat 6.7 Google cloud computing engine. Registration to server is successful and phones can make calls. But there is no sound in calls. Why is that? I think I opened the necessary ports that are explained at https://freeswitch.org/confluence/display/FREESWITCH/Amazon+EC2 Thank you, Regards... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/dd1c3db1/attachment.html From shlomis at liveperson.com Mon Mar 21 19:10:28 2016 From: shlomis at liveperson.com (Shlomi Schwartz) Date: Mon, 21 Mar 2016 18:10:28 +0200 Subject: [Freeswitch-users] mod_verto - can't find user In-Reply-To: <9f070cbe0e484f14a21b15beec4d24d7@nysolutions.com> References: <9f070cbe0e484f14a21b15beec4d24d7@nysolutions.com> Message-ID: Thanks, what should I check? (I'm new to FreeSwitch) On Mon, Mar 21, 2016 at 2:46 PM, Moishe Grunstein wrote: > It may be a bad acl configuration, it appears as an external call on > public context. > > > > I can also see you are using context default, you mentioned you are using > fusionpbx, they do not use context default, fusionpbx uses a multi-tenant > domain-name context. > > > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shlomi > Schwartz > *Sent:* Monday, March 21, 2016 4:04 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] mod_verto - can't find user > > > > Thanks for the reply, here is an extra log: > > > > 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:3997 195.62.30.20:52875 > Client Connect. > 2016-03-21 03:56:51.333045 [INFO] mod_verto.c:1973 195.62.30.20:52875 > Starting client thread. > 2016-03-21 03:56:51.473025 [INFO] mod_verto.c:1262 195.62.30.20:52875 > re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 > 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f0898102700 Connected. > 2016-03-21 03:56:51.613077 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f0898102700 released. > 2016-03-21 03:56:59.693030 [DEBUG] mod_verto.c:1857 BAD READ -1000 > 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2000 195.62.30.20:52875 > Ending client thread. > 2016-03-21 03:56:59.693030 [INFO] mod_verto.c:2007 195.62.30.20:52875 > Thread ended > 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:3997 195.62.30.20:52879 > Client Connect. > 2016-03-21 03:57:02.713024 [INFO] mod_verto.c:1973 195.62.30.20:52879 > Starting client thread. > 2016-03-21 03:57:02.873047 [INFO] mod_verto.c:1262 195.62.30.20:52879 > re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 > 2016-03-21 03:57:02.993016 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f0898102700 Connected. > 2016-03-21 03:57:03.013014 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f0898102700 released. > 2016-03-21 03:57:10.293081 [DEBUG] mod_verto.c:1857 BAD READ -1000 > 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2000 195.62.30.20:52879 > Ending client thread. > 2016-03-21 03:57:10.293081 [INFO] mod_verto.c:2007 195.62.30.20:52879 > Thread ended > 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:3997 195.62.30.20:52883 > Client Connect. > 2016-03-21 03:57:13.493028 [INFO] mod_verto.c:1973 195.62.30.20:52883 > Starting client thread. > 2016-03-21 03:57:13.633074 [INFO] mod_verto.c:1262 195.62.30.20:52883 > re-connecting session 5b75d057-448e-3a56-e475-f4043dfa5f49 > 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f0898102700 Connected. > 2016-03-21 03:57:13.793042 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f0898102700 released. > 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:3997 82.166.93.197:52545 > Client Connect. > 2016-03-21 03:58:08.073017 [INFO] mod_verto.c:1973 82.166.93.197:52545 > Starting client thread. > 2016-03-21 03:58:08.853008 [INFO] mod_verto.c:1262 82.166.93.197:52545 > re-connecting session C911C9C4-05EA-453D-8716-08AF865B65A1 > 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f08a8048530 Connected. > 2016-03-21 03:58:08.873031 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f08a8048530 released. > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > mod_rtc.c:389 () State Change CS_NEW -> CS_INIT > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_session.c:613 N/A set UUID=B27A64E8-DC42-43EA-B75E-384E7E6A18F7 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [NOTICE] > switch_channel.c:1101 New Channel verto.rtc/1008 > [B27A64E8-DC42-43EA-B75E-384E7E6A18F7] > 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f08a8048530 Connected. > 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f08a8048530 released. > > > > > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [WARNING] > switch_ivr.c:3767 can't find user [1000 at X.X.X.X] > > > > > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > mod_verto.c:3553 Remote SDP verto.rtc/1008: > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 v=0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 o=- 7848321386842985721 2 IN IP4 > 127.0.0.1 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 s=- > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 t=0 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=group:BUNDLE audio > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=msid-semantic: WMS Local-Meida > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 m=audio 51977 UDP/TLS/RTP/SAVPF 111 > 103 104 9 102 0 8 106 105 13 127 126 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 c=IN IP4 82.166.93.197 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp:56900 IN IP4 82.166.93.197 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 1 udp > 2122260223 11.0.0.244 51977 typ host generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 1 udp > 2122194687 10.131.189.56 60401 typ host generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:3168280865 2 udp > 2122260222 11.0.0.244 56900 typ host generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:605269763 2 udp > 2122194686 10.131.189.56 61611 typ host generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 1 udp > 1686052607 82.166.93.197 51977 typ srflx raddr 11.0.0.244 rport 51977 > generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1610196941 2 udp > 1686052606 82.166.93.197 56900 typ srflx raddr 11.0.0.244 rport 56900 > generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 1 tcp > 1518280447 11.0.0.244 52551 typ host tcptype passive generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 1 tcp > 1518214911 10.131.189.56 52552 typ host tcptype passive generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:4066106833 2 tcp > 1518280446 11.0.0.244 52553 typ host tcptype passive generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:1787843571 2 tcp > 1518214910 10.131.189.56 52554 typ host tcptype passive generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 1 udp > 1685987071 176.13.17.109 3179 typ srflx raddr 10.131.189.56 rport 60401 > generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=candidate:2774247863 2 udp > 1685987070 176.13.17.109 3209 typ srflx raddr 10.131.189.56 rport 61611 > generation 0 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-ufrag:/lAaBb3R+aNjW4Iy > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ice-pwd:Uzvfu2w67cIGuS3pUcd+Ogrk > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fingerprint:sha-256 > 52:A7:FD:0F:DA:6D:CA:6A:4C:1F:EE:E1:C3:DE:B7:B4:E8:48:68:92:5A:AD:4F:72:6A:DD:2B:44:B2:BD:6F:AC > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=setup:actpass > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=mid:audio > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:1 > urn:ietf:params:rtp-hdrext:ssrc-audio-level > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=extmap:3 > http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=sendrecv > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtcp-mux > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:111 opus/48000/2 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=fmtp:111 minptime=10; > useinbandfec=1 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:103 ISAC/16000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:104 ISAC/32000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:9 G722/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:102 ILBC/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:0 PCMU/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:8 PCMA/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:106 CN/32000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:105 CN/16000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:13 CN/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:127 red/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=rtpmap:126 telephone-event/8000 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=maxptime:60 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 > cname:T1GgzljXKNQUWpXL > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 msid:Local-Meida > Local-Audio > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 mslabel:Local-Meida > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 a=ssrc:3648741370 label:Local-Audio > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change > CS_INIT > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:516 (verto.rtc/1008) State INIT > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:40 verto.rtc/1008 Standard INIT > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:48 (verto.rtc/1008) State Change CS_INIT -> > CS_ROUTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:516 (verto.rtc/1008) State INIT going to sleep > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change > CS_ROUTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_channel.c:2247 (verto.rtc/1008) Callstate Change DOWN -> RINGING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > mod_rtc.c:89 verto.rtc/1008 RTC ROUTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [DEBUG] > switch_core_state_machine.c:166 verto.rtc/1008 Standard ROUTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.053074 [INFO] > mod_dialplan_xml.c:637 Processing FreeSWITCH User <1000>->1008 in context > default > 2016-03-21 03:58:14.053074 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f08a8048530 Connected. > 2016-03-21 03:58:14.073050 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f08a8048530 released. > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 parsing > [default->intercept-ext-polycom] continue=false > > > > > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 Dialplan: verto.rtc/1008 Regex (FAIL) [intercept-ext-polycom] > destination_number(1008) =~ /^\*97(\d+)$/ break=on-false > > > > > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [INFO] > switch_core_state_machine.c:241 No Route, Aborting > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [NOTICE] > switch_core_state_machine.c:242 Hangup verto.rtc/1008 [CS_ROUTING] > [NO_ROUTE_DESTINATION] > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:532 (verto.rtc/1008) State ROUTING going to > sleep > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change > CS_HANGUP > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:739 (verto.rtc/1008) Callstate Change RINGING > -> HANGUP > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:60 verto.rtc/1008 Standard HANGUP, cause: > NO_ROUTE_DESTINATION > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:741 (verto.rtc/1008) State HANGUP going to > sleep > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:508 (verto.rtc/1008) State Change CS_HANGUP -> > CS_REPORTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:473 (verto.rtc/1008) Running State Change > CS_REPORTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.073050 [DEBUG] > switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] > switch_core_state_machine.c:104 verto.rtc/1008 Standard REPORTING, cause: > NO_ROUTE_DESTINATION > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] > switch_core_state_machine.c:827 (verto.rtc/1008) State REPORTING going to > sleep > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] > switch_core_state_machine.c:499 (verto.rtc/1008) State Change CS_REPORTING > -> CS_DESTROY > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [DEBUG] > switch_core_session.c:1646 Session 117 (verto.rtc/1008) Locked, Waiting on > external entities > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] > switch_core_session.c:1664 Session 117 (verto.rtc/1008) Ended > B27A64E8-DC42-43EA-B75E-384E7E6A18F7 2016-03-21 03:58:14.093015 [NOTICE] > switch_core_session.c:1668 Close Channel verto.rtc/1008 [CS_DESTROY] > > > > On Sun, Mar 20, 2016 at 5:40 PM, Moishe Grunstein > wrote: > > A little more of the log will help, make sure the domain/context is > correct. > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shlomi > Schwartz > *Sent:* Sunday, March 20, 2016 10:54 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] mod_verto - can't find user > > > > Hi All, (Sorry for the newbe question) I'm using mod verto with: * name="blind-reg" value="true"/>* > > user login works fine, and I get: *{"jsonrpc":"2.0","id":1,"result":{"message":"logged > in","sessid":"E1778D07-8A99-4DBF-88EE-2C57740205D0"}}* > > however when dialing I can see this warning in the log: *switch_ivr.c:3767 > can't find user [1008 at X.X.X.X] * > > And no call is initiated, what am I missing? > > > > > > 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 > > > > > > -- > > 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 > -- 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/20160321/c06c3760/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/c06c3760/attachment-0001.jpg From 0x6e6562 at gmail.com Mon Mar 21 19:20:11 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Mon, 21 Mar 2016 16:20:11 +0000 Subject: [Freeswitch-users] OSX shared libesl Message-ID: Hi, Does anybody know which flags to set to produce a shared libesl on OSX? Using the following option ./configure --enable-64 --disable-static --enable-shared produces libesl.la But is there a way to get it to produce a dynamically loadable library on OSX? Any help appreciated, Ben From mike at jerris.com Mon Mar 21 20:26:37 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 21 Mar 2016 13:26:37 -0400 Subject: [Freeswitch-users] OSX shared libesl In-Reply-To: References: Message-ID: <43E1B314-7479-479D-94BD-69005A83745A@jerris.com> all you should need is ./configure. The others shouldn't be necessary at all. a .la file is a libtool library file and has nothing to do with if its dynamic or static. The configure args you specified will also produce a dynamic, but none of those are necessary to get that result. --enable-64 is really just used for solaris where the default compiler is 32 bit on 64 bit os. > On Mar 21, 2016, at 12:20 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > Hi, > > Does anybody know which flags to set to produce a shared libesl on OSX? > > Using the following option > > ./configure --enable-64 --disable-static --enable-shared > > produces > > libesl.la > > But is there a way to get it to produce a dynamically loadable library on OSX? > > Any help appreciated, > > Ben > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 jprangi at didforsale.com Mon Mar 21 23:41:09 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Mon, 21 Mar 2016 13:41:09 -0700 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: This is Physical server with 16 cores and 48 GB ram. I will check out Sevena. Thank you, -Jai *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin wrote: > is it a physical or virtual host? It's quite common that with public > virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH > may lose RTP packets or send them too late because it didn't have > enough CPU cycles. > > You can analyze the quality of RTP stream with tshark, and also > there's voice analysis software by Sevena > (http://sevana.biz/products/aqua/). > > > > > > On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: > > We have experienced intermittent call quality issue. Muffled sound in the > > middle of call. No high load on free-switch. Even with as low as 10 > > simultaneous calls. Does any one know any tool free or paid that can > > monitor the RTP traffic and help us trouble shoot the issue. > > > > System is hosted in data-center with 100MB connection. > > > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/7eca8f1a/attachment.html From abaci64 at gmail.com Mon Mar 21 23:53:58 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 21 Mar 2016 16:53:58 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: I didn't try with stereo 44100Hz, I tried simple g711 calls to Verizon cell phones and it didn't trigger the beep, when calling a voicemail on another freeswitch box it did detect the beep. On Mon, Mar 21, 2016 at 9:27 AM, Piotr Gregor wrote: > Hi Abaci, > > back to your problems with Verizon voicemail - the cause of them is: > > 1. Audio is stereo > 2. Audio is sampled at 44100Hz > 3. DESA algorithm used in avmd is very sensitive to noise > > If you resample audio to 8000Hz and set avmd module to 8000Hz bit rate > or leave it at 44100Hz but adjust avmd to 44100Hz while always properly > handling number of channels (mono/stereo/...) then results are good. > Avmd module in current form is unable to meet these requirements, > but I am going to add the support for this. > > cheers, > Piotr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160321/63fe0665/attachment.html From chad at apartmentlines.com Tue Mar 22 00:16:15 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Mon, 21 Mar 2016 15:16:15 -0600 Subject: [Freeswitch-users] What Lua packages do I need to get started with Lua, especially if I want to use ESL? In-Reply-To: References: Message-ID: minimally, you'll need to build the lua ESL module (check the wiki for instructions). beyond that you can do quite a bit with standard lua. if you need more capability, i would recommend finding and installing them using luarocks: https://luarocks.org the three most common additional packages i use are: - https://luarocks.org/modules/hisham/luafilesystem - https://luarocks.org/modules/luarocks/lua-cjson - https://luarocks.org/modules/luarocks/luasocket On Mon, Mar 21, 2016 at 1:36 AM, vfclists . wrote: > What Lua packages do I need to get started with Lua, especially if I want > to use ESL, ie in addition to those which are automatically included by the > Lua installation? > > Are there some recommended sets and download locations? > > > > > -- > Frank Church > > ======================= > http://devblog.brahmancreations.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/20160321/99a0bb63/attachment-0001.html From ssinyagin at gmail.com Tue Mar 22 00:27:07 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 21 Mar 2016 22:27:07 +0100 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: it's Sevana, I misspelled the name. Check out also these scripts I made to integrate it with FreeSWITCH: https://github.com/voxserv/fsqa On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi wrote: > This is Physical server with 16 cores and 48 GB ram. I will check out > Sevena. > > Thank you, > -Jai > > > > > *Jai Rangi* > Cebod Technologies LLC dba DIDforSale/Cebod Telecom > O 949-471-0102 | C 949-419-7634 | F > 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | > www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | > > > > > > > On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin > wrote: > >> is it a physical or virtual host? It's quite common that with public >> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >> may lose RTP packets or send them too late because it didn't have >> enough CPU cycles. >> >> You can analyze the quality of RTP stream with tshark, and also >> there's voice analysis software by Sevena >> (http://sevana.biz/products/aqua/). >> >> >> >> >> >> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: >> > We have experienced intermittent call quality issue. Muffled sound in >> the >> > middle of call. No high load on free-switch. Even with as low as 10 >> > simultaneous calls. Does any one know any tool free or paid that can >> > monitor the RTP traffic and help us trouble shoot the issue. >> > >> > System is hosted in data-center with 100MB connection. >> > >> > 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160321/813d6c4a/attachment.html From jprangi at gmail.com Tue Mar 22 00:34:58 2016 From: jprangi at gmail.com (Jai Rangi) Date: Mon, 21 Mar 2016 14:34:58 -0700 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: Thank you, On Mon, Mar 21, 2016 at 2:27 PM, Stanislav Sinyagin wrote: > it's Sevana, I misspelled the name. Check out also these scripts I made to > integrate it with FreeSWITCH: https://github.com/voxserv/fsqa > > > > On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi wrote: > >> This is Physical server with 16 cores and 48 GB ram. I will check out >> Sevena. >> >> Thank you, >> -Jai >> >> >> >> >> *Jai Rangi* >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 | F >> 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | >> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin >> wrote: >> >>> is it a physical or virtual host? It's quite common that with public >>> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >>> may lose RTP packets or send them too late because it didn't have >>> enough CPU cycles. >>> >>> You can analyze the quality of RTP stream with tshark, and also >>> there's voice analysis software by Sevena >>> (http://sevana.biz/products/aqua/). >>> >>> >>> >>> >>> >>> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: >>> > We have experienced intermittent call quality issue. Muffled sound in >>> the >>> > middle of call. No high load on free-switch. Even with as low as 10 >>> > simultaneous calls. Does any one know any tool free or paid that can >>> > monitor the RTP traffic and help us trouble shoot the issue. >>> > >>> > System is hosted in data-center with 100MB connection. >>> > >>> > 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 >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160321/06bbee87/attachment-0001.html From rtreleaven at bunnykick.ca Tue Mar 22 00:45:36 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Mon, 21 Mar 2016 17:45:36 -0400 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: Can you record some of this audio so that we can hear it? I am unable to map "muffled" to any of the usual characterizations. Choppy = packetloss Metallic = packetloss concealment Muffled = ? On Mon, Mar 21, 2016 at 5:34 PM, Jai Rangi wrote: > Thank you, > > On Mon, Mar 21, 2016 at 2:27 PM, Stanislav Sinyagin > wrote: > >> it's Sevana, I misspelled the name. Check out also these scripts I made >> to integrate it with FreeSWITCH: https://github.com/voxserv/fsqa >> >> >> >> On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi >> wrote: >> >>> This is Physical server with 16 cores and 48 GB ram. I will check out >>> Sevena. >>> >>> Thank you, >>> -Jai >>> >>> >>> >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 | F >>> 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin >> > wrote: >>> >>>> is it a physical or virtual host? It's quite common that with public >>>> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >>>> may lose RTP packets or send them too late because it didn't have >>>> enough CPU cycles. >>>> >>>> You can analyze the quality of RTP stream with tshark, and also >>>> there's voice analysis software by Sevena >>>> (http://sevana.biz/products/aqua/). >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: >>>> > We have experienced intermittent call quality issue. Muffled sound in >>>> the >>>> > middle of call. No high load on free-switch. Even with as low as 10 >>>> > simultaneous calls. Does any one know any tool free or paid that can >>>> > monitor the RTP traffic and help us trouble shoot the issue. >>>> > >>>> > System is hosted in data-center with 100MB connection. >>>> > >>>> > 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 >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160321/a208c590/attachment.html From piotrek.gregor at gmail.com Tue Mar 22 01:16:05 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Mon, 21 Mar 2016 23:16:05 +0100 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Hi Abaci, if the sample rate is correct and it is mono audio and there is not too much noise in the signal avmd should work. You may want to retry this after new changes have been merged into master branch today. I have verified avmd detects 1000Hz beep in the audio attached previously. You can send me the mobile number I can test in private email. cheers, Piotr On 21 March 2016 at 21:53, Abaci B wrote: > I didn't try with stereo 44100Hz, I tried simple g711 calls to Verizon > cell phones and it didn't trigger the beep, when calling a voicemail on > another freeswitch box it did detect the beep. > > > On Mon, Mar 21, 2016 at 9:27 AM, Piotr Gregor > wrote: > >> Hi Abaci, >> >> back to your problems with Verizon voicemail - the cause of them is: >> >> 1. Audio is stereo >> 2. Audio is sampled at 44100Hz >> 3. DESA algorithm used in avmd is very sensitive to noise >> >> If you resample audio to 8000Hz and set avmd module to 8000Hz bit rate >> or leave it at 44100Hz but adjust avmd to 44100Hz while always properly >> handling number of channels (mono/stereo/...) then results are good. >> Avmd module in current form is unable to meet these requirements, >> but I am going to add the support for this. >> >> cheers, >> Piotr >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160321/aa44875c/attachment-0001.html From ssinyagin at gmail.com Tue Mar 22 02:33:16 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 22 Mar 2016 00:33:16 +0100 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: forgot to mention that you can use this dialer to generate test calls: https://github.com/voxserv/freeswitch-perf-dialer I'm going to write a short article to summarize this all, just need to find the time. On Mon, Mar 21, 2016 at 10:34 PM, Jai Rangi wrote: > Thank you, > > On Mon, Mar 21, 2016 at 2:27 PM, Stanislav Sinyagin > wrote: > >> it's Sevana, I misspelled the name. Check out also these scripts I made >> to integrate it with FreeSWITCH: https://github.com/voxserv/fsqa >> >> >> >> On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi >> wrote: >> >>> This is Physical server with 16 cores and 48 GB ram. I will check out >>> Sevena. >>> >>> Thank you, >>> -Jai >>> >>> >>> >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 | F >>> 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin >> > wrote: >>> >>>> is it a physical or virtual host? It's quite common that with public >>>> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >>>> may lose RTP packets or send them too late because it didn't have >>>> enough CPU cycles. >>>> >>>> You can analyze the quality of RTP stream with tshark, and also >>>> there's voice analysis software by Sevena >>>> (http://sevana.biz/products/aqua/). >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: >>>> > We have experienced intermittent call quality issue. Muffled sound in >>>> the >>>> > middle of call. No high load on free-switch. Even with as low as 10 >>>> > simultaneous calls. Does any one know any tool free or paid that can >>>> > monitor the RTP traffic and help us trouble shoot the issue. >>>> > >>>> > System is hosted in data-center with 100MB connection. >>>> > >>>> > 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 >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160322/d01d4bb0/attachment.html From s.safarov at gmail.com Tue Mar 22 07:33:24 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 22 Mar 2016 04:33:24 +0000 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: Hello Jai and Stanislav Please look FS-7756 , and if possible, create pcap files for analyses. Probably high jitter values may be root of issue on Jai environment. ??, 22 ???. 2016 ?. ? 2:34, Stanislav Sinyagin : > forgot to mention that you can use this dialer to generate test calls: > https://github.com/voxserv/freeswitch-perf-dialer > > I'm going to write a short article to summarize this all, just need to > find the time. > > > On Mon, Mar 21, 2016 at 10:34 PM, Jai Rangi wrote: > >> Thank you, >> >> On Mon, Mar 21, 2016 at 2:27 PM, Stanislav Sinyagin >> wrote: >> >>> it's Sevana, I misspelled the name. Check out also these scripts I made >>> to integrate it with FreeSWITCH: https://github.com/voxserv/fsqa >>> >>> >>> >>> On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi >>> wrote: >>> >>>> This is Physical server with 16 cores and 48 GB ram. I will check out >>>> Sevena. >>>> >>>> Thank you, >>>> -Jai >>>> >>>> >>>> >>>> >>>> *Jai Rangi* >>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>> O 949-471-0102 | C 949-419-7634 | F >>>> 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin < >>>> ssinyagin at gmail.com> wrote: >>>> >>>>> is it a physical or virtual host? It's quite common that with public >>>>> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >>>>> may lose RTP packets or send them too late because it didn't have >>>>> enough CPU cycles. >>>>> >>>>> You can analyze the quality of RTP stream with tshark, and also >>>>> there's voice analysis software by Sevena >>>>> (http://sevana.biz/products/aqua/). >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi wrote: >>>>> > We have experienced intermittent call quality issue. Muffled sound >>>>> in the >>>>> > middle of call. No high load on free-switch. Even with as low as 10 >>>>> > simultaneous calls. Does any one know any tool free or paid that can >>>>> > monitor the RTP traffic and help us trouble shoot the issue. >>>>> > >>>>> > System is hosted in data-center with 100MB connection. >>>>> > >>>>> > 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 >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160322/db24c8a7/attachment-0001.html From jprangi at didforsale.com Tue Mar 22 08:01:44 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Mon, 21 Mar 2016 22:01:44 -0700 Subject: [Freeswitch-users] Intermittent call quality issue In-Reply-To: References: Message-ID: Thank you, I will try to get the capture. On Monday, March 21, 2016, Sergey Safarov wrote: > Hello Jai and Stanislav > Please look FS-7756 , and if > possible, create pcap files for analyses. > Probably high jitter values may be root of issue on Jai environment. > > > ??, 22 ???. 2016 ?. ? 2:34, Stanislav Sinyagin >: > >> forgot to mention that you can use this dialer to generate test calls: >> https://github.com/voxserv/freeswitch-perf-dialer >> >> I'm going to write a short article to summarize this all, just need to >> find the time. >> >> >> On Mon, Mar 21, 2016 at 10:34 PM, Jai Rangi > > wrote: >> >>> Thank you, >>> >>> On Mon, Mar 21, 2016 at 2:27 PM, Stanislav Sinyagin >> > wrote: >>> >>>> it's Sevana, I misspelled the name. Check out also these scripts I made >>>> to integrate it with FreeSWITCH: https://github.com/voxserv/fsqa >>>> >>>> >>>> >>>> On Mon, Mar 21, 2016 at 9:41 PM, Jai Rangi >>> > wrote: >>>> >>>>> This is Physical server with 16 cores and 48 GB ram. I will check out >>>>> Sevena. >>>>> >>>>> Thank you, >>>>> -Jai >>>>> >>>>> >>>>> >>>>> >>>>> *Jai Rangi* >>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>> O 949-471-0102 | C 949-419-7634 >>>>> | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com >>>>> >>>>> www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa >>>>> Mesa, CA 92626 | >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Sat, Mar 19, 2016 at 8:42 AM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com >>>>> > wrote: >>>>> >>>>>> is it a physical or virtual host? It's quite common that with public >>>>>> virtual hosting, your CPU resource is not guaranteed, and FreeSWITCH >>>>>> may lose RTP packets or send them too late because it didn't have >>>>>> enough CPU cycles. >>>>>> >>>>>> You can analyze the quality of RTP stream with tshark, and also >>>>>> there's voice analysis software by Sevena >>>>>> (http://sevana.biz/products/aqua/). >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Mar 18, 2016 at 10:30 PM, Jai Rangi >>>>> > wrote: >>>>>> > We have experienced intermittent call quality issue. Muffled sound >>>>>> in the >>>>>> > middle of call. No high load on free-switch. Even with as low as 10 >>>>>> > simultaneous calls. Does any one know any tool free or paid that >>>>>> can >>>>>> > monitor the RTP traffic and help us trouble shoot the issue. >>>>>> > >>>>>> > System is hosted in data-center with 100MB connection. >>>>>> > >>>>>> > 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 >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 > > -- *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160321/97b4a970/attachment.html From igorolhovskiy at gmail.com Tue Mar 22 13:38:00 2016 From: igorolhovskiy at gmail.com (Igor Olhovskiy) Date: Tue, 22 Mar 2016 12:38:00 +0200 Subject: [Freeswitch-users] Presence issue. How packet should look? In-Reply-To: References: Message-ID: Hi! After some investigations, I?ve find out, that problem with empty answer is SUBSCRIBE packet ?Event:? field is ?dialog?. I think, it should be ?presence?. Only after it, FS starts to append correct XML info to NOTIFY. But actual problem: FS responds only with pidf+xml, while phone requests Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml More info I?ve added to https://freeswitch.org/jira/browse/FS-8968 PS; If any commercial support options are possible for this issue - I?m ready :) 2016-03-09 23:24 GMT+02:00 Igor Olhovskiy : > Ok, than I?ll move on IRC. > Thanks! > > 2016-03-09 23:16 GMT+02:00 Brian West : > >> Gotta start somewhere, if you join IRC or Hipchat we can help. >> >> On Wed, Mar 9, 2016 at 2:57 PM, Igor Olhovskiy >> wrote: >> >>> Yep, I?m using Kamailio as a proxy, but it just forward REGISTER to >>> Freeswitch, That?s just adds few more lines packet and populates fields >>> with actual external addresses and port data. >>> Debug may be hard for me (I?m not a programmer, actually), but will try, >>> >>> Thanks. >>> >>> 2016-03-09 22:28 GMT+02:00 Brian West : >>> >>>> You're not registering direct to FreeSWITCH are you, that may be >>>> something to investigate, >>>> >>>> This is generated in sofia_presence.c, line 2424, >>>> >>>> switch_snprintf(key, sizeof(key), "%s%s", user, host); >>>> >>>> >>>> data = switch_core_hash_find(sh->hash, key); >>>> >>>> >>>> if (data) { >>>> >>>> >>>> It would indicate that switch_core_hash_find may not be returning the >>>> key, you may need to debug what exactly is being put into that hash to >>>> being with. >>>> >>>> On Wed, Mar 9, 2016 at 2:05 PM, Igor Olhovskiy >>> > wrote: >>>> >>>>> Not sure I can pick correct entity, but from table sip_subscriptions; >>>>> >>>>> proto | sip_user | sip_host | sub_to_user | sub_to_host | >>>>> presence_hosts | event | >>>>> contact | >>>>> call_id | full_from >>>>> | full_via >>>>> | expires | >>>>> user_agent | accept >>>>> | profile_name | hostname | network_port | network_ip | >>>>> version | orig_proto | full_to >>>>> >>>>> -------+----------+-----------------+-------------+-----------------+----------------+--------+------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+------------+------------------------------+-----------------------------------------------------------------------+--------------+----------+--------------+------------+---------+------------+------------------------------------------------- >>>>> sip | 608 | master.rufan.at | *55 | master.rufan.at | >>>>> | dialog | "user" >>>>> | 1681459928-5060-12 at BJC.BGI.II.GA | < >>>>> sip:608 at master.rufan.at>;tag=634732653 | >>>>> SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK9eec.47a95c33507bedf392053497d676dd1f.0;received=10.0.20.70 >>>>> | 1457553810 | Grandstream GXP2160 1.0.5.33 | >>>>> application/dialog-info+xml, multipart/related, application/rlmi+xml | >>>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>>>> | ;tag=T8d4diV1izE2 >>>>> sip | 606 | master.rufan.at | *55 | master.rufan.at | >>>>> | dialog | "606 - MRA" >>>>> | 0_596236462 at 192.168.88.58 | "606 - MRA" < >>>>> sip:606 at master.rufan.at:5060>;tag=3377511430 | SIP/2.0/UDP >>>>> 212.232.26.232:5060;branch=z9hG4bK5d5a.c87742c8e9417011a9886ed13f0b46ea.0;received=10.0.20.70 >>>>> | 1457554621 | Yealink SIP-T48G 35.80.0.95 | >>>>> application/dialog-info+xml | >>>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 0 | >>>>> | ;tag=ziusfu8L3hlO >>>>> sip | 609 | master.rufan.at | *55 | master.rufan.at | >>>>> | dialog | "user" >>>>> | 1_1073683000 at 192.168.2.111 | ;tag=2961540197 >>>>> | SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bK99ff.cd4b0bc5bc0f9d8839eb10da2fd6a4ab.0;i=3;received=10.0.20.70 >>>>> | 1457555453 | Yealink SIP-T42G 29.80.0.95 | application/dialog-info+xml >>>>> | internal | fsw04-0 | 5060 >>>>> | 10.0.20.70 | 6 | | >>>> 55 at master.rufan.at:5060>;tag=Pe1EElSL1Wux >>>>> sip | 602 | master.rufan.at | *55 | master.rufan.at | >>>>> | dialog | "user" >>>>> | 2_2942107447 at 192.168.2.126 | < >>>>> sip:602 at master.rufan.at:5060>;tag=2476761298 | >>>>> SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bKe3ca.a3991d3ba90178ee0fedf31576837f6b.0;received=10.0.20.70 >>>>> | 1457555268 | Yealink SIP-T48G 35.80.0.95 | >>>>> application/dialog-info+xml | >>>>> internal | fsw04-0 | 5060 | 10.0.20.70 | 9 | >>>>> | ;tag=JIBAb590T27W >>>>> (4 rows) >>>>> >>>>> It?s for *55 and domain = master.rufan.at >>>>> >>>>> And the packet actually >>>>> (Grandstream) >>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>> Record-Route: >>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>> ;branch=z9hG4bK93c7.7c2cdb9650455af02d6d10035bf3b61e.0 >>>>> Via: SIP/2.0/UDP 192.168.88.60:5060 >>>>> ;received=176.37.91.15;branch=z9hG4bK1367793990;rport=1024 >>>>> From: ;tag=113168616 >>>>> To: >>>>> Call-ID: 676611784-5060-14 at BJC.BGI.II.GA >>>>> CSeq: 20120 SUBSCRIBE >>>>> Contact: >>>>> X-Grandstream-PBX: true >>>>> Max-Forwards: 69 >>>>> User-Agent: Grandstream GXP2160 1.0.5.33 >>>>> Expires: 180 >>>>> Supported: replaces, path, timer, eventlist >>>>> Event: dialog >>>>> Accept: >>>>> application/dialog-info+xml,multipart/related,application/rlmi+xml >>>>> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >>>>> REFER, UPDATE, MESSAGE >>>>> Content-Length: 0 >>>>> Path: >>>>> X-AUTH-IP: 176.37.91.15 >>>>> >>>>> (Yealink) >>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>> Record-Route: >>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>> ;branch=z9hG4bK8da1.d094596a4b93e6c890de68f180007279.0 >>>>> Via: SIP/2.0/UDP 192.168.88.58:5060 >>>>> ;rport=5060;received=176.37.91.15;branch=z9hG4bK2944115790 >>>>> From: "606 - MRA" ;tag=1995090923 >>>>> To: >>>>> Call-ID: 0_1262134978 at 192.168.88.58 >>>>> CSeq: 1 SUBSCRIBE >>>>> Contact: >>>>> Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, >>>>> REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE >>>>> Accept: application/dialog-info+xml >>>>> Max-Forwards: 69 >>>>> User-Agent: Yealink SIP-T48G 35.80.0.95 >>>>> Expires: 1800 >>>>> Event: dialog >>>>> Content-Length: 0 >>>>> Path: >>>>> X-AUTH-IP: 176.37.91.15 >>>>> >>>>> >>>>> And NOTIFY for Yealink >>>>> NOTIFY sip:606 at 176.37.91.15:5060 SIP/2.0 >>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKa1XSXZtH9Zrtg >>>>> Route: ;ftag=1995090923;lr=on >>>>> Record-Route: ;ftag=1995090923;lr=on >>>>> Max-Forwards: 70 >>>>> From: ;tag=3TCMXfAmcte4 >>>>> To: "606 - MRA" ;tag=1995090923 >>>>> Call-ID: 0_1262134978 at 192.168.88.58 >>>>> CSeq: 297553154 NOTIFY >>>>> Contact: >>>>> User-Agent: FreeSWITCH >>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>> Supported: path, replaces >>>>> Event: dialog >>>>> Allow-Events: talk, hold, conference, presence, as-feature-event, >>>>> dialog, line-seize, call-info, sla, include-session-description, >>>>> presence.winfo, message-summary, refer >>>>> Subscription-State: active;expires=1800 >>>>> Content-Type: application/dialog-info+xml >>>>> Content-Length: 152 >>>>> >>>>> >>>>> >>>> state="full" entity="sip:*55 at master.rufan.at"> >>>>> >>>>> >>>>> >>>>> 2016-03-09 21:53 GMT+02:00 Brian West : >>>>> >>>>>> What do the entries in the subscription table look like? And can I >>>>>> see the subscribe packets please? >>>>>> >>>>>> On Wed, Mar 9, 2016 at 1:49 PM, Igor Olhovskiy < >>>>>> igorolhovskiy at gmail.com> wrote: >>>>>> >>>>>>> No, no IP?s, only domain names. >>>>>>> Also, I?ve disabled force-subscription-domain, >>>>>>> force-register-domain and force-register-db-domain due to multitenancy >>>>>>> >>>>>>> Sorry, forgot to mention >>>>>>> FreeSWITCH Version 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit >>>>>>> >>>>>>> 2016-03-09 21:46 GMT+02:00 Brian West : >>>>>>> >>>>>>>> Make sure you're not forcing them to the IP because we do so in our >>>>>>>> vanilla configs to make it easier on everyone. :) Also I can't tell what >>>>>>>> rev of FreeSWITCH you're on. >>>>>>>> >>>>>>>> On Wed, Mar 9, 2016 at 1:43 PM, Igor Olhovskiy < >>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> I?m putting a domain in every SUBSCRIBE request I?m passing >>>>>>>>> through. So, I?m 100% sure, there is domains everywhere, no IP?s in R-URI, >>>>>>>>> To or From. >>>>>>>>> Btw, this situation is only when device is not registered, If >>>>>>>>> device is registered and ringing/talking, I?ve got correct XML info?s. >>>>>>>>> Situation is only when I?m trying to subscribe on non-existing >>>>>>>>> device. Or device is unregistered and also, in NOTIFY XML data is like this. >>>>>>>>> >>>>>>>>> 2016-03-09 21:38 GMT+02:00 Brian West : >>>>>>>>> >>>>>>>>>> The only time I've ever seen this issue is when its a domain/ip >>>>>>>>>> mismatch, and many devices like yealink and the like will subscribe to the >>>>>>>>>> IP even when you put in the domain name in some firmwares. So you'll need >>>>>>>>>> to test, check and verify its doing what you think it is. >>>>>>>>>> >>>>>>>>>> Also out of the box we force the domain to the IP, unless you >>>>>>>>>> change it. Doing anything multi-tenant requires your endpoints to behave >>>>>>>>>> properly too. >>>>>>>>>> >>>>>>>>>> /b >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Mar 9, 2016 at 1:34 PM, Igor Olhovskiy < >>>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> As I tried, these options are really not est with multi-tenant. >>>>>>>>>>> And really, where is device is Subscribed to IP? I don?t see any >>>>>>>>>>> IP?s in R-URI or To/From. >>>>>>>>>>> Record-Route is just for keep packets back and Contact is actual >>>>>>>>>>> device IP and port. >>>>>>>>>>> >>>>>>>>>>> 2016-03-09 21:21 GMT+02:00 Brian West : >>>>>>>>>>> >>>>>>>>>>>> I wish had $1,000.00 for every time I answer this one... :) >>>>>>>>>>>> >>>>>>>>>>>> Ok here is what is the problem, you have the device setup to >>>>>>>>>>>> register to the domain, but its subscribing to the IP ergo domain != ip >>>>>>>>>>>> when it search for any subscriptions. >>>>>>>>>>>> >>>>>>>>>>>> See force-subscription-domain, force-register-domain and >>>>>>>>>>>> force-register-db-domain >>>>>>>>>>>> >>>>>>>>>>>> Those all have to align perfectly for things to behave properly. >>>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy < >>>>>>>>>>>> igorolhovskiy at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi! >>>>>>>>>>>>> I?m trying to subscribe to Freeswitch with this packet >>>>>>>>>>>>> >>>>>>>>>>>>> SUBSCRIBE sip:*55 at master.rufan.at SIP/2.0 >>>>>>>>>>>>> Record-Route: >>>>>>>>>>>>> Via: SIP/2.0/UDP 212.232.26.232:5060 >>>>>>>>>>>>> ;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0 >>>>>>>>>>>>> Via: SIP/2.0/UDP 192.168.88.59:37600 >>>>>>>>>>>>> ;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600 >>>>>>>>>>>>> Route: >>>>>>>>>>>>> From: ;tag=jz8i26dy0f >>>>>>>>>>>>> To: ;tag=qBuxIeW1MNWF >>>>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>>>> CSeq: 610 SUBSCRIBE >>>>>>>>>>>>> Max-Forwards: 69 >>>>>>>>>>>>> User-Agent: snom760/8.7.5.35 >>>>>>>>>>>>> Contact: ;reg-id=1 >>>>>>>>>>>>> Event: dialog >>>>>>>>>>>>> Accept: application/dialog-info+xml >>>>>>>>>>>>> Expires: 80 >>>>>>>>>>>>> Content-Length: 0 >>>>>>>>>>>>> Path: >>>>>>>>>>>> 176.37.91.15:37600> >>>>>>>>>>>>> X-AUTH-IP: 176.37.91.15 >>>>>>>>>>>>> >>>>>>>>>>>>> Actually I get Accepted (202) >>>>>>>>>>>>> >>>>>>>>>>>>> But with NOTIFY from freeswitch I got this >>>>>>>>>>>>> >>>>>>>>>>>>> NOTIFY sip:607 at 176.37.91.15:37600;line=ukipitb6 SIP/2.0 >>>>>>>>>>>>> Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFK >>>>>>>>>>>>> Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>>>> Record-Route: ;ftag=jz8i26dy0f;lr=on >>>>>>>>>>>>> Max-Forwards: 70 >>>>>>>>>>>>> From: ;tag=qBuxIeW1MNWF >>>>>>>>>>>>> To: ;tag=jz8i26dy0f >>>>>>>>>>>>> Call-ID: 313435373534383931393431313632-94bfcwdyrzz2 >>>>>>>>>>>>> CSeq: 297327351 NOTIFY >>>>>>>>>>>>> Contact: >>>>>>>>>>>>> User-Agent: FreeSWITCH >>>>>>>>>>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, >>>>>>>>>>>>> UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE >>>>>>>>>>>>> Supported: path, replaces >>>>>>>>>>>>> Event: dialog >>>>>>>>>>>>> Allow-Events: talk, hold, conference, presence, >>>>>>>>>>>>> as-feature-event, dialog, line-seize, call-info, sla, >>>>>>>>>>>>> include-session-description, presence.winfo, message-summary, refer >>>>>>>>>>>>> Subscription-State: active;expires=80 >>>>>>>>>>>>> Content-Type: application/dialog-info+xml >>>>>>>>>>>>> Content-Length: 152 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> version="8" state="full" entity="sip:*55 at master.rufan.at"> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Problem is, XML data is empty, cause actually there is no >>>>>>>>>>>>> registrations for *55 extension. >>>>>>>>>>>>> Why it?s not sending ?Unavail? or smth. like this? What is the >>>>>>>>>>>>> correct packet for SUBSCRIBE? Or internal profile? >>>>>>>>>>>>> >>>>>>>>>>>>> Internal profile is >>>>>>>>>>>>> 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] >>>>>>>>>>>>> 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] >>>>>>>>>>>>> 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] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> 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 >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> >>>>>>>>>>>> *Brian West* >>>>>>>>>>>> brian at freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> *Brian West* >>>>>>>>>> brian at freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>>>> http://www.freeswitchbook.com >>>>>>>>>> http://www.freeswitchcookbook.com >>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>>>> >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> *Brian West* >>>>>>>> brian at freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>>>> http://www.freeswitchbook.com >>>>>>>> http://www.freeswitchcookbook.com >>>>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>>>> >>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com >>>>>> http://www.freeswitchcookbook.com >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > Best regards, > Igor > -- Best regards, Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160322/6208a5b5/attachment-0001.html From italo at freeswitch.org Tue Mar 22 17:43:48 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 22 Mar 2016 07:43:48 -0700 (PDT) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt Message-ID: FreeSWITCHers, Join us thursday 2PM CST for the Thursday FreeSWITCH Bug Hunt! Where? [conference.freeswitch.org/vc/#/?autocall=888](https://conference.frees witch.org/vc/#/?autocall=888 "https://conference.freeswitch.org/vc/#/?autocall=888" ) Chat? What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! Help us help you, Join the Bug Hunt! ?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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160322/c25747bb/attachment.html From 0x6e6562 at gmail.com Tue Mar 22 22:02:25 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Tue, 22 Mar 2016 19:02:25 +0000 Subject: [Freeswitch-users] OSX shared libesl In-Reply-To: <43E1B314-7479-479D-94BD-69005A83745A@jerris.com> References: <43E1B314-7479-479D-94BD-69005A83745A@jerris.com> Message-ID: On Mon, Mar 21, 2016 at 5:26 PM, Michael Jerris wrote: > all you should need is ./configure. The others shouldn't be necessary at all. a .la file is a libtool library file and has nothing to do with if its dynamic or static. The configure args you specified will also produce a dynamic, but none of those are necessary to get that result. --enable-64 is really just used for solaris where the default compiler is 32 bit on 64 bit os. Many thanks for your response. It's good to know that the --enable-64 flag is only relevant for Solaris. I did try to answer my own question, but there seems to be some MX DNS issues with the mailing list, so responses from yesterday got rejected. In the meantime I had created a workaround that I could load via JNA: g++ -fpic -shared -Wl,-all_load libesl.la -Wl,-noall_load -o libesl.dylib From mike at jerris.com Tue Mar 22 22:14:02 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 22 Mar 2016 15:14:02 -0400 Subject: [Freeswitch-users] OSX shared libesl In-Reply-To: References: <43E1B314-7479-479D-94BD-69005A83745A@jerris.com> Message-ID: <00514B9A-305C-4B06-AFD9-DF2465C21C29@jerris.com> okay.. just looked closer at this, we hard set libesl as static, which seems strange to me.. not a good reason to do that, other than when we link that static to the individual modules... if what you are trying to do is get a mod you can link to java... try cd libs/esl && make javamod this will make a: libesljni.so > On Mar 22, 2016, at 3:02 PM, Ben Hood <0x6e6562 at gmail.com> wrote: > > On Mon, Mar 21, 2016 at 5:26 PM, Michael Jerris wrote: >> all you should need is ./configure. The others shouldn't be necessary at all. a .la file is a libtool library file and has nothing to do with if its dynamic or static. The configure args you specified will also produce a dynamic, but none of those are necessary to get that result. --enable-64 is really just used for solaris where the default compiler is 32 bit on 64 bit os. > > Many thanks for your response. It's good to know that the --enable-64 > flag is only relevant for Solaris. > > I did try to answer my own question, but there seems to be some MX DNS > issues with the mailing list, so responses from yesterday got > rejected. > > In the meantime I had created a workaround that I could load via JNA: > > g++ -fpic -shared -Wl,-all_load libesl.la -Wl,-noall_load -o libesl.dylib > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160322/eaa9c924/attachment.html From 0x6e6562 at gmail.com Tue Mar 22 23:13:37 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Tue, 22 Mar 2016 20:13:37 +0000 Subject: [Freeswitch-users] mod_amqp core dump on OSX Message-ID: Hi, I was wondering if anybody had run into any issues on master on OSX where mod_amqp core dumps on boot: 2016-03-22 20:12:40.692203 [NOTICE] mod_amqp.c:67 mod_apqp loading: Version 1.7.0+git~20160321T001250Z~35259cf36c~64bit 2016-03-22 20:12:40.692442 [INFO] mod_amqp_utils.c:93 Loading Config 2016-03-22 20:12:40.692644 [INFO] mod_amqp_producer.c:233 amqp fallback format fields enabled 2016-03-22 20:12:40.692652 [INFO] mod_amqp_producer.c:252 amqp format fields : #FreeSWITCH,FreeSWITCH-Hostname,Event-Name,Event-Subclass,Unique-ID 2016-03-22 20:12:40.692657 [CRIT] mod_amqp_producer.c:267 Found 4 subscriptions 2016-03-22 20:12:40.692663 [INFO] mod_amqp_producer.c:288 amqp routing key 0 : #FreeSWITCH 2016-03-22 20:12:40.692665 [INFO] mod_amqp_producer.c:288 amqp routing key 1 : FreeSWITCH-Hostname 2016-03-22 20:12:40.692667 [INFO] mod_amqp_producer.c:288 amqp routing key 2 : Event-Name 2016-03-22 20:12:40.692668 [INFO] mod_amqp_producer.c:288 amqp routing key 3 : Event-Subclass 2016-03-22 20:12:40.692670 [INFO] mod_amqp_producer.c:288 amqp routing key 4 : Unique-ID [1] 1388 segmentation fault (core dumped) DYLD_LIBRARY_PATH=/Users/0x6e6562/Tools/librabbitmq-0.5.2/lib ./bin/freeswitch I haven't yet re-compiled Freeswitch to turn debug symbols on - I was just wondering if somebody else had come across this before. I'm also wondering whether it could have anything to do with the tweak I put into the header file in order to get the object files to link (since without this patch, the linker was complaining that the globals struct was duplicated across multiple compile units): diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.h b/src/mod/event_handlers/mod_amqp/mod_amqp.h index 238236a..7bde3ad 100644 --- a/src/mod/event_handlers/mod_amqp/mod_amqp.h +++ b/src/mod/event_handlers/mod_amqp/mod_amqp.h @@ -173,7 +173,7 @@ typedef struct { switch_memory_pool_t *pool; } mod_amqp_logging_profile_t; -struct { +static struct { switch_memory_pool_t *pool; switch_hash_t *producer_hash; Any pointers appreciated, Ben From italo at freeswitch.org Tue Mar 22 23:39:50 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 22 Mar 2016 13:39:50 -0700 (PDT) Subject: [Freeswitch-users] mod_amqp core dump on OSX In-Reply-To: References: Message-ID: <82z4pioo8k0uj9z1ty4o3m1gi-0@mailer.nylas.com> Open a JIRA and attach a backtrace there. ?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 22 2016, at 5:16 pm, Ben Hood <0x6e6562 at gmail.com> wrote: > > Hi, > > I was wondering if anybody had run into any issues on master on OSX where mod_amqp core dumps on boot: > > 2016-03-22 20:12:40.692203 [NOTICE] mod_amqp.c:67 mod_apqp loading: Version 1.7.0+git~20160321T001250Z~35259cf36c~64bit 2016-03-22 20:12:40.692442 [INFO] mod_amqp_utils.c:93 Loading Config 2016-03-22 20:12:40.692644 [INFO] mod_amqp_producer.c:233 amqp fallback format fields enabled 2016-03-22 20:12:40.692652 [INFO] mod_amqp_producer.c:252 amqp format fields : #FreeSWITCH,FreeSWITCH-Hostname,Event-Name,Event-Subclass,Unique-ID 2016-03-22 20:12:40.692657 [CRIT] mod_amqp_producer.c:267 Found 4 subscriptions 2016-03-22 20:12:40.692663 [INFO] mod_amqp_producer.c:288 amqp routing key 0 : #FreeSWITCH 2016-03-22 20:12:40.692665 [INFO] mod_amqp_producer.c:288 amqp routing key 1 : FreeSWITCH-Hostname 2016-03-22 20:12:40.692667 [INFO] mod_amqp_producer.c:288 amqp routing key 2 : Event-Name 2016-03-22 20:12:40.692668 [INFO] mod_amqp_producer.c:288 amqp routing key 3 : Event-Subclass 2016-03-22 20:12:40.692670 [INFO] mod_amqp_producer.c:288 amqp routing key 4 : Unique-ID [1] 1388 segmentation fault (core dumped) DYLD_LIBRARY_PATH=/Users/0x6e6562/Tools/librabbitmq-0.5.2/lib ./bin/freeswitch > > I haven't yet re-compiled Freeswitch to turn debug symbols on - I was just wondering if somebody else had come across this before. > > I'm also wondering whether it could have anything to do with the tweak I put into the header file in order to get the object files to link (since without this patch, the linker was complaining that the globals struct was duplicated across multiple compile units): > > diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.h b/src/mod/event_handlers/mod_amqp/mod_amqp.h index 238236a..7bde3ad 100644 \--- a/src/mod/event_handlers/mod_amqp/mod_amqp.h +++ b/src/mod/event_handlers/mod_amqp/mod_amqp.h @@ -173,7 +173,7 @@ typedef struct { switch_memory_pool_t *pool; } mod_amqp_logging_profile_t; > > -struct { +static struct { switch_memory_pool_t *pool; > > switch_hash_t *producer_hash; > > Any pointers appreciated, > > Ben > > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org > > Official FreeSWITCH Sites > > FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160322/5bd86b44/attachment-0001.html From mike at jerris.com Tue Mar 22 23:43:54 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 22 Mar 2016 16:43:54 -0400 Subject: [Freeswitch-users] mod_amqp core dump on OSX In-Reply-To: <82z4pioo8k0uj9z1ty4o3m1gi-0@mailer.nylas.com> References: <82z4pioo8k0uj9z1ty4o3m1gi-0@mailer.nylas.com> Message-ID: <9BFB24E5-ED4D-4625-A920-7A6ECDD34DAA@jerris.com> In this case its yes form the change you made... Open a jira on the original build issue, its a real problem... not the crash. I already messaged it to the owner of that, but he'll need the jira to commit. > On Mar 22, 2016, at 4:39 PM, ?talo Rossi wrote: > > Open a JIRA and attach a backtrace there. > > ?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 22 2016, at 5:16 pm, Ben Hood <0x6e6562 at gmail.com> wrote: > Hi, > > I was wondering if anybody had run into any issues on master on OSX > where mod_amqp core dumps on boot: > > 2016-03-22 20:12:40.692203 [NOTICE] mod_amqp.c:67 mod_apqp loading: > Version 1.7.0+git~20160321T001250Z~35259cf36c~64bit > 2016-03-22 20:12:40.692442 [INFO] mod_amqp_utils.c:93 Loading Config > 2016-03-22 20:12:40.692644 [INFO] mod_amqp_producer.c:233 amqp > fallback format fields enabled > 2016-03-22 20:12:40.692652 [INFO] mod_amqp_producer.c:252 amqp format > fields : #FreeSWITCH,FreeSWITCH-Hostname,Event-Name,Event-Subclass,Unique-ID > 2016-03-22 20:12:40.692657 [CRIT] mod_amqp_producer.c:267 Found 4 subscriptions > 2016-03-22 20:12:40.692663 [INFO] mod_amqp_producer.c:288 amqp routing > key 0 : #FreeSWITCH > 2016-03-22 20:12:40.692665 [INFO] mod_amqp_producer.c:288 amqp routing > key 1 : FreeSWITCH-Hostname > 2016-03-22 20:12:40.692667 [INFO] mod_amqp_producer.c:288 amqp routing > key 2 : Event-Name > 2016-03-22 20:12:40.692668 [INFO] mod_amqp_producer.c:288 amqp routing > key 3 : Event-Subclass > 2016-03-22 20:12:40.692670 [INFO] mod_amqp_producer.c:288 amqp routing > key 4 : Unique-ID > [1] 1388 segmentation fault (core dumped) > DYLD_LIBRARY_PATH=/Users/0x6e6562/Tools/librabbitmq-0.5.2/lib > ./bin/freeswitch > > I haven't yet re-compiled Freeswitch to turn debug symbols on - I was > just wondering if somebody else had come across this before. > > I'm also wondering whether it could have anything to do with the tweak > I put into the header file in order to get the object files to link > (since without this patch, the linker was complaining that the globals > struct was duplicated across multiple compile units): > > diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.h > b/src/mod/event_handlers/mod_amqp/mod_amqp.h > index 238236a..7bde3ad 100644 > --- a/src/mod/event_handlers/mod_amqp/mod_amqp.h > +++ b/src/mod/event_handlers/mod_amqp/mod_amqp.h > @@ -173,7 +173,7 @@ typedef struct { > switch_memory_pool_t *pool; > } mod_amqp_logging_profile_t; > > -struct { > +static struct { > switch_memory_pool_t *pool; > > switch_hash_t *producer_hash; > > Any pointers appreciated, > > Ben > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160322/d766cee0/attachment.html From 0x6e6562 at gmail.com Wed Mar 23 02:03:17 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Tue, 22 Mar 2016 23:03:17 +0000 Subject: [Freeswitch-users] mod_amqp core dump on OSX In-Reply-To: <9BFB24E5-ED4D-4625-A920-7A6ECDD34DAA@jerris.com> References: <82z4pioo8k0uj9z1ty4o3m1gi-0@mailer.nylas.com> <9BFB24E5-ED4D-4625-A920-7A6ECDD34DAA@jerris.com> Message-ID: On Tue, Mar 22, 2016 at 8:43 PM, Michael Jerris wrote: > In this case its yes form the change you made... Open a jira on the original > build issue, its a real problem... not the crash. I already messaged it to > the owner of that, but he'll need the jira to commit. Many thanks for the heads up - I didn't have a great feeling about hacking the struct definition, but I was just trying to see how far I could under my own steam and had assumed that it was down to a mistake I was making with the build environment. I've filed this issue: https://freeswitch.org/jira/browse/FS-8971 From 0x6e6562 at gmail.com Wed Mar 23 02:12:38 2016 From: 0x6e6562 at gmail.com (Ben Hood) Date: Tue, 22 Mar 2016 23:12:38 +0000 Subject: [Freeswitch-users] OSX shared libesl In-Reply-To: <00514B9A-305C-4B06-AFD9-DF2465C21C29@jerris.com> References: <43E1B314-7479-479D-94BD-69005A83745A@jerris.com> <00514B9A-305C-4B06-AFD9-DF2465C21C29@jerris.com> Message-ID: On Tue, Mar 22, 2016 at 7:14 PM, Michael Jerris wrote: > okay.. just looked closer at this, we hard set libesl as static, which seems > strange to me.. not a good reason to do that, other than when we link that > static to the individual modules... if what you are trying to do is get a > mod you can link to java... try > > cd libs/esl && make javamod > > this will make a: > > libesljni.so Thanks for the looking into this issue. FWIW the JNA approach appears to work as well using the hand cranked dynamic library. Right now I trying to evaluate different approaches of deferring control to external processes. I've had a lot of success with mod_curl_xml, but I was looking into in the merits of a more fine grained event driven approach for certain tasks, which is why I was investigating what ESL and mod_amqp have to offer. From olegstolyar at gmail.com Wed Mar 23 08:35:11 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 22 Mar 2016 22:35:11 -0700 Subject: [Freeswitch-users] Send DTMF as INFO using uuid_send_dtmf Message-ID: Hi guys, is there some special trick to this? I set in my sip profile but when I call FS from a browser using JsSip on Chrome and execute uuid_send_dtmf , FS sends it as 2833 instead of INFO. Interestingly, if instead I call into the same FS from another FS server and execute the same command, it uses INFO to send DTMF. I made sure that the Allow headers in INVITES are identical in both cases. What could be causing it? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160322/19888d59/attachment.html From vagarwal at vertical.com Wed Mar 23 08:46:42 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Wed, 23 Mar 2016 05:46:42 +0000 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Message-ID: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/739badd2/attachment-0001.html From netcentrica at gmail.com Wed Mar 23 14:39:45 2016 From: netcentrica at gmail.com (Mateusz Bartczak) Date: Wed, 23 Mar 2016 12:39:45 +0100 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD Message-ID: Hi All I have several problem after upgrading legacy system based on FreeSWITCH 1.2x to latest HEAD With no configuration changes and on the same hardware fax transmission success rate fall from 86% to 3% Most calls end up with SpanDSP status/error code 41 Dialplan part I'm using is: Any hints on what could cause such dramatic success rate? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/c4b7891e/attachment.html From brian at freeswitch.org Wed Mar 23 15:44:40 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 23 Mar 2016 08:44:40 -0400 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: What revision are you running? On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak wrote: > Hi All > > I have several problem after upgrading legacy system based on FreeSWITCH > 1.2x to latest HEAD > > With no configuration changes and on the same hardware fax transmission > success rate fall from 86% to 3% > > Most calls end up with SpanDSP status/error code 41 > > Dialplan part I'm using is: > > > > expression="true"> > data="nolocal:absolute_codec_string=PCMA,PCMU"/> > > data="fax_ident=${destination_number:4:20}"/> > > > > > > > data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> > > > > > Any hints on what could cause such dramatic success rate? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160323/0a37160f/attachment.html From giggsey at gmail.com Wed Mar 23 15:52:51 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Wed, 23 Mar 2016 12:52:51 +0000 Subject: [Freeswitch-users] Disabling SIP Hold during call? Message-ID: Hi, I'm looking to disable SIP Hold (And eventually Transfer) at an arbitrary point during my call. I've tried disable_hold ( https://wiki.freeswitch.org/wiki/Variable_disable_hold), but it doesn't seem to do anything. Does the variable match my use case, and is there something similar for disabling transfer? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/f9f47fcc/attachment.html From brian at freeswitch.org Wed Mar 23 15:56:23 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 23 Mar 2016 08:56:23 -0400 Subject: [Freeswitch-users] Disabling SIP Hold during call? In-Reply-To: References: Message-ID: That might be because its rtp_disable_hold now. On Wed, Mar 23, 2016 at 8:52 AM, Joshua Gigg wrote: > Hi, > > I'm looking to disable SIP Hold (And eventually Transfer) at an arbitrary > point during my call. > > I've tried disable_hold ( > https://wiki.freeswitch.org/wiki/Variable_disable_hold), but it doesn't > seem to do anything. > > Does the variable match my use case, and is there something similar for > disabling transfer? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160323/2b13e9eb/attachment.html From krice at freeswitch.org Wed Mar 23 16:07:01 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 23 Mar 2016 08:07:01 -0500 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> Message-ID: <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. In your example the vars are expanded before the set and log application actions are actually executed. See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline="true" for a more complete explanation on way to do what you are trying. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal Sent: Wednesday, March 23, 2016 12:47 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/6c87dcf7/attachment-0001.html From giggsey at gmail.com Wed Mar 23 16:07:36 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Wed, 23 Mar 2016 13:07:36 +0000 Subject: [Freeswitch-users] Disabling SIP Hold during call? In-Reply-To: References: Message-ID: I'm still on 1.4. Either way, I just tried rtp_disable_hold as a channel variable, and it doesn't seem to help. On Wed, 23 Mar 2016 at 12:58 Brian West wrote: > That might be because its rtp_disable_hold now. > > On Wed, Mar 23, 2016 at 8:52 AM, Joshua Gigg wrote: > >> Hi, >> >> I'm looking to disable SIP Hold (And eventually Transfer) at an arbitrary >> point during my call. >> >> I've tried disable_hold ( >> https://wiki.freeswitch.org/wiki/Variable_disable_hold), but it doesn't >> seem to do anything. >> >> Does the variable match my use case, and is there something similar for >> disabling transfer? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160323/c88c7232/attachment.html From netcentrica at gmail.com Wed Mar 23 16:28:16 2016 From: netcentrica at gmail.com (Mateusz Bartczak) Date: Wed, 23 Mar 2016 14:28:16 +0100 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: Old (working) version was: FreeSWITCH Version 1.2.24+git~20140703T043425Z~91f891bee0~64bit (git 91f891b 2014-07-03 04:34:25Z 64bit) New version is: FreeSWITCH Version 1.7.0+git~20151015T200018Z~c7d5d49ff6~64bit (git c7d5d49 2015-10-15 20:00:18Z 64bit) 2016-03-23 13:44 GMT+01:00 Brian West : > What revision are you running? > > On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak > wrote: > >> Hi All >> >> I have several problem after upgrading legacy system based on FreeSWITCH >> 1.2x to latest HEAD >> >> With no configuration changes and on the same hardware fax transmission >> success rate fall from 86% to 3% >> >> Most calls end up with SpanDSP status/error code 41 >> >> Dialplan part I'm using is: >> >> >> >> > expression="true"> >> > data="nolocal:absolute_codec_string=PCMA,PCMU"/> >> >> > data="fax_ident=${destination_number:4:20}"/> >> >> >> >> >> >> >> > data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> >> >> >> >> >> Any hints on what could cause such dramatic success rate? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160323/f6eb505a/attachment.html From brian at freeswitch.org Wed Mar 23 16:31:59 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 23 Mar 2016 09:31:59 -0400 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: So code from October 15th 2015 doesn't work? You should probably UPDATE! On Wed, Mar 23, 2016 at 9:28 AM, Mateusz Bartczak wrote: > Old (working) version was: FreeSWITCH Version > 1.2.24+git~20140703T043425Z~91f891bee0~64bit (git 91f891b 2014-07-03 > 04:34:25Z 64bit) > > New version is: FreeSWITCH Version > 1.7.0+git~20151015T200018Z~c7d5d49ff6~64bit (git c7d5d49 2015-10-15 > 20:00:18Z 64bit) > > 2016-03-23 13:44 GMT+01:00 Brian West : > >> What revision are you running? >> >> On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak >> wrote: >> >>> Hi All >>> >>> I have several problem after upgrading legacy system based on FreeSWITCH >>> 1.2x to latest HEAD >>> >>> With no configuration changes and on the same hardware fax transmission >>> success rate fall from 86% to 3% >>> >>> Most calls end up with SpanDSP status/error code 41 >>> >>> Dialplan part I'm using is: >>> >>> >>> >>> >> expression="true"> >>> >> data="nolocal:absolute_codec_string=PCMA,PCMU"/> >>> >>> >> data="fax_ident=${destination_number:4:20}"/> >>> >>> >>> >>> >>> >>> >>> >> data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> >>> >>> >>> >>> >>> Any hints on what could cause such dramatic success rate? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160323/fd9bcfe7/attachment-0001.html From rutu.patel at inextrix.com Wed Mar 23 16:46:49 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Wed, 23 Mar 2016 19:16:49 +0530 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] Message-ID: Hi, We are sending call to asterisk PBX but we are getting 480 Temporarily Unavailable immediately. from freeswitch server. Call flow is as below: User => opensips => FS => PBX, but call not sending out from FS and drop by FS. Here I am attaching both sip logs and freeswitch logs. Can anyone please help to sort out the issue. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/98efe3c6/attachment-0001.html -------------- next part -------------- U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:xxxxxxxx30 at x.x.x.46:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKbc5.ada31d41.0. From: "xxxxxxxx65" ;tag=as5ca05dc6. To: . Contact: . Call-ID: DLGCH_fBZQWGZ/Z2d/FFwNZi1gZ31DBA83KGRgeklSWjZ/aDcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 30. Date: Wed, 23 Mar 2016 13:08:41 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Type: application/sdp. Content-Length: 232. X-AUTH-IP: x.x.x.10. . v=0. o=root 2668 2668 IN IP4 x.x.x.10. s=session. c=IN IP4 x.x.x.10. t=0 0. m=audio 10014 RTP/AVP 18 101. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKbc5.ada31d41.0;rport=5060. From: "xxxxxxxx65" ;tag=as5ca05dc6. To: . Call-ID: DLGCH_fBZQWGZ/Z2d/FFwNZi1gZ31DBA83KGRgeklSWjZ/aDcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKbc5.ada31d41.0;rport=5060. Max-Forwards: 30. From: "xxxxxxxx65" ;tag=as5ca05dc6. To: ;tag=4Z841U31epcmc. Call-ID: DLGCH_fBZQWGZ/Z2d/FFwNZi1gZ31DBA83KGRgeklSWjZ/aDcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:xxxxxxxx30 at x.x.x.46:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKbc5.ada31d41.0. From: "xxxxxxxx65" ;tag=as5ca05dc6. Call-ID: DLGCH_fBZQWGZ/Z2d/FFwNZi1gZ31DBA83KGRgeklSWjZ/aDcPRFRAZHB+a39eVF4-. To: ;tag=4Z841U31epcmc. CSeq: 102 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:xxxxxxxx30 at x.x.x.46:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK2862.2c0ef1d3.0. From: "xxxxxxxx65" ;tag=as62f8fc78. To: . Contact: . Call-ID: DLGCH_fUJcVmBwaDF7RVwIY3FjNX5GA1cweTRgeUFRCzEqaWcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 30. Date: Wed, 23 Mar 2016 13:08:42 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Type: application/sdp. Content-Length: 232. X-AUTH-IP: x.x.x.10. . v=0. o=root 2668 2668 IN IP4 x.x.x.10. s=session. c=IN IP4 x.x.x.10. t=0 0. m=audio 10044 RTP/AVP 18 101. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK2862.2c0ef1d3.0;rport=5060. From: "xxxxxxxx65" ;tag=as62f8fc78. To: . Call-ID: DLGCH_fUJcVmBwaDF7RVwIY3FjNX5GA1cweTRgeUFRCzEqaWcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK2862.2c0ef1d3.0;rport=5060. Max-Forwards: 30. From: "xxxxxxxx65" ;tag=as62f8fc78. To: ;tag=9c70a3QK02UHp. Call-ID: DLGCH_fUJcVmBwaDF7RVwIY3FjNX5GA1cweTRgeUFRCzEqaWcPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:xxxxxxxx30 at x.x.x.46:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK2862.2c0ef1d3.0. From: "xxxxxxxx65" ;tag=as62f8fc78. Call-ID: DLGCH_fUJcVmBwaDF7RVwIY3FjNX5GA1cweTRgeUFRCzEqaWcPRFRAZHB+a39eVF4-. To: ;tag=9c70a3QK02UHp. CSeq: 102 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:xxxxxxxx30 at x.x.x.46:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK6abd.100ba942.0. From: "xxxxxxxx65" ;tag=as66ba8674. To: . Contact: . Call-ID: DLGCH_eUYBWGtxYmZ4RFEKZSw0Zn8RBgpqcGc1e0VWCmp5NTIPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 30. Date: Wed, 23 Mar 2016 13:08:42 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Type: application/sdp. Content-Length: 232. X-AUTH-IP: x.x.x.10. . v=0. o=root 2668 2668 IN IP4 x.x.x.10. s=session. c=IN IP4 x.x.x.10. t=0 0. m=audio 14732 RTP/AVP 18 101. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK6abd.100ba942.0;rport=5060. From: "xxxxxxxx65" ;tag=as66ba8674. To: . Call-ID: DLGCH_eUYBWGtxYmZ4RFEKZSw0Zn8RBgpqcGc1e0VWCmp5NTIPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK6abd.100ba942.0;rport=5060. Max-Forwards: 30. From: "xxxxxxxx65" ;tag=as66ba8674. To: ;tag=BZSjeSSttm8pD. Call-ID: DLGCH_eUYBWGtxYmZ4RFEKZSw0Zn8RBgpqcGc1e0VWCmp5NTIPRFRAZHB+a39eVF4-. CSeq: 102 INVITE. User-Agent: FreeSWITCH. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. . -------------- next part -------------- 2016-03-23 13:48:43.435074 [INFO] mod_dialplan_xml.c:637 Processing +xxxxxxxxx65 ->+xxxxxxxxx01 in context default Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 parsing [default->+xxxxxxxxx01] continue=false Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Regex (PASS) [+xxxxxxxxx01] destination_number(+xxxxxxxxx01) =~ // break=on-false Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(callstart=2016-03-23 11:48:43) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(call_processed=internal) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(originated_destination_number=xxxxxxxx01) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action export(t38_passthru=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(call_direction=inbound) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action sched_hangup(+172800 allotted_timeout) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(effective_destination_number=xxxxxxxx01) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action export(t38_passthru=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(did_calltype=LOCAL) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action bridge({sip_invite_to_uri=,sip_invite_req_uri=sip:xxxxxxxx01 at x.x.x.42:5060}sofia/default/sip:test-user at x.x.x.42:5060;fs_path=sip%3Ax.x.x.35%3Blr%3Breceived%3Dsip%3Ax.x.x.42%3A5060) 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:216 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_ROUTING -> CS_EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State ROUTING going to sleep 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:539 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] mod_sofia.c:196 sofia/default/+xxxxxxxxx65 at x.x.x.86 SOFIA EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:258 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard EXECUTE EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(callstart=2016-03-23 11:48:43) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [callstart]=[2016-03-23 11:48:43] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(call_processed=internal) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [call_processed]=[internal] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(originated_destination_number=xxxxxxxx01) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [originated_destination_number]=[xxxxxxxx01] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 export(t38_passthru=true) 2016-03-23 13:48:43.615031 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38_request=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38_request]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(call_direction=inbound) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [call_direction]=[inbound] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 sched_hangup(+172800 allotted_timeout) 2016-03-23 13:48:43.635031 [DEBUG] switch_scheduler.c:249 Added task 21 switch_ivr_schedule_hangup (67849c93-6b10-4377-834e-78657fcc2023) to run at 1458906523 EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(effective_destination_number=xxxxxxxx01) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [effective_destination_number]=[xxxxxxxx01] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 export(t38_passthru=true) 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38_request=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38_request]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 bridge({sip_invite_to_uri=,sip_invite_req_uri=sip:xxxxxxxx01 at x.x.x.42:5060}sofia/default/sip:test-user at x.x.x.42:5060;fs_path=sip%3Ax.x.x.35%3Blr%3Breceived%3Dsip%3Ax.x.x.42%3A5060) 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1247 sofia/default/+xxxxxxxxx65 at x.x.x.86 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1247 sofia/default/+xxxxxxxxx65 at x.x.x.86 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-23 13:48:43.635031 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables 2016-03-23 13:48:43.635031 [NOTICE] switch_channel.c:1101 New Channel sofia/default/test-user at x.x.x.42:5060 [36b94456-46e2-4ef2-9fb8-9ebe4d9d67b1] 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:4776 (sofia/default/test-user at x.x.x.42:5060) State Change CS_NEW -> CS_INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:516 (sofia/default/test-user at x.x.x.42:5060) State INIT 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:88 sofia/default/test-user at x.x.x.42:5060 SOFIA INIT 2016-03-23 13:48:43.635031 [DEBUG] sofia_glue.c:1228 sip:x.x.x.35;lr;received=sip:x.x.x.42:5060 Setting proxy route to sofia/default/test-user at x.x.x.42:5060 2016-03-23 13:48:43.635031 [DEBUG] sofia_glue.c:1257 sofia/default/test-user at x.x.x.42:5060 sending invite version: 1.6.6 git d2d0b32 2016-01-11 20:16:12Z 64bit Local SDP: v=0 o=SBC 1458713961 1458713962 IN IP4 x.x.x.37 s=SBC c=IN IP4 x.x.x.37 t=0 0 m=audio 19762 RTP/AVP 18 8 101 13 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:60 a=sendrecv 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:40 sofia/default/test-user at x.x.x.42:5060 Standard INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:48 (sofia/default/test-user at x.x.x.42:5060) State Change CS_INIT -> CS_ROUTING 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:516 (sofia/default/test-user at x.x.x.42:5060) State INIT going to sleep 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_ROUTING 2016-03-23 13:48:43.635031 [DEBUG] sofia.c:6760 Channel sofia/default/test-user at x.x.x.42:5060 entering state [calling][0] 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/test-user at x.x.x.42:5060) State ROUTING 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:141 sofia/default/test-user at x.x.x.42:5060 SOFIA ROUTING 2016-03-23 13:48:43.635031 [DEBUG] switch_ivr_originate.c:67 (sofia/default/test-user at x.x.x.42:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/test-user at x.x.x.42:5060) State ROUTING going to sleep 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:551 (sofia/default/test-user at x.x.x.42:5060) State CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:551 (sofia/default/test-user at x.x.x.42:5060) State CONSUME_MEDIA going to sleep 2016-03-23 13:48:43.775034 [ERR] sofia_reg.c:2583 Cannot locate any authentication credentials to complete an authentication request for realm '"vpbx01.xxx.com"' 2016-03-23 13:48:43.775034 [NOTICE] sofia_reg.c:2606 Hangup sofia/default/test-user at x.x.x.42:5060 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:739 (sofia/default/test-user at x.x.x.42:5060) Callstate Change DOWN -> HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test-user at x.x.x.42:5060) State HANGUP 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:431 Channel sofia/default/test-user at x.x.x.42:5060 hanging up, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:495 Sending CANCEL to sofia/default/test-user at x.x.x.42:5060 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:60 sofia/default/test-user at x.x.x.42:5060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test-user at x.x.x.42:5060) State HANGUP going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:508 (sofia/default/test-user at x.x.x.42:5060) State Change CS_HANGUP -> CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/test-user at x.x.x.42:5060) State REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:104 sofia/default/test-user at x.x.x.42:5060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/test-user at x.x.x.42:5060) State REPORTING going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:499 (sofia/default/test-user at x.x.x.42:5060) State Change CS_REPORTING -> CS_DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_session.c:1646 Session 25 (sofia/default/test-user at x.x.x.42:5060) Locked, Waiting on external entities 2016-03-23 13:48:43.775034 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [NOTICE] switch_core_session.c:1664 Session 25 (sofia/default/test-user at x.x.x.42:5060) Ended 2016-03-23 13:48:43.775034 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/test-user at x.x.x.42:5060 [CS_DESTROY] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:630 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_DESTROY 2016-03-23 13:48:43.775034 [INFO] mod_dptools.c:3379 Originate Failed. Cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [NOTICE] switch_channel.c:4804 Hangup sofia/default/+xxxxxxxxx65 at x.x.x.86 [CS_EXECUTE] [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:640 (sofia/default/test-user at x.x.x.42:5060) State DESTROY 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:341 sofia/default/test-user at x.x.x.42:5060 SOFIA DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:111 sofia/default/test-user at x.x.x.42:5060 Standard DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:640 (sofia/default/test-user at x.x.x.42:5060) State DESTROY going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_session.c:2796 sofia/default/+xxxxxxxxx65 at x.x.x.86 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:539 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State EXECUTE going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:739 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Callstate Change RINGING -> HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State HANGUP 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:431 Channel sofia/default/+xxxxxxxxx65 at x.x.x.86 hanging up, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:60 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard HANGUP, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State HANGUP going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:508 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_HANGUP -> CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State REPORTING 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:104 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard REPORTING, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:827 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State REPORTING going to sleep 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:499 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_REPORTING -> CS_DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_session.c:1646 Session 24 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Locked, Waiting on external entities 2016-03-23 13:48:44.035036 [NOTICE] switch_core_session.c:1664 Session 24 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Ended 2016-03-23 13:48:44.035036 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/+xxxxxxxxx65 at x.x.x.86 [CS_DESTROY] 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:630 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:640 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State DESTROY 2016-03-23 13:48:44.035036 [DEBUG] mod_sofia.c:341 sofia/default/+xxxxxxxxx65 at x.x.x.86 SOFIA DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:111 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:640 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State DESTROY going to sleep 2016-03-23 13:48:44.135038 [DEBUG] switch_scheduler.c:144 Deleting task 21 switch_ivr_schedule_hangup (67849c93-6b10-4377-834e-78657fcc2023) From jurijs.ivolga at gmail.com Wed Mar 23 17:20:15 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Wed, 23 Mar 2016 16:20:15 +0200 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: Hi Rutu, In logs I can see that user-agent Asterisk is sending INVITE to Freeswitch and Freeswitch replies with "480 Temporarily Unavailable". This a bit differs from what you explained in your mail... First think what pop up in my mind is that you need to configure Asterisk as a trunk on Freeswitch, not sure if this helps, but this is my first guess... https://freeswitch.org/confluence/display/FREESWITCH/Asterisk With kind regards, Jurijs On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel wrote: > Hi, > > We are sending call to asterisk PBX but we are getting 480 Temporarily > Unavailable immediately. from freeswitch server. > > Call flow is as below: > > User => opensips => FS => PBX, > > but call not sending out from FS and drop by FS. > > Here I am attaching both sip logs and freeswitch logs. > > Can anyone please help to sort out the issue. > -- > Thanks, > Rutu Patel > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160323/caea25a8/attachment.html From anthony.minessale at gmail.com Wed Mar 23 18:16:48 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 23 Mar 2016 11:16:48 -0400 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: You need to supply auth credentials to Asterisk because its set to authenticate calls. The best thing to do would be to make a gateway pointing to Asterisk with all the credentials and call it using that. On Wed, Mar 23, 2016 at 10:20 AM, Jurijs Ivolga wrote: > Hi Rutu, > > In logs I can see that user-agent Asterisk is sending INVITE to Freeswitch > and Freeswitch replies with "480 Temporarily Unavailable". This a bit > differs from what you explained in your mail... > > First think what pop up in my mind is that you need to configure Asterisk > as a trunk on Freeswitch, not sure if this helps, but this is my first > guess... > > https://freeswitch.org/confluence/display/FREESWITCH/Asterisk > > With kind regards, > > Jurijs > > On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel > wrote: > >> Hi, >> >> We are sending call to asterisk PBX but we are getting 480 Temporarily >> Unavailable immediately. from freeswitch server. >> >> Call flow is as below: >> >> User => opensips => FS => PBX, >> >> but call not sending out from FS and drop by FS. >> >> Here I am attaching both sip logs and freeswitch logs. >> >> Can anyone please help to sort out the issue. >> -- >> Thanks, >> Rutu Patel >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160323/28e0e0f9/attachment.html From olegstolyar at gmail.com Wed Mar 23 20:11:23 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 23 Mar 2016 10:11:23 -0700 Subject: [Freeswitch-users] Send DTMF as INFO using uuid_send_dtmf In-Reply-To: References: Message-ID: Just an update for the list to close the loop. Anthony fixed this in https://freeswitch.org/jira/browse/FS-8975. On Tue, Mar 22, 2016 at 10:35 PM, Oleg Stolyar wrote: > Hi guys, > > is there some special trick to this? I set value="info"/> in my sip profile but when I call FS from a browser using > JsSip on Chrome and execute > uuid_send_dtmf , > > FS sends it as 2833 instead of INFO. > > Interestingly, if instead I call into the same FS from another FS server > and execute the same command, it uses INFO to send DTMF. > > I made sure that the Allow headers in INVITES are identical in both cases. > > What could be causing it? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/e5de8fc1/attachment.html From vagarwal at vertical.com Wed Mar 23 21:12:14 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Wed, 23 Mar 2016 18:12:14 +0000 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> Thanks for the reply. I changed dialplan as following and still same results Interestingly this is what I see in Freeswitch traces 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL AFTER******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media Even if value for "current_node" is 1 it does not go to condition. At least it should go there. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, March 23, 2016 6:07 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. In your example the vars are expanded before the set and log application actions are actually executed. See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline="true" for a more complete explanation on way to do what you are trying. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal Sent: Wednesday, March 23, 2016 12:47 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160323/e91f04de/attachment-0001.html From brian at freeswitch.org Wed Mar 23 21:40:36 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 23 Mar 2016 14:40:36 -0400 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> Message-ID: try not nesting your conditions and stack them instead. On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal wrote: > Thanks for the reply. I changed dialplan as following and still same > results > > > > > > > > > > > > > > > > > > inline="true"/> > > > > data="loopback/5000"/> > > > > > > inline="true"/> > > > > data="sofia/external/5000 at 172.18.19.72"/> > > > > > > > > > > > > > > > > > > Interestingly this is what I see in Freeswitch traces > > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG > LEVEL******** [1] > > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL > AFTER******** [1] > > 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media > > > > Even if value for "current_node" is 1 it does not go to field="${current_node}" expression="^1$"> condition. At least it should go > there. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice > *Sent:* Wednesday, March 23, 2016 6:07 AM > *To:* 'FreeSWITCH Users Help' > *Subject:* Re: [Freeswitch-users] Need to set and get Global vairables > from dialplan > > > > As with any variables (channel or global) variables are expanded when the > dialplan is processed, then a list of actions is built, based on conditions > that are met. This is called the Routing Stage in FreeSWITCH Call > Processing. > > One that Routing Stage is completed, then we move to the Execute Stage > where the Actions (or anti-actions) that were added to the list of things > to do are executed. > > > > In your example the vars are expanded before the set and log application > actions are actually executed. > > > > See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and > look for inline=?true? for a more complete explanation on way to do what > you are trying. > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Varsha > Agarwal > *Sent:* Wednesday, March 23, 2016 12:47 AM > *To:* FreeSWITCH-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Need to set and get Global vairables from > dialplan > > > > Hi, > > > > I have created a variable in var.xml, current_node. I am trying to use it > in dialplan as below, is this something I can do? > > > > > > > > > > > > > > > > data="current_node=2"/> > > > > data="loopback/5000"/> > > > > > > data="current_node=2"/> > > > > > > > > > > > > > > > > > > > > > > Currently log always print current_node = 1 which is the value set in > vars.xml. > > > > Thanks, > > Varsha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160323/98e82193/attachment.html From vagarwal at vertical.com Wed Mar 23 22:01:30 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Wed, 23 Mar 2016 19:01:30 +0000 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> Tried this Did not work either. No matter what is the value for current_node, always executes "anti-action". From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 23, 2016 11:41 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan try not nesting your conditions and stack them instead. On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal > wrote: Thanks for the reply. I changed dialplan as following and still same results Interestingly this is what I see in Freeswitch traces 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL AFTER******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media Even if value for "current_node" is 1 it does not go to condition. At least it should go there. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, March 23, 2016 6:07 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. In your example the vars are expanded before the set and log application actions are actually executed. See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline=?true? for a more complete explanation on way to do what you are trying. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal Sent: Wednesday, March 23, 2016 12:47 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160323/516e733a/attachment-0001.html From brian at freeswitch.org Thu Mar 24 00:29:20 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 23 Mar 2016 17:29:20 -0400 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> Message-ID: /b On Wed, Mar 23, 2016 at 3:01 PM, Varsha Agarwal wrote: > Tried this > > > > > > > > > > > > inline="true"/> > > inline="true"/> > > > > > > > > > > > > > > > > > > > > > > > > > > Did not work either. No matter what is the value for current_node, always > executes "anti-action". > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West > *Sent:* Wednesday, March 23, 2016 11:41 AM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Need to set and get Global vairables > from dialplan > > > > try not nesting your conditions and stack them instead. > > > > On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal > wrote: > > Thanks for the reply. I changed dialplan as following and still same > results > > > > > > > > > > > > > > > > > > inline="true"/> > > > > data="loopback/5000"/> > > > > > > inline="true"/> > > > > data="sofia/external/5000 at 172.18.19.72"/> > > > > > > > > > > > > > > > > > > Interestingly this is what I see in Freeswitch traces > > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG > LEVEL******** [1] > > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL > AFTER******** [1] > > 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media > > > > Even if value for "current_node" is 1 it does not go to field="${current_node}" expression="^1$"> condition. At least it should go > there. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice > *Sent:* Wednesday, March 23, 2016 6:07 AM > *To:* 'FreeSWITCH Users Help' > *Subject:* Re: [Freeswitch-users] Need to set and get Global vairables > from dialplan > > > > As with any variables (channel or global) variables are expanded when the > dialplan is processed, then a list of actions is built, based on conditions > that are met. This is called the Routing Stage in FreeSWITCH Call > Processing. > > One that Routing Stage is completed, then we move to the Execute Stage > where the Actions (or anti-actions) that were added to the list of things > to do are executed. > > > > In your example the vars are expanded before the set and log application > actions are actually executed. > > > > See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and > look for inline=?true? for a more complete explanation on way to do what > you are trying. > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Varsha > Agarwal > *Sent:* Wednesday, March 23, 2016 12:47 AM > *To:* FreeSWITCH-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Need to set and get Global vairables from > dialplan > > > > Hi, > > > > I have created a variable in var.xml, current_node. I am trying to use it > in dialplan as below, is this something I can do? > > > > > > > > > > > > > > > > data="current_node=2"/> > > > > data="loopback/5000"/> > > > > > > data="current_node=2"/> > > > > > > > > > > > > > > > > > > > > > > Currently log always print current_node = 1 which is the value set in > vars.xml. > > > > Thanks, > > Varsha > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160323/44e179f7/attachment-0001.html From anthony.minessale at gmail.com Thu Mar 24 00:50:04 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 23 Mar 2016 17:50:04 -0400 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: To put this in perspective its like saying: I updated from windows 3.1 to Windows 10 and now my trumpet winsock is not working. When reporting issues you should always try latest master from the day you are reporting it. Also you should be doing so at https://freeswitch.org/jira On Wed, Mar 23, 2016 at 9:31 AM, Brian West wrote: > So code from October 15th 2015 doesn't work? You should probably UPDATE! > > On Wed, Mar 23, 2016 at 9:28 AM, Mateusz Bartczak > wrote: > >> Old (working) version was: FreeSWITCH Version >> 1.2.24+git~20140703T043425Z~91f891bee0~64bit (git 91f891b 2014-07-03 >> 04:34:25Z 64bit) >> >> New version is: FreeSWITCH Version >> 1.7.0+git~20151015T200018Z~c7d5d49ff6~64bit (git c7d5d49 2015-10-15 >> 20:00:18Z 64bit) >> >> 2016-03-23 13:44 GMT+01:00 Brian West : >> >>> What revision are you running? >>> >>> On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak >> > wrote: >>> >>>> Hi All >>>> >>>> I have several problem after upgrading legacy system based on >>>> FreeSWITCH 1.2x to latest HEAD >>>> >>>> With no configuration changes and on the same hardware fax transmission >>>> success rate fall from 86% to 3% >>>> >>>> Most calls end up with SpanDSP status/error code 41 >>>> >>>> Dialplan part I'm using is: >>>> >>>> >>>> >>>> >>> expression="true"> >>>> >>> data="nolocal:absolute_codec_string=PCMA,PCMU"/> >>>> >>>> >>> data="fax_ident=${destination_number:4:20}"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> >>>> >>>> >>>> >>>> >>>> Any hints on what could cause such dramatic success rate? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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 > -- 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/20160323/546b8758/attachment.html From vagarwal at vertical.com Thu Mar 24 07:17:53 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Thu, 24 Mar 2016 04:17:53 +0000 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233761E83@SCEX1.vertical.com> This does nor work either. Basically the problem is not with syntax it is with the way these conditions are evaluated. IT is going to parent condition before child condition. So Anti-action always gets executed. I tried it lot of different ways but result seems to be the same. Is it some sort of bug? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 23, 2016 2:29 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan /b On Wed, Mar 23, 2016 at 3:01 PM, Varsha Agarwal > wrote: Tried this Did not work either. No matter what is the value for current_node, always executes "anti-action". From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 23, 2016 11:41 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan try not nesting your conditions and stack them instead. On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal > wrote: Thanks for the reply. I changed dialplan as following and still same results Interestingly this is what I see in Freeswitch traces 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL AFTER******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media Even if value for "current_node" is 1 it does not go to condition. At least it should go there. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, March 23, 2016 6:07 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. In your example the vars are expanded before the set and log application actions are actually executed. See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline=?true? for a more complete explanation on way to do what you are trying. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal Sent: Wednesday, March 23, 2016 12:47 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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 -- Brian West brian at freeswitch.org [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160324/63ec2963/attachment-0001.html From krice at freeswitch.org Thu Mar 24 07:49:05 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 23 Mar 2016 23:49:05 -0500 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233761E83@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761E83@SCEX1.vertical.com> Message-ID: <0BA26DEA-4875-4429-862A-AA7EEB9C8C5D@freeswitch.org> Are you just trying to round Robin loadbalance? Why not use mod distributor? Sent from my iPhone > On Mar 23, 2016, at 11:17 PM, Varsha Agarwal wrote: > > This does nor work either. Basically the problem is not with syntax it is with the way these conditions are evaluated. IT is going to parent condition before child condition. So Anti-action always gets executed. I tried it lot of different ways but result seems to be the same. Is it some sort of bug? > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West > Sent: Wednesday, March 23, 2016 2:29 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan > > > > /b > > > On Wed, Mar 23, 2016 at 3:01 PM, Varsha Agarwal wrote: > Tried this > > > > > > > > > > > > > > > > > > > > Did not work either. No matter what is the value for current_node, always executes "anti-action". > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West > Sent: Wednesday, March 23, 2016 11:41 AM > > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan > > try not nesting your conditions and stack them instead. > > On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal wrote: > Thanks for the reply. I changed dialplan as following and still same results > > > > > > > > > > > > > > > > > > > > > > > > > Interestingly this is what I see in Freeswitch traces > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL******** [1] > 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL AFTER******** [1] > 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media > > Even if value for "current_node" is 1 it does not go to condition. At least it should go there. > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice > Sent: Wednesday, March 23, 2016 6:07 AM > To: 'FreeSWITCH Users Help' > Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan > > As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. > One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. > > In your example the vars are expanded before the set and log application actions are actually executed. > > See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline=?true? for a more complete explanation on way to do what you are trying. > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal > Sent: Wednesday, March 23, 2016 12:47 AM > To: FreeSWITCH-users at lists.freeswitch.org > Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan > > Hi, > > I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? > > > > > > > > > > > > > > > > > > > > > > > > Currently log always print current_node = 1 which is the value set in vars.xml. > > Thanks, > Varsha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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 > > > > -- > Brian West > brian at freeswitch.org > > > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160323/98a5b45d/attachment-0001.html From vagarwal at vertical.com Thu Mar 24 08:00:14 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Thu, 24 Mar 2016 05:00:14 +0000 Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan In-Reply-To: <0BA26DEA-4875-4429-862A-AA7EEB9C8C5D@freeswitch.org> References: <04AB0A185A23864CA9255FD38901F65D02337615D9@SCEX1.vertical.com> <4c2501d18504$e423a640$ac6af2c0$@freeswitch.org> <04AB0A185A23864CA9255FD38901F65D0233761AAA@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761B72@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D0233761E83@SCEX1.vertical.com> <0BA26DEA-4875-4429-862A-AA7EEB9C8C5D@freeswitch.org> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233761EF5@SCEX1.vertical.com> Just came across mod_distributer on Wiki. Worked like charm!!! Thanks everyone for all your help. Really appreciated. Do you know if in round-robin distribution the FS server responsible for routing calls can remove itself from RTP path once transfer is complete? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, March 23, 2016 9:49 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan Are you just trying to round Robin loadbalance? Why not use mod distributor? Sent from my iPhone On Mar 23, 2016, at 11:17 PM, Varsha Agarwal > wrote: This does nor work either. Basically the problem is not with syntax it is with the way these conditions are evaluated. IT is going to parent condition before child condition. So Anti-action always gets executed. I tried it lot of different ways but result seems to be the same. Is it some sort of bug? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 23, 2016 2:29 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan /b On Wed, Mar 23, 2016 at 3:01 PM, Varsha Agarwal > wrote: Tried this Did not work either. No matter what is the value for current_node, always executes "anti-action". From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, March 23, 2016 11:41 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan try not nesting your conditions and stack them instead. On Wed, Mar 23, 2016 at 2:12 PM, Varsha Agarwal > wrote: Thanks for the reply. I changed dialplan as following and still same results Interestingly this is what I see in Freeswitch traces 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_dptools.c:1692 *********LOG LEVEL AFTER******** [1] 2016-03-23 11:07:22.895579 [INFO] mod_loopback.c:1075 Sending early media Even if value for "current_node" is 1 it does not go to condition. At least it should go there. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, March 23, 2016 6:07 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Need to set and get Global vairables from dialplan As with any variables (channel or global) variables are expanded when the dialplan is processed, then a list of actions is built, based on conditions that are met. This is called the Routing Stage in FreeSWITCH Call Processing. One that Routing Stage is completed, then we move to the Execute Stage where the Actions (or anti-actions) that were added to the list of things to do are executed. In your example the vars are expanded before the set and log application actions are actually executed. See https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan and look for inline=?true? for a more complete explanation on way to do what you are trying. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha Agarwal Sent: Wednesday, March 23, 2016 12:47 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Need to set and get Global vairables from dialplan Hi, I have created a variable in var.xml, current_node. I am trying to use it in dialplan as below, is this something I can do? Currently log always print current_node = 1 which is the value set in vars.xml. Thanks, Varsha _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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 -- Brian West brian at freeswitch.org [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160324/4c47ac75/attachment-0001.html From mbodbg at gmx.net Thu Mar 24 10:59:45 2016 From: mbodbg at gmx.net (=?utf-8?Q?Markus_B=C3=B6nke?=) Date: Thu, 24 Mar 2016 08:59:45 +0100 Subject: [Freeswitch-users] outbound_caller_id vs origination_caller_id_number Message-ID: In the default configuration, the variable outbound_caller_id is set to 0000000: I understood that this value is used on an originate if when no callerid is set. fs_cli -x 'originate {originate_timeout=20}sofia/gateway/MYGATEWAY/+1111111111 &park' But also changing that value in var.xml does not change the signaled callerid, freeswitch uses also 0000000 as callerid. I think because this value is also hardcoded in switch_types.h as default. If I want to set a callerid on originate, I have to set the variable origination_caller_id_number like: fs_cli -x 'originate {originate_timeout=20}[origination_caller_id_number=022323232323]sofia/gateway/MYGATEWAY/+11111111 &park? So what is the idea behind the variable outbound_caller_id which is preset in vars.xml? Thanks Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/21706e7a/attachment.html From aqsyounas at gmail.com Thu Mar 24 14:14:53 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 24 Mar 2016 16:14:53 +0500 Subject: [Freeswitch-users] [ERR] switch_xml.c:1715 Error[[error near line 2]:markup outside of root element] Message-ID: Hi, I am trying to use mod_xml_curl with fs_curl.But when I try to reload this module I encounter this error. freeswitch> reload mod_xml_curl 2016-03-24 11:13:13.310917 [NOTICE] switch_loadable_module.c:1058 Deleting API Function 'xml_curl' 2016-03-24 11:13:13.310917 [DEBUG] switch_loadable_module.c:1060 Write lock interface 'xml_curl' to wait for existing references. 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1935 Stopping: mod_xml_curl 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1955 mod_xml_curl unloaded. 2016-03-24 11:13:13.310917 [INFO] mod_enum.c:880 ENUM Reloaded 2016-03-24 11:13:13.310917 [NOTICE] mod_xml_curl.c:543 Binding [example] XML Fetch Function [http://localhost/fs_curl/index.php] [configuration|directory|dialplan] 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1465 Successfully Loaded [mod_xml_curl] +OK Reloading XML +OK module unloaded +OK module loaded 2016-03-24 11:13:13.310917 [NOTICE] switch_loadable_module.c:315 Adding API Function 'xml_curl' freeswitch> 2016-03-24 11:13:13.310917 [ERR] switch_xml.c:1715 Error[[error near line 2]: markup outside of root element] 2016-03-24 11:13:13.310917 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitions Any suggestion is much appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/dc4b3bd0/attachment.html From nishadmusthafa at gmail.com Thu Mar 24 13:45:09 2016 From: nishadmusthafa at gmail.com (Nishad Musthafa) Date: Thu, 24 Mar 2016 10:45:09 +0000 Subject: [Freeswitch-users] Playback Timeout using mod_shout Message-ID: Hi, I had a look at this example for local_stream https://wiki.freeswitch.org/wiki/File_string#Timeout_Example where you can add a timeout using the format {timeout=15000}file_string://${sound_dir}/music/8000/music2.wav My question is Is it possible to do this with a shout url. Something like {timeout=15000}shout://..!shout://..!shout://.. If not, what's the best way to achieve the same result? Nishad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/b60c453a/attachment.html From aqsyounas at gmail.com Thu Mar 24 15:04:00 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Thu, 24 Mar 2016 17:04:00 +0500 Subject: [Freeswitch-users] [ERR] switch_xml.c:1715 Error[[error near line 2]:markup outside of root element] In-Reply-To: References: Message-ID: Resolved, There was an issue with php version. On 24 March 2016 at 16:14, Aqs Younas wrote: > Hi, > > I am trying to use mod_xml_curl with fs_curl.But when I try to reload this > module I encounter this error. > > freeswitch> reload mod_xml_curl > 2016-03-24 11:13:13.310917 [NOTICE] switch_loadable_module.c:1058 Deleting > API Function 'xml_curl' > 2016-03-24 11:13:13.310917 [DEBUG] switch_loadable_module.c:1060 Write > lock interface 'xml_curl' to wait for existing references. > 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1935 > Stopping: mod_xml_curl > 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1955 > mod_xml_curl unloaded. > 2016-03-24 11:13:13.310917 [INFO] mod_enum.c:880 ENUM Reloaded > 2016-03-24 11:13:13.310917 [NOTICE] mod_xml_curl.c:543 Binding [example] > XML Fetch Function [http://localhost/fs_curl/index.php] > [configuration|directory|dialplan] > 2016-03-24 11:13:13.310917 [CONSOLE] switch_loadable_module.c:1465 > Successfully Loaded [mod_xml_curl] > > +OK Reloading XML > +OK module unloaded > +OK module loaded > > 2016-03-24 11:13:13.310917 [NOTICE] switch_loadable_module.c:315 Adding > API Function 'xml_curl' > freeswitch> 2016-03-24 11:13:13.310917 [ERR] switch_xml.c:1715 > Error[[error near line 2]: markup outside of root element] > 2016-03-24 11:13:13.310917 [INFO] switch_time.c:1411 Timezone reloaded > 1781 definitions > > > Any suggestion is much appreciated. > Thanks. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/a11ee92a/attachment.html From steveayre at gmail.com Thu Mar 24 15:52:59 2016 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 24 Mar 2016 12:52:59 +0000 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: That is not the latest HEAD. Try updating again. On 23 March 2016 at 13:28, Mateusz Bartczak wrote: > Old (working) version was: FreeSWITCH Version > 1.2.24+git~20140703T043425Z~91f891bee0~64bit (git 91f891b 2014-07-03 > 04:34:25Z 64bit) > > New version is: FreeSWITCH Version > 1.7.0+git~20151015T200018Z~c7d5d49ff6~64bit (git c7d5d49 2015-10-15 > 20:00:18Z 64bit) > > 2016-03-23 13:44 GMT+01:00 Brian West : > >> What revision are you running? >> >> On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak >> wrote: >> >>> Hi All >>> >>> I have several problem after upgrading legacy system based on FreeSWITCH >>> 1.2x to latest HEAD >>> >>> With no configuration changes and on the same hardware fax transmission >>> success rate fall from 86% to 3% >>> >>> Most calls end up with SpanDSP status/error code 41 >>> >>> Dialplan part I'm using is: >>> >>> >>> >>> >> expression="true"> >>> >> data="nolocal:absolute_codec_string=PCMA,PCMU"/> >>> >>> >> data="fax_ident=${destination_number:4:20}"/> >>> >>> >>> >>> >>> >>> >>> >> data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> >>> >>> >>> >>> >>> Any hints on what could cause such dramatic success rate? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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/20160324/f85ea669/attachment-0001.html From gmaruzz at gmail.com Thu Mar 24 16:00:36 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 24 Mar 2016 14:00:36 +0100 Subject: [Freeswitch-users] Fax transmission success rate fall from 86% to 3% after upgrade from 1.2 to HEAD In-Reply-To: References: Message-ID: trumpet winsock... THOSE WERE THE DAYS ! https://www.youtube.com/watch?v=I49mMAOUlkw On Wed, Mar 23, 2016 at 10:50 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > To put this in perspective its like saying: > > I updated from windows 3.1 to Windows 10 and now my trumpet winsock is not > working. > > When reporting issues you should always try latest master from the day you > are reporting it. > Also you should be doing so at https://freeswitch.org/jira > > > On Wed, Mar 23, 2016 at 9:31 AM, Brian West wrote: > >> So code from October 15th 2015 doesn't work? You should probably UPDATE! >> >> >> On Wed, Mar 23, 2016 at 9:28 AM, Mateusz Bartczak >> wrote: >> >>> Old (working) version was: FreeSWITCH Version >>> 1.2.24+git~20140703T043425Z~91f891bee0~64bit (git 91f891b 2014-07-03 >>> 04:34:25Z 64bit) >>> >>> New version is: FreeSWITCH Version >>> 1.7.0+git~20151015T200018Z~c7d5d49ff6~64bit (git c7d5d49 2015-10-15 >>> 20:00:18Z 64bit) >>> >>> 2016-03-23 13:44 GMT+01:00 Brian West : >>> >>>> What revision are you running? >>>> >>>> On Wed, Mar 23, 2016 at 7:39 AM, Mateusz Bartczak < >>>> netcentrica at gmail.com> wrote: >>>> >>>>> Hi All >>>>> >>>>> I have several problem after upgrading legacy system based on >>>>> FreeSWITCH 1.2x to latest HEAD >>>>> >>>>> With no configuration changes and on the same hardware fax >>>>> transmission success rate fall from 86% to 3% >>>>> >>>>> Most calls end up with SpanDSP status/error code 41 >>>>> >>>>> Dialplan part I'm using is: >>>>> >>>>> >>>>> >>>>> >>>> expression="true"> >>>>> >>>> data="nolocal:absolute_codec_string=PCMA,PCMU"/> >>>>> >>>>> >>>> data="fax_ident=${destination_number:4:20}"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> data="/usr/local/freeswitch/var/rxfax/rxfax.${destination_number:4:20}.${uuid}.tiff"/> >>>>> >>>>> >>>>> >>>>> >>>>> Any hints on what could cause such dramatic success rate? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> 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 >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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 >> > > > > -- > 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/f07aafaa/attachment.html From nishadmusthafa at gmail.com Thu Mar 24 18:28:09 2016 From: nishadmusthafa at gmail.com (Nishad Musthafa) Date: Thu, 24 Mar 2016 15:28:09 +0000 Subject: [Freeswitch-users] playback timeout when using multiple files Message-ID: Hi, >From the wiki and through experimenting with FS, I know it's possible to playback multiple files using the playback_delimiter channel variable and then something like It is also possible to set a timeout for a single file using Is it possible to merge the above two? I am looking at setting a single timeout for multiple files. Is this possible? Nishad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/5ea63607/attachment-0001.html From tntclaus at gmail.com Thu Mar 24 19:22:59 2016 From: tntclaus at gmail.com (TNTClaus) Date: Thu, 24 Mar 2016 19:22:59 +0300 Subject: [Freeswitch-users] mod_callcenter agent may stuck "In a queue call" forever In-Reply-To: References: Message-ID: Hi. I faced a problem with mod call centre strange behaviour. I have a queue with the strategy "ring all", queue has got 30 agents, all of them always have status available, but only 6 agents can be really active (e.g.: registered and connected) at a time. Those 6 simultaneously answer calls (e.g. can answer 200 on the same INVITE request before CANCEL arrives). *Sometimes an agent might get stuck in the state "In a queue call"* while he is not in a call. In that case waiting agent stops getting calls. CLI command: > *callcenter_config agent set state waiting* changes state of an agent at DB, but call center still won't offer calls to him. The only fix I found is to reload mod_callcenter, but during reload all active calls would be dropped. Calls are coming one by one (maximum call rate I had ever seen at this site was ~600 calls/hour). But I didn't notice any correlation with the call rate. Agent may get stuck at any time of day with any call rate ranging between ~150 calls/hour to 400 calls/hour. Most of calls last from 5 to 20 seconds. I tried to switch from sqlite to odbc postgresql, but that changed nothing. Currently switch is connected to ODBC Postgresql. *OS version:* Linux local.pbx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux *FS version:* FreeSWITCH version: 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit (git d2d0b32 2016-01-11 20:16:12Z 64bit) *sqlite package:* llibsqlite3-0:amd64 3.8.7.1-1+deb8u1 amd64 SQLite 3 shared library *PostgreSQL / ODBC packages:* odbc-postgresql:amd64 1:09.03.0300-1 amd64 ODBC driver for PostgreSQL postgresql-9.4 9.4.6-0+deb8u1 amd64 object-relational SQL database, version 9.4 server *XML configs:* *callcenter/queues/queue.xml:* *callcenter/agents/agent.xml* that's a typical agent. They are all same except name and contact attributes. *callcenter/tiers/tier.xml* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/07707a4b/attachment.html From italo at freeswitch.org Fri Mar 25 03:46:00 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Thu, 24 Mar 2016 17:46:00 -0700 (PDT) Subject: [Freeswitch-users] mod_callcenter agent may stuck "In a queue call" forever In-Reply-To: References: Message-ID: Can you file a JIRA with your debug logs please? ?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 24 2016, at 1:32 pm, TNTClaus <tntclaus at gmail.com> wrote: > > Hi. I faced a problem with mod call centre strange behaviour. I have a queue with the strategy "ring all", queue has got 30 agents, all of them always have status available, but only 6 agents can be really active (e.g.: registered and connected) at a time. Those 6 simultaneously answer calls (e.g. can answer 200 on the same INVITE request before CANCEL arrives). **Sometimes an agent might get stuck in the state "In a queue call"** while he is not in a call. In that case waiting agent stops getting calls. CLI command: > _callcenter_config agent set state <agent> waiting_ > > changes state of an agent at DB, but call center still won't offer calls to him. The only fix I found is to reload mod_callcenter, but during reload all active calls would be dropped. > > Calls are coming one by one (maximum call rate I had ever seen at this site was ~600 calls/hour). But I didn't notice any correlation with the call rate. Agent may get stuck at any time of day with any call rate ranging between ~150 calls/hour to 400 calls/hour. Most of calls last from 5 to 20 seconds. I tried to switch from sqlite to odbc postgresql, but that changed nothing. Currently switch is connected to ODBC Postgresql. > > **OS version:** Linux local.pbx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux > > > > **FS version:** FreeSWITCH version: 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit (git d2d0b32 2016-01-11 20:16:12Z 64bit) **sqlite package:** llibsqlite3-0:amd64 3.8.7.1-1+deb8u1 amd64 SQLite 3 shared library > > **PostgreSQL / ODBC packages:** odbc-postgresql:amd64 1:09.03.0300-1 amd64 ODBC driver for PostgreSQL postgresql-9.4 9.4.6-0+deb8u1 amd64 object-relational SQL database, version 9.4 server > > **XML configs: ** > > **callcenter/queues/queue.xml: **<queue name="dispatchers"> <param name="discard-abandoned-after" value="300"/> <param name="max-wait-time" value="0"/> <param name="max-wait-time-with-no-agent" value="120"/> <param name="moh-sound" value="$${hold_music}"/> <param name="strategy" value="ring-all"/> <param name="tier-rule-no-agent-no-wait" value="false"/> <param name="tier-rule-wait-multiply-level" value="true"/> <param name="tier-rule-wait-second" value="300"/> <param name="tier-rules-apply" value="false"/> <param name="time-base-score" value="queue"/> </queue>** ** > > **callcenter/agents/agent.xml** <agent name="agent at local" type="callback" contact="user/agent at local" status="Available" max-no-answer="0" wrap-up-time="1" reject-delay-time="1" busy-delay-time="1" no-answer-delay-time="1"/>** ** > > > > that's a typical agent. They are all same except name and contact attributes. **callcenter/tiers/tier.xml** <tier agent="agent at local" queue="dispatchers" level="1" position="1"/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/b37b47b7/attachment.html From sales at evolving-networks.com Fri Mar 25 05:56:52 2016 From: sales at evolving-networks.com (evolvingnetworks) Date: Thu, 24 Mar 2016 19:56:52 -0700 (MST) Subject: [Freeswitch-users] Configure Freeswitch with two external IPs ... Message-ID: <1458874612246-7596208.post@n2.nabble.com> I have a SIP trunk provider that can provide two different services of SIP trunk, but they need two different IPs - is it possible to setup Freeswitch with two external IPs and register one SIP trunk trough one IP and the other through the other IP so calls made out go out the appropriate external IP? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Configure-Freeswitch-with-two-external-IPs-tp7596208.html Sent from the freeswitch-users mailing list archive at Nabble.com. From s.safarov at gmail.com Fri Mar 25 09:21:41 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 25 Mar 2016 06:21:41 +0000 Subject: [Freeswitch-users] Configure Freeswitch with two external IPs ... In-Reply-To: <1458874612246-7596208.post@n2.nabble.com> References: <1458874612246-7596208.post@n2.nabble.com> Message-ID: It is standart configuration. Must be work. If IPs from different network may be requred configure rp_filter sysctl variable. ??, 25 ???. 2016 ?. ? 6:01, evolvingnetworks : > I have a SIP trunk provider that can provide two different services of SIP > trunk, but they need two different IPs - is it possible to setup Freeswitch > with two external IPs and register one SIP trunk trough one IP and the > other > through the other IP so calls made out go out the appropriate external IP? > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Configure-Freeswitch-with-two-external-IPs-tp7596208.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/20160325/8740a094/attachment-0001.html From krice at freeswitch.org Fri Mar 25 15:16:40 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 25 Mar 2016 07:16:40 -0500 Subject: [Freeswitch-users] Configure Freeswitch with two external IPs ... In-Reply-To: <1458874612246-7596208.post@n2.nabble.com> References: <1458874612246-7596208.post@n2.nabble.com> Message-ID: <548CCD86-31FF-4590-8584-8B9993515C36@freeswitch.org> You just need to create and additional sofia profile. Each profile is its own sip user agent. Sent from my iPhone > On Mar 24, 2016, at 9:56 PM, evolvingnetworks wrote: > > I have a SIP trunk provider that can provide two different services of SIP > trunk, but they need two different IPs - is it possible to setup Freeswitch > with two external IPs and register one SIP trunk trough one IP and the other > through the other IP so calls made out go out the appropriate external IP? > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Configure-Freeswitch-with-two-external-IPs-tp7596208.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 From lists at telefaks.de Fri Mar 25 15:30:25 2016 From: lists at telefaks.de (Peter Steinbach) Date: Fri, 25 Mar 2016 13:30:25 +0100 Subject: [Freeswitch-users] Configure Freeswitch with two external IPs ... In-Reply-To: <1458874612246-7596208.post@n2.nabble.com> References: <1458874612246-7596208.post@n2.nabble.com> Message-ID: <56F52F61.5060102@telefaks.de> What we did for this purpose, was to use any of the unused nat profiles and modify those, so that they are similar to the external profile (e.g. context 'public'). Here you can also set internal IPs, different ports, if needed and external-sip-ip and external-rtp-ip. You can then also attach external gateways to this profile. So, when you dial sofia/gateway/, outbound calls are automatically handled via the right profile (with the right IPs) to the right gateway. Best regards Peter #On 03/25/16 03:56, evolvingnetworks wrote: > I have a SIP trunk provider that can provide two different services of SIP > trunk, but they need two different IPs - is it possible to setup Freeswitch > with two external IPs and register one SIP trunk trough one IP and the other > through the other IP so calls made out go out the appropriate external IP? > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Configure-Freeswitch-with-two-external-IPs-tp7596208.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 > -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From amani.mansour2 at gmail.com Fri Mar 25 12:21:10 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Fri, 25 Mar 2016 10:21:10 +0100 Subject: [Freeswitch-users] Register numbers in freeSWITCH without using sipphone Message-ID: Hi everyone , I would like to configure and register a sip number in freeSWITCH B from freeSWITCH A without using a sipphone . Concerning the configuration i did it .But to register this number i don't know how ? Is there someone who can help me please ???? for example if there is a file in which i can found how to register numbers ? i know that to have the list of registred number in this freeSWITCH ,you can do that : ./fs_cli sofia status profile internal reg . thank you . :) with regards Amani mansour -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160325/de47b9eb/attachment.html From luis.daniel.lucio at gmail.com Fri Mar 25 08:53:39 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Fri, 25 Mar 2016 01:53:39 -0400 Subject: [Freeswitch-users] Configure Freeswitch with two external IPs ... In-Reply-To: <1458874612246-7596208.post@n2.nabble.com> References: <1458874612246-7596208.post@n2.nabble.com> Message-ID: You need to create extra profiles Le 24 mars 2016 11:01 PM, "evolvingnetworks" a ?crit : > I have a SIP trunk provider that can provide two different services of SIP > trunk, but they need two different IPs - is it possible to setup Freeswitch > with two external IPs and register one SIP trunk trough one IP and the > other > through the other IP so calls made out go out the appropriate external IP? > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Configure-Freeswitch-with-two-external-IPs-tp7596208.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/20160325/e62be195/attachment.html From msc at freeswitch.org Fri Mar 25 19:37:25 2016 From: msc at freeswitch.org (Michael Collins) Date: Fri, 25 Mar 2016 09:37:25 -0700 Subject: [Freeswitch-users] outbound_caller_id vs origination_caller_id_number In-Reply-To: References: Message-ID: One place those variables is used is in the vanilla dialplan, specifically dialplan/default/01_example.xml. Note that the outbound_caller_id_name/number variables are also set in the directory entries, so when an auth'd user makes an outbound call the value for that user is applied. When performing an originate API I always use origination_caller_id_number. I can't think of a good reason not to set it every time. -MSC On Thu, Mar 24, 2016 at 12:59 AM, Markus B?nke wrote: > In the default configuration, the variable outbound_caller_id is set to > 0000000: > > > > I understood that this value is used on an originate if when no callerid > is set. > > fs_cli -x 'originate > {originate_timeout=20}sofia/gateway/MYGATEWAY/+1111111111 &park' > > But also changing that value in var.xml does not change the signaled > callerid, freeswitch uses also 0000000 as callerid. I think because this > value is also hardcoded in switch_types.h as default. > > If I want to set a callerid on originate, I have to set the variable > origination_caller_id_number like: > > fs_cli -x 'originate > {originate_timeout=20}[origination_caller_id_number=022323232323]sofia/gateway/MYGATEWAY/+11111111 > &park? > > > So what is the idea behind the variable outbound_caller_id which is preset > in vars.xml? > > Thanks > > Markus > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160325/525c98d5/attachment.html From msc at freeswitch.org Fri Mar 25 19:48:35 2016 From: msc at freeswitch.org (Michael Collins) Date: Fri, 25 Mar 2016 09:48:35 -0700 Subject: [Freeswitch-users] playback timeout when using multiple files In-Reply-To: References: Message-ID: Maybe you could do some tests and report back to the list. In switch_ivr_play_say.c there's a function called switch_ivr_play_file which is called by the playback dialplan app. In there it references a channel variable named playback_timeout_sec. Try setting that value prior to your playback app and see what happens. Be sure to let us know how it goes. :) -MSC On Thu, Mar 24, 2016 at 8:28 AM, Nishad Musthafa wrote: > Hi, > > From the wiki and through experimenting with FS, I know it's possible to > playback multiple files using the playback_delimiter channel variable and > then something like > > > > > > > It is also possible to set a timeout for a single file using > > > > Is it possible to merge the above two? I am looking at setting a single > timeout for multiple files. Is this possible? > > Nishad > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160325/4c4f5e68/attachment-0001.html From luis.daniel.lucio at gmail.com Fri Mar 25 19:49:49 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Fri, 25 Mar 2016 12:49:49 -0400 Subject: [Freeswitch-users] Register numbers in freeSWITCH without using sipphone In-Reply-To: References: Message-ID: You need to configure a gateway Le 25 mars 2016 9:29 AM, "amani mansour" a ?crit : > Hi everyone , > > I would like to configure and register a sip number in freeSWITCH B from > freeSWITCH A without using a sipphone . > > Concerning the configuration i did it .But to register this number i don't > know how ? Is there someone who can help me please ???? > > for example if there is a file in which i can found how to register > numbers ? > > i know that to have the list of registred number in this freeSWITCH ,you > can do that : > ./fs_cli > sofia status profile internal reg . > > > thank you . :) > > with regards > Amani mansour > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160325/1b31f4cb/attachment.html From mario_fs at mgtech.com Fri Mar 25 20:17:01 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 25 Mar 2016 10:17:01 -0700 Subject: [Freeswitch-users] playback timeout when using multiple files In-Reply-To: References: Message-ID: <64895428-C3B9-41E8-9EE4-F84E09C655A0@mgtech.com> This may help? I am sure it does what you want depending on where you put timeout. Look at my comments and my LUA code below. The link is the doc I write up for timeout. When it was introduced I thought the timeout was for each file. https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters Also, here is an email I sent that comment implies each can have timeout. I also looked at my LUA program and my old comments also imply that but only use 1 timeout at this point. Here is how I construct a LUA variable to play multiple files in a ringback, syntax would be the same for your application. This is a complex one since it not only plays different files but sets a time limit for each: ringback = "file_string://"..em1.."!{timeout="..moh1_timeout.."}local_stream://mohmv!file_string://"..em2.."!local_stream://mohmv ? > On Mar 25, 2016, at 9:48 AM, Michael Collins wrote: > > Maybe you could do some tests and report back to the list. In switch_ivr_play_say.c there's a function called switch_ivr_play_file which is called by the playback dialplan app. In there it references a channel variable named playback_timeout_sec. Try setting that value prior to your playback app and see what happens. > > Be sure to let us know how it goes. :) > > -MSC > > On Thu, Mar 24, 2016 at 8:28 AM, Nishad Musthafa > wrote: > Hi, > > From the wiki and through experimenting with FS, I know it's possible to playback multiple files using the playback_delimiter channel variable and then something like > > > > > It is also possible to set a timeout for a single file using > > Is it possible to merge the above two? I am looking at setting a single timeout for multiple files. Is this possible? > > Nishad > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160325/ea848d9b/attachment.html From amani.mansour2 at gmail.com Fri Mar 25 20:46:46 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Fri, 25 Mar 2016 18:46:46 +0100 Subject: [Freeswitch-users] Register numbers in freeSWITCH without using sipphone In-Reply-To: References: Message-ID: Hi Luis , thank you very much , but i don't inderstand why ? and also i don't want to use a sip providr in my project ,is this possible ??? thank you again :) :) :) 2016-03-25 17:49 GMT+01:00 Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com>: > You need to configure a gateway > Le 25 mars 2016 9:29 AM, "amani mansour" a > ?crit : > >> Hi everyone , >> >> I would like to configure and register a sip number in freeSWITCH B >> from freeSWITCH A without using a sipphone . >> >> Concerning the configuration i did it .But to register this number i >> don't know how ? Is there someone who can help me please ???? >> >> for example if there is a file in which i can found how to register >> numbers ? >> >> i know that to have the list of registred number in this freeSWITCH ,you >> can do that : >> ./fs_cli >> sofia status profile internal reg . >> >> >> thank you . :) >> >> with regards >> Amani mansour >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160325/d21a9a4c/attachment-0001.html From gregor at infomedia.si Fri Mar 25 23:00:35 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Fri, 25 Mar 2016 20:00:35 +0000 Subject: [Freeswitch-users] Register numbers in freeSWITCH without using sipphone In-Reply-To: References: Message-ID: Gateway should be freeswitch B, not provider. On Fri, Mar 25, 2016, 18:48 amani mansour wrote: > Hi Luis , > thank you very much , but i don't inderstand why ? and also i don't want > to use a sip providr in my project ,is this possible ??? > > thank you again :) :) :) > > 2016-03-25 17:49 GMT+01:00 Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com>: > >> You need to configure a gateway >> Le 25 mars 2016 9:29 AM, "amani mansour" a >> ?crit : >> >>> Hi everyone , >>> >>> I would like to configure and register a sip number in freeSWITCH B >>> from freeSWITCH A without using a sipphone . >>> >>> Concerning the configuration i did it .But to register this number i >>> don't know how ? Is there someone who can help me please ???? >>> >>> for example if there is a file in which i can found how to register >>> numbers ? >>> >>> i know that to have the list of registred number in this freeSWITCH ,you >>> can do that : >>> ./fs_cli >>> sofia status profile internal reg . >>> >>> >>> thank you . :) >>> >>> with regards >>> Amani mansour >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 -- 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/20160325/7288e06c/attachment.html From tom at tomlynn.com Sat Mar 26 03:04:12 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 25 Mar 2016 17:04:12 -0700 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? Message-ID: I've tried to play back the March 23rd entry of Cluecon Weekly on Youtube.com but keep getting "An error Occurred. Please try again later." Can this episode be reposted? or is it lost? Thank you. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160325/a057c00a/attachment.html From krice at freeswitch.org Sat Mar 26 05:16:59 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 25 Mar 2016 21:16:59 -0500 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: Message-ID: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> We?re working on the offline recording of it. Youtube has screwed us over twice now and we?ve opened tickets with youtube but have gotten 0 answers from them?. Wish I could find a good spot they actually respond to From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tom Lynn Sent: Friday, March 25, 2016 7:04 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? I've tried to play back the March 23rd entry of Cluecon Weekly on Youtube.com but keep getting "An error Occurred. Please try again later." Can this episode be reposted? or is it lost? Thank you. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160325/cce3aab4/attachment.html From tom at tomlynn.com Sat Mar 26 05:25:12 2016 From: tom at tomlynn.com (Tom Lynn) Date: Fri, 25 Mar 2016 19:25:12 -0700 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> Message-ID: Understood, Ken. I'm looking forward to it. I suspect you're the Pi enthusiast of the team, given your past history turning one into a phone. I got really excited when I saw the new install instructions and then the install script. I tried the new script, but something went horribly wrong, but I lost my notes, so I haven't tried to submit feedback. I'll try again soon. Thanks! On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: > We?re working on the offline recording of it. Youtube has screwed us over > twice now and we?ve opened tickets with youtube but have gotten 0 answers > from them?. Wish I could find a good spot they actually respond to > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tom Lynn > *Sent:* Friday, March 25, 2016 7:04 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] March 23rd Cluecon Weekly lost? > > > > I've tried to play back the March 23rd entry of Cluecon Weekly on > Youtube.com but keep getting "An error Occurred. Please try again later." > > > > Can this episode be reposted? or is it lost? > > > > Thank you. > > > > Tom > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160325/9f60b7a0/attachment-0001.html From krice at freeswitch.org Sat Mar 26 06:13:37 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 25 Mar 2016 22:13:37 -0500 Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? In-Reply-To: References: <590401d18705$9457e6f0$bd07b4d0$@freeswitch.org> Message-ID: <567E8671-F505-4830-8904-3C984B77108B@freeswitch.org> Yeah i have a few pi's the script is constantly evolving and is a work in progress think infound a bug in it the other day i need to track down Sent from my iPhone > On Mar 25, 2016, at 9:25 PM, Tom Lynn wrote: > > Understood, Ken. I'm looking forward to it. I suspect you're the Pi enthusiast of the teamgiven your past history turning one into a phone. > > I got really excited when I saw the new install instructions and then the install script. I tried the new script, but something went horribly wrong, but I lost my notes, so I haven't tried to submit feedback. I'll try again soon. > > Thanks! > >> On Fri, Mar 25, 2016 at 7:16 PM, Ken Rice wrote: >> We?re working on the offline recording of it. Youtube has screwed us over twice now and we?ve opened tickets with youtube but have gotten 0 answers from them?. Wish I could find a good spot they actually respond to >> >> >> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tom Lynn >> Sent: Friday, March 25, 2016 7:04 PM >> To: FreeSWITCH Users Help >> Subject: [Freeswitch-users] March 23rd Cluecon Weekly lost? >> >> >> >> I've tried to play back the March 23rd entry of Cluecon Weekly on Youtube.com but keep getting "An error Occurred. Please try again later." >> >> >> >> Can this episode be reposted? or is it lost? >> >> >> >> Thank you. >> >> >> >> Tom >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160325/9609b9d2/attachment.html From rutu.patel at inextrix.com Sat Mar 26 08:44:19 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Sat, 26 Mar 2016 11:14:19 +0530 Subject: [Freeswitch-users] Verto client on different server than freeswitch Message-ID: Hi, We are using 2 freeswitch servers with mod_verto implemented. We have web client verto demo on different server than freeswitch server. For sofia registrations we use shared database using odbc connection. Is it possible to use shared database concept with verto registration or is there any other way to achieve this ? -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160326/15f6135c/attachment.html From gregor at infomedia.si Sat Mar 26 09:32:57 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Sat, 26 Mar 2016 06:32:57 +0000 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: Message-ID: We are using using xml_curl for sharing registrations and it works also with mod_verto. I think it should also work in your scenario. Registration is registration, it doesn't matter where it comes. Do you have problems with your scenario? On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: > Hi, > > We are using 2 freeswitch servers with mod_verto implemented. > > We have web client verto demo on different server than freeswitch server. > > For sofia registrations we use shared database using odbc connection. > > Is it possible to use shared database concept with verto registration or > is there any other way to achieve this ? > -- > Thanks, > Rutu Patel > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160326/1da00c21/attachment.html From rutu.patel at inextrix.com Sat Mar 26 09:34:24 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Sat, 26 Mar 2016 12:04:24 +0530 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: Hi, Thank you for reply. We have registered extension of Freeswitch in Asterisk as below register=>test-ext:secret at 192.168.1.64/test-ext ?We want to send call from Freeswitch to Asterisk?. What authentication parameters we need to set in Freeswitch ? -- Thanks, Rutu Patel On Wed, Mar 23, 2016 at 8:46 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > You need to supply auth credentials to Asterisk because its set to > authenticate calls. > The best thing to do would be to make a gateway pointing to Asterisk with > all the credentials and call it using that. > > > > > On Wed, Mar 23, 2016 at 10:20 AM, Jurijs Ivolga > wrote: > >> Hi Rutu, >> >> In logs I can see that user-agent Asterisk is sending INVITE to >> Freeswitch and Freeswitch replies with "480 Temporarily Unavailable". This >> a bit differs from what you explained in your mail... >> >> First think what pop up in my mind is that you need to configure Asterisk >> as a trunk on Freeswitch, not sure if this helps, but this is my first >> guess... >> >> https://freeswitch.org/confluence/display/FREESWITCH/Asterisk >> >> With kind regards, >> >> Jurijs >> >> On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel >> wrote: >> >>> Hi, >>> >>> We are sending call to asterisk PBX but we are getting 480 Temporarily >>> Unavailable immediately. from freeswitch server. >>> >>> Call flow is as below: >>> >>> User => opensips => FS => PBX, >>> >>> but call not sending out from FS and drop by FS. >>> >>> Here I am attaching both sip logs and freeswitch logs. >>> >>> Can anyone please help to sort out the issue. >>> -- >>> Thanks, >>> Rutu Patel >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160326/22e255b3/attachment-0001.html From rutu.patel at inextrix.com Sat Mar 26 09:59:37 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Sat, 26 Mar 2016 12:29:37 +0530 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: Message-ID: Hi Gregor, Thanks for quick reply. We have sip_registration table for shared database between two freeswitch servers. But there is no entry of registered verto user in that table. We have two freeswitch servers 192.168.1.10 and 192.168.1.11. Now if we register one user(1000) on .10 and run freeswitch at internal> verto_contact 1000 at 192.168.1.10 freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g it shows as registered. But when we run same command on .11 it says error/user_not_registered.We want to share the registration between two freeswitch. -- Thanks, Rutu Patel On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger wrote: > We are using using xml_curl for sharing registrations and it works also > with mod_verto. > > I think it should also work in your scenario. Registration is > registration, it doesn't matter where it comes. > > Do you have problems with your scenario? > > On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: > >> Hi, >> >> We are using 2 freeswitch servers with mod_verto implemented. >> >> We have web client verto demo on different server than freeswitch server. >> >> For sofia registrations we use shared database using odbc connection. >> >> Is it possible to use shared database concept with verto registration or >> is there any other way to achieve this ? >> -- >> Thanks, >> Rutu Patel >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160326/c4c69d33/attachment.html From alhakeem at gmail.com Sat Mar 26 16:44:32 2016 From: alhakeem at gmail.com (Abdul Hakeem) Date: Sat, 26 Mar 2016 13:44:32 +0000 Subject: [Freeswitch-users] Postgress protocols Message-ID: Hello, I would like to connect FS to Postgress via protocols other than ODBC, can anyone share an idea how to implement this ?. Regards, AH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160326/3a9d853a/attachment.html From krice at freeswitch.org Sat Mar 26 17:47:35 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 26 Mar 2016 09:47:35 -0500 Subject: [Freeswitch-users] Postgress protocols In-Reply-To: References: Message-ID: <5a3601d1876e$70110150$503303f0$@freeswitch.org> https://freeswitch.org/confluence/display/FREESWITCH/PostgreSQL+in+the+core From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Abdul Hakeem Sent: Saturday, March 26, 2016 8:45 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Postgress protocols Hello, I would like to connect FS to Postgress via protocols other than ODBC, can anyone share an idea how to implement this ?. Regards, AH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160326/5d53af64/attachment.html From tntclaus at gmail.com Sat Mar 26 19:00:50 2016 From: tntclaus at gmail.com (TNTClaus) Date: Sat, 26 Mar 2016 19:00:50 +0300 Subject: [Freeswitch-users] mod_callcenter agent may stuck "In a queue call" forever In-Reply-To: References: Message-ID: Sorry, but it would be very hard to collect logs at the current production environment as this issue may happen once for several thousand calls. We will have to wait for long time and won't know exact time when an agent got stuck. All I can say is that this may happen when multiple agents try to accept the same call. I think this might be a bug or inappropriate behaviour of the switch, not mod_callcenter. We solved that problem with developing of custom system that decides whether to allow certain agent to accept call or not thus preventing multiple agents from sending 200 OK Response to an INVITE Request. I have a question. Is it normal when a hunt group, or callcenter queue with ringall strategy, where multiple agents replied 200 OK at the very same time, all will receive ACKs? Right after that in most cases all but one will receive BYE. But sometimes some agents may not receive BYE. How do determine that the call was actually started in such circumstances? It seems for me that that is the real issue (I mean absence of BYE request). And it is easy to reproduce: 1. Start two dummy sipuas united to one hunt group; 2. make them automatically accept an incoming call at the same time and start placing calls to their hunt group; 3. 10 calls would be enough to see the problem. Ofc it would be good to have wireshark logging at the same time. 2016-03-25 3:46 GMT+03:00 ?talo Rossi : > Can you file a JIRA with your debug logs please? > > ?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 24 2016, at 1:32 pm, TNTClaus wrote: >> Hi. >> >> I faced a problem with mod call centre strange behaviour. I have a queue >> with the strategy "ring all", queue has got 30 agents, all of them always >> have status available, but only 6 agents can be really active (e.g.: >> registered and connected) at a time. >> >> Those 6 simultaneously answer calls (e.g. can answer 200 on the same >> INVITE request before CANCEL arrives). *Sometimes an agent might get >> stuck in the state "In a queue call"* while he is not in a call. In that >> case waiting agent stops getting calls. >> >> CLI command: >> >> > *callcenter_config agent set state waiting* >> >> changes state of an agent at DB, but call center still won't offer calls >> to him. The only fix I found is to reload mod_callcenter, but during reload >> all active calls would be dropped. >> >> Calls are coming one by one (maximum call rate I had ever seen at this >> site was ~600 calls/hour). But I didn't notice any correlation with the >> call rate. Agent may get stuck at any time of day with any call rate >> ranging between ~150 calls/hour to 400 calls/hour. >> >> Most of calls last from 5 to 20 seconds. >> >> I tried to switch from sqlite to odbc postgresql, but that changed >> nothing. Currently switch is connected to ODBC Postgresql. >> >> *OS version:* >> Linux local.pbx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 >> (2016-02-29) x86_64 GNU/Linux >> >> *FS version:* >> FreeSWITCH version: 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit (git >> d2d0b32 2016-01-11 20:16:12Z 64bit) >> >> *sqlite package:* >> llibsqlite3-0:amd64 3.8.7.1-1+deb8u1 amd64 >> SQLite 3 shared library >> >> *PostgreSQL / ODBC packages:* >> odbc-postgresql:amd64 1:09.03.0300-1 amd64 >> ODBC driver for PostgreSQL >> postgresql-9.4 9.4.6-0+deb8u1 amd64 >> object-relational SQL database, version 9.4 server >> >> >> >> >> *XML configs:* >> >> *callcenter/queues/queue.xml:* >> >> >> >> >> >> >> >> >> >> >> >> >> *callcenter/agents/agent.xml* >> > status="Available" max-no-answer="0" wrap-up-time="1" >> reject-delay-time="1" busy-delay-time="1" >> no-answer-delay-time="1"/> >> >> that's a typical agent. They are all same except name and contact >> attributes. >> >> *callcenter/tiers/tier.xml* >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160326/d37ca0ab/attachment-0001.html From abalashov at evaristesys.com Sat Mar 26 19:15:45 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Sat, 26 Mar 2016 12:15:45 -0400 Subject: [Freeswitch-users] Postgress protocols In-Reply-To: References: Message-ID: <20160326161545.5435471.63335.222837@evaristesys.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160326/0b4c4ad0/attachment.html From mike at jerris.com Sat Mar 26 21:38:29 2016 From: mike at jerris.com (Michael Jerris) Date: Sat, 26 Mar 2016 14:38:29 -0400 Subject: [Freeswitch-users] Postgress protocols In-Reply-To: References: Message-ID: curious why not odbc? On Saturday, March 26, 2016, Abdul Hakeem wrote: > Hello, > > I would like to connect FS to Postgress via protocols other than ODBC, can > anyone share an idea how to implement this ?. > > Regards, > AH > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160326/db40b44f/attachment.html From rutu.patel at inextrix.com Mon Mar 28 11:06:19 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Mon, 28 Mar 2016 12:36:19 +0530 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: Message-ID: Can anyone please assist for shared connection of verto users ? -- Thanks, Rutu Patel On Sat, Mar 26, 2016 at 12:29 PM, Rutu Patel wrote: > Hi Gregor, > > Thanks for quick reply. > > We have sip_registration table for shared database between two freeswitch > servers. > > But there is no entry of registered verto user in that table. > > We have two freeswitch servers 192.168.1.10 and 192.168.1.11. > > Now if we register one user(1000) on .10 and run > > freeswitch at internal> verto_contact 1000 at 192.168.1.10 > freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g > it shows as registered. > > But when we run same command on .11 it says error/user_not_registered.We > want to share the registration between two freeswitch. > > -- > Thanks, > Rutu Patel > > > > On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger > wrote: > >> We are using using xml_curl for sharing registrations and it works also >> with mod_verto. >> >> I think it should also work in your scenario. Registration is >> registration, it doesn't matter where it comes. >> >> Do you have problems with your scenario? >> >> On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: >> >>> Hi, >>> >>> We are using 2 freeswitch servers with mod_verto implemented. >>> >>> We have web client verto demo on different server than freeswitch server. >>> >>> For sofia registrations we use shared database using odbc connection. >>> >>> Is it possible to use shared database concept with verto registration or >>> is there any other way to achieve this ? >>> -- >>> Thanks, >>> Rutu Patel >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160328/b3acdf99/attachment.html From amani.mansour2 at gmail.com Mon Mar 28 12:53:32 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Mon, 28 Mar 2016 09:53:32 +0100 Subject: [Freeswitch-users] how to register a number using gateway Message-ID: Good morning , I need to configure a test number in a distant freeSWITCH and register it from my freeswitch . i don't need to use a sip phone to register this number . the configuration is done but the registration i don't know how to do it , someone of you tell me to make a gateway but really i don't inderstand how to make it . if some of you can can help me i will be very very happy . thanks , with regards Amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/135f749b/attachment.html From bote_radio at botecomm.com Mon Mar 28 13:32:31 2016 From: bote_radio at botecomm.com (Bote Man) Date: Mon, 28 Mar 2016 05:32:31 -0400 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: Message-ID: <02af01d188d4$c1085c90$431915b0$@botecomm.com> As Verto is not SIP, would Verto registrations even appear in the sip_registration table? Perhaps you are using or looking in the wrong table? --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Rutu Patel Sent: Monday, 28 March, 2016 03:06 Subject: Re: [Freeswitch-users] Verto client on different server than freeswitch Can anyone please assist for shared connection of verto users ? -- Thanks, Rutu Patel On Sat, Mar 26, 2016 at 12:29 PM, Rutu Patel wrote: Hi Gregor, Thanks for quick reply. We have sip_registration table for shared database between two freeswitch servers. But there is no entry of registered verto user in that table. We have two freeswitch servers 192.168.1.10 and 192.168.1.11. Now if we register one user(1000) on .10 and run freeswitch at internal> verto_contact 1000 at 192.168.1.10 freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g it shows as registered. But when we run same command on .11 it says error/user_not_registered.We want to share the registration between two freeswitch. -- Thanks, Rutu Patel On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger wrote: We are using using xml_curl for sharing registrations and it works also with mod_verto. I think it should also work in your scenario. Registration is registration, it doesn't matter where it comes. Do you have problems with your scenario? On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: Hi, We are using 2 freeswitch servers with mod_verto implemented. We have web client verto demo on different server than freeswitch server. For sofia registrations we use shared database using odbc connection. Is it possible to use shared database concept with verto registration or is there any other way to achieve this ? -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/a2fd0501/attachment-0001.html From bote_radio at botecomm.com Mon Mar 28 13:53:32 2016 From: bote_radio at botecomm.com (Bote Man) Date: Mon, 28 Mar 2016 05:53:32 -0400 Subject: [Freeswitch-users] how to register a number using gateway In-Reply-To: References: Message-ID: <02b501d188d7$b05bafc0$11130f40$@botecomm.com> https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration The wiki should explain most of it. On FreeSWITCH A look in conf/sip_profiles/external/freeswitchB.xml You could have: <-- this name is what you include in the bridge app to send the call to the remote FreeSWITCH B --> The ?register? line is set to true to tell it to register with the far end switch, using the username and password specified above. Because FreeSWITCH is a back-to-back user agent it can register with the other FreeSWITCH server just like a phone would register. That?s what this gateway definition tells it to do. Because this gateway definition lies under the ?external? directory, it will become active when the sip_profile named ?external? becomes active, so set that up to make it all work. Read the wiki for more information and then set up a gateway definition by copying a sample file from the vanilla configuration and editing it with your data. There are other fields that you might need to set. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: amani mansour Sent: Monday, 28 March, 2016 04:54 Subject: [Freeswitch-users] how to register a number using gateway Good morning , I need to configure a test number in a distant freeSWITCH and register it from my freeswitch . i don't need to use a sip phone to register this number . the configuration is done but the registration i don't know how to do it , someone of you tell me to make a gateway but really i don't inderstand how to make it . if some of you can can help me i will be very very happy . thanks , with regards Amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/1e55dd01/attachment.html From rutu.patel at inextrix.com Mon Mar 28 14:10:22 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Mon, 28 Mar 2016 15:40:22 +0530 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: <02af01d188d4$c1085c90$431915b0$@botecomm.com> References: <02af01d188d4$c1085c90$431915b0$@botecomm.com> Message-ID: Hi Bote, Is there any way to share verto registration as we can do with SIP registrations ? -- Thanks, Rutu Patel On Mon, Mar 28, 2016 at 3:02 PM, Bote Man wrote: > As Verto is not SIP, would Verto registrations even appear in the > sip_registration table? > > > > Perhaps you are using or looking in the wrong table? > > > > > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Rutu Patel > *Sent:* Monday, 28 March, 2016 03:06 > *Subject:* Re: [Freeswitch-users] Verto client on different server than > freeswitch > > > > Can anyone please assist for shared connection of verto users ? > > > -- > Thanks, > Rutu Patel > > > > On Sat, Mar 26, 2016 at 12:29 PM, Rutu Patel > wrote: > > Hi Gregor, > > Thanks for quick reply. > > We have sip_registration table for shared database between two freeswitch > servers. > > But there is no entry of registered verto user in that table. > > We have two freeswitch servers 192.168.1.10 and 192.168.1.11. > > Now if we register one user(1000) on .10 and run > > freeswitch at internal> verto_contact 1000 at 192.168.1.10 > freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g > > it shows as registered. > > But when we run same command on .11 it says error/user_not_registered.We > want to share the registration between two freeswitch. > > -- > Thanks, > Rutu Patel > > > > On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger > wrote: > > We are using using xml_curl for sharing registrations and it works also > with mod_verto. > > I think it should also work in your scenario. Registration is > registration, it doesn't matter where it comes. > > Do you have problems with your scenario? > > > > On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: > > Hi, > > We are using 2 freeswitch servers with mod_verto implemented. > > > We have web client verto demo on different server than freeswitch server. > > For sofia registrations we use shared database using odbc connection. > > > > Is it possible to use shared database concept with verto registration or > is there any other way to achieve this ? > > -- > Thanks, > Rutu Patel > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160328/98d287a7/attachment-0001.html From amani.mansour2 at gmail.com Mon Mar 28 14:45:20 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Mon, 28 Mar 2016 11:45:20 +0100 Subject: [Freeswitch-users] how to register a number using gateway In-Reply-To: <02b501d188d7$b05bafc0$11130f40$@botecomm.com> References: <02b501d188d7$b05bafc0$11130f40$@botecomm.com> Message-ID: Thank you very very much Bote :) :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/03bba387/attachment.html From vfclists at gmail.com Mon Mar 28 15:10:17 2016 From: vfclists at gmail.com (vfclists .) Date: Mon, 28 Mar 2016 12:10:17 +0100 Subject: [Freeswitch-users] How to use $0 in dialplan? Message-ID: This may be due to my ignorance on how regexes are matched to parts of the dialled number. I am testing a new trunk in the dialplan by routing a single number through it. All the other numbers use the existing trunk and will be switched over later. This means I match the whole number and use it in the dial plan. However when I use $0 on its on in the dial string it works okay, but when I prefix it, eg 240$0 the $0 is not translated to the dialled number and is sent literally to the provider with the obvious results. >> >> >> >> >> It is also possible to set a timeout for a single file using >> >> >> >> Is it possible to merge the above two? I am looking at setting a single >> timeout for multiple files. Is this possible? >> >> Nishad >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160328/2c6b4467/attachment-0001.html From mike at jerris.com Mon Mar 28 19:11:31 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 28 Mar 2016 11:11:31 -0400 Subject: [Freeswitch-users] extended FS as ZRTP client In-Reply-To: <001401d188eb$6dbba080$4932e180$@gmail.com> References: <001401d188eb$6dbba080$4932e180$@gmail.com> Message-ID: did you try and see if this is the case with a current release instead of the old one? > On Mar 28, 2016, at 8:14 AM, Assaf Dahary wrote: > > Hi, > > I would like to use FS (multiple) as a ZRTP client register on a the main FS. > > I have already managed to setup a Gateway with user/pass on the FS client and register it on the main FS for regular incoming/outgoing calls (without ZRTP). > > To enable ZRTP calls I setup the FS client/main as follow: > None ZRTP SIP phone -> FS client -> NAT Internet -> FS main -> CSipSimple ZRTP enabled). > > FS Client (ver 1.4) : > ZRTP enabled globally in VARS and in dialplan. > Media proxy disabled on both internal and external profiles and in dialplan. > > FS Main (ver 1.4): > Media proxy enabled ? including late negotiation. > > I forced the FS client and the CSipSimple to use only PCMU codec to avoid transcoding. > > The problem is that on a call from the SIP phone via the FS client there are always CRC errors on the ZRTP log. > Only if the FS main is set to disable media proxy then there are no CRC errors ? but then it becomes a MITM with incompatible SASs. > > From reading other posts about FS and ZRTP CRC errors I assume that it happens because the FS client is not creating a zrtp hash in the invite SDP. > > So my question is how to make the FS client to generate the zrtp hash in the invite SDP to act as real ZRTP enabled client? > I've already tried to set the FS client internal/external/dialplan with several zrtp configs with no success. > > I would appreciate any tip to resolve this issue. > > Regards > > Assaf > > > The client FS > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160328/d22fc6a3/attachment.html From it-team at kaymera.com Mon Mar 28 18:09:26 2016 From: it-team at kaymera.com (ItTeam) Date: Mon, 28 Mar 2016 07:09:26 -0700 (MST) Subject: [Freeswitch-users] Overriding SIP cause 480 with 500 Problem Message-ID: <1459174166540-7596209.post@n2.nabble.com> Hi Guys! We are having an issue where we call a remote sip client, the sip client has network issues and returns a 500 error code. the freeswitch treats it as 480, but because the client sent 500 the freeswitch overrides it to 500. is there a way to not override the error and leave it as 480? because when it returns 500 the initiating side treats it as if the freeswitch is down. LOG Record: c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG] mod_sofia.c:425 sofia/internal/972549957605 at fs-stb.kaymera.com Overriding SIP cause 480 with 500 from the other leg c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG] mod_sofia.c:431 Channel sofia/internal/972549957605 at fs-stb.kaymera.com hanging up, cause: NORMAL_CLEARING c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.636279 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 500 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Overriding-SIP-cause-480-with-500-Problem-tp7596209.html Sent from the freeswitch-users mailing list archive at Nabble.com. From anthony.minessale at gmail.com Mon Mar 28 19:22:08 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 28 Mar 2016 10:22:08 -0500 Subject: [Freeswitch-users] Failed to set SCHED_FIFO scheduler In-Reply-To: References: Message-ID: You have to start as root and supply the arguments to drop down to unprivileged user rather than start as that user. On Mon, Mar 28, 2016 at 9:00 AM, Sergey Safarov wrote: > Please check that output of folowing command on your host is similar as > example > > [root at build ~]# ps -eo > pid,nice,pri,policy,euser,fuser,ruser,suser,command --sort user | grep > freesw > 5116 - 41 FF root root root root > /usr/local/freeswitch/bin/freeswitch -ncwait > Critical values "41" and "FF" > > > ??, 28 ???. 2016 ?. ? 14:48, Chandramouli P : > >> Hi, >> >> Please find my below deployed environment: >> >> Environment: Microsoft Azure >> OS: CentOS 7.0 (64 bit) >> FreeSwitch Version: 1.6.6~64bit ( 64bit) >> >> I installed FS and able to make test calls. When I execute "systemctl >> status freeswitch" command, I am seeing below errors: >> >> >> *ERROR: Failed to set SCHED_FIFO scheduler (Operation not >> permitted)ERROR: Could not set nice level* >> >> Can anybody tell me what could be the issue and how to solve this? >> >> Thanks in advance, >> Chandra. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160328/63b5292e/attachment-0001.html From adahary at gmail.com Mon Mar 28 19:54:18 2016 From: adahary at gmail.com (Assaf Dahary) Date: Mon, 28 Mar 2016 18:54:18 +0300 Subject: [Freeswitch-users] extended FS as ZRTP client In-Reply-To: References: <001401d188eb$6dbba080$4932e180$@gmail.com> Message-ID: <80b5cbc6-475c-4c3c-a1ae-31a109a166d5@typeapp.com> OK. I'll test it with the latest release 1.6. But do you know if this issue was resolved in 1.6? Assaf On Mar 28, 2016, 18:13, at 18:13, Michael Jerris wrote: >did you try and see if this is the case with a current release instead >of the old one? > >> On Mar 28, 2016, at 8:14 AM, Assaf Dahary wrote: >> >> Hi, >> >> I would like to use FS (multiple) as a ZRTP client register on a the >main FS. >> >> I have already managed to setup a Gateway with user/pass on the FS >client and register it on the main FS for regular incoming/outgoing >calls (without ZRTP). >> >> To enable ZRTP calls I setup the FS client/main as follow: >> None ZRTP SIP phone -> FS client -> NAT Internet -> FS main -> >CSipSimple ZRTP enabled). >> >> FS Client (ver 1.4) : >> ZRTP enabled globally in VARS and in dialplan. >> Media proxy disabled on both internal and external profiles and in >dialplan. >> >> FS Main (ver 1.4): >> Media proxy enabled ? including late negotiation. >> >> I forced the FS client and the CSipSimple to use only PCMU codec to >avoid transcoding. >> >> The problem is that on a call from the SIP phone via the FS client >there are always CRC errors on the ZRTP log. >> Only if the FS main is set to disable media proxy then there are no >CRC errors ? but then it becomes a MITM with incompatible SASs. >> >> From reading other posts about FS and ZRTP CRC errors I assume that >it happens because the FS client is not creating a zrtp hash in the >invite SDP. >> >> So my question is how to make the FS client to generate the zrtp hash >in the invite SDP to act as real ZRTP enabled client? >> I've already tried to set the FS client internal/external/dialplan >with several zrtp configs with no success. >> >> I would appreciate any tip to resolve this issue. >> >> Regards >> >> Assaf >> >> >> The client FS >> >> >_________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com > >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160328/68fad644/attachment.html From davidwaf at gmail.com Mon Mar 28 20:01:58 2016 From: davidwaf at gmail.com (David Wafula) Date: Mon, 28 Mar 2016 18:01:58 +0200 Subject: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events In-Reply-To: References: Message-ID: Thank you, Chad. $.verto.liveArray() just got me what i was looking for: .... var la = new $.verto.liveArray(verto, data.pvtData.laChannel, data.pvtData.laName, {subParams: {callID: dialog ? dialog.callID : null}, "onChange": function (obj, args) { }}); la.onChange = function (obj, args) { console.error("The change", args); }; .... Now i have raw events coming through ..just what i needed. Regards, On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips wrote: > David, > > You need to leverage $.verto.liveArray() from the verto lib on the client > side, and make sure your conference has the correct livearray flags set in > conference.conf.xml (see round about > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters > for those). > > Guessing this still isn't that well documented. Start there and work your > way around, and I think you'll eventually get it figured out. :) > > Chad > > On Mon, Mar 28, 2016 at 7:10 AM, David Wafula wrote: > >> Hi all, >> What would be the simplest way to listen to conference events in own >> custom js when using verto? The closest i could see was in the demo, a >> table updates in near-realtime with conference events, and unless am >> mistaken, the listening mechanism is embbeded within verto-min.js and >> couldn't find any documentation on how to customize this to own display >> needs. >> >> >> Regards >> >> -- >> >> 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160328/0bbd95f7/attachment-0001.html From msc at freeswitch.org Mon Mar 28 20:53:53 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 28 Mar 2016 09:53:53 -0700 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: Try a gateway. Look in conf/sip_profiles/external/example.xml for a heavily-commented sample. For more detailed discussion see this nice doc: https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration -MSC On Fri, Mar 25, 2016 at 11:34 PM, Rutu Patel wrote: > Hi, > > Thank you for reply. > > We have registered extension of Freeswitch in Asterisk as below > > register=>test-ext:secret at 192.168.1.64/test-ext > > ?We want to send call from Freeswitch to Asterisk?. > > What authentication parameters we need to set in Freeswitch ? > > -- > Thanks, > Rutu Patel > On Wed, Mar 23, 2016 at 8:46 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> You need to supply auth credentials to Asterisk because its set to >> authenticate calls. >> The best thing to do would be to make a gateway pointing to Asterisk with >> all the credentials and call it using that. >> >> >> >> >> On Wed, Mar 23, 2016 at 10:20 AM, Jurijs Ivolga >> wrote: >> >>> Hi Rutu, >>> >>> In logs I can see that user-agent Asterisk is sending INVITE to >>> Freeswitch and Freeswitch replies with "480 Temporarily Unavailable". This >>> a bit differs from what you explained in your mail... >>> >>> First think what pop up in my mind is that you need to configure >>> Asterisk as a trunk on Freeswitch, not sure if this helps, but this is my >>> first guess... >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Asterisk >>> >>> With kind regards, >>> >>> Jurijs >>> >>> On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel >>> wrote: >>> >>>> Hi, >>>> >>>> We are sending call to asterisk PBX but we are getting 480 Temporarily >>>> Unavailable immediately. from freeswitch server. >>>> >>>> Call flow is as below: >>>> >>>> User => opensips => FS => PBX, >>>> >>>> but call not sending out from FS and drop by FS. >>>> >>>> Here I am attaching both sip logs and freeswitch logs. >>>> >>>> Can anyone please help to sort out the issue. >>>> -- >>>> Thanks, >>>> Rutu Patel >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/57dc4d12/attachment.html From msc at freeswitch.org Mon Mar 28 21:11:27 2016 From: msc at freeswitch.org (Michael Collins) Date: Mon, 28 Mar 2016 10:11:27 -0700 Subject: [Freeswitch-users] Overriding SIP cause 480 with 500 Problem In-Reply-To: <1459174166540-7596209.post@n2.nabble.com> References: <1459174166540-7596209.post@n2.nabble.com> Message-ID: The proto_specific_hangup_cause documentation has an example of handling a failed bridge attempt and under certain conditions using the respond app to better control what the initiating side sees. It might be worth your time to investigate whether that technique could be useful in your situation. -MSC On Mon, Mar 28, 2016 at 7:09 AM, ItTeam wrote: > Hi Guys! > > We are having an issue where we call a remote sip client, the sip client > has > network issues and returns a 500 error code. the freeswitch treats it as > 480, but because the client sent 500 the freeswitch overrides it to 500. > > is there a way to not override the error and leave it as 480? because when > it returns 500 the initiating side treats it as if the freeswitch is down. > > LOG Record: > > c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG] > mod_sofia.c:425 sofia/internal/972549957605 at fs-stb.kaymera.com Overriding > SIP cause 480 with 500 from the other leg > > c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG] > mod_sofia.c:431 Channel sofia/internal/972549957605 at fs-stb.kaymera.com > hanging up, cause: NORMAL_CLEARING > > c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.636279 [DEBUG] > mod_sofia.c:568 Responding to INVITE with: 500 > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Overriding-SIP-cause-480-with-500-Problem-tp7596209.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/20160328/1bd9f291/attachment.html From Shawn.Wheeler at interlockconcepts.com Tue Mar 29 00:13:15 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Mon, 28 Mar 2016 20:13:15 +0000 Subject: [Freeswitch-users] Windows - Example Dial Plan Password Message-ID: Hello, I am a nubby I am trying to authenticate a phone to FreeSWITCH running on windows. I believe there are extensions 1001 through 1029 I can't find the password for these extensions. Can someone help me please? Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/eabc4b6f/attachment-0001.html From krice at freeswitch.org Tue Mar 29 00:16:46 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 28 Mar 2016 15:16:46 -0500 Subject: [Freeswitch-users] Windows - Example Dial Plan Password In-Reply-To: References: Message-ID: <60ee01d1892e$c179f030$446dd090$@freeswitch.org> In your FS configs, look in the directory sub-tree, you'll find a file for each of the default extensions K From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shawn Wheeler Sent: Monday, March 28, 2016 3:13 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Windows - Example Dial Plan Password Hello, I am a nubby I am trying to authenticate a phone to FreeSWITCH running on windows. I believe there are extensions 1001 through 1029 I can't find the password for these extensions. Can someone help me please? Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/a8697e06/attachment.html From Shawn.Wheeler at interlockconcepts.com Tue Mar 29 00:22:32 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Mon, 28 Mar 2016 20:22:32 +0000 Subject: [Freeswitch-users] Windows - Example Dial Plan Password In-Reply-To: <60ee01d1892e$c179f030$446dd090$@freeswitch.org> References: <60ee01d1892e$c179f030$446dd090$@freeswitch.org> Message-ID: If I read this correctly.... Extension 1001 the password would be 1001 That is not allowing me to connect Firewall is shut off. (Note: Private network) I have one grandstream phone connected but that was configured a few weeks back and my brain is dead along with my memory From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Monday, March 28, 2016 1:17 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Windows - Example Dial Plan Password In your FS configs, look in the directory sub-tree, you'll find a file for each of the default extensions K From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shawn Wheeler Sent: Monday, March 28, 2016 3:13 PM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] Windows - Example Dial Plan Password Hello, I am a nubby I am trying to authenticate a phone to FreeSWITCH running on windows. I believe there are extensions 1001 through 1029 I can't find the password for these extensions. Can someone help me please? Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/9811e8fe/attachment.html From krice at freeswitch.org Tue Mar 29 00:25:07 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 28 Mar 2016 15:25:07 -0500 Subject: [Freeswitch-users] Windows - Example Dial Plan Password In-Reply-To: References: <60ee01d1892e$c179f030$446dd090$@freeswitch.org> Message-ID: <611601d1892f$ebcec580$c36c5080$@freeswitch.org> If it's the default configs theres a default password defined in vars.xml which is 1234. this should be changed and each file should be individually edited to have a unique password for each client to avoid sec issues From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shawn Wheeler Sent: Monday, March 28, 2016 3:23 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Windows - Example Dial Plan Password If I read this correctly.. Extension 1001 the password would be 1001 That is not allowing me to connect Firewall is shut off. (Note: Private network) I have one grandstream phone connected but that was configured a few weeks back and my brain is dead along with my memory From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Monday, March 28, 2016 1:17 PM To: 'FreeSWITCH Users Help' > Subject: Re: [Freeswitch-users] Windows - Example Dial Plan Password In your FS configs, look in the directory sub-tree, you'll find a file for each of the default extensions K From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shawn Wheeler Sent: Monday, March 28, 2016 3:13 PM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] Windows - Example Dial Plan Password Hello, I am a nubby I am trying to authenticate a phone to FreeSWITCH running on windows. I believe there are extensions 1001 through 1029 I can't find the password for these extensions. Can someone help me please? Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/84d16c6c/attachment-0001.html From bote_radio at botecomm.com Tue Mar 29 01:37:45 2016 From: bote_radio at botecomm.com (Bote Man) Date: Mon, 28 Mar 2016 17:37:45 -0400 Subject: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events In-Reply-To: References: Message-ID: <03ab01d1893a$11a576a0$34f063e0$@botecomm.com> I have added your template code to the wiki as an example. You can review it at https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-VertoLiveArray Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: David Wafula Sent: Monday, 28 March, 2016 12:02 Subject: Re: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events Thank you, Chad. $.verto.liveArray() just got me what i was looking for: .... var la = new $.verto.liveArray(verto, data.pvtData.laChannel, data.pvtData.laName, {subParams: {callID: dialog ? dialog.callID : null}, "onChange": function (obj, args) { }}); la.onChange = function (obj, args) { console.error("The change", args); }; .... Now i have raw events coming through ..just what i needed. Regards, On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips wrote: David, You need to leverage $.verto.liveArray() from the verto lib on the client side, and make sure your conference has the correct livearray flags set in conference.conf.xml (see round about https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters for those). Guessing this still isn't that well documented. Start there and work your way around, and I think you'll eventually get it figured out. :) Chad On Mon, Mar 28, 2016 at 7:10 AM, David Wafula wrote: Hi all, What would be the simplest way to listen to conference events in own custom js when using verto? The closest i could see was in the demo, a table updates in near-realtime with conference events, and unless am mistaken, the listening mechanism is embbeded within verto-min.js and couldn't find any documentation on how to customize this to own display needs. Regards -- David W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/81dc582a/attachment.html From Shawn.Wheeler at interlockconcepts.com Tue Mar 29 01:44:14 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Mon, 28 Mar 2016 21:44:14 +0000 Subject: [Freeswitch-users] Connection Time - Windows Version Message-ID: I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken New question When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. Is this normal? When I tested this in the Linux version it seemed to be much faster when connecting calls. I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160328/ddeeed49/attachment.html From mike at jerris.com Tue Mar 29 01:51:53 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 28 Mar 2016 17:51:53 -0400 Subject: [Freeswitch-users] Connection Time - Windows Version In-Reply-To: References: Message-ID: No, probably not normal.. but you'd need to dig into the logs and figure out what the delay is. > On Mar 28, 2016, at 5:44 PM, Shawn Wheeler wrote: > > > I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken > > New question > > When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. > > Is this normal? > > When I tested this in the Linux version it seemed to be much faster when connecting calls. > > I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. > > Thank you in advance > > Shawn > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160328/fe6c59d3/attachment-0001.html From Shawn.Wheeler at interlockconcepts.com Tue Mar 29 01:54:55 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Mon, 28 Mar 2016 21:54:55 +0000 Subject: [Freeswitch-users] Connection Time - Windows Version In-Reply-To: References: Message-ID: Thank you I am running this latterly out of the box. I created the VM, installed FreeSwitch and started to make the calls. Thank you, I will take a peak. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Monday, March 28, 2016 2:52 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Connection Time - Windows Version No, probably not normal.. but you'd need to dig into the logs and figure out what the delay is. On Mar 28, 2016, at 5:44 PM, Shawn Wheeler > wrote: I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken New question When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. Is this normal? When I tested this in the Linux version it seemed to be much faster when connecting calls. I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. Thank you in advance Shawn _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160328/35f23b1d/attachment.html From krice at freeswitch.org Tue Mar 29 03:04:58 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 28 Mar 2016 18:04:58 -0500 Subject: [Freeswitch-users] Connection Time - Windows Version In-Reply-To: References: Message-ID: Not sure a log to see whats going on would be required there Sent from my iPhone > On Mar 28, 2016, at 4:44 PM, Shawn Wheeler wrote: > > > I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken > > New question > > When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. > > Is this normal? > > When I tested this in the Linux version it seemed to be much faster when connecting calls. > > I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. > > Thank you in advance > > Shawn > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160328/61777ef6/attachment.html From idokan at gmail.com Tue Mar 29 08:46:19 2016 From: idokan at gmail.com (ik) Date: Tue, 29 Mar 2016 07:46:19 +0300 Subject: [Freeswitch-users] extended FS as ZRTP client In-Reply-To: <80b5cbc6-475c-4c3c-a1ae-31a109a166d5@typeapp.com> References: <001401d188eb$6dbba080$4932e180$@gmail.com> <80b5cbc6-475c-4c3c-a1ae-31a109a166d5@typeapp.com> Message-ID: Few notes regarding ZRTP: A. It's an encryption, it's am encryption traversal mechanism that allow supported servers and client to choose to use it. B. The encryption will be SRTP, and it is also good to have SIPS and everything else encrypted. I hope it will help better to understand it. Ido On Mar 28, 2016 6:58 PM, "Assaf Dahary" wrote: > OK. > I'll test it with the latest release 1.6. > > But do you know if this issue was resolved in 1.6? > > Assaf > On Mar 28, 2016, at 18:13, Michael Jerris wrote: >> >> did you try and see if this is the case with a current release instead of >> the old one? >> >> On Mar 28, 2016, at 8:14 AM, Assaf Dahary wrote: >> >> Hi, >> >> >> I would like to use FS (multiple) as a ZRTP client register on a the main >> FS. >> >> >> I have already managed to setup a Gateway with user/pass on the FS client >> and register it on the main FS for regular incoming/outgoing calls (without >> ZRTP). >> >> >> To enable ZRTP calls I setup the FS client/main as follow: >> >> None ZRTP SIP phone -> FS client -> NAT Internet -> FS main -> CSipSimple >> ZRTP enabled). >> >> >> *FS Client (ver 1.4) :* >> >> ZRTP enabled globally in VARS and in dialplan. >> >> Media proxy disabled on both internal and external profiles and in >> dialplan. >> >> >> *FS Main (ver 1.4):* >> >> Media proxy enabled ? including late negotiation. >> >> >> I forced the FS client and the CSipSimple to use only PCMU codec to avoid >> transcoding. >> >> >> The problem is that on a call from the SIP phone via the FS client there >> are always CRC errors on the ZRTP log. >> >> Only if the FS main is set to disable media proxy then there are no CRC >> errors ? but then it becomes a MITM with incompatible SASs. >> >> >> From reading other posts about FS and ZRTP CRC errors I assume that it >> happens because the FS client is not creating a zrtp hash in the invite SDP. >> >> >> So my question is how to make the FS client to generate the zrtp hash in >> the invite SDP to act as real ZRTP enabled client? >> >> I've already tried to set the FS client internal/external/dialplan with >> several zrtp configs with no success. >> >> >> I would appreciate any tip to resolve this issue. >> >> >> Regards >> >> >> Assaf >> >> >> >> >> The client FS >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160329/0ff3b488/attachment-0001.html From amani.mansour2 at gmail.com Tue Mar 29 10:48:53 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Tue, 29 Mar 2016 07:48:53 +0100 Subject: [Freeswitch-users] what is the structure of con.api(command) Message-ID: Good morning , i need to execute those 2 commands : 1/sofia profile external restart 2/sofia profile external killgw gateway.xml i do:api.con(command) but they don't work ,i need to know if the structure is true or if there is ather structure. python/ESL thanks , with regards Amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/18ed828f/attachment.html From pstarzyk at general-devices.com Tue Mar 29 15:27:05 2016 From: pstarzyk at general-devices.com (Piotr Starzyk) Date: Tue, 29 Mar 2016 07:27:05 -0400 Subject: [Freeswitch-users] Connection Time - Windows Version In-Reply-To: References: Message-ID: <49fc2cb56a4076b134729520b80371b5@mail.gmail.com> Make sure you change the default password (the ?1234? one). That?s what?s causing the connection delay. It?s not documented, but I had the same problem, and changing the default password fixed that. *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shawn Wheeler *Sent:* Monday, March 28, 2016 5:44 PM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] Connection Time - Windows Version I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken New question When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. Is this normal? When I tested this in the Linux version it seemed to be much faster when connecting calls. I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/2679ff7c/attachment.html From bilaln018 at gmail.com Tue Mar 29 15:42:34 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Tue, 29 Mar 2016 16:42:34 +0500 Subject: [Freeswitch-users] [Mute A-Party] Message-ID: Hi Users, Do Freeswitch has a setting to mute the A-Party, I only want one way audio (yes many had problems with this..:-P). Any suggestions. Regards Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/759cef52/attachment.html From Shawn.Wheeler at interlockconcepts.com Tue Mar 29 15:47:31 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Tue, 29 Mar 2016 11:47:31 +0000 Subject: [Freeswitch-users] Connection Time - Windows Version In-Reply-To: <49fc2cb56a4076b134729520b80371b5@mail.gmail.com> References: , <49fc2cb56a4076b134729520b80371b5@mail.gmail.com> Message-ID: Thank you Sent from my Verizon, Samsung Galaxy smartphone -------- Original message -------- From: Piotr Starzyk Date: 3/29/16 04:30 (GMT-07:00) To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Connection Time - Windows Version Make sure you change the default password (the '1234' one). That's what's causing the connection delay. It's not documented, but I had the same problem, and changing the default password fixed that. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shawn Wheeler Sent: Monday, March 28, 2016 5:44 PM To: FreeSWITCH Users Help > Subject: [Freeswitch-users] Connection Time - Windows Version I was able to register devices with the Windows version of FreeSWITCH. Thank you Ken New question When connecting from my phone to my IP speaker or phone to my softphone the connection time is taking upward of 15 seconds. Is this normal? When I tested this in the Linux version it seemed to be much faster when connecting calls. I am running FreeSwitch on a Windows 2012 Server R2 VM with 2 Megs of RAM. I do realize that is low on the RAM side. However Freeswtich is the only thing running beside the OS. Thank you in advance Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/8379ee84/attachment.html From aqsyounas at gmail.com Tue Mar 29 16:47:05 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Tue, 29 Mar 2016 17:47:05 +0500 Subject: [Freeswitch-users] [Mute A-Party] In-Reply-To: References: Message-ID: Find the uuid of leg and execute this command. uuid_audio start write mute -4 On 29 March 2016 at 16:42, Bilal Abbasi wrote: > Hi Users, > Do Freeswitch has a setting to mute the A-Party, I only want one way audio > (yes many had problems with this..:-P). > Any suggestions. > > Regards > Abbasi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160329/0354e241/attachment-0001.html From ahabiba at gmail.com Tue Mar 29 18:15:38 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Tue, 29 Mar 2016 17:15:38 +0300 Subject: [Freeswitch-users] Spy a call In-Reply-To: References: Message-ID: Hi, I have an issue where I want to spy on a call to agent considering that the call was not direct to the agent it is to a short code which then try to bridge to a hunt group any of them can catch the call I.e a call to 5005 in extension definition it try to bridge to user/1000,user/2000,user/3000 Any of the agents can catch the call and because eavesdrop depend on uuid stored in some hash map it is not working as in my scenario I don't know before issuing the bridge who will catch the call and accordingly I can not use it as a hash key for the uuid I used userspy but it work only if I was spying before the call start Any idea will be appreciated. Thanks, Ahmed Habiba. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/5e95ad35/attachment.html From chad at apartmentlines.com Tue Mar 29 18:24:54 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Tue, 29 Mar 2016 08:24:54 -0600 Subject: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events In-Reply-To: <03ab01d1893a$11a576a0$34f063e0$@botecomm.com> References: <03ab01d1893a$11a576a0$34f063e0$@botecomm.com> Message-ID: Hey Bote, Thanks for adding that doc. I'm thinking maybe https://freeswitch.org/confluence/display/FREESWITCH/mod_verto#mod_verto-Examples would be a more appropriate spot for it? Chad On Mon, Mar 28, 2016 at 3:37 PM, Bote Man wrote: > I have added your template code to the wiki as an example. You can review > it at > > > https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-VertoLiveArray > > > > Thanks. > > > > > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* David Wafula > *Sent:* Monday, 28 March, 2016 12:02 > *Subject:* Re: [Freeswitch-users] Verto js: how to create custom > near-realtime listener to conference events > > > > Thank you, Chad. > > $.verto.liveArray() just got me what i was looking for: > > > > .... > > var la = new $.verto.liveArray(verto, data.pvtData.laChannel, > data.pvtData.laName, > > {subParams: {callID: dialog ? > dialog.callID : null}, "onChange": function (obj, args) { > > > > }}); > > la.onChange = function (obj, args) { > > console.error("The change", args); > > }; > > .... > > Now i have raw events coming through ..just what i needed. > > > > Regards, > > > > On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips > wrote: > > David, > > > > You need to leverage $.verto.liveArray() from the verto lib on the client > side, and make sure your conference has the correct livearray flags set in > conference.conf.xml (see round about > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters > for those). > > > > Guessing this still isn't that well documented. Start there and work your > way around, and I think you'll eventually get it figured out. :) > > > > Chad > > > > On Mon, Mar 28, 2016 at 7:10 AM, David Wafula wrote: > > Hi all, > > What would be the simplest way to listen to conference events in own > custom js when using verto? The closest i could see was in the demo, a > table updates in near-realtime with conference events, and unless am > mistaken, the listening mechanism is embbeded within verto-min.js and > couldn't find any documentation on how to customize this to own display > needs. > > > > > > Regards > > > > -- > > > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/ea0f5b6d/attachment.html From abaci64 at gmail.com Tue Mar 29 18:40:43 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 29 Mar 2016 10:40:43 -0400 Subject: [Freeswitch-users] Spy a call In-Reply-To: References: Message-ID: why don't you spy based on the uuid of the aleg? On Tue, Mar 29, 2016 at 10:15 AM, Ahmed habiba wrote: > Hi, > > I have an issue where I want to spy on a call to agent considering that > the call was not direct to the agent it is to a short code which then try > to bridge to a hunt group any of them can catch the call > > I.e a call to 5005 in extension definition it try to bridge to > user/1000,user/2000,user/3000 > > Any of the agents can catch the call and because eavesdrop depend on uuid > stored in some hash map it is not working as in my scenario I don't know > before issuing the bridge who will catch the call and accordingly I can not > use it as a hash key for the uuid > > I used userspy but it work only if I was spying before the call start > > Any idea will be appreciated. > > Thanks, > > Ahmed Habiba. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160329/d083e469/attachment.html From bote_radio at botecomm.com Tue Mar 29 18:41:22 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 29 Mar 2016 10:41:22 -0400 Subject: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events In-Reply-To: References: <03ab01d1893a$11a576a0$34f063e0$@botecomm.com> Message-ID: <047501d189c9$10899960$319ccc20$@botecomm.com> I dithered over where to put it, but through the magic of the ?excerpt include? macro in Confluence it now appears in both places by reference. Thanks. Bote From: Chad Phillips Sent: Tuesday, 29 March, 2016 10:25 Subject: Re: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events Hey Bote, Thanks for adding that doc. I'm thinking maybe https://freeswitch.org/confluence/display/FREESWITCH/mod_verto#mod_verto-Examples would be a more appropriate spot for it? Chad On Mon, Mar 28, 2016 at 3:37 PM, Bote Man wrote: I have added your template code to the wiki as an example. You can review it at https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-VertoLiveArray Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: David Wafula Sent: Monday, 28 March, 2016 12:02 Subject: Re: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events Thank you, Chad. $.verto.liveArray() just got me what i was looking for: .... var la = new $.verto.liveArray(verto, data.pvtData.laChannel, data.pvtData.laName, {subParams: {callID: dialog ? dialog.callID : null}, "onChange": function (obj, args) { }}); la.onChange = function (obj, args) { console.error("The change", args); }; .... Now i have raw events coming through ..just what i needed. Regards, On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips wrote: David, You need to leverage $.verto.liveArray() from the verto lib on the client side, and make sure your conference has the correct livearray flags set in conference.conf.xml (see round about https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters for those). Guessing this still isn't that well documented. Start there and work your way around, and I think you'll eventually get it figured out. :) Chad On Mon, Mar 28, 2016 at 7:10 AM, David Wafula wrote: Hi all, What would be the simplest way to listen to conference events in own custom js when using verto? The closest i could see was in the demo, a table updates in near-realtime with conference events, and unless am mistaken, the listening mechanism is embbeded within verto-min.js and couldn't find any documentation on how to customize this to own display needs. Regards -- David W -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/abc4add1/attachment-0001.html From alex at teclan.com.br Tue Mar 29 16:25:00 2016 From: alex at teclan.com.br (Alex Pierry) Date: Tue, 29 Mar 2016 12:25:00 +0000 Subject: [Freeswitch-users] Attended Transfer with one-way audio Message-ID: Hi All, I'm facing a strange behaviour in FS after a Attended Transfer. For the A leg listen the C leg, C needs to press some DTMF key. Otherwise only C leg can listen A leg. My scenario is: A (external) ---> TDM/SIP Gateway ---> FS ---> B (extension) ---> Attended Transfer ---> C (extension). Both extensions are SIP Phones registered in FS. If the transfer is Blind, the audio works fine. Other test: If the A leg is also a local extension, the audio on Attended Transfer works fine too. An important point is that all transfers are made pressing "Flash" key in SIP Phone not by att_xfer in Dialplan. So, any clue to start? Thank you, Alex. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/d0d549dc/attachment.html From ahabiba at gmail.com Tue Mar 29 19:03:15 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Tue, 29 Mar 2016 18:03:15 +0300 Subject: [Freeswitch-users] Spy a call Message-ID: <8412A900-ADF6-4520-9152-3A85FAD1503D@gmail.com> I want to spy on the user as the incoming call may be coming from SIP trunk or could be coming from PSTN From: Abaci B > Subject: Re: [Freeswitch-users] Spy a call Date: March 29, 2016 at 5:40:43 PM GMT+3 To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > why don't you spy based on the uuid of the aleg? On Tue, Mar 29, 2016 at 10:15 AM, Ahmed habiba > wrote: Hi, I have an issue where I want to spy on a call to agent considering that the call was not direct to the agent it is to a short code which then try to bridge to a hunt group any of them can catch the call I.e a call to 5005 in extension definition it try to bridge to user/1000,user/2000,user/3000 Any of the agents can catch the call and because eavesdrop depend on uuid stored in some hash map it is not working as in my scenario I don't know before issuing the bridge who will catch the call and accordingly I can not use it as a hash key for the uuid I used userspy but it work only if I was spying before the call start Any idea will be appreciated. Thanks, Ahmed Habiba. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160329/893bf29e/attachment.html From abaci64 at gmail.com Tue Mar 29 19:22:10 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 29 Mar 2016 11:22:10 -0400 Subject: [Freeswitch-users] Spy a call In-Reply-To: <8412A900-ADF6-4520-9152-3A85FAD1503D@gmail.com> References: <8412A900-ADF6-4520-9152-3A85FAD1503D@gmail.com> Message-ID: you can either spy on the call based on the uuid of the a leg (save it in hash or db) or if you want to spy based on a specific user you can try something execute_on_answer to sabe the call to the users hash On Tue, Mar 29, 2016 at 11:03 AM, Ahmed habiba wrote: > I want to spy on the user as the incoming call may be coming from SIP > trunk or could be coming from PSTN > > > > *From: *Abaci B > *Subject: **Re: [Freeswitch-users] Spy a call* > *Date: *March 29, 2016 at 5:40:43 PM GMT+3 > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > why don't you spy based on the uuid of the aleg? > > On Tue, Mar 29, 2016 at 10:15 AM, Ahmed habiba wrote: > >> Hi, >> >> I have an issue where I want to spy on a call to agent considering that >> the call was not direct to the agent it is to a short code which then try >> to bridge to a hunt group any of them can catch the call >> >> I.e a call to 5005 in extension definition it try to bridge to >> user/1000,user/2000,user/3000 >> >> Any of the agents can catch the call and because eavesdrop depend on uuid >> stored in some hash map it is not working as in my scenario I don't know >> before issuing the bridge who will catch the call and accordingly I can not >> use it as a hash key for the uuid >> >> I used userspy but it work only if I was spying before the call start >> >> Any idea will be appreciated. >> >> Thanks, >> >> Ahmed Habiba. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160329/23b434b7/attachment-0001.html From amani.mansour2 at gmail.com Tue Mar 29 19:59:03 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Tue, 29 Mar 2016 16:59:03 +0100 Subject: [Freeswitch-users] Ringing don't exist Message-ID: Hi, I need to make a call from my soft phone to another freeswitch ,when the call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) and after the ring is done to the freeswitch i will listen for example a song ,for that i make an external gateway ,but the step "ringing or progress session " is not estableshed i need to call the extension 600 ? thanks with regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4552d203/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: extension 600.PNG Type: image/png Size: 22299 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4552d203/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: tcpdump.PNG Type: image/png Size: 33707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4552d203/attachment-0003.png From brian at freeswitch.org Tue Mar 29 20:14:23 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 29 Mar 2016 11:14:23 -0500 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: Message-ID: There is no 180/183 in there, just a 200OK /b On Tue, Mar 29, 2016 at 10:59 AM, amani mansour wrote: > Hi, > I need to make a call from my soft phone to another freeswitch ,when the > call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) > and after the ring is done to the freeswitch i will listen for example a > song ,for that i make an external gateway ,but the step "ringing or > progress session " is not estableshed > > > i need to call the extension 600 > > > ? > > thanks > with regards > amani > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160329/2844fe66/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: extension 600.PNG Type: image/png Size: 22299 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/2844fe66/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: tcpdump.PNG Type: image/png Size: 33707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/2844fe66/attachment-0003.png From amani.mansour2 at gmail.com Tue Mar 29 20:19:40 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Tue, 29 Mar 2016 17:19:40 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: Message-ID: yes i know mr Brian ,in fact i asked why ? 2016-03-29 17:14 GMT+01:00 Brian West : > There is no 180/183 in there, just a 200OK > > /b > > > On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > wrote: > >> Hi, >> I need to make a call from my soft phone to another freeswitch ,when the >> call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) >> and after the ring is done to the freeswitch i will listen for example a >> song ,for that i make an external gateway ,but the step "ringing or >> progress session " is not estableshed >> >> >> i need to call the extension 600 >> >> >> ? >> >> thanks >> with regards >> amani >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > > 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/20160329/ce242395/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: extension 600.PNG Type: image/png Size: 22299 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/ce242395/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: tcpdump.PNG Type: image/png Size: 33707 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/ce242395/attachment-0003.png From mike at jerris.com Tue Mar 29 20:58:44 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 29 Mar 2016 12:58:44 -0400 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: Message-ID: <533F0F08-5AA3-4D20-B609-3620328F2A34@jerris.com> What device is not sending the 180? why is it not sending it? > On Mar 29, 2016, at 12:19 PM, amani mansour wrote: > > yes i know mr Brian ,in fact i asked why ? > > 2016-03-29 17:14 GMT+01:00 Brian West >: > There is no 180/183 in there, just a 200OK > > /b > > > On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > wrote: > Hi, > I need to make a call from my soft phone to another freeswitch ,when the call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) and after the ring is done to the freeswitch i will listen for example a song ,for that i make an external gateway ,but the step "ringing or progress session " is not estableshed > > > i need to call the extension 600 > > > ? > > thanks > with regards > amani > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > https://www.gofundme.com/freeswitch_ubuntu > 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/20160329/984d049b/attachment.html From bote_radio at botecomm.com Tue Mar 29 22:04:40 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 29 Mar 2016 14:04:40 -0400 Subject: [Freeswitch-users] Attended Transfer with one-way audio In-Reply-To: References: Message-ID: <04cb01d189e5$7792f1d0$66b8d570$@botecomm.com> What does the Flash key do in SIP? Bote From: Alex Pierry Sent: Tuesday, 29 March, 2016 08:25 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Attended Transfer with one-way audio Hi All, I'm facing a strange behaviour in FS after a Attended Transfer. For the A leg listen the C leg, C needs to press some DTMF key. Otherwise only C leg can listen A leg. . An important point is that all transfers are made pressing "Flash" key in SIP Phone not by att_xfer in Dialplan. So, any clue to start? Thank you, Alex. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/16087328/attachment.html From alex at teclan.com.br Tue Mar 29 22:45:04 2016 From: alex at teclan.com.br (Alex Pierry) Date: Tue, 29 Mar 2016 18:45:04 +0000 Subject: [Freeswitch-users] Attended Transfer with one-way audio In-Reply-To: <04cb01d189e5$7792f1d0$66b8d570$@botecomm.com> References: , <04cb01d189e5$7792f1d0$66b8d570$@botecomm.com> Message-ID: Hi Bote, Extension B sends a REFER event to FS that responds with a 202 Accepted and after a NOTIFY. I guess it is the same as using dialplan with att_xfer. Alex. ________________________________ De: freeswitch-users-bounces at lists.freeswitch.org em nome de Bote Man Enviado: ter?a-feira, 29 de mar?o de 2016 15:04 Para: 'FreeSWITCH Users Help' Assunto: Re: [Freeswitch-users] Attended Transfer with one-way audio What does the Flash key do in SIP? Bote From: Alex Pierry Sent: Tuesday, 29 March, 2016 08:25 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Attended Transfer with one-way audio Hi All, I'm facing a strange behaviour in FS after a Attended Transfer. For the A leg listen the C leg, C needs to press some DTMF key. Otherwise only C leg can listen A leg. ... An important point is that all transfers are made pressing "Flash" key in SIP Phone not by att_xfer in Dialplan. So, any clue to start? Thank you, Alex. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/79192702/attachment-0001.html From italo at freeswitch.org Tue Mar 29 22:55:55 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 29 Mar 2016 11:55:55 -0700 (PDT) Subject: [Freeswitch-users] Thursday FreeSWITCH Bug Hunt Message-ID: <49t8iam7xw4oi1rjslbxeybpy-0@mailer.nylas.com> FreeSWITCHers, Join us thursday 2PM CST for the Thursday FreeSWITCH Bug Hunt! Where? [conference.freeswitch.org/vc/#/?autocall=888](https://conference.frees witch.org/vc/#/?autocall=888 "https://conference.freeswitch.org/vc/#/?autocall=888" ) Chat? What? FreeSWITCH Bug Hunt, Jira Reviews, and General FS Support! Help us help you, Join the Bug Hunt! ?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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/25fc230f/attachment.html From valter at fastway.com.br Tue Mar 29 23:30:23 2016 From: valter at fastway.com.br (Valter Nogueira) Date: Tue, 29 Mar 2016 16:30:23 -0300 Subject: [Freeswitch-users] mod_event_socket Message-ID: I am using outbound socket in dailplan as in https://wiki.freeswitch.org/wiki/Event_socket_outbound#Examples After issuing a connect\n\n, I have tried getvar. getvar only returns value if I give a defined variable such getvar sip_contact_host\n\n which returns Content-Type: command/reply Reply-Text: 192.168.2.82 If I try to set a variable: sendmsg call-command: set execute-app-name: foo=bar getvar foo returns Content-Type: command/reply Reply-Text: -ERR command not found Thank you, Valter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/67fa97a5/attachment.html From amani.mansour2 at gmail.com Wed Mar 30 00:04:16 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Tue, 29 Mar 2016 21:04:16 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: <533F0F08-5AA3-4D20-B609-3620328F2A34@jerris.com> References: <533F0F08-5AA3-4D20-B609-3620328F2A34@jerris.com> Message-ID: Mr i have : 1 FS A(virtual machine 1)--------------------------------------------->in my conputer i installed a soft phone ( number 1000 is regestred from the soft phone ) i did a gateway which permet to register another number 423 in freeswitch A so now i have 2 numbers registred in FS but only one is regestred by the soft phone i want to dial 423 from the soft phone 1000 normally the call will be done normally ) but i don't have the methode ring i wish that i have well describe the problem t thank you sir ,i wish you can help me best regards amani 2016-03-29 17:58 GMT+01:00 Michael Jerris : > What device is not sending the 180? why is it not sending it? > > On Mar 29, 2016, at 12:19 PM, amani mansour > wrote: > > yes i know mr Brian ,in fact i asked why ? > > 2016-03-29 17:14 GMT+01:00 Brian West : > >> There is no 180/183 in there, just a 200OK >> >> /b >> >> >> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > > wrote: >> >>> Hi, >>> I need to make a call from my soft phone to another freeswitch ,when >>> the call is established (i meant (INVITE ,OK , RINGING or Progress.dession >>> .) and after the ring is done to the freeswitch i will listen for example >>> a song ,for that i make an external gateway ,but the step "ringing or >>> progress session " is not estableshed >>> >>> >>> i need to call the extension 600 >>> >>> >>> ? >>> >>> thanks >>> with regards >>> amani >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> https://www.gofundme.com/freeswitch_ubuntu >> >> 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/20160329/5ded79ec/attachment.html From mike at jerris.com Wed Mar 30 00:15:42 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 29 Mar 2016 16:15:42 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. Message-ID: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4db1d5c1/attachment-0001.html From italo at freeswitch.org Wed Mar 30 00:44:20 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 29 Mar 2016 13:44:20 -0700 (PDT) Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> If you want to do a Pull Request: and https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests ?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 29 2016, at 5:17 pm, Michael Jerris <mike at jerris.com> wrote: > Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: > > > > [https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/vert o/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc514387 0a80c3dd8d602&raw](https://freeswitch.org/stash/projects/FS/repos/freeswit ch/browse/html5/verto/verto_communicator/src/locales/locale- en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw) > > > > If you can assist with this, Please make a new file named locale- language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this > > > > Thanks! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/b0ed1829/attachment.html From gled at remote-shell.net Wed Mar 30 00:55:18 2016 From: gled at remote-shell.net (=?UTF-8?Q?Tristan_Mah=c3=a9?=) Date: Tue, 29 Mar 2016 13:55:18 -0700 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: <56FAEBB6.10902@remote-shell.net> Hi Michael, Here you have, raw french translation. On 03/29/2016 01:15 PM, Michael Jerris wrote: > Just committed into tree is internationalization of Verto > Communicator, so far, just English and Italian. If you speak another > language, we need your help to translate these into other languages. > The file that needs to be translated is: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw > > If you can assist with this, Please make a new file named > locale-language.json (where "language" is the 2 letter code for your > language) and translate all the text in quotes to the right thing for > your language and send them back our way. Lets see how quickly we can > crowd source this > > 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/20160329/c72013fc/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: locale-fr.json Type: application/json Size: 6844 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/c72013fc/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/c72013fc/attachment-0001.bin From bote_radio at botecomm.com Wed Mar 30 00:56:30 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 29 Mar 2016 16:56:30 -0400 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: <533F0F08-5AA3-4D20-B609-3620328F2A34@jerris.com> Message-ID: <050801d189fd$78c67be0$6a5373a0$@botecomm.com> Any device or soft phone that you want to register to FS should have its own entry in conf/directory/default/*.xml This contains its authentication ID and password to register it to FreeSWITCH. Then you need an entry in conf/dialplan/default.xml or other dialplan that tells FS how to route that number. The Vanilla configuration files available for FS come with directory files for users 1000.xml through 1019.xml and a default dialplan entry that calls 1000-1019. So it will not know how to route 600 nor 423 until you add routes for those numbers in the dialplan. Or you could change 423 to 1001 and enter its credentials into 1001.xml and it should call both directions. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: amani mansour Sent: Tuesday, 29 March, 2016 16:04 Subject: Re: [Freeswitch-users] Ringing don't exist Mr i have : 1 FS A(virtual machine 1)--------------------------------------------->in my conputer i installed a soft phone ( number 1000 is regestred from the soft phone ) i did a gateway which permet to register another number 423 in freeswitch A so now i have 2 numbers registred in FS but only one is regestred by the soft phone i want to dial 423 from the soft phone 1000 normally the call will be done normally ) but i don't have the methode ring i wish that i have well describe the problem t thank you sir ,i wish you can help me best regards amani 2016-03-29 17:58 GMT+01:00 Michael Jerris : What device is not sending the 180? why is it not sending it? On Mar 29, 2016, at 12:19 PM, amani mansour wrote: yes i know mr Brian ,in fact i asked why ? 2016-03-29 17:14 GMT+01:00 Brian West : There is no 180/183 in there, just a 200OK /b On Tue, Mar 29, 2016 at 10:59 AM, amani mansour wrote: Hi, I need to make a call from my soft phone to another freeswitch ,when the call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) and after the ring is done to the freeswitch i will listen for example a song ,for that i make an external gateway ,but the step "ringing or progress session " is not estableshed i need to call the extension 600 ? thanks with regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/5e291ee7/attachment-0001.html From bote_radio at botecomm.com Wed Mar 30 01:03:26 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 29 Mar 2016 17:03:26 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <56FAEBB6.10902@remote-shell.net> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> Message-ID: <051601d189fe$708e5690$51ab03b0$@botecomm.com> Surely, being French you should cook it, no? Bote From: Tristan Mah? Sent: Tuesday, 29 March, 2016 16:55 Subject: Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. Hi Michael, Here you have, raw french translation. On 03/29/2016 01:15 PM, Michael Jerris wrote: Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto /verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc51438 70a80c3dd8d602 &raw If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/3a5f0a62/attachment.html From amani.mansour2 at gmail.com Wed Mar 30 01:12:43 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Tue, 29 Mar 2016 22:12:43 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: <050801d189fd$78c67be0$6a5373a0$@botecomm.com> References: <533F0F08-5AA3-4D20-B609-3620328F2A34@jerris.com> <050801d189fd$78c67be0$6a5373a0$@botecomm.com> Message-ID: Hi Mr Bote the problem is not in the number look when i do in fs_cli : sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 but only 1000 is configured by softphone 1011 : i did it using external gateway when i dial 1011 from the softphene where registred the number 1000 ,, so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i want to call the number 1000 only when it ring (180) or the method progress sesiion arrive i listen a short music example titris music now i receive the all methodes done well also i listen the music but i dont receive the method nor 180 nor 183 can you help me please with regards amani 2016-03-29 21:56 GMT+01:00 Bote Man : > Any device or soft phone that you want to register to FS should have its > own entry in conf/directory/default/*.xml > > This contains its authentication ID and password to register it to > FreeSWITCH. > > > > Then you need an entry in conf/dialplan/default.xml or other dialplan > that tells FS how to route that number. > > > > The Vanilla configuration files available for FS come with directory files > for users 1000.xml through 1019.xml and a default dialplan entry that calls > 1000-1019. So it will not know how to route 600 nor 423 until you add > routes for those numbers in the dialplan. > > > Or you could change 423 to 1001 and enter its credentials into 1001.xml > and it should call both directions. > > > > > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* amani mansour > *Sent:* Tuesday, 29 March, 2016 16:04 > *Subject:* Re: [Freeswitch-users] Ringing don't exist > > > > Mr i have : > > 1 FS A(virtual machine 1)--------------------------------------------->in > my conputer i installed a soft phone ( number 1000 is regestred from the > soft phone ) > > > > i did a gateway which permet to register another number 423 in freeswitch A > > > > so now i have 2 numbers registred in FS but only one is regestred by the > soft phone > > > > > > i want to dial 423 from the soft phone 1000 normally the call will be done > normally ) but i don't have the methode ring > > > > i wish that i have well describe the problem t > > > > thank you sir ,i wish you can help me > > > > > > > > best regards > > amani > > > > 2016-03-29 17:58 GMT+01:00 Michael Jerris : > > What device is not sending the 180? why is it not sending it? > > > > On Mar 29, 2016, at 12:19 PM, amani mansour > wrote: > > > > yes i know mr Brian ,in fact i asked why ? > > > > 2016-03-29 17:14 GMT+01:00 Brian West : > > There is no 180/183 in there, just a 200OK > > > > /b > > > > > > On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > wrote: > > Hi, > > I need to make a call from my soft phone to another freeswitch ,when the > call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) > and after the ring is done to the freeswitch i will listen for example a > song ,for that i make an external gateway ,but the step "ringing or > progress session " is not estableshed > > > > > > i need to call the extension 600 > > > > ? > > > > thanks > > with regards > > amani > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160329/16807c3d/attachment.html From italo at freeswitch.org Wed Mar 30 01:39:32 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 29 Mar 2016 14:39:32 -0700 (PDT) Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <051601d189fe$708e5690$51ab03b0$@botecomm.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> Message-ID: Thank you! Added in master. ?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 29 2016, at 6:05 pm, Bote Man <bote_radio at botecomm.com> wrote: > Surely, being French you should cook it, no? > > > > Bote > > > > > > **From:** Tristan Mah? **Sent:** Tuesday, 29 March, 2016 16:55 **Subject:** Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. > > > > Hi Michael, Here you have, raw french translation. > > On 03/29/2016 01:15 PM, Michael Jerris wrote: > >> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >> >> >> >> [https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/ver to/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc51438 70a80c3dd8d602&raw](https://freeswitch.org/stash/projects/FS/repos/freeswi tch/browse/html5/verto/verto_communicator/src/locales/locale- en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw) >> >> >> >> If you can assist with this, Please make a new file named locale- language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >> >> >> >> Thanks! >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/88eb84af/attachment-0001.html From mike at jerris.com Wed Mar 30 01:54:58 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 29 Mar 2016 17:54:58 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> Message-ID: A few new strings added.. updated file: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba276944105dc3947&raw added the following strings: CANCEL: "Cancel", CHAT_TITLE_VOL_MINUS: "Volume -", CHAT_TITLE_VOL_PLUS: "Volume +", CHAT_TITLE_GAIN_MINUS: "Gain -", CHAT_TITLE_GAIN_PLUS: "Gain +", CHAT_VOL_MINUS: "Vol -", CHAT_VOL_PLUS: "Vol +", CHAT_GAIN_MINUS: "Gain -", CHAT_GAIN_PLUS: "Gain +" we now have, English, French, Portuguese, Italian. Ready for any other languages you have for us. Mike > On Mar 29, 2016, at 5:39 PM, ?talo Rossi wrote: > > Thank you! > > Added in master. > > ?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 29 2016, at 6:05 pm, Bote Man wrote: > Surely, being French you should cook it, no? > > Bote > > > From: Tristan Mah? > Sent: Tuesday, 29 March, 2016 16:55 > Subject: Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. > > Hi Michael, > > Here you have, raw french translation. > > On 03/29/2016 01:15 PM, Michael Jerris wrote: > Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw > > If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this > > 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/20160329/5d6e5d0d/attachment.html From gled at remote-shell.net Wed Mar 30 02:03:47 2016 From: gled at remote-shell.net (=?UTF-8?Q?Tristan_Mah=c3=a9?=) Date: Tue, 29 Mar 2016 15:03:47 -0700 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> Message-ID: <56FAFBC3.3050300@remote-shell.net> For the french translation, we only need the "CANCEL": "Annuler" line, the rest should be fine. @boteman: only with a nice bottle of wine ;) On 03/29/2016 02:54 PM, Michael Jerris wrote: > A few new strings added.. updated file: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba276944105dc3947&raw > > added the following strings: > > * > CANCEL: "Cancel", > * > CHAT_TITLE_VOL_MINUS: "Volume -", > * > CHAT_TITLE_VOL_PLUS: "Volume +", > * > CHAT_TITLE_GAIN_MINUS: "Gain -", > * > CHAT_TITLE_GAIN_PLUS: "Gain +", > * > CHAT_VOL_MINUS: "Vol -", > * > CHAT_VOL_PLUS: "Vol +", > * > CHAT_GAIN_MINUS: "Gain -", > * > CHAT_GAIN_PLUS: "Gain +" > > > > we now have, English, French, Portuguese, Italian. Ready for any > other languages you have for us. > > Mike > > >> On Mar 29, 2016, at 5:39 PM, ?talo Rossi > > wrote: >> >> Thank you! >> >> Added in master. >> >> ?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 29 2016, at 6:05 pm, Bote Man > > wrote: >> >> Surely, being French you should cook it, no? >> >> >> >> Bote >> >> >> >> >> >> *From:*Tristan Mah? >> *Sent:* Tuesday, 29 March, 2016 16:55 >> *Subject:* Re: [Freeswitch-users] calling all native speakers of >> languages other than english. We need your help, and this will be >> easy. >> >> >> >> Hi Michael, >> >> Here you have, raw french translation. >> >> On 03/29/2016 01:15 PM, Michael Jerris wrote: >> >> Just committed into tree is internationalization of Verto >> Communicator, so far, just English and Italian. If you speak >> another language, we need your help to translate these into >> other languages. The file that needs to be translated is: >> >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw >> >> >> >> If you can assist with this, Please make a new file named >> locale-language.json (where "language" is the 2 letter code >> for your language) and translate all the text in quotes to >> the right thing for your language and send them back our way. >> Lets see how quickly we can crowd source this >> >> >> >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4e534aec/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/4e534aec/attachment-0001.bin From italo at freeswitch.org Wed Mar 30 02:07:31 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Tue, 29 Mar 2016 15:07:31 -0700 (PDT) Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <56FAFBC3.3050300@remote-shell.net> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> <56FAFBC3.3050300@remote-shell.net> Message-ID: <90u3sp8en66r8tpt786i1hwb1-0@mailer.nylas.com> Done ?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 29 2016, at 7:05 pm, Tristan Mah? <gled at remote-shell.net> wrote: > For the french translation, we only need the "CANCEL": "Annuler" line, the rest should be fine. @boteman: only with a nice bottle of wine ;) > > On 03/29/2016 02:54 PM, Michael Jerris wrote: > >> A few new strings added.. updated file: >> >> >> >> [https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/ver to/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba2 76944105dc3947&raw](https://freeswitch.org/stash/projects/FS/repos/freeswi tch/browse/html5/verto/verto_communicator/src/locales/locale- en.json?at=beef14357f02f86420545fdba276944105dc3947&raw) >> >> >> >> added the following strings: >> >> >> >> * CANCEL: "Cancel", >> >> * CHAT_TITLE_VOL_MINUS: "Volume -", >> >> * CHAT_TITLE_VOL_PLUS: "Volume +", >> >> * CHAT_TITLE_GAIN_MINUS: "Gain -", >> >> * CHAT_TITLE_GAIN_PLUS: "Gain +", >> >> * CHAT_VOL_MINUS: "Vol -", >> >> * CHAT_VOL_PLUS: "Vol +", >> >> * CHAT_GAIN_MINUS: "Gain -", >> >> * CHAT_GAIN_PLUS: "Gain +" >> >> >> >> >> >> we now have, English, French, Portuguese, Italian. Ready for any other languages you have for us. >> >> >> >> Mike >> >> >> >> >> >>> On Mar 29, 2016, at 5:39 PM, ?talo Rossi <[](mailto:italo at freeswitch.or g)[italo at freeswitch.org](mailto:italo at freeswitch.org)> wrote: >>> >>> >>> >>> Thank you! >>> >>> >>> >>> Added in master. >>> >>> ?talo Rossi >>> >>> [italo at freeswitch.org](mailto:italo at freeswitch.org) >>> >>> IRC [chat.freenode.net](http://chat.freenode.net) #freeswitch #freeswitch- dev >>> >>> Bugs? >>> >>> Docs? >>> >>> Chat? >>> >>> >>> >>> >>> >>> On Mar 29 2016, at 6:05 pm, Bote Man <[bote_radio at botecomm.com](mailto:bote_radio at botecomm.com)> wrote: >>> >>>> Surely, being French you should cook it, no? >>>> >>>> >>>> >>>> Bote >>>> >>>> >>>> >>>> >>>> >>>> **From:** Tristan Mah? **Sent:** Tuesday, 29 March, 2016 16:55 **Subject:** Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. >>>> >>>> >>>> >>>> Hi Michael, Here you have, raw french translation. >>>> >>>> On 03/29/2016 01:15 PM, Michael Jerris wrote: >>>> >>>>> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >>>>> >>>>> >>>>> >>>>> [](https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html 5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc 5143870a80c3dd8d602&raw)[https://freeswitch.org/stash/projects/FS/repos/freesw itch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197 ae2f0cb647ab20bc5143870a80c3dd8d602&raw](https://freeswitch.org/stash/proj ects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales /locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw) >>>>> >>>>> >>>>> >>>>> If you can assist with this, Please make a new file named locale- language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >>>>> >>>>> >>>>> >>>>> Thanks! >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ 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: >> >> >> >> >> >> >> _________________________________________________________________________ >> 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: >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/0555f018/attachment-0001.html From brian at freeswitch.org Wed Mar 30 02:36:38 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 29 Mar 2016 17:36:38 -0500 Subject: [Freeswitch-users] Attended Transfer with one-way audio In-Reply-To: References: <04cb01d189e5$7792f1d0$66b8d570$@botecomm.com> Message-ID: att_xfer in dialplan isn't the same as a sip refer. /b On Tue, Mar 29, 2016 at 1:45 PM, Alex Pierry wrote: > Hi Bote, > > > Extension B sends a REFER event to FS that responds with a 202 Accepted > and after a NOTIFY. > > > I guess it is the same as using dialplan with att_xfer. > > > * Alex. * > > ------------------------------ > *De:* freeswitch-users-bounces at lists.freeswitch.org < > freeswitch-users-bounces at lists.freeswitch.org> em nome de Bote Man < > bote_radio at botecomm.com> > *Enviado:* ter?a-feira, 29 de mar?o de 2016 15:04 > *Para:* 'FreeSWITCH Users Help' > *Assunto:* Re: [Freeswitch-users] Attended Transfer with one-way audio > > > What does the Flash key do in SIP? > > > > Bote > > > > > > *From:* Alex Pierry > *Sent:* Tuesday, 29 March, 2016 08:25 > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Attended Transfer with one-way audio > > > > Hi All, > > > > I'm facing a strange behaviour in FS after a Attended Transfer. > > For the A leg listen the C leg, C needs to press some DTMF key. Otherwise > only C leg can listen A leg. > > ? > > An important point is that all transfers are made pressing "Flash" key in > SIP Phone not by att_xfer in Dialplan. > > > > So, any clue to start? > > > > Thank you, > > Alex. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 https://www.gofundme.com/freeswitch_ubuntu 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/20160329/ec850198/attachment.html From dujinfang at gmail.com Wed Mar 30 03:59:19 2016 From: dujinfang at gmail.com (Seven Du) Date: Wed, 30 Mar 2016 07:59:19 +0800 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <90u3sp8en66r8tpt786i1hwb1-0@mailer.nylas.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> <56FAFBC3.3050300@remote-shell.net> <90u3sp8en66r8tpt786i1hwb1-0@mailer.nylas.com> Message-ID: <4490E9A458E14BB8B513E0B3D68F28E5@gmail.com> I?m working on a Chinese zh_CN version -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, March 30, 2016 at 6:07 AM, ?talo Rossi wrote: > Done > > ?talo Rossi > italo at freeswitch.org (mailto:italo at freeswitch.org) > IRC chat.freenode.net (http://chat.freenode.net) #freeswitch #freeswitch-dev > Bugs? https://freeswitch.org/jira > Docs? https://freeswitch.org/jira > Chat? https://hipchat.freeswitch.org/gUdAgy0m6 > > > On Mar 29 2016, at 7:05 pm, Tristan Mah? wrote: > > For the french translation, we only need the "CANCEL": "Annuler" line, the rest should be fine. > > > > @boteman: only with a nice bottle of wine ;) > > > > On 03/29/2016 02:54 PM, Michael Jerris wrote: > > > A few new strings added.. updated file: > > > > > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba276944105dc3947&raw > > > > > > added the following strings: > > > > > > CANCEL: "Cancel", > > > CHAT_TITLE_VOL_MINUS: "Volume -", > > > > > > CHAT_TITLE_VOL_PLUS: "Volume +", > > > > > > CHAT_TITLE_GAIN_MINUS: "Gain -", > > > > > > CHAT_TITLE_GAIN_PLUS: "Gain +", > > > > > > CHAT_VOL_MINUS: "Vol -", > > > > > > CHAT_VOL_PLUS: "Vol +", > > > > > > CHAT_GAIN_MINUS: "Gain -", > > > > > > CHAT_GAIN_PLUS: "Gain +" > > > > > > > > > > > > > > > we now have, English, French, Portuguese, Italian. Ready for any other languages you have for us. > > > > > > Mike > > > > > > > > > > On Mar 29, 2016, at 5:39 PM, ?talo Rossi wrote: > > > > Thank you! > > > > > > > > Added in master. > > > > ?talo Rossi > > > > italo at freeswitch.org (mailto:italo at freeswitch.org) > > > > IRC chat.freenode.net (http://chat.freenode.net) #freeswitch #freeswitch-dev > > > > Bugs? https://freeswitch.org/jira > > > > Docs? https://freeswitch.org/jira > > > > Chat? https://hipchat.freeswitch.org/gUdAgy0m6 > > > > > > > > > > > > On Mar 29 2016, at 6:05 pm, Bote Man wrote: > > > > > Surely, being French you should cook it, no? > > > > > > > > > > > > > > > > > > > > Bote > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: Tristan Mah? > > > > > Sent: Tuesday, 29 March, 2016 16:55 > > > > > Subject: Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. > > > > > > > > > > > > > > > > > > > > > > > > > Hi Michael, > > > > > > > > > > Here you have, raw french translation. > > > > > > > > > > On 03/29/2016 01:15 PM, Michael Jerris wrote: > > > > > > > > > > > Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > 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/20160330/e6a104c0/attachment-0001.html From servtelar at gmail.com Wed Mar 30 07:59:53 2016 From: servtelar at gmail.com (servtelar at gmail.com) Date: Wed, 30 Mar 2016 00:59:53 -0300 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> Message-ID: Tomorrow I will work on Spanish. Gustavo > On Mar 29, 2016, at 18:54, Michael Jerris wrote: > > A few new strings added.. updated file: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba276944105dc3947&raw > > added the following strings: > > CANCEL: "Cancel", > CHAT_TITLE_VOL_MINUS: "Volume -", > CHAT_TITLE_VOL_PLUS: "Volume +", > CHAT_TITLE_GAIN_MINUS: "Gain -", > CHAT_TITLE_GAIN_PLUS: "Gain +", > CHAT_VOL_MINUS: "Vol -", > CHAT_VOL_PLUS: "Vol +", > CHAT_GAIN_MINUS: "Gain -", > CHAT_GAIN_PLUS: "Gain +" > > > we now have, English, French, Portuguese, Italian. Ready for any other languages you have for us. > > Mike > > >> On Mar 29, 2016, at 5:39 PM, ?talo Rossi wrote: >> >> Thank you! >> >> Added in master. >> >> ?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 29 2016, at 6:05 pm, Bote Man wrote: >>> Surely, being French you should cook it, no? >>> >>> Bote >>> >>> >>> From: Tristan Mah? >>> Sent: Tuesday, 29 March, 2016 16:55 >>> Subject: Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. >>> >>> Hi Michael, >>> >>> Here you have, raw french translation. >>> >>> On 03/29/2016 01:15 PM, Michael Jerris wrote: >>> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >>> >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw >>> >>> If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >>> >>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/593ab3f7/attachment.html From rutu.patel at inextrix.com Wed Mar 30 08:36:49 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Wed, 30 Mar 2016 10:06:49 +0530 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: <02af01d188d4$c1085c90$431915b0$@botecomm.com> Message-ID: Hi Michael, Thanks for reply. Can you please elaborate little how can shared registration work with mod_verto for multiple freeswitch servers ? -- Thanks, Rutu Patel On Mon, Mar 28, 2016 at 5:16 PM, Michael Jerris wrote: > Like sip over websockets, calls back to a registered verto endpoint must > be done on the server that receives the registration as it must be made > over the open websockets. > > > On Monday, March 28, 2016, Rutu Patel wrote: > >> Hi Bote, >> >> Is there any way to share verto registration as we can do with SIP >> registrations ? >> >> -- >> Thanks, >> Rutu Patel >> >> >> >> On Mon, Mar 28, 2016 at 3:02 PM, Bote Man >> wrote: >> >>> As Verto is not SIP, would Verto registrations even appear in the >>> sip_registration table? >>> >>> >>> >>> Perhaps you are using or looking in the wrong table? >>> >>> >>> >>> >>> >>> --- >>> >>> Bote >>> >>> FreeSWITCH Docs Janitor >>> >>> http://freeswitch.org/confluence >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *From:* Rutu Patel >>> *Sent:* Monday, 28 March, 2016 03:06 >>> *Subject:* Re: [Freeswitch-users] Verto client on different server than >>> freeswitch >>> >>> >>> >>> Can anyone please assist for shared connection of verto users ? >>> >>> >>> -- >>> Thanks, >>> Rutu Patel >>> >>> >>> >>> On Sat, Mar 26, 2016 at 12:29 PM, Rutu Patel >>> wrote: >>> >>> Hi Gregor, >>> >>> Thanks for quick reply. >>> >>> We have sip_registration table for shared database between two >>> freeswitch servers. >>> >>> But there is no entry of registered verto user in that table. >>> >>> We have two freeswitch servers 192.168.1.10 and 192.168.1.11. >>> >>> Now if we register one user(1000) on .10 and run >>> >>> freeswitch at internal> verto_contact 1000 at 192.168.1.10 >>> freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g >>> >>> it shows as registered. >>> >>> But when we run same command on .11 it says error/user_not_registered.We >>> want to share the registration between two freeswitch. >>> >>> -- >>> Thanks, >>> Rutu Patel >>> >>> >>> >>> On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger >>> wrote: >>> >>> We are using using xml_curl for sharing registrations and it works also >>> with mod_verto. >>> >>> I think it should also work in your scenario. Registration is >>> registration, it doesn't matter where it comes. >>> >>> Do you have problems with your scenario? >>> >>> >>> >>> On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: >>> >>> Hi, >>> >>> We are using 2 freeswitch servers with mod_verto implemented. >>> >>> >>> We have web client verto demo on different server than freeswitch server. >>> >>> For sofia registrations we use shared database using odbc connection. >>> >>> >>> >>> Is it possible to use shared database concept with verto registration or >>> is there any other way to achieve this ? >>> >>> -- >>> Thanks, >>> Rutu Patel >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160330/393fd99d/attachment-0001.html From ahabiba at gmail.com Wed Mar 30 09:44:08 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Wed, 30 Mar 2016 08:44:08 +0300 Subject: [Freeswitch-users] Ringing don't exist Message-ID: <7684C217-DE00-4BCD-8E18-5E805C9CC58C@gmail.com> Hi, the configuration you did will not generate any 180/183, as per your configuration you answer immediately once you get invite, if you are trying something like ring-back-tone you can try the below, this will allow some music to play while the other phone is ringing Thanks, Ahmed Habiba. From: amani mansour > Subject: Re: [Freeswitch-users] Ringing don't exist Date: March 30, 2016 at 12:12:43 AM GMT+3 To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > Hi Mr Bote the problem is not in the number look when i do in fs_cli : sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 but only 1000 is configured by softphone 1011 : i did it using external gateway when i dial 1011 from the softphene where registred the number 1000 ,, so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i want to call the number 1000 only when it ring (180) or the method progress sesiion arrive i listen a short music example titris music now i receive the all methodes done well also i listen the music but i dont receive the method nor 180 nor 183 can you help me please with regards amani 2016-03-29 21:56 GMT+01:00 Bote Man >: Any device or soft phone that you want to register to FS should have its own entry in conf/directory/default/*.xml This contains its authentication ID and password to register it to FreeSWITCH. Then you need an entry in conf/dialplan/default.xml or other dialplan that tells FS how to route that number. The Vanilla configuration files available for FS come with directory files for users 1000.xml through 1019.xml and a default dialplan entry that calls 1000-1019. So it will not know how to route 600 nor 423 until you add routes for those numbers in the dialplan. Or you could change 423 to 1001 and enter its credentials into 1001.xml and it should call both directions. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: amani mansour Sent: Tuesday, 29 March, 2016 16:04 Subject: Re: [Freeswitch-users] Ringing don't exist Mr i have : 1 FS A(virtual machine 1)--------------------------------------------->in my conputer i installed a soft phone ( number 1000 is regestred from the soft phone ) i did a gateway which permet to register another number 423 in freeswitch A so now i have 2 numbers registred in FS but only one is regestred by the soft phone i want to dial 423 from the soft phone 1000 normally the call will be done normally ) but i don't have the methode ring i wish that i have well describe the problem t thank you sir ,i wish you can help me best regards amani 2016-03-29 17:58 GMT+01:00 Michael Jerris >: What device is not sending the 180? why is it not sending it? On Mar 29, 2016, at 12:19 PM, amani mansour > wrote: yes i know mr Brian ,in fact i asked why ? 2016-03-29 17:14 GMT+01:00 Brian West >: There is no 180/183 in there, just a 200OK /b On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > wrote: Hi, I need to make a call from my soft phone to another freeswitch ,when the call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) and after the ring is done to the freeswitch i will listen for example a song ,for that i make an external gateway ,but the step "ringing or progress session " is not estableshed i need to call the extension 600 ? thanks with regards amani _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160330/acacf810/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/acacf810/attachment-0001.tiff From amani.mansour2 at gmail.com Wed Mar 30 11:02:13 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 08:02:13 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: <7684C217-DE00-4BCD-8E18-5E805C9CC58C@gmail.com> References: <7684C217-DE00-4BCD-8E18-5E805C9CC58C@gmail.com> Message-ID: Good morning Mr Ahmed , Thank you sir , i modifie the ring back but no change in the tcpdumps but I think (probably sure) that the problem is in the bridge : i don't know what i must set in data = user/ ... or sofia/gateway/... remarque that the extension 600 is registred when i added an external gateway like this : sip-sofia/external 2016-03-30 6:44 GMT+01:00 Ahmed habiba : > Hi, > > the configuration you did will not generate any 180/183, as per your > configuration you answer immediately once you get invite, if you are trying > something like ring-back-tone you can try the below, this will allow some > music to play while the other phone is ringing > > > > > > > > Thanks, > > Ahmed Habiba. > > *From: *amani mansour > *Subject: **Re: [Freeswitch-users] Ringing don't exist* > *Date: *March 30, 2016 at 12:12:43 AM GMT+3 > *To: *FreeSWITCH Users Help > *Reply-To: *FreeSWITCH Users Help > > > Hi Mr Bote the problem is not in the number look when i do in fs_cli : > sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 > but only 1000 is configured by softphone > 1011 : i did it using external gateway > when i dial 1011 from the softphene where registred the number 1000 ,, so > the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i > want to call the number 1000 only when it ring (180) or the method progress > sesiion arrive i listen a short music example titris music now i receive > the all methodes done well also i listen the music but i dont receive the > method nor 180 nor 183 > > can you help me please > > > with regards > amani > > 2016-03-29 21:56 GMT+01:00 Bote Man : > >> Any device or soft phone that you want to register to FS should have its >> own entry in conf/directory/default/*.xml >> This contains its authentication ID and password to register it to >> FreeSWITCH. >> >> Then you need an entry in conf/dialplan/default.xml or other dialplan >> that tells FS how to route that number. >> >> The Vanilla configuration files available for FS come with directory >> files for users 1000.xml through 1019.xml and a default dialplan entry that >> calls 1000-1019. So it will not know how to route 600 nor 423 until you add >> routes for those numbers in the dialplan. >> >> Or you could change 423 to 1001 and enter its credentials into 1001.xml >> and it should call both directions. >> >> >> --- >> Bote >> FreeSWITCH Docs Janitor >> http://freeswitch.org/confluence >> >> >> >> >> *From:* amani mansour >> *Sent:* Tuesday, 29 March, 2016 16:04 >> *Subject:* Re: [Freeswitch-users] Ringing don't exist >> >> Mr i have : >> 1 FS A(virtual machine 1)--------------------------------------------->in >> my conputer i installed a soft phone ( number 1000 is regestred from the >> soft phone ) >> >> i did a gateway which permet to register another number 423 in freeswitch >> A >> >> so now i have 2 numbers registred in FS but only one is regestred by the >> soft phone >> >> >> i want to dial 423 from the soft phone 1000 normally the call will be >> done normally ) but i don't have the methode ring >> >> i wish that i have well describe the problem t >> >> thank you sir ,i wish you can help me >> >> >> >> best regards >> amani >> >> 2016-03-29 17:58 GMT+01:00 Michael Jerris : >> What device is not sending the 180? why is it not sending it? >> >> >> On Mar 29, 2016, at 12:19 PM, amani mansour >> wrote: >> >> yes i know mr Brian ,in fact i asked why ? >> >> 2016-03-29 17:14 GMT+01:00 Brian West : >> There is no 180/183 in there, just a 200OK >> >> /b >> >> >> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour >> wrote: >> >> Hi, >> I need to make a call from my soft phone to another freeswitch ,when the >> call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) >> and after the ring is done to the freeswitch i will listen for example a >> song ,for that i make an external gateway ,but the step "ringing or >> progress session " is not estableshed >> >> >> i need to call the extension 600 >> >> >> ? >> >> thanks >> with regards >> amani >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160330/d8d3c6b5/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/d8d3c6b5/attachment-0001.tiff From amani.mansour2 at gmail.com Wed Mar 30 11:59:50 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 08:59:50 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: <7684C217-DE00-4BCD-8E18-5E805C9CC58C@gmail.com> Message-ID: Can anyone assist me please ? Thank you. 2016-03-30 8:02 GMT+01:00 amani mansour : > Good morning Mr Ahmed , > Thank you sir , i modifie the ring back but no change in the tcpdumps > > but I think (probably sure) that the problem is in the bridge : i don't > know what i must set in data = user/ ... or sofia/gateway/... > remarque that the extension 600 is registred when i added an external > gateway like this : > sip-sofia/external > > > > > > > > > > > > 2016-03-30 6:44 GMT+01:00 Ahmed habiba : > >> Hi, >> >> the configuration you did will not generate any 180/183, as per your >> configuration you answer immediately once you get invite, if you are trying >> something like ring-back-tone you can try the below, this will allow some >> music to play while the other phone is ringing >> >> >> >> >> >> >> >> Thanks, >> >> Ahmed Habiba. >> >> *From: *amani mansour >> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >> *Date: *March 30, 2016 at 12:12:43 AM GMT+3 >> *To: *FreeSWITCH Users Help >> *Reply-To: *FreeSWITCH Users Help >> >> >> Hi Mr Bote the problem is not in the number look when i do in fs_cli : >> sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 >> but only 1000 is configured by softphone >> 1011 : i did it using external gateway >> when i dial 1011 from the softphene where registred the number 1000 ,, so >> the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i >> want to call the number 1000 only when it ring (180) or the method progress >> sesiion arrive i listen a short music example titris music now i receive >> the all methodes done well also i listen the music but i dont receive the >> method nor 180 nor 183 >> >> can you help me please >> >> >> with regards >> amani >> >> 2016-03-29 21:56 GMT+01:00 Bote Man : >> >>> Any device or soft phone that you want to register to FS should have its >>> own entry in conf/directory/default/*.xml >>> This contains its authentication ID and password to register it to >>> FreeSWITCH. >>> >>> Then you need an entry in conf/dialplan/default.xml or other dialplan >>> that tells FS how to route that number. >>> >>> The Vanilla configuration files available for FS come with directory >>> files for users 1000.xml through 1019.xml and a default dialplan entry that >>> calls 1000-1019. So it will not know how to route 600 nor 423 until you add >>> routes for those numbers in the dialplan. >>> >>> Or you could change 423 to 1001 and enter its credentials into 1001.xml >>> and it should call both directions. >>> >>> >>> --- >>> Bote >>> FreeSWITCH Docs Janitor >>> http://freeswitch.org/confluence >>> >>> >>> >>> >>> *From:* amani mansour >>> *Sent:* Tuesday, 29 March, 2016 16:04 >>> *Subject:* Re: [Freeswitch-users] Ringing don't exist >>> >>> Mr i have : >>> 1 FS A(virtual machine >>> 1)--------------------------------------------->in my conputer i installed >>> a soft phone ( number 1000 is regestred from the soft phone ) >>> >>> i did a gateway which permet to register another number 423 in >>> freeswitch A >>> >>> so now i have 2 numbers registred in FS but only one is regestred by >>> the soft phone >>> >>> >>> i want to dial 423 from the soft phone 1000 normally the call will be >>> done normally ) but i don't have the methode ring >>> >>> i wish that i have well describe the problem t >>> >>> thank you sir ,i wish you can help me >>> >>> >>> >>> best regards >>> amani >>> >>> 2016-03-29 17:58 GMT+01:00 Michael Jerris : >>> What device is not sending the 180? why is it not sending it? >>> >>> >>> On Mar 29, 2016, at 12:19 PM, amani mansour >>> wrote: >>> >>> yes i know mr Brian ,in fact i asked why ? >>> >>> 2016-03-29 17:14 GMT+01:00 Brian West : >>> There is no 180/183 in there, just a 200OK >>> >>> /b >>> >>> >>> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour < >>> amani.mansour2 at gmail.com> wrote: >>> >>> Hi, >>> I need to make a call from my soft phone to another freeswitch ,when >>> the call is established (i meant (INVITE ,OK , RINGING or Progress.dession >>> .) and after the ring is done to the freeswitch i will listen for example >>> a song ,for that i make an external gateway ,but the step "ringing or >>> progress session " is not estableshed >>> >>> >>> i need to call the extension 600 >>> >>> >>> ? >>> >>> thanks >>> with regards >>> amani >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160330/8545b4d1/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/8545b4d1/attachment-0001.tiff From miha at softnet.si Wed Mar 30 12:13:55 2016 From: miha at softnet.si (Miha) Date: Wed, 30 Mar 2016 10:13:55 +0200 Subject: [Freeswitch-users] Make current problem Message-ID: <1459325635.3297.2.camel@softnet.si> Hi trying to upgrade on fly my 1.5 version of FS but getting this: make[1]: *** [libs/libvpx/Makefile] Error 1 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2 You have mail in /var/spool/mail/root Is here any fix solution? tnx miha From s.safarov at gmail.com Wed Mar 30 12:38:07 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 30 Mar 2016 08:38:07 +0000 Subject: [Freeswitch-users] Make current problem In-Reply-To: <1459325635.3297.2.camel@softnet.si> References: <1459325635.3297.2.camel@softnet.si> Message-ID: You use old soources. Update to master http://lists.freeswitch.org/pipermail/freeswitch-users/2016-February/118847.html Also https://freeswitch.org/stash/projects/SD/repos/libvpx/browse https://freeswitch.org/stash/projects/SD/repos/libvpx/pull-requests/4/overview ??, 30 ???. 2016 ?. ? 11:14, Miha : > Hi > > trying to upgrade on fly my 1.5 version of FS but getting this: > > make[1]: *** [libs/libvpx/Makefile] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > You have mail in /var/spool/mail/root > > Is here any fix solution? > > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/87f8d6d2/attachment.html From ahabiba at gmail.com Wed Mar 30 12:40:47 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Wed, 30 Mar 2016 11:40:47 +0300 Subject: [Freeswitch-users] Ringing don't exist Message-ID: <3CFAB77C-6BE1-4D69-BBCF-8F6AF9496174@gmail.com> The only way you will get 180/183 is that there is an endpoint that take time/ or ring on the other side, but what I see it is like an Internal IVR calling with immediate response. my question why do you need to see 180/183, if so you can defined another soft phone and make it rings, what is you business case. From: amani mansour > Subject: Re: [Freeswitch-users] Ringing don't exist Date: March 30, 2016 at 10:59:50 AM GMT+3 To: Ahmed habiba >, FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > Can anyone assist me please ? Thank you. 2016-03-30 8:02 GMT+01:00 amani mansour >: Good morning Mr Ahmed , Thank you sir , i modifie the ring back but no change in the tcpdumps but I think (probably sure) that the problem is in the bridge : i don't know what i must set in data = user/ ... or sofia/gateway/... remarque that the extension 600 is registred when i added an external gateway like this : sip-sofia/external 2016-03-30 6:44 GMT+01:00 Ahmed habiba >: Hi, the configuration you did will not generate any 180/183, as per your configuration you answer immediately once you get invite, if you are trying something like ring-back-tone you can try the below, this will allow some music to play while the other phone is ringing Thanks, Ahmed Habiba. From: amani mansour > Subject: Re: [Freeswitch-users] Ringing don't exist Date: March 30, 2016 at 12:12:43 AM GMT+3 To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > Hi Mr Bote the problem is not in the number look when i do in fs_cli : sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 but only 1000 is configured by softphone 1011 : i did it using external gateway when i dial 1011 from the softphene where registred the number 1000 ,, so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i want to call the number 1000 only when it ring (180) or the method progress sesiion arrive i listen a short music example titris music now i receive the all methodes done well also i listen the music but i dont receive the method nor 180 nor 183 can you help me please with regards amani 2016-03-29 21:56 GMT+01:00 Bote Man >: Any device or soft phone that you want to register to FS should have its own entry in conf/directory/default/*.xml This contains its authentication ID and password to register it to FreeSWITCH. Then you need an entry in conf/dialplan/default.xml or other dialplan that tells FS how to route that number. The Vanilla configuration files available for FS come with directory files for users 1000.xml through 1019.xml and a default dialplan entry that calls 1000-1019. So it will not know how to route 600 nor 423 until you add routes for those numbers in the dialplan. Or you could change 423 to 1001 and enter its credentials into 1001.xml and it should call both directions. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: amani mansour Sent: Tuesday, 29 March, 2016 16:04 Subject: Re: [Freeswitch-users] Ringing don't exist Mr i have : 1 FS A(virtual machine 1)--------------------------------------------->in my conputer i installed a soft phone ( number 1000 is regestred from the soft phone ) i did a gateway which permet to register another number 423 in freeswitch A so now i have 2 numbers registred in FS but only one is regestred by the soft phone i want to dial 423 from the soft phone 1000 normally the call will be done normally ) but i don't have the methode ring i wish that i have well describe the problem t thank you sir ,i wish you can help me best regards amani 2016-03-29 17:58 GMT+01:00 Michael Jerris >: What device is not sending the 180? why is it not sending it? On Mar 29, 2016, at 12:19 PM, amani mansour > wrote: yes i know mr Brian ,in fact i asked why ? 2016-03-29 17:14 GMT+01:00 Brian West >: There is no 180/183 in there, just a 200OK /b On Tue, Mar 29, 2016 at 10:59 AM, amani mansour > wrote: Hi, I need to make a call from my soft phone to another freeswitch ,when the call is established (i meant (INVITE ,OK , RINGING or Progress.dession .) and after the ring is done to the freeswitch i will listen for example a song ,for that i make an external gateway ,but the step "ringing or progress session " is not estableshed i need to call the extension 600 ? thanks with regards amani _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160330/c5d8700f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/c5d8700f/attachment-0001.tiff From gmaruzz at gmail.com Wed Mar 30 12:44:09 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 30 Mar 2016 10:44:09 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: <1459325635.3297.2.camel@softnet.si> References: <1459325635.3297.2.camel@softnet.si> Message-ID: Check the mail. :) Ok, just joking. Vpx is now part of the FS code distribution. You can restart from /usr/src/freeswitch.git/ doing bootstrap, then configure, then make install. But i would counseil you to do this, instead: copy your /usr/local/freeswitch/conf directory away, and save.also any script, or any other customization you have made. Then delete /usr/src/freeswitch.git directory and restart cloning then compiling from scratch. When installed, copy your conf directory and other customizations back. sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT Il 30/Mar/2016 10:14, "Miha" ha scritto: > Hi > > trying to upgrade on fly my 1.5 version of FS but getting this: > > make[1]: *** [libs/libvpx/Makefile] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > You have mail in /var/spool/mail/root > > Is here any fix solution? > > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/d0446271/attachment.html From miha at softnet.si Wed Mar 30 13:31:00 2016 From: miha at softnet.si (Miha) Date: Wed, 30 Mar 2016 11:31:00 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: References: <1459325635.3297.2.camel@softnet.si> Message-ID: <56FB9CD4.2060908@softnet.si> ok tnx :) I manage to get further, now getting this: libs/libyuv/source/row_common.cc: In function ?void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)?: libs/libyuv/source/row_common.cc:1256: error: invalid types ?const signed char __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1257: error: invalid types ?const signed char __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1258: error: invalid types ?const signed char __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1259: error: invalid types ?const signed char __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1260: error: invalid types ?const short int __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1261: error: invalid types ?const short int __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1262: error: invalid types ?const short int __vector__[int]? for array subscript libs/libyuv/source/row_common.cc:1263: error: invalid types ?const short int __vector__[int]? for array subscript make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2 Also related with versions or this is different thing? If with version than i will do your way Giovanni. tnx miha On 30/03/2016 10:44, Giovanni Maruzzelli wrote: > > Check the mail. > > :) > > Ok, just joking. > > Vpx is now part of the FS code distribution. > > You can restart from /usr/src/freeswitch.git/ doing bootstrap, then > configure, then make install. > > But i would counseil you to do this, instead: copy your > /usr/local/freeswitch/conf directory away, and save.also any script, > or any other customization you have made. > > Then delete /usr/src/freeswitch.git directory and restart cloning then > compiling from scratch. When installed, copy your conf directory and > other customizations back. > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > > Il 30/Mar/2016 10:14, "Miha" > ha scritto: > > Hi > > trying to upgrade on fly my 1.5 version of FS but getting this: > > make[1]: *** [libs/libvpx/Makefile] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > You have mail in /var/spool/mail/root > > Is here any fix solution? > > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/544b66ec/attachment.html From gmaruzz at gmail.com Wed Mar 30 13:33:50 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 30 Mar 2016 11:33:50 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: <56FB9CD4.2060908@softnet.si> References: <1459325635.3297.2.camel@softnet.si> <56FB9CD4.2060908@softnet.si> Message-ID: same thing On Wed, Mar 30, 2016 at 11:31 AM, Miha wrote: > ok tnx :) > > I manage to get further, now getting this: > > > libs/libyuv/source/row_common.cc: In function ?void > libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const > libyuv::YuvConstants*)?: > libs/libyuv/source/row_common.cc:1256: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1257: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1258: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1259: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1260: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1261: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1262: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1263: error: invalid types ?const short > int __vector__[int]? for array subscript > make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > > > Also related with versions or this is different thing? If with version > than i will do your way Giovanni. > > > tnx > miha > > > On 30/03/2016 10:44, Giovanni Maruzzelli wrote: > > Check the mail. > > :) > > Ok, just joking. > > Vpx is now part of the FS code distribution. > > You can restart from /usr/src/freeswitch.git/ doing bootstrap, then > configure, then make install. > > But i would counseil you to do this, instead: copy your > /usr/local/freeswitch/conf directory away, and save.also any script, or any > other customization you have made. > > Then delete /usr/src/freeswitch.git directory and restart cloning then > compiling from scratch. When installed, copy your conf directory and other > customizations back. > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > Il 30/Mar/2016 10:14, "Miha" < miha at softnet.si> ha > scritto: > >> Hi >> >> trying to upgrade on fly my 1.5 version of FS but getting this: >> >> make[1]: *** [libs/libvpx/Makefile] Error 1 >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> make: *** [current] Error 2 >> You have mail in /var/spool/mail/root >> >> Is here any fix solution? >> >> >> >> tnx >> miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/47e96336/attachment-0001.html From 568691 at gmail.com Wed Mar 30 13:53:39 2016 From: 568691 at gmail.com (Alexandru Covalschi) Date: Wed, 30 Mar 2016 12:53:39 +0300 Subject: [Freeswitch-users] json_cdr url separator Message-ID: How can I send json to multiple servers simultaneously using json_cdr? -- Alexandru Covalschi ABRISS-Solutions VoIP engineer and system administrator tel: +37367398493 web: http://abriss.solutions/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/95c2073b/attachment.html From alex at teclan.com.br Wed Mar 30 15:36:38 2016 From: alex at teclan.com.br (Alex Pierry) Date: Wed, 30 Mar 2016 11:36:38 +0000 Subject: [Freeswitch-users] Attended Transfer with one-way audio In-Reply-To: References: <04cb01d189e5$7792f1d0$66b8d570$@botecomm.com> , Message-ID: Ok Brian, as you can see I'm not a SIP specialized. But I did the same test using att_xfer and the behaviour was exactly the same. But nevermind, I posted this topic to see if someone has passed by this situation. By the replies I think nobody. It should be some stupid thing I'm doing. Let me come back to the logs. Thanks, Alex. ________________________________ De: freeswitch-users-bounces at lists.freeswitch.org em nome de Brian West Enviado: ter?a-feira, 29 de mar?o de 2016 19:36 Para: FreeSWITCH Users Help Assunto: Re: [Freeswitch-users] Attended Transfer with one-way audio att_xfer in dialplan isn't the same as a sip refer. /b On Tue, Mar 29, 2016 at 1:45 PM, Alex Pierry > wrote: Hi Bote, Extension B sends a REFER event to FS that responds with a 202 Accepted and after a NOTIFY. I guess it is the same as using dialplan with att_xfer. Alex. ________________________________ De: freeswitch-users-bounces at lists.freeswitch.org > em nome de Bote Man > Enviado: ter?a-feira, 29 de mar?o de 2016 15:04 Para: 'FreeSWITCH Users Help' Assunto: Re: [Freeswitch-users] Attended Transfer with one-way audio What does the Flash key do in SIP? Bote From: Alex Pierry Sent: Tuesday, 29 March, 2016 08:25 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Attended Transfer with one-way audio Hi All, I'm facing a strange behaviour in FS after a Attended Transfer. For the A leg listen the C leg, C needs to press some DTMF key. Otherwise only C leg can listen A leg. ... An important point is that all transfers are made pressing "Flash" key in SIP Phone not by att_xfer in Dialplan. So, any clue to start? Thank you, Alex. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 [http://billing.freeswitch.org/templates/default/img/whmcslogo.png] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu 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/20160330/a7f720cc/attachment.html From mike at jerris.com Wed Mar 30 16:23:41 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 30 Mar 2016 08:23:41 -0400 Subject: [Freeswitch-users] Verto client on different server than freeswitch In-Reply-To: References: <02af01d188d4$c1085c90$431915b0$@botecomm.com> Message-ID: You can not share a socket connection between multiple servers. That's not how sockets work. Because of that, neither sip over websockets or verto registrations can be shared, you need to send the call through the server it's registered to in order to reach the client. On Wednesday, March 30, 2016, Rutu Patel wrote: > Hi Michael, > > Thanks for reply. > > Can you please elaborate little how can shared registration work with > mod_verto for multiple freeswitch servers ? > > -- > Thanks, > Rutu Patel > > On Mon, Mar 28, 2016 at 5:16 PM, Michael Jerris > wrote: > >> Like sip over websockets, calls back to a registered verto endpoint must >> be done on the server that receives the registration as it must be made >> over the open websockets. >> >> >> On Monday, March 28, 2016, Rutu Patel > > wrote: >> >>> Hi Bote, >>> >>> Is there any way to share verto registration as we can do with SIP >>> registrations ? >>> >>> -- >>> Thanks, >>> Rutu Patel >>> >>> >>> >>> On Mon, Mar 28, 2016 at 3:02 PM, Bote Man >>> wrote: >>> >>>> As Verto is not SIP, would Verto registrations even appear in the >>>> sip_registration table? >>>> >>>> >>>> >>>> Perhaps you are using or looking in the wrong table? >>>> >>>> >>>> >>>> >>>> >>>> --- >>>> >>>> Bote >>>> >>>> FreeSWITCH Docs Janitor >>>> >>>> http://freeswitch.org/confluence >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *From:* Rutu Patel >>>> *Sent:* Monday, 28 March, 2016 03:06 >>>> *Subject:* Re: [Freeswitch-users] Verto client on different server >>>> than freeswitch >>>> >>>> >>>> >>>> Can anyone please assist for shared connection of verto users ? >>>> >>>> >>>> -- >>>> Thanks, >>>> Rutu Patel >>>> >>>> >>>> >>>> On Sat, Mar 26, 2016 at 12:29 PM, Rutu Patel >>>> wrote: >>>> >>>> Hi Gregor, >>>> >>>> Thanks for quick reply. >>>> >>>> We have sip_registration table for shared database between two >>>> freeswitch servers. >>>> >>>> But there is no entry of registered verto user in that table. >>>> >>>> We have two freeswitch servers 192.168.1.10 and 192.168.1.11. >>>> >>>> Now if we register one user(1000) on .10 and run >>>> >>>> freeswitch at internal> verto_contact 1000 at 192.168.1.10 >>>> freeswitch at internal> verto.rtc/u:74a87202-c5cc-88ad-c6b7-593dbd7s4w8g >>>> >>>> it shows as registered. >>>> >>>> But when we run same command on .11 it says >>>> error/user_not_registered.We want to share the registration between two >>>> freeswitch. >>>> >>>> -- >>>> Thanks, >>>> Rutu Patel >>>> >>>> >>>> >>>> On Sat, Mar 26, 2016 at 12:02 PM, Gregor Nanger >>>> wrote: >>>> >>>> We are using using xml_curl for sharing registrations and it works also >>>> with mod_verto. >>>> >>>> I think it should also work in your scenario. Registration is >>>> registration, it doesn't matter where it comes. >>>> >>>> Do you have problems with your scenario? >>>> >>>> >>>> >>>> On Sat, Mar 26, 2016, 06:46 Rutu Patel wrote: >>>> >>>> Hi, >>>> >>>> We are using 2 freeswitch servers with mod_verto implemented. >>>> >>>> >>>> We have web client verto demo on different server than freeswitch >>>> server. >>>> >>>> For sofia registrations we use shared database using odbc connection. >>>> >>>> >>>> >>>> Is it possible to use shared database concept with verto registration >>>> or is there any other way to achieve this ? >>>> >>>> -- >>>> Thanks, >>>> Rutu Patel >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160330/7d9c08a2/attachment-0001.html From mike at jerris.com Wed Mar 30 16:25:12 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 30 Mar 2016 08:25:12 -0400 Subject: [Freeswitch-users] Make current problem In-Reply-To: <56FB9CD4.2060908@softnet.si> References: <1459325635.3297.2.camel@softnet.si> <56FB9CD4.2060908@softnet.si> Message-ID: I've seen this error when using older toolchain On Wednesday, March 30, 2016, Miha wrote: > ok tnx :) > > I manage to get further, now getting this: > > > libs/libyuv/source/row_common.cc: In function ?void > libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const > libyuv::YuvConstants*)?: > libs/libyuv/source/row_common.cc:1256: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1257: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1258: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1259: error: invalid types ?const signed > char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1260: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1261: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1262: error: invalid types ?const short > int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1263: error: invalid types ?const short > int __vector__[int]? for array subscript > make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > > > Also related with versions or this is different thing? If with version > than i will do your way Giovanni. > > > tnx > miha > > On 30/03/2016 10:44, Giovanni Maruzzelli wrote: > > Check the mail. > > :) > > Ok, just joking. > > Vpx is now part of the FS code distribution. > > You can restart from /usr/src/freeswitch.git/ doing bootstrap, then > configure, then make install. > > But i would counseil you to do this, instead: copy your > /usr/local/freeswitch/conf directory away, and save.also any script, or any > other customization you have made. > > Then delete /usr/src/freeswitch.git directory and restart cloning then > compiling from scratch. When installed, copy your conf directory and other > customizations back. > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > Il 30/Mar/2016 10:14, "Miha" < > miha at softnet.si > > ha scritto: > >> Hi >> >> trying to upgrade on fly my 1.5 version of FS but getting this: >> >> make[1]: *** [libs/libvpx/Makefile] Error 1 >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> make: *** [current] Error 2 >> You have mail in /var/spool/mail/root >> >> Is here any fix solution? >> >> >> >> tnx >> miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/750381de/attachment.html From netson99 at gmail.com Wed Mar 30 09:16:53 2016 From: netson99 at gmail.com (Thomas Triadi) Date: Wed, 30 Mar 2016 12:16:53 +0700 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: Hi Michael, Here is Indonesian translation. - Thomas Triadi Thomas Triadi --------------------- --- on the net --- On Wed, Mar 30, 2016 at 3:15 AM, Michael Jerris wrote: > Just committed into tree is internationalization of Verto Communicator, so > far, just English and Italian. If you speak another language, we need your > help to translate these into other languages. The file that needs to be > translated is: > > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw > > If you can assist with this, Please make a new file named > locale-language.json (where "language" is the 2 letter code for your > language) and translate all the text in quotes to the right thing for your > language and send them back our way. Lets see how quickly we can crowd > source this > > 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/20160330/5fc19787/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: locale-id.json Type: application/json Size: 6148 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/5fc19787/attachment-0001.bin From amani.mansour2 at gmail.com Wed Mar 30 12:51:31 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 09:51:31 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: <3CFAB77C-6BE1-4D69-BBCF-8F6AF9496174@gmail.com> References: <3CFAB77C-6BE1-4D69-BBCF-8F6AF9496174@gmail.com> Message-ID: in my application i need to test a call for example in a distant FS so from my FS server through gateway that i configure i will configure and register a test number in the other FS what i need to see that the call is estableshed well ( so i would like to see the progress session) after 2 or 3 second i pass to listen a music [image: Images int?gr?es 2] I don't know why extension 600 to 600 is canceled [image: Images int?gr?es 1] 2016-03-30 9:40 GMT+01:00 Ahmed habiba : > The only way you will get 180/183 is that there is an endpoint that take > time/ or ring on the other side, but what I see it is like an Internal IVR > calling with immediate response. > > my question why do you need to see 180/183, if so you can defined another > soft phone and make it rings, what is you business case. > > > *From: *amani mansour > *Subject: **Re: [Freeswitch-users] Ringing don't exist* > *Date: *March 30, 2016 at 10:59:50 AM GMT+3 > *To: *Ahmed habiba , FreeSWITCH Users Help < > freeswitch-users at lists.freeswitch.org> > *Reply-To: *FreeSWITCH Users Help > > > Can anyone assist me please ? Thank you. > > 2016-03-30 8:02 GMT+01:00 amani mansour : > >> Good morning Mr Ahmed , >> Thank you sir , i modifie the ring back but no change in the tcpdumps >> >> but I think (probably sure) that the problem is in the bridge : i don't >> know what i must set in data = user/ ... or sofia/gateway/... >> remarque that the extension 600 is registred when i added an external >> gateway like this : >> sip-sofia/external >> >> >> >> >> >> >> >> >> >> >> >> 2016-03-30 6:44 GMT+01:00 Ahmed habiba : >> >>> Hi, >>> >>> the configuration you did will not generate any 180/183, as per your >>> configuration you answer immediately once you get invite, if you are trying >>> something like ring-back-tone you can try the below, this will allow some >>> music to play while the other phone is ringing >>> >>> >>> >>> >>> >>> >>> >>> Thanks, >>> >>> Ahmed Habiba. >>> >>> *From: *amani mansour >>> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >>> *Date: *March 30, 2016 at 12:12:43 AM GMT+3 >>> *To: *FreeSWITCH Users Help >>> *Reply-To: *FreeSWITCH Users Help >> > >>> >>> >>> Hi Mr Bote the problem is not in the number look when i do in fs_cli : >>> sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 >>> but only 1000 is configured by softphone >>> 1011 : i did it using external gateway >>> when i dial 1011 from the softphene where registred the number 1000 ,, >>> so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i >>> want to call the number 1000 only when it ring (180) or the method progress >>> sesiion arrive i listen a short music example titris music now i receive >>> the all methodes done well also i listen the music but i dont receive the >>> method nor 180 nor 183 >>> >>> can you help me please >>> >>> >>> with regards >>> amani >>> >>> 2016-03-29 21:56 GMT+01:00 Bote Man : >>> >>>> Any device or soft phone that you want to register to FS should have >>>> its own entry in conf/directory/default/*.xml >>>> This contains its authentication ID and password to register it to >>>> FreeSWITCH. >>>> >>>> Then you need an entry in conf/dialplan/default.xml or other dialplan >>>> that tells FS how to route that number. >>>> >>>> The Vanilla configuration files available for FS come with directory >>>> files for users 1000.xml through 1019.xml and a default dialplan entry that >>>> calls 1000-1019. So it will not know how to route 600 nor 423 until you add >>>> routes for those numbers in the dialplan. >>>> >>>> Or you could change 423 to 1001 and enter its credentials into 1001.xml >>>> and it should call both directions. >>>> >>>> >>>> --- >>>> Bote >>>> FreeSWITCH Docs Janitor >>>> http://freeswitch.org/confluence >>>> >>>> >>>> >>>> >>>> *From:* amani mansour >>>> *Sent:* Tuesday, 29 March, 2016 16:04 >>>> *Subject:* Re: [Freeswitch-users] Ringing don't exist >>>> >>>> Mr i have : >>>> 1 FS A(virtual machine >>>> 1)--------------------------------------------->in my conputer i installed >>>> a soft phone ( number 1000 is regestred from the soft phone ) >>>> >>>> i did a gateway which permet to register another number 423 in >>>> freeswitch A >>>> >>>> so now i have 2 numbers registred in FS but only one is regestred by >>>> the soft phone >>>> >>>> >>>> i want to dial 423 from the soft phone 1000 normally the call will be >>>> done normally ) but i don't have the methode ring >>>> >>>> i wish that i have well describe the problem t >>>> >>>> thank you sir ,i wish you can help me >>>> >>>> >>>> >>>> best regards >>>> amani >>>> >>>> 2016-03-29 17:58 GMT+01:00 Michael Jerris : >>>> What device is not sending the 180? why is it not sending it? >>>> >>>> >>>> On Mar 29, 2016, at 12:19 PM, amani mansour >>>> wrote: >>>> >>>> yes i know mr Brian ,in fact i asked why ? >>>> >>>> 2016-03-29 17:14 GMT+01:00 Brian West : >>>> There is no 180/183 in there, just a 200OK >>>> >>>> /b >>>> >>>> >>>> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour < >>>> amani.mansour2 at gmail.com> wrote: >>>> >>>> Hi, >>>> I need to make a call from my soft phone to another freeswitch ,when >>>> the call is established (i meant (INVITE ,OK , RINGING or Progress.dession >>>> .) and after the ring is done to the freeswitch i will listen for example >>>> a song ,for that i make an external gateway ,but the step "ringing or >>>> progress session " is not estableshed >>>> >>>> >>>> i need to call the extension 600 >>>> >>>> >>>> ? >>>> >>>> thanks >>>> with regards >>>> amani >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/9700ca67/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/9700ca67/attachment-0001.tiff -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 155763 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/9700ca67/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 33798 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/9700ca67/attachment-0003.png From ahabiba at gmail.com Wed Mar 30 13:46:04 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Wed, 30 Mar 2016 12:46:04 +0300 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: <3CFAB77C-6BE1-4D69-BBCF-8F6AF9496174@gmail.com> Message-ID: Why don't u think of below option [softphone1]<--->[freeswitch1]<---IMT--->[freeswitch2]<---->[softphone2] IMT is the way to connect two freeswitch boxes together https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/3965705 The above scenario will allow you to test rel call scenario between two phones on different FS instances On Wednesday, March 30, 2016, amani mansour wrote: > in my application i need to test a call for example in a distant FS so > from my FS server through gateway that i configure i will configure and > register a test number in the other FS what i need to see that the call is > estableshed well ( so i would like to see the progress session) after 2 or > 3 second i pass to listen a music > > [image: Images int?gr?es 2] > > I don't know why extension 600 to 600 is canceled > [image: Images int?gr?es 1] > > > 2016-03-30 9:40 GMT+01:00 Ahmed habiba >: > >> The only way you will get 180/183 is that there is an endpoint that take >> time/ or ring on the other side, but what I see it is like an Internal IVR >> calling with immediate response. >> >> my question why do you need to see 180/183, if so you can defined another >> soft phone and make it rings, what is you business case. >> >> >> *From: *amani mansour > > >> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >> *Date: *March 30, 2016 at 10:59:50 AM GMT+3 >> *To: *Ahmed habiba > >, FreeSWITCH Users >> Help > > >> *Reply-To: *FreeSWITCH Users Help > > >> >> >> Can anyone assist me please ? Thank you. >> >> 2016-03-30 8:02 GMT+01:00 amani mansour > >: >> >>> Good morning Mr Ahmed , >>> Thank you sir , i modifie the ring back but no change in the tcpdumps >>> >>> but I think (probably sure) that the problem is in the bridge : i don't >>> know what i must set in data = user/ ... or sofia/gateway/... >>> remarque that the extension 600 is registred when i added an external >>> gateway like this : >>> sip-sofia/external >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> 2016-03-30 6:44 GMT+01:00 Ahmed habiba >> >: >>> >>>> Hi, >>>> >>>> the configuration you did will not generate any 180/183, as per your >>>> configuration you answer immediately once you get invite, if you are trying >>>> something like ring-back-tone you can try the below, this will allow some >>>> music to play while the other phone is ringing >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Thanks, >>>> >>>> Ahmed Habiba. >>>> >>>> *From: *amani mansour >>> > >>>> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >>>> *Date: *March 30, 2016 at 12:12:43 AM GMT+3 >>>> *To: *FreeSWITCH Users Help >>> >>>> > >>>> *Reply-To: *FreeSWITCH Users Help < >>>> freeswitch-users at lists.freeswitch.org >>>> >>>> > >>>> >>>> >>>> Hi Mr Bote the problem is not in the number look when i do in fs_cli : >>>> sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 >>>> but only 1000 is configured by softphone >>>> 1011 : i did it using external gateway >>>> when i dial 1011 from the softphene where registred the number 1000 ,, >>>> so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i >>>> want to call the number 1000 only when it ring (180) or the method progress >>>> sesiion arrive i listen a short music example titris music now i receive >>>> the all methodes done well also i listen the music but i dont receive the >>>> method nor 180 nor 183 >>>> >>>> can you help me please >>>> >>>> >>>> with regards >>>> amani >>>> >>>> 2016-03-29 21:56 GMT+01:00 Bote Man >>> >: >>>> >>>>> Any device or soft phone that you want to register to FS should have >>>>> its own entry in conf/directory/default/*.xml >>>>> This contains its authentication ID and password to register it to >>>>> FreeSWITCH. >>>>> >>>>> Then you need an entry in conf/dialplan/default.xml or other dialplan >>>>> that tells FS how to route that number. >>>>> >>>>> The Vanilla configuration files available for FS come with directory >>>>> files for users 1000.xml through 1019.xml and a default dialplan entry that >>>>> calls 1000-1019. So it will not know how to route 600 nor 423 until you add >>>>> routes for those numbers in the dialplan. >>>>> >>>>> Or you could change 423 to 1001 and enter its credentials into >>>>> 1001.xml and it should call both directions. >>>>> >>>>> >>>>> --- >>>>> Bote >>>>> FreeSWITCH Docs Janitor >>>>> http://freeswitch.org/confluence >>>>> >>>>> >>>>> >>>>> >>>>> *From:* amani mansour >>>>> *Sent:* Tuesday, 29 March, 2016 16:04 >>>>> *Subject:* Re: [Freeswitch-users] Ringing don't exist >>>>> >>>>> Mr i have : >>>>> 1 FS A(virtual machine >>>>> 1)--------------------------------------------->in my conputer i installed >>>>> a soft phone ( number 1000 is regestred from the soft phone ) >>>>> >>>>> i did a gateway which permet to register another number 423 in >>>>> freeswitch A >>>>> >>>>> so now i have 2 numbers registred in FS but only one is regestred by >>>>> the soft phone >>>>> >>>>> >>>>> i want to dial 423 from the soft phone 1000 normally the call will be >>>>> done normally ) but i don't have the methode ring >>>>> >>>>> i wish that i have well describe the problem t >>>>> >>>>> thank you sir ,i wish you can help me >>>>> >>>>> >>>>> >>>>> best regards >>>>> amani >>>>> >>>>> 2016-03-29 17:58 GMT+01:00 Michael Jerris >>>> >: >>>>> What device is not sending the 180? why is it not sending it? >>>>> >>>>> >>>>> On Mar 29, 2016, at 12:19 PM, amani mansour >>>> > wrote: >>>>> >>>>> yes i know mr Brian ,in fact i asked why ? >>>>> >>>>> 2016-03-29 17:14 GMT+01:00 Brian West >>>> >: >>>>> There is no 180/183 in there, just a 200OK >>>>> >>>>> /b >>>>> >>>>> >>>>> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour < >>>>> amani.mansour2 at gmail.com >>>>> > wrote: >>>>> >>>>> Hi, >>>>> I need to make a call from my soft phone to another freeswitch ,when >>>>> the call is established (i meant (INVITE ,OK , RINGING or Progress.dession >>>>> .) and after the ring is done to the freeswitch i will listen for example >>>>> a song ,for that i make an external gateway ,but the step "ringing or >>>>> progress session " is not estableshed >>>>> >>>>> >>>>> i need to call the extension 600 >>>>> >>>>> >>>>> ? >>>>> >>>>> thanks >>>>> with regards >>>>> amani >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> > > -- Thanks and Best Regards, Ahmed Habiba Mob: +20 10 37 82 970 *Success: believe (Vision) plus commitment (Action)* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/7655346a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 155763 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/7655346a/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 33798 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/7655346a/attachment-0003.png -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/7655346a/attachment-0001.tiff From murat.knecht at googlemail.com Wed Mar 30 14:35:15 2016 From: murat.knecht at googlemail.com (Murat Knecht) Date: Wed, 30 Mar 2016 18:35:15 +0800 Subject: [Freeswitch-users] Routing outbound calls to user extension Message-ID: <56FBABE3.4000608@googlemail.com> Hello, I want to route outbound calls to my user-extension-connected softphone, and would like to know which mechanism to use. The IVR system I develop makes calls and then reacts to keypresses (reverse DTMF). For testing purposes, I'd like to route those outbound calls to my softphone ? the advantage of that is that the IVR system can remain unchanged, calling numbers in the US or Philippines, while I still test with my local softphone. Regarding my setup, I have a FS 1.2.24 with two softphones connected as user extensions 1001 and 1002. Calling between those phones works, and I can originate calls to them, with user/1001 for example. Then, I have an external gateway ?lan? and a dialplan setup, which I want to use to originate calls from the IVR (those are just the default configs, as they should not matter, except the bridge / routing config inside). If I do a call to a Philippines number: originate sofia/external/lan/639123298392 &echo() Currently, this gives me: [WARNING] mod_sofia.c:5089 Cannot locate registered user lan/63282932 at external I don't understand why an *external* number would need to or could be registered. To address my original requirement, I tried adding an unconditional bridge to user/1001 to the dialplan, which is otherwise empty. This has no effect. (Still the above error.) If I add a hostname to the number, an INVITE is sent, and then I get a different error: originate sofia/external/lan/1001 at hostname &echo() [NOTICE] sofia.c:6702 Hangup sofia/external/lan/1001 at hostname [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] My question is: How can I configure this gateway that all outbound calls are accepted (nobody needs to be registered) and are then routed to a user extension, i.e. never leave the ?local setup?? Thank you, Murat P.S.: Needed to resubscribe, sorry if this ends up duplicate. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/62c44bf3/attachment.html From dcolombo at voismart.it Wed Mar 30 16:50:59 2016 From: dcolombo at voismart.it (Davide Colombo) Date: Wed, 30 Mar 2016 14:50:59 +0200 (CEST) Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: <1035111179.26143.1459342259264.JavaMail.zimbra@voismart.it> Just fixed a typo, new json is here: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=2264885b6336b3a01764eff55e43ed370a25acee&raw ----- Messaggio originale ----- Da: "Thomas Triadi" A: "freeswitch-users" Inviato: Mercoled?, 30 marzo 2016 7:16:53 Oggetto: Re: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. Hi Michael, Here is Indonesian translation. - Thomas Triadi Thomas Triadi --------------------- --- on the net --- On Wed, Mar 30, 2016 at 3:15 AM, Michael Jerris < mike at jerris.com > wrote: Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this 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 From niranjan.kl at gmail.com Wed Mar 30 17:45:27 2016 From: niranjan.kl at gmail.com (Niranjan kl) Date: Wed, 30 Mar 2016 19:15:27 +0530 Subject: [Freeswitch-users] concurrent calls capacity planning Message-ID: We started using freeswitch for one of our products. We use esl to control calls. I am trying to come up with numbers to do capacity planning. I ran my tests on 8 core cpu 16 GB Ram server. This is on ubuntu 14.04 linux (kernel 3.13) distro on amazon web services. I used sipp to do load tests. I used freeswitch's external profile (single profile only) as I will have to deal with third party SIP trunk providers and G711 is the codec I used. When I executed 500 concurrent calls by creating 500 calls at the same time, things work fine. I see linux's load staying close to 3. When I do 1000 concurrent calls by creating 1000 calls at the same time, linux's load shoots to 75 and sometimes reaching 100. Earlier, I did the same test on 4 core 8 GB server, load shot up to 75 for 500 concurrent calls. When I searched for freeswitch installation on aws, I read that timer configuration and low latency kernel changes are recommended. But It also says it is not needed for 3.x kernel. So, Is this needed to extract good performance from hardware on aws ? Instead of adding hardware blindly, I would like to figure out is there any other way I can profile this and understand the relationship between hardware and concurrent calls number. Thanks, Niranjan KL From amani.mansour2 at gmail.com Wed Mar 30 17:48:15 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 14:48:15 +0100 Subject: [Freeswitch-users] Ringing don't exist In-Reply-To: References: <3CFAB77C-6BE1-4D69-BBCF-8F6AF9496174@gmail.com> Message-ID: thank you sir ,i do it :) with regards amani 2016-03-30 10:46 GMT+01:00 Ahmed habiba : > Why don't u think of below option > > [softphone1]<--->[freeswitch1]<---IMT--->[freeswitch2]<---->[softphone2] > > IMT is the way to connect two freeswitch boxes together > > https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/3965705 > > The above scenario will allow you to test rel call scenario between two > phones on different FS instances > > > > > On Wednesday, March 30, 2016, amani mansour > wrote: > >> in my application i need to test a call for example in a distant FS so >> from my FS server through gateway that i configure i will configure and >> register a test number in the other FS what i need to see that the call is >> estableshed well ( so i would like to see the progress session) after 2 or >> 3 second i pass to listen a music >> >> [image: Images int?gr?es 2] >> >> I don't know why extension 600 to 600 is canceled >> [image: Images int?gr?es 1] >> >> >> 2016-03-30 9:40 GMT+01:00 Ahmed habiba : >> >>> The only way you will get 180/183 is that there is an endpoint that take >>> time/ or ring on the other side, but what I see it is like an Internal IVR >>> calling with immediate response. >>> >>> my question why do you need to see 180/183, if so you can defined >>> another soft phone and make it rings, what is you business case. >>> >>> >>> *From: *amani mansour >>> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >>> *Date: *March 30, 2016 at 10:59:50 AM GMT+3 >>> *To: *Ahmed habiba , FreeSWITCH Users Help < >>> freeswitch-users at lists.freeswitch.org> >>> *Reply-To: *FreeSWITCH Users Help >> > >>> >>> >>> Can anyone assist me please ? Thank you. >>> >>> 2016-03-30 8:02 GMT+01:00 amani mansour : >>> >>>> Good morning Mr Ahmed , >>>> Thank you sir , i modifie the ring back but no change in the tcpdumps >>>> >>>> but I think (probably sure) that the problem is in the bridge : i don't >>>> know what i must set in data = user/ ... or sofia/gateway/... >>>> remarque that the extension 600 is registred when i added an external >>>> gateway like this : >>>> sip-sofia/external >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2016-03-30 6:44 GMT+01:00 Ahmed habiba : >>>> >>>>> Hi, >>>>> >>>>> the configuration you did will not generate any 180/183, as per your >>>>> configuration you answer immediately once you get invite, if you are trying >>>>> something like ring-back-tone you can try the below, this will allow some >>>>> music to play while the other phone is ringing >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> Ahmed Habiba. >>>>> >>>>> *From: *amani mansour >>>>> *Subject: **Re: [Freeswitch-users] Ringing don't exist* >>>>> *Date: *March 30, 2016 at 12:12:43 AM GMT+3 >>>>> *To: *FreeSWITCH Users Help >>>>> *Reply-To: *FreeSWITCH Users Help < >>>>> freeswitch-users at lists.freeswitch.org> >>>>> >>>>> >>>>> Hi Mr Bote the problem is not in the number look when i do in fs_cli : >>>>> sofia status internal reg ==> i have 2 numbers registred : 1000 and 1011 >>>>> but only 1000 is configured by softphone >>>>> 1011 : i did it using external gateway >>>>> when i dial 1011 from the softphene where registred the number 1000 ,, >>>>> so the number 1000 is registred in the FS NOT IN THE SOFT PHONE and now i >>>>> want to call the number 1000 only when it ring (180) or the method progress >>>>> sesiion arrive i listen a short music example titris music now i receive >>>>> the all methodes done well also i listen the music but i dont receive the >>>>> method nor 180 nor 183 >>>>> >>>>> can you help me please >>>>> >>>>> >>>>> with regards >>>>> amani >>>>> >>>>> 2016-03-29 21:56 GMT+01:00 Bote Man : >>>>> >>>>>> Any device or soft phone that you want to register to FS should have >>>>>> its own entry in conf/directory/default/*.xml >>>>>> This contains its authentication ID and password to register it to >>>>>> FreeSWITCH. >>>>>> >>>>>> Then you need an entry in conf/dialplan/default.xml or other >>>>>> dialplan that tells FS how to route that number. >>>>>> >>>>>> The Vanilla configuration files available for FS come with directory >>>>>> files for users 1000.xml through 1019.xml and a default dialplan entry that >>>>>> calls 1000-1019. So it will not know how to route 600 nor 423 until you add >>>>>> routes for those numbers in the dialplan. >>>>>> >>>>>> Or you could change 423 to 1001 and enter its credentials into >>>>>> 1001.xml and it should call both directions. >>>>>> >>>>>> >>>>>> --- >>>>>> Bote >>>>>> FreeSWITCH Docs Janitor >>>>>> http://freeswitch.org/confluence >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> *From:* amani mansour >>>>>> *Sent:* Tuesday, 29 March, 2016 16:04 >>>>>> *Subject:* Re: [Freeswitch-users] Ringing don't exist >>>>>> >>>>>> Mr i have : >>>>>> 1 FS A(virtual machine >>>>>> 1)--------------------------------------------->in my conputer i installed >>>>>> a soft phone ( number 1000 is regestred from the soft phone ) >>>>>> >>>>>> i did a gateway which permet to register another number 423 in >>>>>> freeswitch A >>>>>> >>>>>> so now i have 2 numbers registred in FS but only one is regestred by >>>>>> the soft phone >>>>>> >>>>>> >>>>>> i want to dial 423 from the soft phone 1000 normally the call will be >>>>>> done normally ) but i don't have the methode ring >>>>>> >>>>>> i wish that i have well describe the problem t >>>>>> >>>>>> thank you sir ,i wish you can help me >>>>>> >>>>>> >>>>>> >>>>>> best regards >>>>>> amani >>>>>> >>>>>> 2016-03-29 17:58 GMT+01:00 Michael Jerris : >>>>>> What device is not sending the 180? why is it not sending it? >>>>>> >>>>>> >>>>>> On Mar 29, 2016, at 12:19 PM, amani mansour >>>>>> wrote: >>>>>> >>>>>> yes i know mr Brian ,in fact i asked why ? >>>>>> >>>>>> 2016-03-29 17:14 GMT+01:00 Brian West : >>>>>> There is no 180/183 in there, just a 200OK >>>>>> >>>>>> /b >>>>>> >>>>>> >>>>>> On Tue, Mar 29, 2016 at 10:59 AM, amani mansour < >>>>>> amani.mansour2 at gmail.com> wrote: >>>>>> >>>>>> Hi, >>>>>> I need to make a call from my soft phone to another freeswitch ,when >>>>>> the call is established (i meant (INVITE ,OK , RINGING or Progress.dession >>>>>> .) and after the ring is done to the freeswitch i will listen for example >>>>>> a song ,for that i make an external gateway ,but the step "ringing or >>>>>> progress session " is not estableshed >>>>>> >>>>>> >>>>>> i need to call the extension 600 >>>>>> >>>>>> >>>>>> ? >>>>>> >>>>>> thanks >>>>>> with regards >>>>>> amani >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >> >> > > -- > Thanks and Best Regards, > > Ahmed Habiba > > Mob: +20 10 37 82 970 > > *Success: believe (Vision) plus commitment (Action)* > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/089758e1/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 33798 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/089758e1/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.tiff Type: image/tiff Size: 32050 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/089758e1/attachment-0001.tiff -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 155763 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/089758e1/attachment-0003.png From amani.mansour2 at gmail.com Wed Mar 30 17:51:49 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 14:51:49 +0100 Subject: [Freeswitch-users] play back wireshark parol Message-ID: Hi, I have a wireshark file i want to play the parol in this file like voicemail like for example : this example of tetris music with regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/dc5f6edd/attachment.html From krice at freeswitch.org Wed Mar 30 17:55:13 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 30 Mar 2016 08:55:13 -0500 Subject: [Freeswitch-users] concurrent calls capacity planning In-Reply-To: References: Message-ID: <695101d18a8b$c8fd3660$5af7a320$@freeswitch.org> Capacity planning is not something we typically do under community support, changing 1 thing can lead to wildly different (ie: orders of magnitude) performance differences... You amy want to contact consulting at freeswitch.org for assistance here as your specific end goals greatly impact how things will end up performing -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Niranjan kl Sent: Wednesday, March 30, 2016 8:45 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] concurrent calls capacity planning We started using freeswitch for one of our products. We use esl to control calls. I am trying to come up with numbers to do capacity planning. I ran my tests on 8 core cpu 16 GB Ram server. This is on ubuntu 14.04 linux (kernel 3.13) distro on amazon web services. I used sipp to do load tests. I used freeswitch's external profile (single profile only) as I will have to deal with third party SIP trunk providers and G711 is the codec I used. When I executed 500 concurrent calls by creating 500 calls at the same time, things work fine. I see linux's load staying close to 3. When I do 1000 concurrent calls by creating 1000 calls at the same time, linux's load shoots to 75 and sometimes reaching 100. Earlier, I did the same test on 4 core 8 GB server, load shot up to 75 for 500 concurrent calls. When I searched for freeswitch installation on aws, I read that timer configuration and low latency kernel changes are recommended. But It also says it is not needed for 3.x kernel. So, Is this needed to extract good performance from hardware on aws ? Instead of adding hardware blindly, I would like to figure out is there any other way I can profile this and understand the relationship between hardware and concurrent calls number. Thanks, Niranjan KL _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 pstarzyk at general-devices.com Wed Mar 30 18:17:07 2016 From: pstarzyk at general-devices.com (Piotr Starzyk) Date: Wed, 30 Mar 2016 10:17:07 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: Polish translation attached. *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael Jerris *Sent:* Tuesday, March 29, 2016 4:16 PM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/df282688/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: locale-pl.json Type: application/octet-stream Size: 13706 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/df282688/attachment-0001.obj From s.safarov at gmail.com Wed Mar 30 18:20:15 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 30 Mar 2016 14:20:15 +0000 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <56FAEBB6.10902@remote-shell.net> <051601d189fe$708e5690$51ab03b0$@botecomm.com> Message-ID: Created PR 781 . May be tool for locate new (not translated) terms is will be helpfull? ??, 30 ???. 2016 ?. ? 0:55, Michael Jerris : > A few new strings added.. updated file: > > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=beef14357f02f86420545fdba276944105dc3947&raw > > added the following strings: > > > - CANCEL: "Cancel", > - CHAT_TITLE_VOL_MINUS: "Volume -", > - CHAT_TITLE_VOL_PLUS: "Volume +", > - CHAT_TITLE_GAIN_MINUS: "Gain -", > - CHAT_TITLE_GAIN_PLUS: "Gain +", > - CHAT_VOL_MINUS: "Vol -", > - CHAT_VOL_PLUS: "Vol +", > - CHAT_GAIN_MINUS: "Gain -", > - CHAT_GAIN_PLUS: "Gain +" > > > > we now have, English, French, Portuguese, Italian. Ready for any other > languages you have for us. > > Mike > > > On Mar 29, 2016, at 5:39 PM, ?talo Rossi wrote: > > Thank you! > > Added in master. > > ?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 29 2016, at 6:05 pm, Bote Man wrote: > >> Surely, being French you should cook it, no? >> >> >> Bote >> >> >> >> >> *From:* Tristan Mah? >> *Sent:* Tuesday, 29 March, 2016 16:55 >> *Subject:* Re: [Freeswitch-users] calling all native speakers of >> languages other than english. We need your help, and this will be easy. >> >> >> >> Hi Michael, >> >> Here you have, raw french translation. >> On 03/29/2016 01:15 PM, Michael Jerris wrote: >> >> Just committed into tree is internationalization of Verto Communicator, >> so far, just English and Italian. If you speak another language, we need >> your help to translate these into other languages. The file that needs to >> be translated is: >> >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw >> >> >> If you can assist with this, Please make a new file named >> locale-language.json (where "language" is the 2 letter code for your >> language) and translate all the text in quotes to the right thing for your >> language and send them back our way. Lets see how quickly we can crowd >> source this >> >> >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/6845fa0d/attachment.html From pstarzyk at general-devices.com Wed Mar 30 18:23:08 2016 From: pstarzyk at general-devices.com (Piotr Starzyk) Date: Wed, 30 Mar 2016 10:23:08 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> Message-ID: <5d483413684beaba5b3e03df15b7ddde@mail.gmail.com> Fixed missing commas and duplicate label in Polish translation. *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael Jerris *Sent:* Tuesday, March 29, 2016 4:16 PM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/0fdbdd32/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: locale-pl.json Type: application/octet-stream Size: 13730 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/0fdbdd32/attachment-0001.obj From bote_radio at botecomm.com Wed Mar 30 19:02:39 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 30 Mar 2016 11:02:39 -0400 Subject: [Freeswitch-users] Routing outbound calls to user extension In-Reply-To: <56FBABE3.4000608@googlemail.com> References: <56FBABE3.4000608@googlemail.com> Message-ID: <00ac01d18a95$34872f90$9d958eb0$@botecomm.com> I don?t know about the gateway, but I suspect that your ?lan_pstn? dialplan entry to send all calls to 1001 is located after the gateway entry so that gets matched first; FS never gets to the ?lan_pstn? entry. This can happen if you put this in the child subdirectory which is loaded at the end of the dialplan. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Murat Knecht Sent: Wednesday, 30 March, 2016 06:35 Subject: [Freeswitch-users] Routing outbound calls to user extension Hello, I want to route outbound calls to my user-extension-connected softphone, and would like to know which mechanism to use. The IVR system I develop makes calls and then reacts to keypresses (reverse DTMF). For testing purposes, I'd like to route those outbound calls to my softphone ? the advantage of that is that the IVR system can remain unchanged, calling numbers in the US or Philippines, while I still test with my local softphone. Regarding my setup, I have a FS 1.2.24 with two softphones connected as user extensions 1001 and 1002. Calling between those phones works, and I can originate calls to them, with user/1001 for example. Then, I have an external gateway ?lan? and a dialplan setup, which I want to use to originate calls from the IVR (those are just the default configs, as they should not matter, except the bridge / routing config inside). If I do a call to a Philippines number: originate sofia/external/lan/639123298392 &echo() Currently, this gives me: [WARNING] mod_sofia.c:5089 Cannot locate registered user lan/63282932 at external I don't understand why an *external* number would need to or could be registered. To address my original requirement, I tried adding an unconditional bridge to user/1001 to the dialplan, which is otherwise empty. This has no effect. (Still the above error.) If I add a hostname to the number, an INVITE is sent, and then I get a different error: originate sofia/external/lan/1001 at hostname &echo() [NOTICE] sofia.c:6702 Hangup sofia/external/lan/1001 at hostname [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] My question is: How can I configure this gateway that all outbound calls are accepted (nobody needs to be registered) and are then routed to a user extension, i.e. never leave the ?local setup?? Thank you, Murat P.S.: Needed to resubscribe, sorry if this ends up duplicate. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/afd2f210/attachment.html From piotrek.gregor at gmail.com Wed Mar 30 19:09:42 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Wed, 30 Mar 2016 16:09:42 +0100 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Hi Abaci, after FS-8875 was merged yesterday in PR 775 I have tested avmd on your Verizon voicemail (contains 1000hz beep) and on another Voipfone voicemail (contains beep of lower frequency, 724.1914 is detected). Detection of tone works just fine while not giving many false positives in the same time. But you should note the avmd module is in beta stage so not everything is working as expected yet. In case of Verizon sometimes it gives false alarm on silence, this can be handled at this moment by adjusting avmd session parameters AVMD_SAMLPE_TO_SKIP_N increase BEEP_TIME increase SAMPLES_CONSECUTIVE_STREAK increase VARIANCE_THRESHOLD may need to decrease or starting avmd after 3 - 4 first ring tones. Regardless of this it will be treated in more generic way - by adding of estimation of amplitude. Related to this is a need for adjusting parameters on a basis of expected characteristics of incoming signal, e.g. SNR. And it should be possible to be set the settings on a per call basis. So you may wish to checkout master branch, build, test, and let us know the results. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/d732cb68/attachment.html From njhartwell at gmail.com Wed Mar 30 19:10:08 2016 From: njhartwell at gmail.com (Nathan Hartwell) Date: Wed, 30 Mar 2016 10:10:08 -0500 Subject: [Freeswitch-users] mod_erlang_event outbound timeout in FreeSWITCH 1.6 Message-ID: Hi all, I've been using mod_erlang_event outbound mode with FS 1.4 for ~1 year with no issues but am unable to get it to work on 1.6 or master (on Debian Jessie, installed from apt). When mod_erlang_event attempts to make an outbound connection to my Erlang node it errors with a timeout (relevant logs below). Inbound mode continues to work fine. I am preparing a more detailed bug report with test scripts, etc. but wanted to quickly check whether anyone else on the list has faced similar issues or has suggestions on other things to try. Thanks! Nathan Hartwell Logs: EXECUTE sofia/internal/1001 at 192.168.33.10 erlang(yacc_inbound:launch yacc-dev at localhost) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1665 enter erlang_outbound_function yacc_inbound:launch yacc-dev at localhost 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1684 Using existing listener for session 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1696 Creating new spawned session for listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1540 Added session to listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1563 rpc call: yacc_inbound:launch(Ref) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1575 Waiting for reply 9.0.0 at freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b 2016-03-29 23:27:26.765708 [WARNING] mod_erlang_event.c:1581 Timed out when waiting for outbound pid 9.0.0 at freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b Dialplan: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/38af0383/attachment.html From raphael.lechner at gmail.com Wed Mar 30 19:42:29 2016 From: raphael.lechner at gmail.com (Raphael Lechner) Date: Wed, 30 Mar 2016 17:42:29 +0200 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> Message-ID: <1789382A-32E1-4200-9BF3-5E632FBA23DF@gmail.com> Added Pull Request for the german translation: https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/783/overview > On 29 Mar 2016, at 22:44, ?talo Rossi wrote: > > If you want to do a Pull Request: > > https://freeswitch.org/confluence/display/FREESWITCH/Verto+Communicator#VertoCommunicator-Languages > and > > https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests > > ?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 29 2016, at 5:17 pm, Michael Jerris wrote: > Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw > > If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this > > 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/20160330/9202b7bf/attachment-0001.html From mike at jerris.com Wed Mar 30 20:00:54 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 30 Mar 2016 12:00:54 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <1789382A-32E1-4200-9BF3-5E632FBA23DF@gmail.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> <1789382A-32E1-4200-9BF3-5E632FBA23DF@gmail.com> Message-ID: All of the ones we have received so far are now in tree. Those include English Swedish Italian French German Polish Portugese Russian with still awaiting finished product claims on: Chinese (Seven Du) Spanish (2 offers) If you were not the original translator and want to review the ones that are in, particularly for any dialect differences we may have to address or translation mistakes... Please check out the files: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales If you are able to provide translations for other languages, please let us know. We have a few small tweaks to the code to add support for these languages and their other dialects, once thats done we will put this up somewhere where people can check out the interface for themselves and provide feedback. Its quite possible some of the strings don't fit well or layout properly in the UI, and we will need to hear about those to address them. Thanks for being such an amazing and responsive community. Mike > On Mar 30, 2016, at 11:42 AM, Raphael Lechner wrote: > > Added Pull Request for the german translation: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/783/overview > > >> On 29 Mar 2016, at 22:44, ?talo Rossi > wrote: >> >> If you want to do a Pull Request: >> >> https://freeswitch.org/confluence/display/FREESWITCH/Verto+Communicator#VertoCommunicator-Languages >> and >> >> https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests >> >> ?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 29 2016, at 5:17 pm, Michael Jerris > wrote: >> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw >> >> If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >> >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/28860c89/attachment.html From s.safarov at gmail.com Wed Mar 30 20:10:20 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 30 Mar 2016 16:10:20 +0000 Subject: [Freeswitch-users] mod_erlang_event outbound timeout in FreeSWITCH 1.6 In-Reply-To: References: Message-ID: Some time ago added IPv6 support to mod_erlang. Thinking it related to this commit. Please file a jira. I will try reproduce issue. As hotfix you may checkout mod_erlang without IPv6 support and commpile. On Wed, Mar 30, 2016, 18:11 Nathan Hartwell wrote: > Hi all, > > I've been using mod_erlang_event outbound mode with FS 1.4 for ~1 year > with no issues but am unable to get it to work on 1.6 or master (on Debian > Jessie, installed from apt). When mod_erlang_event attempts to make an > outbound connection to my Erlang node it errors with a timeout (relevant > logs below). Inbound mode continues to work fine. > > I am preparing a more detailed bug report with test scripts, etc. but > wanted to quickly check whether anyone else on the list has faced similar > issues or has suggestions on other things to try. > > Thanks! > Nathan Hartwell > > Logs: > > EXECUTE sofia/internal/1001 at 192.168.33.10 erlang(yacc_inbound:launch > yacc-dev at localhost) > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1665 enter > erlang_outbound_function yacc_inbound:launch yacc-dev at localhost > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1684 Using existing > listener for session > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1696 Creating new > spawned session for listener > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1540 Added session > to listener > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1563 rpc call: > yacc_inbound:launch(Ref) > 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1575 Waiting for > reply 9.0.0 at freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b > 2016-03-29 23:27:26.765708 [WARNING] mod_erlang_event.c:1581 Timed out > when waiting for outbound pid 9.0.0 at freeswitch@localhost > 3eb319cd-883c-4918-9d42-395e7683585b > > Dialplan: > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/16d50c12/attachment.html From amani.mansour2 at gmail.com Wed Mar 30 20:36:16 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 17:36:16 +0100 Subject: [Freeswitch-users] Convert pcap file to wav file Message-ID: Hello , Please i need to convert pcap file to wav file with comman linux in freeswitch to play back this file .wav i found this : 1 step : write a script to convert pcap to wav wich is : ssrc=$(tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') echo $ssrc sudo tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -R "rtp.ssrc == $ssrc" -T fields -e rtp.payload | tee payloads for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf "\\x$byte" >> /home/amani/projet/PFE/test.raw; done; done echo ?sox has converted pcap to wav file? sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/test.raw /home/amani/projet/PFE/test.wav ==> but when i run this script the error is : tshark: -R without -2 is deprecated. For single-pass filtering use -Y. ?sox has converted pcap to wav file? sox FAIL formats: can't open input file `/home/amani/projet/PFE/test.raw': No such file or directory Rq: paylods file is empty :( please can you help me ??? thanks with regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/735c2110/attachment-0001.html From gmaruzz at gmail.com Wed Mar 30 20:41:42 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 30 Mar 2016 18:41:42 +0200 Subject: [Freeswitch-users] Convert pcap file to wav file In-Reply-To: References: Message-ID: Google around again, you will find something. >From wireshark gui interface, you must save the rtp streams and then convert. You will probanly find a script to do exactly that. You muat pay attention that your pcap file contains the rtp streams too (not only sip signaling). Anyway, this is a question you would better asks to the wireshark mailing list, is not a quewtion related to FreeSWITCH. -giovanni sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT Il 30/Mar/2016 18:37, "amani mansour" ha scritto: > Hello , > > Please i need to convert pcap file to wav file with comman linux in > freeswitch > to play back this file .wav > > i found this : > 1 step : write a script to convert pcap to wav wich is : > ssrc=$(tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -T fields -e > rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') > > echo $ssrc > > sudo tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -R "rtp.ssrc > == $ssrc" -T fields -e rtp.payload | tee payloads > > for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf > "\\x$byte" >> /home/amani/projet/PFE/test.raw; done; done > > echo ?sox has converted pcap to wav file? > > > sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/test.raw > /home/amani/projet/PFE/test.wav > > > ==> but when i run this script the error is : > tshark: -R without -2 is deprecated. For single-pass filtering use -Y. > ?sox has converted pcap to wav file? > sox FAIL formats: can't open input file `/home/amani/projet/PFE/test.raw': > No such file or directory > > > > Rq: paylods file is empty :( > > please can you help me ??? > > thanks > with regards > amani > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/b44f0050/attachment.html From amani.mansour2 at gmail.com Wed Mar 30 20:52:33 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 17:52:33 +0100 Subject: [Freeswitch-users] Convert pcap file to wav file In-Reply-To: References: Message-ID: Dear sir i will use this file in the freeswitch whenn i will make a call i will playback this (file.wav) i am certain that this file contains only rtp captured from wireshark thanks best regards amani 2016-03-30 17:41 GMT+01:00 Giovanni Maruzzelli : > Google around again, you will find something. > >From wireshark gui interface, you must save the rtp streams and then > convert. You will probanly find a script to do exactly that. > > You muat pay attention that your pcap file contains the rtp streams too > (not only sip signaling). > > Anyway, this is a question you would better asks to the wireshark mailing > list, is not a quewtion related to FreeSWITCH. > > -giovanni > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > Il 30/Mar/2016 18:37, "amani mansour" ha > scritto: > >> Hello , >> >> Please i need to convert pcap file to wav file with comman linux in >> freeswitch >> to play back this file .wav >> >> i found this : >> 1 step : write a script to convert pcap to wav wich is : >> ssrc=$(tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -T fields -e >> rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') >> >> echo $ssrc >> >> sudo tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -R >> "rtp.ssrc == $ssrc" -T fields -e rtp.payload | tee payloads >> >> for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf >> "\\x$byte" >> /home/amani/projet/PFE/test.raw; done; done >> >> echo ?sox has converted pcap to wav file? >> >> >> sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/test.raw >> /home/amani/projet/PFE/test.wav >> >> >> ==> but when i run this script the error is : >> tshark: -R without -2 is deprecated. For single-pass filtering use -Y. >> ?sox has converted pcap to wav file? >> sox FAIL formats: can't open input file >> `/home/amani/projet/PFE/test.raw': No such file or directory >> >> >> >> Rq: paylods file is empty :( >> >> please can you help me ??? >> >> thanks >> with regards >> amani >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160330/f92661a7/attachment.html From bferrell at baywinds.org Wed Mar 30 21:17:27 2016 From: bferrell at baywinds.org (Bruce Ferrell) Date: Wed, 30 Mar 2016 10:17:27 -0700 Subject: [Freeswitch-users] Convert pcap file to wav file In-Reply-To: References: Message-ID: <56FC0A27.4040708@baywinds.org> The pcap file contains all of the network header information as well as the rtp stream data you want. In order to convert the rtp data to a wave file, you will first need to extract the rtp stream payload from your network capture (pcap) file. See the following links for procedures to do this: https://ask.wireshark.org/questions/35353/exporting-payload-data-in-binary-file https://ask.wireshark.org/questions/14078/decapsulation-of-data On 3/30/16 9:52 AM, amani mansour wrote: > Dear sir i will use this file in the freeswitch whenn i will make a > call i will playback this (file.wav) > i am certain that this file contains only rtp captured from wireshark > > thanks > best regards > amani > > 2016-03-30 17:41 GMT+01:00 Giovanni Maruzzelli >: > > Google around again, you will find something. > >From wireshark gui interface, you must save the rtp streams and > then convert. You will probanly find a script to do exactly that. > > You muat pay attention that your pcap file contains the rtp > streams too (not only sip signaling). > > Anyway, this is a question you would better asks to the wireshark > mailing list, is not a quewtion related to FreeSWITCH. > > -giovanni > > sent from mobile > cell: +39 347 266 56 18 > Giovanni Maruzzelli > OpenTelecom.IT > > Il 30/Mar/2016 18:37, "amani mansour" > ha scritto: > > Hello , > > Please i need to convert pcap file to wav file with comman > linux in freeswitch > to play back this file .wav > > i found this : > 1 step : write a script to convert pcap to wav wich is : > ssrc=$(tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp > -T fields -e rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 > {print}') > > echo $ssrc > > sudo tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp > -R "rtp.ssrc == $ssrc" -T fields -e rtp.payload | tee payloads > > for payload in `cat payloads`; do IFS=:; for byte in $payload; > do printf "\\x$byte" >> /home/amani/projet/PFE/test.raw; done; > done > > echo ?sox has converted pcap to wav file? > > > sox -t raw -r 8000 -v 4 -c 1 -e mu-law > /home/amani/projet/PFE/test.raw /home/amani/projet/PFE/test.wav > > > ==> but when i run this script the error is : > tshark: -R without -2 is deprecated. For single-pass filtering > use -Y. > ?sox has converted pcap to wav file? > sox FAIL formats: can't open input file > `/home/amani/projet/PFE/test.raw': No such file or directory > > > > Rq: paylods file is empty :( > > please can you help me ??? > > thanks > with regards > amani > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/02b6c957/attachment-0001.html From italo at freeswitch.org Wed Mar 30 22:10:38 2016 From: italo at freeswitch.org (=?utf-8?q?=C3=8Dtalo_Rossi?=) Date: Wed, 30 Mar 2016 11:10:38 -0700 (PDT) Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> <1789382A-32E1-4200-9BF3-5E632FBA23DF@gmail.com> Message-ID: <5q3263b8pzy4lzizqswpz5dyv-0@mailer.nylas.com> Now we have 10 languages :) ?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 30 2016, at 1:03 pm, Michael Jerris <mike at jerris.com> wrote: > All of the ones we have received so far are now in tree. Those include > > > > English > > Swedish > > Italian > > French > > German > > Polish > > Portugese > > Russian > > > > with still awaiting finished product claims on: > > > > Chinese (Seven Du) > > Spanish (2 offers) > > > > If you were not the original translator and want to review the ones that are in, particularly for any dialect differences we may have to address or translation mistakes... Please check out the files: > > > > > > > > If you are able to provide translations for other languages, please let us know. > > > > We have a few small tweaks to the code to add support for these languages and their other dialects, once thats done we will put this up somewhere where people can check out the interface for themselves and provide feedback. Its quite possible some of the strings don't fit well or layout properly in the UI, and we will need to hear about those to address them. > > > > Thanks for being such an amazing and responsive community. > > > > Mike > > > > > > > >> On Mar 30, 2016, at 11:42 AM, Raphael Lechner <[raphael.lechner at gmail.com](mailto:raphael.lechner at gmail.com)> wrote: >> >> >> >> Added Pull Request for the german translation: >> >> >> >> >> >> >> >>> On 29 Mar 2016, at 22:44, ?talo Rossi <[italo at freeswitch.org](mailto:italo at freeswitch.org)> wrote: >>> >>> >>> >>> If you want to do a Pull Request: >>> >>> >>> >>> >>> >>> and >>> >>> >>> >>> >>> >>> >>> >>> ?talo Rossi >>> >>> [italo at freeswitch.org](mailto:italo at freeswitch.org) >>> >>> IRC [chat.freenode.net](http://chat.freenode.net/) #freeswitch #freeswitch-dev >>> >>> Bugs? >>> >>> Docs? >>> >>> Chat? >>> >>> >>> >>> >>> >>> On Mar 29 2016, at 5:17 pm, Michael Jerris <[mike at jerris.com](mailto:mike at jerris.com)> wrote: >>> >>>> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >>>> >>>> >>>> >>>> [https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/v erto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc514 3870a80c3dd8d602&raw](https://freeswitch.org/stash/projects/FS/repos/frees witch/browse/html5/verto/verto_communicator/src/locales/locale- en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw) >>>> >>>> >>>> >>>> If you can assist with this, Please make a new file named locale- language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >>>> >>>> >>>> >>>> Thanks! >>>> >>>> >>> >>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: [consulting at freeswitch.org](mailto:consulting at freeswitch.org) Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 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/20160330/3f51ca04/attachment.html From mike at jerris.com Wed Mar 30 22:44:22 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 30 Mar 2016 14:44:22 -0400 Subject: [Freeswitch-users] calling all native speakers of languages other than english. We need your help, and this will be easy. In-Reply-To: <5q3263b8pzy4lzizqswpz5dyv-0@mailer.nylas.com> References: <391E7162-7420-4CF9-A229-936DC3A5636D@jerris.com> <5bqf926hzi4sre0kyoxyuqdrq-0@mailer.nylas.com> <1789382A-32E1-4200-9BF3-5E632FBA23DF@gmail.com> <5q3263b8pzy4lzizqswpz5dyv-0@mailer.nylas.com> Message-ID: <89EFF5F9-3CF2-4AFB-9057-8DC51ACCB462@jerris.com> For those who have helped on this, thanks. I now have our demo copy updated to include all these translations, please check them out and report back any display or translation issues you find. Thanks Mike https://cantina.freeswitch.org/vc > On Mar 30, 2016, at 2:10 PM, ?talo Rossi wrote: > > Now we have 10 languages :) > > ?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 30 2016, at 1:03 pm, Michael Jerris wrote: > All of the ones we have received so far are now in tree. Those include > > English > Swedish > Italian > French > German > Polish > Portugese > Russian > > with still awaiting finished product claims on: > > Chinese (Seven Du) > Spanish (2 offers) > > If you were not the original translator and want to review the ones that are in, particularly for any dialect differences we may have to address or translation mistakes... Please check out the files: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales > > If you are able to provide translations for other languages, please let us know. > > We have a few small tweaks to the code to add support for these languages and their other dialects, once thats done we will put this up somewhere where people can check out the interface for themselves and provide feedback. Its quite possible some of the strings don't fit well or layout properly in the UI, and we will need to hear about those to address them. > > Thanks for being such an amazing and responsive community. > > Mike > > > >> On Mar 30, 2016, at 11:42 AM, Raphael Lechner > wrote: >> >> Added Pull Request for the german translation: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/783/overview >> >> >>> On 29 Mar 2016, at 22:44, ?talo Rossi > wrote: >>> >>> If you want to do a Pull Request: >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Verto+Communicator#VertoCommunicator-Languages >>> and >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Pull+Requests >>> >>> ?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 29 2016, at 5:17 pm, Michael Jerris > wrote: >>> Just committed into tree is internationalization of Verto Communicator, so far, just English and Italian. If you speak another language, we need your help to translate these into other languages. The file that needs to be translated is: >>> >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/verto_communicator/src/locales/locale-en.json?at=6c197ae2f0cb647ab20bc5143870a80c3dd8d602&raw >>> >>> If you can assist with this, Please make a new file named locale-language.json (where "language" is the 2 letter code for your language) and translate all the text in quotes to the right thing for your language and send them back our way. Lets see how quickly we can crowd source this >>> >>> 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/cd9098ca/attachment-0001.html From anthony.minessale at gmail.com Thu Mar 31 00:50:20 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 30 Mar 2016 15:50:20 -0500 Subject: [Freeswitch-users] Convert pcap file to wav file In-Reply-To: <56FC0A27.4040708@baywinds.org> References: <56FC0A27.4040708@baywinds.org> Message-ID: They told you right in the error. The syntax of tshark has changed, replaces all instances of -R with -Y On Wed, Mar 30, 2016 at 12:17 PM, Bruce Ferrell wrote: > The pcap file contains all of the network header information as well as > the rtp stream data you want. In order to convert the rtp data to a wave > file, you will first need to extract the rtp stream payload from your > network capture (pcap) file. See the following links for procedures to do > this: > > > https://ask.wireshark.org/questions/35353/exporting-payload-data-in-binary-file > https://ask.wireshark.org/questions/14078/decapsulation-of-data > > > > On 3/30/16 9:52 AM, amani mansour wrote: > > Dear sir i will use this file in the freeswitch whenn i will make a call > i will playback this (file.wav) > i am certain that this file contains only rtp captured from wireshark > > thanks > best regards > amani > > 2016-03-30 17:41 GMT+01:00 Giovanni Maruzzelli : > >> Google around again, you will find something. >> >From wireshark gui interface, you must save the rtp streams and then >> convert. You will probanly find a script to do exactly that. >> >> You muat pay attention that your pcap file contains the rtp streams too >> (not only sip signaling). >> >> Anyway, this is a question you would better asks to the wireshark mailing >> list, is not a quewtion related to FreeSWITCH. >> >> -giovanni >> >> sent from mobile >> cell: +39 347 266 56 18 >> Giovanni Maruzzelli >> OpenTelecom.IT >> Il 30/Mar/2016 18:37, "amani mansour" ha >> scritto: >> >>> Hello , >>> >>> Please i need to convert pcap file to wav file with comman linux in >>> freeswitch >>> to play back this file .wav >>> >>> i found this : >>> 1 step : write a script to convert pcap to wav wich is : >>> ssrc=$(tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -T fields >>> -e rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') >>> >>> echo $ssrc >>> >>> sudo tshark -n -r /home/amani/projet/PFE/test.pcap -R rtp -R >>> "rtp.ssrc == $ssrc" -T fields -e rtp.payload | tee payloads >>> >>> for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf >>> "\\x$byte" >> /home/amani/projet/PFE/test.raw; done; done >>> >>> echo ?sox has converted pcap to wav file? >>> >>> >>> sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/test.raw >>> /home/amani/projet/PFE/test.wav >>> >>> >>> ==> but when i run this script the error is : >>> tshark: -R without -2 is deprecated. For single-pass filtering use -Y. >>> ?sox has converted pcap to wav file? >>> sox FAIL formats: can't open input file >>> `/home/amani/projet/PFE/test.raw': No such file or directory >>> >>> >>> >>> Rq: paylods file is empty :( >>> >>> please can you help me ??? >>> >>> thanks >>> with regards >>> amani >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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.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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/10e03a2f/attachment.html From amani.mansour2 at gmail.com Thu Mar 31 01:26:24 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Wed, 30 Mar 2016 22:26:24 +0100 Subject: [Freeswitch-users] Convert pcap file to wav file In-Reply-To: References: <56FC0A27.4040708@baywinds.org> Message-ID: good night sir , i replaced R by Y i have this problem [image: Images int?gr?es 1] the file contains rtp named g711.pcap ,you will find it attached and the script to execute to convert this pcap to wav is : ssrc=$(tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') sudo tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -Y "rtp.ssrc == $ssrc" -T fields -e rtp.payload | tee payloads for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf "\\x$byte" >> /home/amani/projet/PFE/g711.raw; done; done sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/g711.raw /home/amani/projet/PFE/g711.wav can you please sir execute it ? and tell me where is the problem ? thank you best regards 2016-03-30 22:16 GMT+01:00 amani mansour : > good night sir , > i replaced R by Y > i have this problem > [image: Images int?gr?es 1] > > the file contains rtp named g711.pcap ,you will find it attached > > and the script to execute to convert this pcap to wav is : > ssrc=$(tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -T fields -e > rtp.ssrc -Eseparator=, | sort -u | awk 'FNR ==1 {print}') > sudo tshark -n -r /home/amani/projet/PFE/g711.pcap -Y rtp -Y "rtp.ssrc == > $ssrc" -T fields -e rtp.payload | tee payloads > for payload in `cat payloads`; do IFS=:; for byte in $payload; do printf > "\\x$byte" >> /home/amani/projet/PFE/g711.raw; done; done > sox -t raw -r 8000 -v 4 -c 1 -e mu-law /home/amani/projet/PFE/g711.raw > /home/amani/projet/PFE/g711.wav > > > can you please sir execute it ? and tell me where is the problem ? > thank you > best regards > amani > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/0c5afbee/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 35102 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160330/0c5afbee/attachment-0001.png From ahabiba at gmail.com Thu Mar 31 01:48:19 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Thu, 31 Mar 2016 00:48:19 +0300 Subject: [Freeswitch-users] Memory allocation "switch_core_session_alloc" Message-ID: <723801C5-D5A5-4D11-A80E-3F87FA8CBC28@gmail.com> Hi, I?m trying to use ?switch_core_session_alloc? in a new module however I notice in documentation the below note, does this mean that once the session hangup this memory segment will not be valid anymore and I should not use this segment again?, your kind feedback will be appreciated. "Note: the memory will be in scope as long as the session exists" Thanks, Ahmed Habiba. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/7062b19e/attachment.html From anthony.minessale at gmail.com Thu Mar 31 02:51:48 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 30 Mar 2016 17:51:48 -0500 Subject: [Freeswitch-users] Memory allocation "switch_core_session_alloc" In-Reply-To: <723801C5-D5A5-4D11-A80E-3F87FA8CBC28@gmail.com> References: <723801C5-D5A5-4D11-A80E-3F87FA8CBC28@gmail.com> Message-ID: Correct. The memory is allocated from the session's pool and will not be valid when the call ends. For persistent memory allocation, create your own pool when the module loads, (or use the one passed to you in the init function) and use switch_core_alloc instead. What module are you writing? On Wed, Mar 30, 2016 at 4:48 PM, Ahmed habiba wrote: > Hi, > > I?m trying to use ?switch_core_session_alloc? in a new module however I > notice in documentation the below note, does this mean that once the > session hangup this memory segment will not be valid anymore and I should > not use this segment again?, your kind feedback will be appreciated. > > *"Note:**the memory will be in scope as long as the session exists"* > > > Thanks, > > Ahmed Habiba. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/38a8f340/attachment.html From abaci64 at gmail.com Thu Mar 31 03:09:11 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 30 Mar 2016 19:09:11 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: was it merged into 1.6 or just master? On Wed, Mar 30, 2016 at 11:09 AM, Piotr Gregor wrote: > Hi Abaci, > > after FS-8875 was merged yesterday in PR 775 > I have tested avmd on your Verizon voicemail (contains 1000hz beep) > and on another Voipfone voicemail (contains beep of lower frequency, > 724.1914 is detected). > Detection of tone works just fine while not giving many false positives > in the same time. > But you should note the avmd module is in beta stage so not everything > is working as expected yet. In case of Verizon sometimes it gives false > alarm on silence, this can be handled at this moment by adjusting avmd > session parameters > > AVMD_SAMLPE_TO_SKIP_N increase > BEEP_TIME increase > SAMPLES_CONSECUTIVE_STREAK increase > VARIANCE_THRESHOLD may need to decrease > > or starting avmd after 3 - 4 first ring tones. Regardless of this it will > be > treated in more generic way - by adding of estimation of amplitude. > Related to this is a need for adjusting parameters on a basis of expected > characteristics of incoming signal, e.g. SNR. And it should be possible > to be set the settings on a per call basis. > > So you may wish to checkout master branch, > build, test, and let us know the results. > > cheers, > Piotr > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160330/adbe343e/attachment.html From piotrek.gregor at gmail.com Thu Mar 31 04:12:44 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Thu, 31 Mar 2016 01:12:44 +0100 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Hi Abaci, It was merged into master branch only as everything now goes into master while last commits on 1.6.6 are dated on January. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/5e564907/attachment.html From mike at jerris.com Thu Mar 31 04:39:33 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 30 Mar 2016 20:39:33 -0400 Subject: [Freeswitch-users] Better results from mod_vmd In-Reply-To: References: <3025F31C-1FCC-4299-A375-97141EF1861E@440hz.fr> Message-ID: Just in master so far. It will hit 1.6 branch when we do the next release On Wednesday, March 30, 2016, Abaci B wrote: > was it merged into 1.6 or just master? > > On Wed, Mar 30, 2016 at 11:09 AM, Piotr Gregor > wrote: > >> Hi Abaci, >> >> after FS-8875 was merged yesterday in PR 775 >> I have tested avmd on your Verizon voicemail (contains 1000hz beep) >> and on another Voipfone voicemail (contains beep of lower frequency, >> 724.1914 is detected). >> Detection of tone works just fine while not giving many false positives >> in the same time. >> But you should note the avmd module is in beta stage so not everything >> is working as expected yet. In case of Verizon sometimes it gives false >> alarm on silence, this can be handled at this moment by adjusting avmd >> session parameters >> >> AVMD_SAMLPE_TO_SKIP_N increase >> BEEP_TIME increase >> SAMPLES_CONSECUTIVE_STREAK increase >> VARIANCE_THRESHOLD may need to decrease >> >> or starting avmd after 3 - 4 first ring tones. Regardless of this it will >> be >> treated in more generic way - by adding of estimation of amplitude. >> Related to this is a need for adjusting parameters on a basis of expected >> characteristics of incoming signal, e.g. SNR. And it should be possible >> to be set the settings on a per call basis. >> >> So you may wish to checkout master branch, >> build, test, and let us know the results. >> >> cheers, >> Piotr >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160330/4a1aa374/attachment-0001.html From bilaln018 at gmail.com Thu Mar 31 11:52:59 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Thu, 31 Mar 2016 12:52:59 +0500 Subject: [Freeswitch-users] [Mute A-Party] In-Reply-To: References: Message-ID: Thanks Aqs, To help community i have passed variable api_on_answer='uuid_audio ${b-leg-uuid} start write mute -4' to bridge command, and created the b-leg-uuid with create_uuid. Here is the code from XML, Regards Abbasi On Tue, Mar 29, 2016 at 5:47 PM, Aqs Younas wrote: > Find the uuid of leg and execute this command. > uuid_audio start write mute -4 > > On 29 March 2016 at 16:42, Bilal Abbasi wrote: > >> Hi Users, >> Do Freeswitch has a setting to mute the A-Party, I only want one way >> audio (yes many had problems with this..:-P). >> Any suggestions. >> >> Regards >> Abbasi >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160331/9f7a99ae/attachment.html From d.mordovin at dwide.com Thu Mar 31 12:39:17 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 31 Mar 2016 12:39:17 +0400 Subject: [Freeswitch-users] Master and slave warm standby in production Message-ID: <56FCE235.5010708@dwide.com> Dear friends! Anybody use Postgres 9.5 warm standby in production? Which schemes you use? My setup: - 2 DB servers (master and slave) - 4 APP servers (tomcat) Each tomcat server have JDBC connect to master and prepared config for slave. Business task permit switch between DB server on APP servers manually when failover. What is the best scheme in my configuration? BR, Dmitry From miha at softnet.si Thu Mar 31 13:41:32 2016 From: miha at softnet.si (Miha) Date: Thu, 31 Mar 2016 11:41:32 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: References: <1459325635.3297.2.camel@softnet.si> <56FB9CD4.2060908@softnet.si> Message-ID: <56FCF0CC.1090103@softnet.si> hi, done. now getting this after start :) Mar 31 05:33:45 localhost systemd: Started FreeSWITCH. Mar 31 05:33:45 localhost systemd: Starting FreeSWITCH... Mar 31 05:33:45 localhost freeswitch: ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted) Mar 31 05:33:45 localhost freeswitch: ERROR: Could not set nice level On 30/03/2016 14:25, Michael Jerris wrote: > I've seen this error when using older toolchain > > On Wednesday, March 30, 2016, Miha > wrote: > > ok tnx :) > > I manage to get further, now getting this: > > > libs/libyuv/source/row_common.cc: In function ?void > libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, > const libyuv::YuvConstants*)?: > libs/libyuv/source/row_common.cc:1256: error: invalid types ?const > signed char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1257: error: invalid types ?const > signed char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1258: error: invalid types ?const > signed char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1259: error: invalid types ?const > signed char __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1260: error: invalid types ?const > short int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1261: error: invalid types ?const > short int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1262: error: invalid types ?const > short int __vector__[int]? for array subscript > libs/libyuv/source/row_common.cc:1263: error: invalid types ?const > short int __vector__[int]? for array subscript > make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 > make[1]: Leaving directory `/usr/local/src/freeswitch' > make: *** [current] Error 2 > > > Also related with versions or this is different thing? If with > version than i will do your way Giovanni. > > > tnx > miha > > On 30/03/2016 10:44, Giovanni Maruzzelli wrote: >> >> Check the mail. >> >> :) >> >> Ok, just joking. >> >> Vpx is now part of the FS code distribution. >> >> You can restart from /usr/src/freeswitch.git/ doing bootstrap, >> then configure, then make install. >> >> But i would counseil you to do this, instead: copy your >> /usr/local/freeswitch/conf directory away, and save.also any >> script, or any other customization you have made. >> >> Then delete /usr/src/freeswitch.git directory and restart cloning >> then compiling from scratch. When installed, copy your conf >> directory and other customizations back. >> >> sent from mobile >> cell: +39 347 266 56 18 >> Giovanni Maruzzelli >> OpenTelecom.IT >> >> Il 30/Mar/2016 10:14, "Miha" > > ha scritto: >> >> Hi >> >> trying to upgrade on fly my 1.5 version of FS but getting this: >> >> make[1]: *** [libs/libvpx/Makefile] Error 1 >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> make: *** [current] Error 2 >> You have mail in /var/spool/mail/root >> >> Is here any fix solution? >> >> >> >> tnx >> miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160331/eedee76e/attachment.html From gmaruzz at gmail.com Thu Mar 31 13:45:25 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 31 Mar 2016 11:45:25 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: <56FCF0CC.1090103@softnet.si> References: <1459325635.3297.2.camel@softnet.si> <56FB9CD4.2060908@softnet.si> <56FCF0CC.1090103@softnet.si> Message-ID: Io must start FreeSWITCH as root, and pass in command line the arguments so that FreeSWITCH change user and group after start On Thu, Mar 31, 2016 at 11:41 AM, Miha wrote: > hi, > > done. > > now getting this after start :) > > > Mar 31 05:33:45 localhost systemd: Started FreeSWITCH. > Mar 31 05:33:45 localhost systemd: Starting FreeSWITCH... > Mar 31 05:33:45 localhost freeswitch: ERROR: Failed to set SCHED_FIFO > scheduler (Operation not permitted) > Mar 31 05:33:45 localhost freeswitch: ERROR: Could not set nice level > > > > On 30/03/2016 14:25, Michael Jerris wrote: > > I've seen this error when using older toolchain > > On Wednesday, March 30, 2016, Miha wrote: > >> ok tnx :) >> >> I manage to get further, now getting this: >> >> >> libs/libyuv/source/row_common.cc: In function ?void >> libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const >> libyuv::YuvConstants*)?: >> libs/libyuv/source/row_common.cc:1256: error: invalid types ?const signed >> char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1257: error: invalid types ?const signed >> char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1258: error: invalid types ?const signed >> char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1259: error: invalid types ?const signed >> char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1260: error: invalid types ?const short >> int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1261: error: invalid types ?const short >> int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1262: error: invalid types ?const short >> int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1263: error: invalid types ?const short >> int __vector__[int]? for array subscript >> make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> make: *** [current] Error 2 >> >> >> Also related with versions or this is different thing? If with version >> than i will do your way Giovanni. >> >> >> tnx >> miha >> >> On 30/03/2016 10:44, Giovanni Maruzzelli wrote: >> >> Check the mail. >> >> :) >> >> Ok, just joking. >> >> Vpx is now part of the FS code distribution. >> >> You can restart from /usr/src/freeswitch.git/ doing bootstrap, then >> configure, then make install. >> >> But i would counseil you to do this, instead: copy your >> /usr/local/freeswitch/conf directory away, and save.also any script, or any >> other customization you have made. >> >> Then delete /usr/src/freeswitch.git directory and restart cloning then >> compiling from scratch. When installed, copy your conf directory and other >> customizations back. >> >> sent from mobile >> cell: +39 347 266 56 18 >> Giovanni Maruzzelli >> OpenTelecom.IT >> Il 30/Mar/2016 10:14, "Miha" ha scritto: >> >>> Hi >>> >>> trying to upgrade on fly my 1.5 version of FS but getting this: >>> >>> make[1]: *** [libs/libvpx/Makefile] Error 1 >>> make[1]: Leaving directory `/usr/local/src/freeswitch' >>> make: *** [current] Error 2 >>> You have mail in /var/spool/mail/root >>> >>> Is here any fix solution? >>> >>> >>> >>> tnx >>> miha >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> >> > > _________________________________________________________________________ > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/1fe14e27/attachment-0001.html From miha at softnet.si Thu Mar 31 14:00:37 2016 From: miha at softnet.si (Miha) Date: Thu, 31 Mar 2016 12:00:37 +0200 Subject: [Freeswitch-users] Make current problem In-Reply-To: References: <1459325635.3297.2.camel@softnet.si> <56FB9CD4.2060908@softnet.si> <56FCF0CC.1090103@softnet.si> Message-ID: <56FCF545.1010904@softnet.si> Giovanni do you maybe know where start script of FS is located in centos 7 so that i can change user? tnx miha On 31/03/2016 11:45, Giovanni Maruzzelli wrote: > Io must start FreeSWITCH as root, and pass in command line the > arguments so that FreeSWITCH change user and group after start > > On Thu, Mar 31, 2016 at 11:41 AM, Miha > wrote: > > hi, > > done. > > now getting this after start :) > > > Mar 31 05:33:45 localhost systemd: Started FreeSWITCH. > Mar 31 05:33:45 localhost systemd: Starting FreeSWITCH... > Mar 31 05:33:45 localhost freeswitch: ERROR: Failed to set > SCHED_FIFO scheduler (Operation not permitted) > Mar 31 05:33:45 localhost freeswitch: ERROR: Could not set nice level > > > > On 30/03/2016 14:25, Michael Jerris wrote: >> I've seen this error when using older toolchain >> >> On Wednesday, March 30, 2016, Miha > > wrote: >> >> ok tnx :) >> >> I manage to get further, now getting this: >> >> >> libs/libyuv/source/row_common.cc: In function ?void >> libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, >> const libyuv::YuvConstants*)?: >> libs/libyuv/source/row_common.cc:1256: error: invalid types >> ?const signed char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1257: error: invalid types >> ?const signed char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1258: error: invalid types >> ?const signed char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1259: error: invalid types >> ?const signed char __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1260: error: invalid types >> ?const short int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1261: error: invalid types >> ?const short int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1262: error: invalid types >> ?const short int __vector__[int]? for array subscript >> libs/libyuv/source/row_common.cc:1263: error: invalid types >> ?const short int __vector__[int]? for array subscript >> make[1]: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1 >> make[1]: Leaving directory `/usr/local/src/freeswitch' >> make: *** [current] Error 2 >> >> >> Also related with versions or this is different thing? If >> with version than i will do your way Giovanni. >> >> >> tnx >> miha >> >> On 30/03/2016 10:44, Giovanni Maruzzelli wrote: >>> >>> Check the mail. >>> >>> :) >>> >>> Ok, just joking. >>> >>> Vpx is now part of the FS code distribution. >>> >>> You can restart from /usr/src/freeswitch.git/ doing >>> bootstrap, then configure, then make install. >>> >>> But i would counseil you to do this, instead: copy your >>> /usr/local/freeswitch/conf directory away, and save.also any >>> script, or any other customization you have made. >>> >>> Then delete /usr/src/freeswitch.git directory and restart >>> cloning then compiling from scratch. When installed, copy >>> your conf directory and other customizations back. >>> >>> sent from mobile >>> cell: +39 347 266 56 18 >>> Giovanni Maruzzelli >>> OpenTelecom.IT >>> >>> Il 30/Mar/2016 10:14, "Miha" >> > ha scritto: >>> >>> Hi >>> >>> trying to upgrade on fly my 1.5 version of FS but >>> getting this: >>> >>> make[1]: *** [libs/libvpx/Makefile] Error 1 >>> make[1]: Leaving directory `/usr/local/src/freeswitch' >>> make: *** [current] Error 2 >>> You have mail in /var/spool/mail/root >>> >>> Is here any fix solution? >>> >>> >>> >>> tnx >>> miha >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 > > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160331/b5a1ea1b/attachment.html From amani.mansour2 at gmail.com Thu Mar 31 17:27:55 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Thu, 31 Mar 2016 14:27:55 +0100 Subject: [Freeswitch-users] codec changed Message-ID: Hi, can i please play back a .pcap file ? because when i converted this file .pcap to new file .wav the codec is changed ,can you help me please ?? best regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/8b942c13/attachment-0001.html From mike at jerris.com Thu Mar 31 18:10:52 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 31 Mar 2016 10:10:52 -0400 Subject: [Freeswitch-users] codec changed In-Reply-To: References: Message-ID: The codec doesn't magically change itself. If you want to change the codec you can use sox to do so, if you don't, you don't have to either. What exactly are you trying to accomplish here? On Thursday, March 31, 2016, amani mansour wrote: > Hi, > > can i please play back a .pcap file ? > because when i converted this file .pcap to new file .wav the codec is > changed ,can you help me please ?? > > > > best regards > amani > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/24775cf6/attachment.html From rutu.patel at inextrix.com Thu Mar 31 18:19:13 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Thu, 31 Mar 2016 19:49:13 +0530 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: Hi Michael Thank you for your assistance. We are trying to make call between two freeswitch users. One user is registered in softphone and other is registered in Asterisk by register string but asterisk user cannot authenticate properly and freeswitch directly send 480 Temporary Unavailable. In sip profile we set challenge-realm= auto_to also tried with auto_from but still not getting success. I am attaching some more logs if anyone can guide in right direction. -- Thanks, Rutu Patel On Mon, Mar 28, 2016 at 10:23 PM, Michael Collins wrote: > Try a gateway. Look in conf/sip_profiles/external/example.xml for a > heavily-commented sample. For more detailed discussion see this nice doc: > https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration > > -MSC > > On Fri, Mar 25, 2016 at 11:34 PM, Rutu Patel > wrote: > >> Hi, >> >> Thank you for reply. >> >> We have registered extension of Freeswitch in Asterisk as below >> >> register=>test-ext:secret at 192.168.1.64/test-ext >> >> ?We want to send call from Freeswitch to Asterisk?. >> >> What authentication parameters we need to set in Freeswitch ? >> >> -- >> Thanks, >> Rutu Patel >> On Wed, Mar 23, 2016 at 8:46 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> You need to supply auth credentials to Asterisk because its set to >>> authenticate calls. >>> The best thing to do would be to make a gateway pointing to Asterisk >>> with all the credentials and call it using that. >>> >>> >>> >>> >>> On Wed, Mar 23, 2016 at 10:20 AM, Jurijs Ivolga >> > wrote: >>> >>>> Hi Rutu, >>>> >>>> In logs I can see that user-agent Asterisk is sending INVITE to >>>> Freeswitch and Freeswitch replies with "480 Temporarily Unavailable". This >>>> a bit differs from what you explained in your mail... >>>> >>>> First think what pop up in my mind is that you need to configure >>>> Asterisk as a trunk on Freeswitch, not sure if this helps, but this is my >>>> first guess... >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Asterisk >>>> >>>> With kind regards, >>>> >>>> Jurijs >>>> >>>> On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> We are sending call to asterisk PBX but we are getting 480 Temporarily >>>>> Unavailable immediately. from freeswitch server. >>>>> >>>>> Call flow is as below: >>>>> >>>>> User => opensips => FS => PBX, >>>>> >>>>> but call not sending out from FS and drop by FS. >>>>> >>>>> Here I am attaching both sip logs and freeswitch logs. >>>>> >>>>> Can anyone please help to sort out the issue. >>>>> -- >>>>> Thanks, >>>>> Rutu Patel >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160331/7526f0c5/attachment-0001.html -------------- next part -------------- U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK7e79.8122dbe3.0. Max-Forwards: 30. Contact: . To: . From: ;tag=fe41ad73. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 1 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. X-AUTH-IP: x.x.x.47. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK7e79.8122dbe3.0. From: ;tag=fe41ad73. To: . Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 1 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK7e79.8122dbe3.0. From: ;tag=fe41ad73. To: ;tag=NcN62NvFe1yQa. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 1 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Proxy-Authenticate: Digest realm="x.x.x.45", nonce="89522af1-ae9e-49db-8bca-7edcf8a07e2a", algorithm=MD5, qop="auth". Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK7e79.8122dbe3.0. From: ;tag=fe41ad73. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. To: ;tag=NcN62NvFe1yQa. CSeq: 1 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK4e79.8d4872f2.0. Max-Forwards: 30. Contact: . To: . From: ;tag=fe41ad73. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 2 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Proxy-Authorization: Digest username="xxxxxxxx20",realm="x.x.x.45",nonce="89522af1-ae9e-49db-8bca-7edcf8a07e2a",uri="sip:123654874 at x.x.x.45;transport=UDP",response="b1366a968d661e9e52ef598b12f0e406",cnonce="ce0b2af8b0033103c9c45aada7202e94",nc=00000001,qop=auth,algorithm=MD5. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. X-AUTH-IP: x.x.x.47. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK4e79.8d4872f2.0. From: ;tag=fe41ad73. To: . Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 2 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 INVITE sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.46;rport;branch=z9hG4bKcUZNpKm5FBD4e. Route: ;lr;received=sip:x.x.x.42:5060. Max-Forwards: 29. From: "Extension 1001" ;tag=Qy7Q6Byp8jBXH. To: . Call-ID: d8158cb3-71eb-1234-a581-7e3d9898227f. CSeq: 89380367 INVITE. Contact: . User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Content-Type: application/sdp. Content-Disposition: session. Content-Length: 248. X-AUTH-IP: x.x.x.47. X-FS-Support: update_display,send_info. Remote-Party-ID: "Extension 1001" ;party=calling;screen=yes;privacy=off. . v=0. o=FreeSWITCH 1459403220 1459403221 IN IP4 x.x.x.46. s=FreeSWITCH. c=IN IP4 x.x.x.46. t=0 0. m=audio 29642 RTP/AVP 8 101 13. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=rtpmap:13 CN/8000. a=ptime:20. U x.x.x.45:5060 -> x.x.x.46:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.46;received=x.x.x.46;rport=5060;branch=z9hG4bKcUZNpKm5FBD4e. From: "Extension 1001" ;tag=Qy7Q6Byp8jBXH. To: . Call-ID: d8158cb3-71eb-1234-a581-7e3d9898227f. CSeq: 89380367 INVITE. server: Cvt SBC. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 SIP/2.0 401 Unauthorized. Via: SIP/2.0/UDP x.x.x.46;received=x.x.x.46;rport=5060;branch=z9hG4bKcUZNpKm5FBD4e. From: "Extension 1001" ;tag=Qy7Q6Byp8jBXH. To: ;tag=as3a58be86. Call-ID: d8158cb3-71eb-1234-a581-7e3d9898227f. CSeq: 89380367 INVITE. Server: CvtVPBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE. Supported: replaces, timer. WWW-Authenticate: Digest algorithm=MD5, realm="pbx.registerendpoint.com", nonce="38cef028". Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 ACK sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.46;rport;branch=z9hG4bKcUZNpKm5FBD4e. Route: ;lr;received=sip:x.x.x.42:5060. Max-Forwards: 29. From: "Extension 1001" ;tag=Qy7Q6Byp8jBXH. To: ;tag=as3a58be86. Call-ID: d8158cb3-71eb-1234-a581-7e3d9898227f. CSeq: 89380367 ACK. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK4e79.8d4872f2.0. Max-Forwards: 30. From: ;tag=fe41ad73. To: ;tag=pNeZ4gDKBaNap. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. CSeq: 2 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. Remote-Party-ID: "123654874" ;party=calling;privacy=off;screen=no. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK4e79.8d4872f2.0. From: ;tag=fe41ad73. Call-ID: DLGCH_AjQCGR4dNDsCCg0ECR4WOhYKDlwcHRViFic3BgoeFj4CGj8FHB0GPgEdNEA-. To: ;tag=pNeZ4gDKBaNap. CSeq: 2 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. -------------- next part -------------- 2016-03-23 13:48:43.435074 [INFO] mod_dialplan_xml.c:637 Processing +xxxxxxxxx65 ->+xxxxxxxxx01 in context default Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 parsing [default->+xxxxxxxxx01] continue=false Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Regex (PASS) [+xxxxxxxxx01] destination_number(+xxxxxxxxx01) =~ // break=on-false Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(callstart=2016-03-23 11:48:43) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(call_processed=internal) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(originated_destination_number=xxxxxxxx01) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action export(t38_passthru=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(call_direction=inbound) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action sched_hangup(+172800 allotted_timeout) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(effective_destination_number=xxxxxxxx01) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action export(t38_passthru=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action set(did_calltype=LOCAL) Dialplan: sofia/default/+xxxxxxxxx65 at x.x.x.86 Action bridge({sip_invite_to_uri=,sip_invite_req_uri=sip:xxxxxxxx01 at x.x.x.42:5060}sofia/default/sip:test-user at x.x.x.42:5060;fs_path=sip%3Ax.x.x.35%3Blr%3Breceived%3Dsip%3Ax.x.x.42%3A5060) 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:216 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_ROUTING -> CS_EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State ROUTING going to sleep 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:539 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] mod_sofia.c:196 sofia/default/+xxxxxxxxx65 at x.x.x.86 SOFIA EXECUTE 2016-03-23 13:48:43.615031 [DEBUG] switch_core_state_machine.c:258 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard EXECUTE EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(callstart=2016-03-23 11:48:43) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [callstart]=[2016-03-23 11:48:43] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(call_processed=internal) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [call_processed]=[internal] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(originated_destination_number=xxxxxxxx01) 2016-03-23 13:48:43.615031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [originated_destination_number]=[xxxxxxxx01] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 export(t38_passthru=true) 2016-03-23 13:48:43.615031 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38_request=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38_request]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(call_direction=inbound) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [call_direction]=[inbound] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 sched_hangup(+172800 allotted_timeout) 2016-03-23 13:48:43.635031 [DEBUG] switch_scheduler.c:249 Added task 21 switch_ivr_schedule_hangup (67849c93-6b10-4377-834e-78657fcc2023) to run at 1458906523 EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(effective_destination_number=xxxxxxxx01) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [effective_destination_number]=[xxxxxxxx01] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 export(t38_passthru=true) 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1293 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 set(fax_enable_t38_request=true) 2016-03-23 13:48:43.635031 [DEBUG] mod_dptools.c:1498 SET sofia/default/+xxxxxxxxx65 at x.x.x.86 [fax_enable_t38_request]=[true] EXECUTE sofia/default/+xxxxxxxxx65 at x.x.x.86 bridge({sip_invite_to_uri=,sip_invite_req_uri=sip:xxxxxxxx01 at x.x.x.42:5060}sofia/default/sip:test-user at x.x.x.42:5060;fs_path=sip%3Ax.x.x.35%3Blr%3Breceived%3Dsip%3Ax.x.x.42%3A5060) 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1247 sofia/default/+xxxxxxxxx65 at x.x.x.86 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-23 13:48:43.635031 [DEBUG] switch_channel.c:1247 sofia/default/+xxxxxxxxx65 at x.x.x.86 EXPORTING[export_vars] [t38_passthru]=[true] to event 2016-03-23 13:48:43.635031 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables 2016-03-23 13:48:43.635031 [NOTICE] switch_channel.c:1101 New Channel sofia/default/test-user at x.x.x.42:5060 [36b94456-46e2-4ef2-9fb8-9ebe4d9d67b1] 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:4776 (sofia/default/test-user at x.x.x.42:5060) State Change CS_NEW -> CS_INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:516 (sofia/default/test-user at x.x.x.42:5060) State INIT 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:88 sofia/default/test-user at x.x.x.42:5060 SOFIA INIT 2016-03-23 13:48:43.635031 [DEBUG] sofia_glue.c:1228 sip:x.x.x.35;lr;received=sip:x.x.x.42:5060 Setting proxy route to sofia/default/test-user at x.x.x.42:5060 2016-03-23 13:48:43.635031 [DEBUG] sofia_glue.c:1257 sofia/default/test-user at x.x.x.42:5060 sending invite version: 1.6.6 git d2d0b32 2016-01-11 20:16:12Z 64bit Local SDP: v=0 o=SBC 1458713961 1458713962 IN IP4 x.x.x.37 s=SBC c=IN IP4 x.x.x.37 t=0 0 m=audio 19762 RTP/AVP 18 8 101 13 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:60 a=sendrecv 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:40 sofia/default/test-user at x.x.x.42:5060 Standard INIT 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:48 (sofia/default/test-user at x.x.x.42:5060) State Change CS_INIT -> CS_ROUTING 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:516 (sofia/default/test-user at x.x.x.42:5060) State INIT going to sleep 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_ROUTING 2016-03-23 13:48:43.635031 [DEBUG] sofia.c:6760 Channel sofia/default/test-user at x.x.x.42:5060 entering state [calling][0] 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/test-user at x.x.x.42:5060) State ROUTING 2016-03-23 13:48:43.635031 [DEBUG] mod_sofia.c:141 sofia/default/test-user at x.x.x.42:5060 SOFIA ROUTING 2016-03-23 13:48:43.635031 [DEBUG] switch_ivr_originate.c:67 (sofia/default/test-user at x.x.x.42:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:532 (sofia/default/test-user at x.x.x.42:5060) State ROUTING going to sleep 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:551 (sofia/default/test-user at x.x.x.42:5060) State CONSUME_MEDIA 2016-03-23 13:48:43.635031 [DEBUG] switch_core_state_machine.c:551 (sofia/default/test-user at x.x.x.42:5060) State CONSUME_MEDIA going to sleep 2016-03-23 13:48:43.775034 [ERR] sofia_reg.c:2583 Cannot locate any authentication credentials to complete an authentication request for realm '"vpbx01.xxx.com"' 2016-03-23 13:48:43.775034 [NOTICE] sofia_reg.c:2606 Hangup sofia/default/test-user at x.x.x.42:5060 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:739 (sofia/default/test-user at x.x.x.42:5060) Callstate Change DOWN -> HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test-user at x.x.x.42:5060) State HANGUP 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:431 Channel sofia/default/test-user at x.x.x.42:5060 hanging up, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:495 Sending CANCEL to sofia/default/test-user at x.x.x.42:5060 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:60 sofia/default/test-user at x.x.x.42:5060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test-user at x.x.x.42:5060) State HANGUP going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:508 (sofia/default/test-user at x.x.x.42:5060) State Change CS_HANGUP -> CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/test-user at x.x.x.42:5060) State REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:104 sofia/default/test-user at x.x.x.42:5060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/test-user at x.x.x.42:5060) State REPORTING going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:499 (sofia/default/test-user at x.x.x.42:5060) State Change CS_REPORTING -> CS_DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_session.c:1646 Session 25 (sofia/default/test-user at x.x.x.42:5060) Locked, Waiting on external entities 2016-03-23 13:48:43.775034 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [NOTICE] switch_core_session.c:1664 Session 25 (sofia/default/test-user at x.x.x.42:5060) Ended 2016-03-23 13:48:43.775034 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/test-user at x.x.x.42:5060 [CS_DESTROY] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:630 (sofia/default/test-user at x.x.x.42:5060) Running State Change CS_DESTROY 2016-03-23 13:48:43.775034 [INFO] mod_dptools.c:3379 Originate Failed. Cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [NOTICE] switch_channel.c:4804 Hangup sofia/default/+xxxxxxxxx65 at x.x.x.86 [CS_EXECUTE] [MANDATORY_IE_MISSING] 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:640 (sofia/default/test-user at x.x.x.42:5060) State DESTROY 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:341 sofia/default/test-user at x.x.x.42:5060 SOFIA DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:111 sofia/default/test-user at x.x.x.42:5060 Standard DESTROY 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:640 (sofia/default/test-user at x.x.x.42:5060) State DESTROY going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_session.c:2796 sofia/default/+xxxxxxxxx65 at x.x.x.86 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:539 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State EXECUTE going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:739 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Callstate Change RINGING -> HANGUP 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State HANGUP 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:431 Channel sofia/default/+xxxxxxxxx65 at x.x.x.86 hanging up, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 480 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:60 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard HANGUP, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State HANGUP going to sleep 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:508 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_HANGUP -> CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:473 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_REPORTING 2016-03-23 13:48:43.775034 [DEBUG] switch_core_state_machine.c:827 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State REPORTING 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:104 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard REPORTING, cause: MANDATORY_IE_MISSING 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:827 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State REPORTING going to sleep 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:499 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State Change CS_REPORTING -> CS_DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_session.c:1646 Session 24 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Locked, Waiting on external entities 2016-03-23 13:48:44.035036 [NOTICE] switch_core_session.c:1664 Session 24 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Ended 2016-03-23 13:48:44.035036 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/+xxxxxxxxx65 at x.x.x.86 [CS_DESTROY] 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:630 (sofia/default/+xxxxxxxxx65 at x.x.x.86) Running State Change CS_DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:640 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State DESTROY 2016-03-23 13:48:44.035036 [DEBUG] mod_sofia.c:341 sofia/default/+xxxxxxxxx65 at x.x.x.86 SOFIA DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:111 sofia/default/+xxxxxxxxx65 at x.x.x.86 Standard DESTROY 2016-03-23 13:48:44.035036 [DEBUG] switch_core_state_machine.c:640 (sofia/default/+xxxxxxxxx65 at x.x.x.86) State DESTROY going to sleep 2016-03-23 13:48:44.135038 [DEBUG] switch_scheduler.c:144 Deleting task 21 switch_ivr_schedule_hangup (67849c93-6b10-4377-834e-78657fcc2023) -------------- next part -------------- U x.x.x.47:33199 -> x.x.x.45:5060 INVITE sip:123654874 at x.x.x.45;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-02710fbea4cffc51-1---d8754z-. Max-Forwards: 70. Contact: . To: . From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 1 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.45:5060 -> x.x.x.47:33199 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-02710fbea4cffc51-1---d8754z-. To: . From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 1 INVITE. server: Cvt SBC. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK19ee.edc06b92.0. Max-Forwards: 30. Contact: . To: . From: ;tag=bad0d368. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 1 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. X-AUTH-IP: x.x.x.47. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK19ee.edc06b92.0. From: ;tag=bad0d368. To: . Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 1 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK19ee.edc06b92.0. From: ;tag=bad0d368. To: ;tag=tra9jUNgvg5yH. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 1 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Proxy-Authenticate: Digest realm="x.x.x.45", nonce="43ea5b0d-e985-4c71-b104-5644c2f517cf", algorithm=MD5, qop="auth". Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bK19ee.edc06b92.0. From: ;tag=bad0d368. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. To: ;tag=tra9jUNgvg5yH. CSeq: 1 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.47:33199 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-02710fbea4cffc51-1---d8754z-. From: ;tag=bad0d368. To: ;tag=tra9jUNgvg5yH. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 1 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Proxy-Authenticate: Digest realm="x.x.x.45", nonce="43ea5b0d-e985-4c71-b104-5644c2f517cf", algorithm=MD5, qop="auth". Content-Length: 0. . U x.x.x.47:33199 -> x.x.x.45:5060 ACK sip:123654874 at x.x.x.45;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-02710fbea4cffc51-1---d8754z-. Max-Forwards: 70. To: ;tag=tra9jUNgvg5yH. From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 1 ACK. Content-Length: 0. . U x.x.x.47:33199 -> x.x.x.45:5060 INVITE sip:123654874 at x.x.x.45;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-7965674fe5e4ee4e-1---d8754z-. Max-Forwards: 70. Contact: . To: . From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 2 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Proxy-Authorization: Digest username="xxxxxxxx20",realm="x.x.x.45",nonce="43ea5b0d-e985-4c71-b104-5644c2f517cf",uri="sip:123654874 at x.x.x.45;transport=UDP",response="5096b79472dc0c8f623cd6f48f7ef59f",cnonce="a01e305ac7f31953c8a0e83cbd282546",nc=00000001,qop=auth,algorithm=MD5. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.45:5060 -> x.x.x.47:33199 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-7965674fe5e4ee4e-1---d8754z-. To: . From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 2 INVITE. server: Cvt SBC. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 INVITE sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKe8ee.96f31373.0. Max-Forwards: 30. Contact: . To: . From: ;tag=bad0d368. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 2 INVITE. Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE. Content-Type: application/sdp. Proxy-Authorization: Digest username="xxxxxxxx20",realm="x.x.x.45",nonce="43ea5b0d-e985-4c71-b104-5644c2f517cf",uri="sip:123654874 at x.x.x.45;transport=UDP",response="5096b79472dc0c8f623cd6f48f7ef59f",cnonce="a01e305ac7f31953c8a0e83cbd282546",nc=00000001,qop=auth,algorithm=MD5. Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri. User-Agent: Z 3.3.25608 r25552. Allow-Events: presence, kpml. Content-Length: 241. X-AUTH-IP: x.x.x.47. . v=0. o=Z 0 0 IN IP4 x.x.x.47. s=Z. c=IN IP4 x.x.x.47. t=0 0. m=audio 8000 RTP/AVP 3 110 8 0 98 101. a=rtpmap:110 speex/8000. a=rtpmap:98 iLBC/8000. a=fmtp:98 mode=20. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=sendrecv. U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKe8ee.96f31373.0. From: ;tag=bad0d368. To: . Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 2 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 INVITE sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.46;rport;branch=z9hG4bKBj6vmr31j2pHK. Route: ;lr;received=sip:x.x.x.42:5060. Max-Forwards: 29. From: "Extension 1001" ;tag=vaXtpHQQp2H4r. To: . Call-ID: 8c4e80cc-71eb-1234-a581-7e3d9898227f. CSeq: 89380303 INVITE. Contact: . User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Content-Type: application/sdp. Content-Disposition: session. Content-Length: 248. X-AUTH-IP: x.x.x.47. X-FS-Support: update_display,send_info. Remote-Party-ID: "Extension 1001" ;party=calling;screen=yes;privacy=off. . v=0. o=FreeSWITCH 1459407238 1459407239 IN IP4 x.x.x.46. s=FreeSWITCH. c=IN IP4 x.x.x.46. t=0 0. m=audio 25496 RTP/AVP 8 101 13. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=rtpmap:13 CN/8000. a=ptime:20. U x.x.x.45:5060 -> x.x.x.46:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP x.x.x.46;received=x.x.x.46;rport=5060;branch=z9hG4bKBj6vmr31j2pHK. From: "Extension 1001" ;tag=vaXtpHQQp2H4r. To: . Call-ID: 8c4e80cc-71eb-1234-a581-7e3d9898227f. CSeq: 89380303 INVITE. server: Cvt SBC. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.42:5060 INVITE sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKd078.e8120e82.0. Max-Forwards: 28. From: "1001" ;tag=vaXtpHQQp2H4r. To: . Call-ID: DLGCH_dxNRC2t5MzBiR1QLMWRhYXxESA9mcWF+eBVWCmpxaWt9QlII. CSeq: 89380303 INVITE. Contact: . User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Content-Type: application/sdp. Content-Disposition: session. Content-Length: 248. X-FS-Support: update_display,send_info. Remote-Party-ID: "1001" ;party=calling;screen=yes;privacy=off. . v=0. o=FreeSWITCH 1459407238 1459407239 IN IP4 x.x.x.46. s=FreeSWITCH. c=IN IP4 x.x.x.46. t=0 0. m=audio 25496 RTP/AVP 8 101 13. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=rtpmap:13 CN/8000. a=ptime:20. U x.x.x.42:5060 -> x.x.x.45:5060 SIP/2.0 401 Unauthorized. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKd078.e8120e82.0;received=x.x.x.45. From: "1001" ;tag=vaXtpHQQp2H4r. To: ;tag=as4e547f2a. Call-ID: DLGCH_dxNRC2t5MzBiR1QLMWRhYXxESA9mcWF+eBVWCmpxaWt9QlII. CSeq: 89380303 INVITE. Server: CvtVPBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE. Supported: replaces, timer. WWW-Authenticate: Digest algorithm=MD5, realm="pbx.registerendpoint.com", nonce="2f4958e6". Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.42:5060 ACK sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKd078.e8120e82.0. From: "1001" ;tag=vaXtpHQQp2H4r. Call-ID: DLGCH_dxNRC2t5MzBiR1QLMWRhYXxESA9mcWF+eBVWCmpxaWt9QlII. To: ;tag=as4e547f2a. CSeq: 89380303 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.46:5060 SIP/2.0 401 Unauthorized. Via: SIP/2.0/UDP x.x.x.46;received=x.x.x.46;rport=5060;branch=z9hG4bKBj6vmr31j2pHK. From: "Extension 1001" ;tag=vaXtpHQQp2H4r. To: ;tag=as4e547f2a. Call-ID: 8c4e80cc-71eb-1234-a581-7e3d9898227f. CSeq: 89380303 INVITE. Server: CvtVPBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE. Supported: replaces, timer. WWW-Authenticate: Digest algorithm=MD5, realm="pbx.registerendpoint.com", nonce="2f4958e6". Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 ACK sip:123654874 at x.x.x.42:5060 SIP/2.0. Via: SIP/2.0/UDP x.x.x.46;rport;branch=z9hG4bKBj6vmr31j2pHK. Route: ;lr;received=sip:x.x.x.42:5060. Max-Forwards: 29. From: "Extension 1001" ;tag=vaXtpHQQp2H4r. To: ;tag=as4e547f2a. Call-ID: 8c4e80cc-71eb-1234-a581-7e3d9898227f. CSeq: 89380303 ACK. Content-Length: 0. . U x.x.x.46:5060 -> x.x.x.45:5060 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKe8ee.96f31373.0. Max-Forwards: 30. From: ;tag=bad0d368. To: ;tag=U131mp6KSSUHD. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. CSeq: 2 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. Remote-Party-ID: "123654874" ;party=calling;privacy=off;screen=no. . U x.x.x.45:5060 -> x.x.x.46:5060 ACK sip:123654874 at x.x.x.46:5060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.45:5060;branch=z9hG4bKe8ee.96f31373.0. From: ;tag=bad0d368. Call-ID: DLGCH_AhoCXB0zFj4BCgJdHXsJZgFCMFweHgo7FRoBBh4dHSsCHSBfHR0GOwEkAkA-. To: ;tag=U131mp6KSSUHD. CSeq: 2 ACK. Max-Forwards: 70. User-Agent: Cvt SIP Proxy. Content-Length: 0. . U x.x.x.45:5060 -> x.x.x.47:33199 SIP/2.0 480 Temporarily Unavailable. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-7965674fe5e4ee4e-1---d8754z-. Max-Forwards: 30. From: ;tag=bad0d368. To: ;tag=U131mp6KSSUHD. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 2 INVITE. User-Agent: FreeSWITCH-mod_sofia/1.6.6+git~20160111T201612Z~d2d0b3283a~64bit. Accept: application/sdp. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, path, replaces. Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer. Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING". Content-Length: 0. Remote-Party-ID: "123654874" ;party=calling;privacy=off;screen=no. . U x.x.x.47:33199 -> x.x.x.45:5060 ACK sip:123654874 at x.x.x.45;transport=UDP SIP/2.0. Via: SIP/2.0/UDP x.x.x.47:33199;branch=z9hG4bK-d8754z-7965674fe5e4ee4e-1---d8754z-. Max-Forwards: 70. To: ;tag=U131mp6KSSUHD. From: ;tag=bad0d368. Call-ID: Mjg2NzFmNzg3N2Y5N2U2MWZhZjdhMTMxMmE1NTVhNTg.. CSeq: 2 ACK. Content-Length: 0. . From jurijs.ivolga at gmail.com Thu Mar 31 18:30:14 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Thu, 31 Mar 2016 17:30:14 +0300 Subject: [Freeswitch-users] 480 Temporarily Unavailable[MANDATORY_IE_MISSING] In-Reply-To: References: Message-ID: Hi Rutu, Just a shot in a dark. :) Did you added sip peer record in sip.conf, something similar to: [freeswitch] type=peer host=IP_ADDRESS_OF_FREESWITCH_SERVER username=HOSTNAME.DOMAIN.COM port=5080 fromdomain=IP_ADDRESS_OF_FREESWITCH_SERVER secret=BOOTH_WAY_PASSWORD With kind regards, Jurijs On Thu, Mar 31, 2016 at 5:19 PM, Rutu Patel wrote: > Hi Michael > > Thank you for your assistance. > > We are trying to make call between two freeswitch users. > > One user is registered in softphone and other is registered in Asterisk by > register string but asterisk user cannot authenticate properly and > freeswitch directly send 480 Temporary Unavailable. > > In sip profile we set challenge-realm= auto_to also tried with auto_from > but still not getting success. > > I am attaching some more logs if anyone can guide in right direction. > > -- > Thanks, > Rutu Patel > > > > On Mon, Mar 28, 2016 at 10:23 PM, Michael Collins > wrote: > >> Try a gateway. Look in conf/sip_profiles/external/example.xml for a >> heavily-commented sample. For more detailed discussion see this nice doc: >> >> https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration >> >> -MSC >> >> On Fri, Mar 25, 2016 at 11:34 PM, Rutu Patel >> wrote: >> >>> Hi, >>> >>> Thank you for reply. >>> >>> We have registered extension of Freeswitch in Asterisk as below >>> >>> register=>test-ext:secret at 192.168.1.64/test-ext >>> >>> ?We want to send call from Freeswitch to Asterisk?. >>> >>> What authentication parameters we need to set in Freeswitch ? >>> >>> -- >>> Thanks, >>> Rutu Patel >>> On Wed, Mar 23, 2016 at 8:46 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> You need to supply auth credentials to Asterisk because its set to >>>> authenticate calls. >>>> The best thing to do would be to make a gateway pointing to Asterisk >>>> with all the credentials and call it using that. >>>> >>>> >>>> >>>> >>>> On Wed, Mar 23, 2016 at 10:20 AM, Jurijs Ivolga < >>>> jurijs.ivolga at gmail.com> wrote: >>>> >>>>> Hi Rutu, >>>>> >>>>> In logs I can see that user-agent Asterisk is sending INVITE to >>>>> Freeswitch and Freeswitch replies with "480 Temporarily Unavailable". This >>>>> a bit differs from what you explained in your mail... >>>>> >>>>> First think what pop up in my mind is that you need to configure >>>>> Asterisk as a trunk on Freeswitch, not sure if this helps, but this is my >>>>> first guess... >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Asterisk >>>>> >>>>> With kind regards, >>>>> >>>>> Jurijs >>>>> >>>>> On Wed, Mar 23, 2016 at 3:46 PM, Rutu Patel >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> We are sending call to asterisk PBX but we are getting 480 >>>>>> Temporarily Unavailable immediately. from freeswitch server. >>>>>> >>>>>> Call flow is as below: >>>>>> >>>>>> User => opensips => FS => PBX, >>>>>> >>>>>> but call not sending out from FS and drop by FS. >>>>>> >>>>>> Here I am attaching both sip logs and freeswitch logs. >>>>>> >>>>>> Can anyone please help to sort out the issue. >>>>>> -- >>>>>> Thanks, >>>>>> Rutu Patel >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160331/49c0752e/attachment.html From amani.mansour2 at gmail.com Thu Mar 31 18:31:06 2016 From: amani.mansour2 at gmail.com (amani mansour) Date: Thu, 31 Mar 2016 15:31:06 +0100 Subject: [Freeswitch-users] codec changed In-Reply-To: References: Message-ID: sir i will call a FS(extension 600) from my sip phone(extension 423) i used a gateway when the call is ringing i will hear a short msg , this msg is a pcap file ,when i changed it to wav file automatically in freeswitch it has changed to the first codec selected in my soft phone : my pcap file has us codec g711 my phoner lite i have selected 1/opus 2/ g711A 3./......... but when i play this wav i have in tshark this line: 8533 960.577294 192.168.3.5 -> 192.168.3.1 RTP 109 PT=opus, SSRC=0x57A054EC, Seq=2363, Time=424320 my dialplan/default.xml: i have us tcpdump : 14:59:31.659246 IP 192.168.3.1.sip > 192.168.3.5.sip: SIP: INVITE sip:600 at 192.168.3.5 SIP/2.0 14:59:31.659773 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 100 Trying 14:59:31.661679 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 407 Proxy Authentication Required 14:59:31.662289 IP 192.168.3.1.sip > 192.168.3.5.sip: SIP: ACK sip:600 at 192.168.3.5 SIP/2.0 14:59:31.662726 IP 192.168.3.1.sip > 192.168.3.5.sip: SIP: INVITE sip:600 at 192.168.3.5 SIP/2.0 14:59:31.663177 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 100 Trying 14:59:38.508070 IP 192.168.3.5.sip > 192.168.3.1.35200: Flags [.], ack 2002, win 789, length 0 14:59:38.508188 IP 192.168.3.1.35200 > 192.168.3.5.sip: Flags [.], ack 2260, win 253, length 0 14:59:41.823972 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 180 Ringing 14:59:52.073381 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 183 Session Progress 15:00:02.027890 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: SIP/2.0 200 OK 15:00:02.028681 IP 192.168.3.1.sip > 192.168.3.5.sip: SIP: ACK sip:600 at 192.168.3.5:5060;transport=udp SIP/2.0 15:00:02.034884 IP 192.168.3.5.sip > 192.168.3.1.sip: SIP: BYE sip:423 at 192.168.3.1:5060 SIP/2.0 15:00:02.035367 IP 192.168.3.1.sip > 192.168.3.5.sip: SIP: SIP/2.0 200 OK my supervisor tel me that when i change the file to .wav nrmally FS code and decode the file using unknown codec can you help me please sir ??? best regards amani -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/1d3f3aee/attachment-0001.html From ahabiba at gmail.com Thu Mar 31 22:17:17 2016 From: ahabiba at gmail.com (Ahmed habiba) Date: Thu, 31 Mar 2016 21:17:17 +0300 Subject: [Freeswitch-users] Memory allocation "switch_core_session_alloc" Message-ID: <1443DDFA-3526-47A5-BF85-9C51316675EC@gmail.com> Mainly I?m not writing a new module, I?m modifying mod_spy to allow spying current active called without providing uuid, mainly I did the below: 1-Creat new hash map to contain all bridged calls(userid at domain as key, and UUID as value). 2-when I receive any spy request I query the hash map, using userid at domain, if I find a uuid and add it as if I get it in command ?userspy userid at domain uuid ? 3-then I continue. The point that I try to allocate the memory on session level and once the call get hangup I remove it from the hash map, however this doesn?t work as I expect only one hangup request comes and accordingly one entry from hasp being removed. I attached here the code for your review From: Anthony Minessale > Subject: Re: [Freeswitch-users] Memory allocation "switch_core_session_alloc" Date: March 31, 2016 at 1:51:48 AM GMT+3 To: FreeSWITCH Users Help > Reply-To: FreeSWITCH Users Help > Correct. The memory is allocated from the session's pool and will not be valid when the call ends. For persistent memory allocation, create your own pool when the module loads, (or use the one passed to you in the init function) and use switch_core_alloc instead. What module are you writing? On Wed, Mar 30, 2016 at 4:48 PM, Ahmed habiba > wrote: Hi, I?m trying to use ?switch_core_session_alloc? in a new module however I notice in documentation the below note, does this mean that once the session hangup this memory segment will not be valid anymore and I should not use this segment again?, your kind feedback will be appreciated. "Note: the memory will be in scope as long as the session exists" Thanks, Ahmed Habiba. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160331/f7dc206b/attachment-0002.html -------------- next part -------------- A non-text attachment was scrubbed... Name: mod_spy.c Type: application/octet-stream Size: 16670 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/f7dc206b/attachment-0001.obj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/f7dc206b/attachment-0003.html