Hi, Got a question regarding call at once combined with xml-cdr logging. The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first. Is this by design or a bug in the xml-cdr logging? Thanks, Stuart
Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs? -Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi,
Got a question regarding call at once combined with xml-cdr logging.
The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first.
Is this by design or a bug in the xml-cdr logging?
Thanks,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi Avi, Thanks for your reply. Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens. Cheers, Stuart From: Avi Marcus Sent: Friday, August 02, 2013 3:24 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs? -Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote: Hi, Got a question regarding call at once combined with xml-cdr logging. The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first. Is this by design or a bug in the xml-cdr logging? Thanks, Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
With the default configuration switch only log a_leg. You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call. Lloyd On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills <stuart.mills3@btopenworld.com
wrote:
Hi Avi,
Thanks for your reply.
Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens.
Cheers,
Stuart
*From:* Avi Marcus <avi@avimarcus.net> *Sent:* Friday, August 02, 2013 3:24 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs?
-Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi,
Got a question regarding call at once combined with xml-cdr logging.
The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first.
Is this by design or a bug in the xml-cdr logging?
Thanks,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Another note look into the caller_profile and index. I think you have two indexes for this situation.In your logic insert the records for the multiple indexes. Lloyd * * * <http://www.sunteltech.ca/blog/>* On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
With the default configuration switch only log a_leg.
You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call.
Lloyd
On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills < stuart.mills3@btopenworld.com> wrote:
Hi Avi,
Thanks for your reply.
Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens.
Cheers,
Stuart
*From:* Avi Marcus <avi@avimarcus.net> *Sent:* Friday, August 02, 2013 3:24 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs?
-Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi,
Got a question regarding call at once combined with xml-cdr logging.
The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first.
Is this by design or a bug in the xml-cdr logging?
Thanks,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi, Thanks for your reply. I have already changed the parameter log-b-leg to true in xml_cdr.conf and I am getting 2 records for the outbound calls and 1 for inbound. The issue is that the app_log section in the a_leg cdr seems to be split across the a_leg cdr and the b_leg cdr that “won” the race to be answered first. The second b_leg has no duration as expected. Am I making sense? Regards, Stuart From: Lloyd Aloysius Sent: Friday, August 02, 2013 5:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Another note look into the caller_profile and index. I think you have two indexes for this situation.In your logic insert the records for the multiple indexes. Lloyd On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> wrote: With the default configuration switch only log a_leg. You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call. Lloyd On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills <stuart.mills3@btopenworld.com> wrote: Hi Avi, Thanks for your reply. Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens. Cheers, Stuart From: Avi Marcus Sent: Friday, August 02, 2013 3:24 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs? -Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote: Hi, Got a question regarding call at once combined with xml-cdr logging. The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first. Is this by design or a bug in the xml-cdr logging? Thanks, Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 ---------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
It might be best of you posted those on pastebin with explanations and console logs of the calls. -MC On Fri, Aug 2, 2013 at 3:24 PM, Stuart Mills <stuart.mills3@btopenworld.com>wrote:
Hi,
Thanks for your reply.
I have already changed the parameter log-b-leg to true in xml_cdr.conf and I am getting 2 records for the outbound calls and 1 for inbound. The issue is that the app_log section in the a_leg cdr seems to be split across the a_leg cdr and the b_leg cdr that “won” the race to be answered first. The second b_leg has no duration as expected.
Am I making sense?
Regards,
Stuart
*From:* Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> *Sent:* Friday, August 02, 2013 5:45 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Another note look into the caller_profile and index. I think you have two indexes for this situation.In your logic insert the records for the multiple indexes.
Lloyd * * **
On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
With the default configuration switch only log a_leg.
You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call.
Lloyd
On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills < stuart.mills3@btopenworld.com> wrote:
Hi Avi,
Thanks for your reply.
Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens.
Cheers,
Stuart
*From:* Avi Marcus <avi@avimarcus.net> *Sent:* Friday, August 02, 2013 3:24 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs?
-Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi,
Got a question regarding call at once combined with xml-cdr logging.
The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first.
Is this by design or a bug in the xml-cdr logging?
Thanks,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
yeah I can do that, although I've never used pastebin, do I need to register to use that? From: Michael Collins Sent: Sunday, August 04, 2013 12:50 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR It might be best of you posted those on pastebin with explanations and console logs of the calls. -MC On Fri, Aug 2, 2013 at 3:24 PM, Stuart Mills <stuart.mills3@btopenworld.com> wrote: Hi, Thanks for your reply. I have already changed the parameter log-b-leg to true in xml_cdr.conf and I am getting 2 records for the outbound calls and 1 for inbound. The issue is that the app_log section in the a_leg cdr seems to be split across the a_leg cdr and the b_leg cdr that “won” the race to be answered first. The second b_leg has no duration as expected. Am I making sense? Regards, Stuart From: Lloyd Aloysius Sent: Friday, August 02, 2013 5:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Another note look into the caller_profile and index. I think you have two indexes for this situation.In your logic insert the records for the multiple indexes. Lloyd On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> wrote: With the default configuration switch only log a_leg. You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call. Lloyd On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills <stuart.mills3@btopenworld.com> wrote: Hi Avi, Thanks for your reply. Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens. Cheers, Stuart From: Avi Marcus Sent: Friday, August 02, 2013 3:24 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs? -Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote: Hi, Got a question regarding call at once combined with xml-cdr logging. The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first. Is this by design or a bug in the xml-cdr logging? Thanks, Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 ------------------------------------------------------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
No, but there is a test you need to pass to get in. Kinda like "Speak friend and enter" if you get my meaning. -MC On Aug 3, 2013 5:21 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
yeah I can do that, although I've never used pastebin, do I need to register to use that?
*From:* Michael Collins <msc@freeswitch.org> *Sent:* Sunday, August 04, 2013 12:50 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
It might be best of you posted those on pastebin with explanations and console logs of the calls. -MC
On Fri, Aug 2, 2013 at 3:24 PM, Stuart Mills < stuart.mills3@btopenworld.com> wrote:
Hi,
Thanks for your reply.
I have already changed the parameter log-b-leg to true in xml_cdr.conf and I am getting 2 records for the outbound calls and 1 for inbound. The issue is that the app_log section in the a_leg cdr seems to be split across the a_leg cdr and the b_leg cdr that “won” the race to be answered first. The second b_leg has no duration as expected.
Am I making sense?
Regards,
Stuart
*From:* Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> *Sent:* Friday, August 02, 2013 5:45 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Another note look into the caller_profile and index. I think you have two indexes for this situation.In your logic insert the records for the multiple indexes.
Lloyd * * **
On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius < lloyd.aloysius@sunteltech.ca> wrote:
With the default configuration switch only log a_leg.
You need to enable b_leg in xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get billsec > 0 for the the answered call.
Lloyd
On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills < stuart.mills3@btopenworld.com> wrote:
Hi Avi,
Thanks for your reply.
Yeah I'm sure, I'm using ESL and if I dial a single number it performs as expected, it’s literally only when I'm making 2 or more calls at once it happens.
Cheers,
Stuart
*From:* Avi Marcus <avi@avimarcus.net> *Sent:* Friday, August 02, 2013 3:24 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Call at once and XML-CDR
Are you sure these aren't b leg things? Do you have an example of your dial plan and the logs?
-Avi On Aug 2, 2013 5:09 PM, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi,
Got a question regarding call at once combined with xml-cdr logging.
The problem I seem to get is when I try sending calls to 2 destinations and 1 call gets answered, so that wins the race, the xml-cdr logging seems to be a little confused. In the app_log I’m getting logging up to the point of the dial string, then nothing after that for the a-leg. What seems to happen is the rest of the app_log gets written to the cdr file of the bleg that answered the call first.
Is this by design or a bug in the xml-cdr logging?
Thanks,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
It's an "if you fail this simple test, part of your problem might be attention to detail" sort of test. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 3, 2013 9:30 PM, "Raymond Chandler" <intralanman@freeswitch.org> wrote:
On Aug 3, 2013 9:19 PM, "Michael Collins" <msc@freeswitch.org> wrote:
"Speak friend and enter"
+1
Love the LOTR reference :-)
-Ray
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
LOL, I guess I should have visited pastebin before asking that question I’ve created an account and pasted 2 cdrs - http://pastebin.com/wsLnYxhz – this is the inbound CDR for the call that originates 2 outbound calls using dial at once. http://pastebin.com/YXkuqWsT – this is the winner of the 2 outbound calls. You will see in the inbound paste, the app_log stops at the point of the 2 calls, then it continues in the outbound winners cdr record. If I just originate one call, this doesn’t happen, all of the app_log data is contained in the inbound cdr record. Regards, Stuart From: Brian Foster Sent: Sunday, August 04, 2013 2:32 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR It's an "if you fail this simple test, part of your problem might be attention to detail" sort of test. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 3, 2013 9:30 PM, "Raymond Chandler" <intralanman@freeswitch.org> wrote: On Aug 3, 2013 9:19 PM, "Michael Collins" <msc@freeswitch.org> wrote:
"Speak friend and enter"
+1 Love the LOTR reference :-) -Ray _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi, Has anyone managed to examine these pastebin cdr’s? I’m still wondering if it is a bug or if I need to manage this situation myself, any help/pointers would be fantastic. Thanks again, Stuart From: Stuart Mills Sent: Monday, August 05, 2013 10:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR LOL, I guess I should have visited pastebin before asking that question I’ve created an account and pasted 2 cdrs - http://pastebin.com/wsLnYxhz – this is the inbound CDR for the call that originates 2 outbound calls using dial at once. http://pastebin.com/YXkuqWsT – this is the winner of the 2 outbound calls. You will see in the inbound paste, the app_log stops at the point of the 2 calls, then it continues in the outbound winners cdr record. If I just originate one call, this doesn’t happen, all of the app_log data is contained in the inbound cdr record. Regards, Stuart From: Brian Foster Sent: Sunday, August 04, 2013 2:32 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR It's an "if you fail this simple test, part of your problem might be attention to detail" sort of test. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 3, 2013 9:30 PM, "Raymond Chandler" <intralanman@freeswitch.org> wrote: On Aug 3, 2013 9:19 PM, "Michael Collins" <msc@freeswitch.org> wrote:
"Speak friend and enter"
+1 Love the LOTR reference :-) -Ray _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Freeswitch pastebin link below http://pastebin.freeswitch.org/ Lloyd Sent from my BlackBerry device on the Rogers Wireless Network -----Original Message----- From: "Stuart Mills" <stuart.mills3@btopenworld.com> Sender: freeswitch-users-bounces@lists.freeswitch.org Date: Wed, 7 Aug 2013 01:15:53 To: FreeSWITCH Users Help<freeswitch-users@lists.freeswitch.org> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Call at once and XML-CDR _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
I want to use a freeDTM fxs to make local calls on a POTS line IF it isn't busy - not seeing an example of how to test. ( There are some ftdm commands for the fs_cli - but I'm not seeing how to grab this information for the dialplan. Has someone else set up a backup line like this? -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 With great power comes - some complexity. I can deal with a bit of complexity - that's why I run Debian Linux. --------------------------------------------------------------------------------
On Tue, Aug 6, 2013 at 11:50 PM, Karl Schmidt <karl@xtronics.com> wrote:
I want to use a freeDTM fxs to make local calls on a POTS line IF it isn't busy - not seeing an example of how to test. ( There are some ftdm commands for the fs_cli - but I'm not seeing how to grab this information for the dialplan.
Has someone else set up a backup line like this?
Hello Karl, You can execute CLI commands (which in FreeSWITCH lingo are called APIs) from the dialplan using dollar-sign syntax such as: <condition field="${ftdm_usage(1 1)}" expression="^0$"> </condition> That checks if span 1 channel 1 has 0 calls. Note there is an inherent small race between the time you check and the time you try to use the channel, but that ought to be good enough I think. *Moises Silva **Manager, Software Engineering*** msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 **<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures> Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
On 08/07/2013 11:18 AM, Moises Silva wrote:
You can execute CLI commands (which in FreeSWITCH lingo are called APIs) from the dialplan using dollar-sign syntax such as:
<condition field="${ftdm_usage(1 1)}" expression="^0$"> </condition>
Testing from the cli: freeswitch@internal> ftdm_usage 1 1 0 freeswitch@internal> eval ${ftdm_usage (1 1)} -ERR invalid span freeswitch@internal> eval ${ftdm_usage 1 1} 0 I think we need to drop the parenthesis? Added this to the wiki for the next guy.. Also, is there a command to list all of the available commands from the cli? Something like ls /usr/bin would do for us in bash. Or even a place in the source code that would list all the ftdi commands? I'm getting things going - finding the learning curve steep in spite of having read all 3 books, but I'm getting old.. One thing that would be very useful would be some dialplan log command that would dump all the available variables to the cli - so you can at least know what you have to work with. -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 They can print money; they cannot print wealth. Wealth only comes from productive behavior. Printing money only destroys the ability of wealth producers to produce more wealth. KPS --------------------------------------------------------------------------------
Press tab in fs_cli will get you started. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 7, 2013 5:57 PM, "Karl Schmidt" <karl@xtronics.com> wrote:
On 08/07/2013 11:18 AM, Moises Silva wrote:
You can execute CLI commands (which in FreeSWITCH lingo are called APIs) from the dialplan using dollar-sign syntax such as:
<condition field="${ftdm_usage(1 1)}" expression="^0$"> </condition>
Testing from the cli:
freeswitch@internal> ftdm_usage 1 1 0 freeswitch@internal> eval ${ftdm_usage (1 1)} -ERR invalid span
freeswitch@internal> eval ${ftdm_usage 1 1} 0
I think we need to drop the parenthesis?
Added this to the wiki for the next guy..
Also, is there a command to list all of the available commands from the cli? Something like ls /usr/bin would do for us in bash.
Or even a place in the source code that would list all the ftdi commands?
I'm getting things going - finding the learning curve steep in spite of having read all 3 books, but I'm getting old..
One thing that would be very useful would be some dialplan log command that would dump all the available variables to the cli - so you can at least know what you have to work with.
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
They can print money; they cannot print wealth. Wealth only comes from productive behavior. Printing money only destroys the ability of wealth producers to produce more wealth. KPS
--------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
In fs_cli use "/help" to show fs_cli commands. Use "help" to show FreeSWITCH commands. Like Brian said, if you just press <tab> you'll get a quick list of all the tab-complete-enabled commands. Using the "help" command is good because it will give you a quick description of each command. -MC On Wed, Aug 7, 2013 at 2:48 PM, Karl Schmidt <karl@xtronics.com> wrote:
On 08/07/2013 11:18 AM, Moises Silva wrote:
You can execute CLI commands (which in FreeSWITCH lingo are called APIs) from the dialplan using dollar-sign syntax such as:
<condition field="${ftdm_usage(1 1)}" expression="^0$"> </condition>
Testing from the cli:
freeswitch@internal> ftdm_usage 1 1 0 freeswitch@internal> eval ${ftdm_usage (1 1)} -ERR invalid span
freeswitch@internal> eval ${ftdm_usage 1 1} 0
I think we need to drop the parenthesis?
Added this to the wiki for the next guy..
Also, is there a command to list all of the available commands from the cli? Something like ls /usr/bin would do for us in bash.
Or even a place in the source code that would list all the ftdi commands?
I'm getting things going - finding the learning curve steep in spite of having read all 3 books, but I'm getting old..
One thing that would be very useful would be some dialplan log command that would dump all the available variables to the cli - so you can at least know what you have to work with.
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
They can print money; they cannot print wealth. Wealth only comes from productive behavior. Printing money only destroys the ability of wealth producers to produce more wealth. KPS
--------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
On 08/08/2013 11:33 AM, Michael Collins wrote:
In fs_cli use "/help" to show fs_cli commands. Use "help" to show FreeSWITCH commands. Like Brian said, if you just press <tab> you'll get a quick list of all the tab-complete-enabled commands. Using the "help" command is good because it will give you a quick description of each command.
-MC
I could have sworn that I had tried that already and it didn't work - it certainly works now (and I feel a bit stupid) - I had been using up-arrow and F6 already. I've been testing various SIP clients from Debian stable - both ekiga and qutecom fail to do call transfers (works well with linphone). Didn't find anything with google - is there more than one way for a SIP client to push a call transfer? Some setup bit on the freeswitch end? -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 There is no security in life, only opportunity - Mark Twain --------------------------------------------------------------------------------
The default dialplan has an example of using *1 or *4 to do a blind or attn xfer respectively. Look for "Local_Extension" in conf/dialplan/default.xml. -MC On Thu, Aug 8, 2013 at 12:44 PM, Karl Schmidt <karl@xtronics.com> wrote:
On 08/08/2013 11:33 AM, Michael Collins wrote:
In fs_cli use "/help" to show fs_cli commands. Use "help" to show FreeSWITCH commands. Like Brian said, if you just press <tab> you'll get a quick list of all the tab-complete-enabled commands. Using the "help" command is good because it will give you a quick description of each command.
-MC
I could have sworn that I had tried that already and it didn't work - it certainly works now (and I feel a bit stupid) - I had been using up-arrow and F6 already.
I've been testing various SIP clients from Debian stable - both ekiga and qutecom fail to do call transfers (works well with linphone). Didn't find anything with google - is there more than one way for a SIP client to push a call transfer? Some setup bit on the freeswitch end?
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
There is no security in life, only opportunity - Mark Twain
--------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
On 08/08/2013 03:06 PM, Michael Collins wrote:
The default dialplan has an example of using *1 or *4 to do a blind or attn xfer respectively. Look for "Local_Extension" in conf/dialplan/default.xml.
Thanks - Yes, I know and use that feature - the bit I'm trying to understand is why linphone's transfer function works and ekiga and qutecom fail. This might apply to stand-alone SIP phones - which I am shopping for - will the transfer button work? Either there is a similar bug in wheezy's version of both ekiga and qutecom or there is more than one way to do a transfer from a SIP clients perspective. .,. Also - this makes me think I should probably get a good book on SIP ( such reading also makes a wonderful cure for insomnia ) - any titles to recommend? -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Experience is something you never get, until just after you needed it. --------------------------------------------------------------------------------
Thankyou Lloyd. Pastes are as follows - inbound CDR - http://pastebin.freeswitch.org/21275 - shows the app_log stop when the calls are originated. Outbound winner CDR - http://pastebin.freeswitch.org/21276 - shows the app_log carry on from where the inbound seemed to stop. Regards, Stuart -----Original Message----- From: lloyd.aloysius@gmail.com Sent: Wednesday, August 07, 2013 4:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Freeswitch pastebin link below http://pastebin.freeswitch.org/ Lloyd Sent from my BlackBerry device on the Rogers Wireless Network -----Original Message----- From: "Stuart Mills" <stuart.mills3@btopenworld.com> Sender: freeswitch-users-bounces@lists.freeswitch.org Date: Wed, 7 Aug 2013 01:15:53 To: FreeSWITCH Users Help<freeswitch-users@lists.freeswitch.org> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Call at once and XML-CDR _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
I think I may have some more information regarding the app_log stopping it's output to XML-CDR files. I've just managed to re-create the issue using a single call - {aleg_uuid=801ec328-0040-11e3-9180-076be430ad07,module_id=1712,originate_timeout=15}[leg_timeout=15]sofia/gateway/sip_gateway/447535612620 Could any of my parameters be messing up the app_log output to the xml cdr files? Call at once still seems to split the app_log across 2 cdr's though which seems a bit odd to me. Stuart -----Original Message----- From: lloyd.aloysius@gmail.com Sent: Wednesday, August 07, 2013 4:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Call at once and XML-CDR Freeswitch pastebin link below http://pastebin.freeswitch.org/ Lloyd Sent from my BlackBerry device on the Rogers Wireless Network -----Original Message----- From: "Stuart Mills" <stuart.mills3@btopenworld.com> Sender: freeswitch-users-bounces@lists.freeswitch.org Date: Wed, 7 Aug 2013 01:15:53 To: FreeSWITCH Users Help<freeswitch-users@lists.freeswitch.org> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Call at once and XML-CDR _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (9)
-
Avi Marcus
-
Brian Foster
-
Karl Schmidt
-
Lloyd Aloysius
-
lloyd.aloysius@gmail.com
-
Michael Collins
-
Moises Silva
-
Raymond Chandler
-
Stuart Mills