Jump to content

SOAP Message changed in new version


Recommended Posts

Posted

The SOAP message in version 3.1.2.3120 changed drastically and all logging is not working. The TimeConnected and TimeAnswered fields is now showing the duration of the call and the Duration is only showing the seconds connected and ignoring the minutes. We are in the process of redoing the logging to SQL, but would like to make sure that these logs are correct as we do not want to change the code behind with every new version.

 

<?xml version="1.0" encoding="utf-8"?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx">

<env:Body>

<sns:CDR>

<CallID>3c29273a9c40-dzjn3pcjzf74@snom300-000413259650#c6eec00552</CallID>

<Type>extcall</Type>

<Domain>midlands.yslzone.net</Domain>

<Language>en</Language>

<From>"Midlands Speed dial" <sip:0878053621@midlands.yslzone.net></From>

<To><sip:9@midlands.yslzone.net></To>

<Extension>0878053621</Extension>

<Number>9</Number>

<FromUser>0878053621@midlands.yslzone.net</FromUser>

<IvrUser>0878053621@midlands.yslzone.net</IvrUser>

<ToTrunk>

</ToTrunk>

<TimeStart>1234282044</TimeStart>

<LocalTime>20090210180724</LocalTime>

<TimeConnected>93</TimeConnected>

<TimeAnswered>93</TimeAnswered>

<DurationHHMMSS>0:01:33</DurationHHMMSS>

<Duration>33</Duration>

<StatisticsReverse>0</StatisticsReverse>

</sns:CDR>

</env:Body>

</env:Envelope>

Posted

Can you please verify whether your fields match what is explained in http://wiki.pbxnsip.com/index.php/Simple_CDR_Format?

 

 

The SOAP message in version 3.1.2.3120 changed drastically and all logging is not working. The TimeConnected and TimeAnswered fields is now showing the duration of the call and the Duration is only showing the seconds connected and ignoring the minutes. We are in the process of redoing the logging to SQL, but would like to make sure that these logs are correct as we do not want to change the code behind with every new version.

 

<?xml version="1.0" encoding="utf-8"?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx">

<env:Body>

<sns:CDR>

<CallID>3c29273a9c40-dzjn3pcjzf74@snom300-000413259650#c6eec00552</CallID>

<Type>extcall</Type>

<Domain>midlands.yslzone.net</Domain>

<Language>en</Language>

<From>"Midlands Speed dial" <sip:0878053621@midlands.yslzone.net></From>

<To><sip:9@midlands.yslzone.net></To>

<Extension>0878053621</Extension>

<Number>9</Number>

<FromUser>0878053621@midlands.yslzone.net</FromUser>

<IvrUser>0878053621@midlands.yslzone.net</IvrUser>

<ToTrunk>

</ToTrunk>

<TimeStart>1234282044</TimeStart>

<LocalTime>20090210180724</LocalTime>

<TimeConnected>93</TimeConnected>

<TimeAnswered>93</TimeAnswered>

<DurationHHMMSS>0:01:33</DurationHHMMSS>

<Duration>33</Duration>

<StatisticsReverse>0</StatisticsReverse>

</sns:CDR>

</env:Body>

</env:Envelope>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...