CORE_PCM_MODULE doesn't seem to load correctly with DSN
Hi, I've been having a very strange issue lately with loading the core codecs when using core-db-dsn on 1.6.6 and 1.7 on Debian. As long as I am using sqlite, everything appears to work correctly but once I switch to using postgres the core codecs load but don't appear in the show codecs. uname -a Linux c.mydomain.com 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux Freeswitch start: http://pastebin.com/jD1GLFAF It appears that they load Show codecs after start: http://pastebin.com/W1VfsQDr And the Core codecs are missing Reload the core_pcm_module and show codecs: http://pastebin.com/qNpD0Due And you can see that they are now there. Any help here would be greatly appreciated. Hopefully I'm just missing something small in my setups.
Are you sure they aren’t actually loading? Show commands only show you whats in the database… From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Cj B Sent: Wednesday, February 3, 2016 4:13 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN Hi, I've been having a very strange issue lately with loading the core codecs when using core-db-dsn on 1.6.6 and 1.7 on Debian. As long as I am using sqlite, everything appears to work correctly but once I switch to using postgres the core codecs load but don't appear in the show codecs. uname -a Linux c.mydomain.com <http://c.mydomain.com> 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux Freeswitch start: http://pastebin.com/jD1GLFAF It appears that they load Show codecs after start: http://pastebin.com/W1VfsQDr And the Core codecs are missing Reload the core_pcm_module and show codecs: http://pastebin.com/qNpD0Due And you can see that they are now there. Any help here would be greatly appreciated. Hopefully I'm just missing something small in my setups.
On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org> wrote:
Are you sure they aren’t actually loading? Show commands only show you whats in the database…
Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
The show commands only do a select on the database and print that out to screen… all the show commands work this way… Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl? As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Cj B Sent: Wednesday, February 3, 2016 5:07 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org> > wrote: Are you sure they aren’t actually loading? Show commands only show you whats in the database… Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
I saw someone in the Fusion IRC channel with the same issue they said it was OK after doing a reload CORE_PCM_MODULE Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com<mailto:support@nysolutions.com> [cid:image001.jpg@01C72F94.9EE45D60]<http://www.nysolutions.com/> 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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, February 3, 2016 6:31 PM To: 'FreeSWITCH Users Help' <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN The show commands only do a select on the database and print that out to screen… all the show commands work this way… Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl? As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Cj B Sent: Wednesday, February 3, 2016 5:07 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org<mailto:krice@freeswitch.org>> wrote: Are you sure they aren’t actually loading? Show commands only show you whats in the database… Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
I’m using FusionPBX so I’m not sure exactly how it’s loading the configs. Here’s an unedited call log of the call: http://pastebin.com/nu3964ZA <http://pastebin.com/nu3964ZA> You are right though that even though show codecs isn’t displaying the codecs, it appears to at least be matching them from the phone. Now that you’ve pointed that out, it’s looking more like it’s not converting the call to PCMU/PCMA for the provider? Thanks
On Feb 3, 2016, at 3:30 PM, Ken Rice <krice@freeswitch.org> wrote:
The show commands only do a select on the database and print that out to screen… all the show commands work this way…
Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl?
As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Cj B Sent: Wednesday, February 3, 2016 5:07 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN
On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org>> wrote:
Are you sure they aren’t actually loading? Show commands only show you whats in the database…
Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Good Morning, I worked with the fusion guys and found that if I set absolut_codec_string=pcma on the outbound routes the calls are completing ok. I also have inbound-codec-negotiation=generous on my sip profiles, maybe I need to change that to scrooge or something else? Any other suggestions? Thanks
On Feb 3, 2016, at 6:48 PM, Cj B <blackc2004@gmail.com> wrote:
I’m using FusionPBX so I’m not sure exactly how it’s loading the configs. Here’s an unedited call log of the call: http://pastebin.com/nu3964ZA <http://pastebin.com/nu3964ZA>
You are right though that even though show codecs isn’t displaying the codecs, it appears to at least be matching them from the phone. Now that you’ve pointed that out, it’s looking more like it’s not converting the call to PCMU/PCMA for the provider?
Thanks
On Feb 3, 2016, at 3:30 PM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org>> wrote:
The show commands only do a select on the database and print that out to screen… all the show commands work this way…
Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl?
As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there
From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Cj B Sent: Wednesday, February 3, 2016 5:07 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN
On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org>> wrote:
Are you sure they aren’t actually loading? Show commands only show you whats in the database…
Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
The codec is loading and your do config is broken during start up so it may not appear in show modules in this case, we may need to have a JIRA filed in this so we can investigate and get the facts On Thursday, February 4, 2016, Cj B <blackc2004@gmail.com> wrote:
Good Morning,
I worked with the fusion guys and found that if I set absolut_codec_string=pcma on the outbound routes the calls are completing ok. I also have inbound-codec-negotiation=generous on my sip profiles, maybe I need to change that to scrooge or something else?
Any other suggestions?
Thanks
On Feb 3, 2016, at 6:48 PM, Cj B <blackc2004@gmail.com <javascript:_e(%7B%7D,'cvml','blackc2004@gmail.com');>> wrote:
I’m using FusionPBX so I’m not sure exactly how it’s loading the configs. Here’s an unedited call log of the call: http://pastebin.com/nu3964ZA
You are right though that even though show codecs isn’t displaying the codecs, it appears to at least be matching them from the phone. Now that you’ve pointed that out, it’s looking more like it’s not converting the call to PCMU/PCMA for the provider?
Thanks
On Feb 3, 2016, at 3:30 PM, Ken Rice <krice@freeswitch.org <javascript:_e(%7B%7D,'cvml','krice@freeswitch.org');>> wrote:
The show commands only do a select on the database and print that out to screen… all the show commands work this way…
Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl?
As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there
*From:* freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> ] *On Behalf Of *Cj B *Sent:* Wednesday, February 3, 2016 5:07 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users@lists.freeswitch.org');>> *Subject:* Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN
On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org <javascript:_e(%7B%7D,'cvml','krice@freeswitch.org');>> wrote:
Are you sure they aren’t actually loading? Show commands only show you whats in the database…
Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.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
Look for errors in the SQL server logs right after a fresh restart. On Thu, Feb 4, 2016 at 12:05 PM, Brian West <brian@freeswitch.org> wrote:
The codec is loading and your do config is broken during start up so it may not appear in show modules in this case, we may need to have a JIRA filed in this so we can investigate and get the facts
On Thursday, February 4, 2016, Cj B <blackc2004@gmail.com> wrote:
Good Morning,
I worked with the fusion guys and found that if I set absolut_codec_string=pcma on the outbound routes the calls are completing ok. I also have inbound-codec-negotiation=generous on my sip profiles, maybe I need to change that to scrooge or something else?
Any other suggestions?
Thanks
On Feb 3, 2016, at 6:48 PM, Cj B <blackc2004@gmail.com> wrote:
I’m using FusionPBX so I’m not sure exactly how it’s loading the configs. Here’s an unedited call log of the call: http://pastebin.com/nu3964ZA
You are right though that even though show codecs isn’t displaying the codecs, it appears to at least be matching them from the phone. Now that you’ve pointed that out, it’s looking more like it’s not converting the call to PCMU/PCMA for the provider?
Thanks
On Feb 3, 2016, at 3:30 PM, Ken Rice <krice@freeswitch.org> wrote:
The show commands only do a select on the database and print that out to screen… all the show commands work this way…
Sounds like you have something delaying the start of the coredb… are you doing something like trying to load configs for the core from xml_curl?
As far as why are you getting incompatible destination during media negotiation, post a FULL unedited call log with sip trace enabled of this scenario to the paste bin or ask on IRC someone to review your call log… the underlying error should be readily appearent there
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Cj B *Sent:* Wednesday, February 3, 2016 5:07 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] CORE_PCM_MODULE doesn't seem to load correctly with DSN
On Wed, Feb 3, 2016 at 3:02 PM, Ken Rice <krice@freeswitch.org> wrote:
Are you sure they aren’t actually loading? Show commands only show you whats in the database…
Hi Ken, How can I confirm that? When I try to place a call before running the reload command I get an error about [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] after reloading the the calls complete, so it seems like they are either not loading properly or they are loading before the database?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
participants (5)
-
Anthony Minessale
-
Brian West
-
Cj B
-
Ken Rice
-
Moishe Grunstein