Make a new file test.php and configure xml_cdr.conf to use this file.
Place this as its contents.
file_put_contents("outputfile.txt", file_get_contents("php://input"));

This will dump all the data into outputfile.txt. Try it with both the first and second extensions. And then compare the logs to see what difference if there. Check for urlencoding and tags.

If the logs are the same then In the fusionPBX folder search for the file v_xml_cdr_import.
This is the file that parses the POSTed XML from freeswitch and dumps it into the database. Try logging at different places to see why the second extension is failing to dump data. 

On Wednesday, May 13, 2015, Jens Tautenhahn <shogun@tausys.de> wrote:
Hi,

I have a very initial FusionPBX/FreeSwitch 1.4.18 setup. I have added
two extensions and multiple SIP trunks. Firewall config was a little bit
tricky because FreeSwitch is NATed. But now everything works great.

Now the problem: I got only CDRs for the first extension. Either for
internal or external calls. Outgoing calls from the second extension are
not logged.

How can I find the cause?


Greetings

_________________________________________________________________________
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