[Freeswitch-users] XML CDR not posting to webserver

kokoska rokoska kokoska.rokoska at post.cz
Tue Aug 19 07:02:53 PDT 2008




Jonas Gauffin napsal(a):
> does it work without SSL?
> 

Good point :-)
Yes, it works...

BTW: mod_xml_curl works with SSL very well with identical setup, so why
mod_xml_cdr doesn't? If FreeSWITCH and web server are not on the same
machine, I prefer to use safer https...

Thank you very much, Jonas, for your help!

Best regards,

kokoska.rokoska


> On Tue, Aug 19, 2008 at 2:24 PM, kokoska rokoska
> <kokoska.rokoska at post.cz> wrote:
>> Hi all,
>>
>> I try to use mod_xml_cdr for posting CDR records to my web server but
>> without luck. The situation is as follows:
>>
>> 1. I utilize mod_xml_curl to serve configuration, directory and dialplan
>> to the FreeSWITCH - it works very well.
>>
>> 2. On the same web server I prepare cdr.php file to work with CDR
>> (normalize, insert to DB etc.)
>>
>> 3. When I test mentioned file from www browser (localy or remotly),
>> everything works fine.
>>
>> 4. When I fire the call, after it ends I see:
>>
>> [ERR] mod_xml_cdr.c:184 my_on_hangup() Got error [0] posting to web
>> server [https://192.168.1.125/fs/cdr.php]
>>
>> and the CDR is saved to the HDD
>>
>> 5. If I check apache logs (access|error|request|whatever) I can't see
>> any request sent to cdr.php
>>
>>
>> BTW:
>> I load mod_xml_cdr in post_load_modules.conf and the config is:
>>
>> <configuration name="xml_cdr.conf" description="XML CDR CURL logger">
>> <settings>
>>  <param name="url" value="https://192.168.1.125/fs/cdr.php"/>
>>  <param name="retries" value="2"/>
>>  <param name="delay" value="5"/>
>>  <param name="log-dir" value=""/>
>>  <param name="log-b-leg" value="true"/>
>>  <param name="ignore-cacert-check" value="true" />
>> </settings>
>> </configuration>
>>
>> I'm sure I miss something important, but don't know what :-)
>> Any suggestion is very welcome...
>>
>> Best regards,
>>
>> kokoska.rokoska
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at 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
> 





More information about the FreeSWITCH-users mailing list