[Freeswitch-users] xml cdr help

Ken Rice krice at freeswitch.org
Tue Jul 31 18:29:33 MSD 2012


The Inbound/Outbound is from the perspective of FreeSWITCH... Keep in mind
that FreeSWITCH is a b2bua that means that 1 call that goes Endpoint ->
FreeSWITCH -> EndPoint is really 2 calls bridged together by freeswitch A
Leg = Endpoint -> FreeSwitch (inbound on your CDR)  B Leg = FreeSWITCH ->
Endpoint  (Outbound tagged on your CDR)

You¹ll notice that the UUIDs are flipped, cause each leg has a unique UUID
and the ³Bridge UUID² field is the link back to the other leg(s) associated
with that call


On 7/31/12 8:37 AM, "Lloyd Aloysius" <lloyd.aloysius at gmail.com> wrote:

> Hi All:
> 
> I implement the xml cdr. Now For a Incoming call -> IVR - > Dial Extension
> create two records see below. Basically both records should say inbound call .
> But one say as outbound. What is the reason the xml cdr module behave this
> way. Also for a one incoming call to a destination why showing the two
> records?
> 
> 
> Also I notice when we make a outbound call the direction field say inbound.
> But it should be outbound. Any help is appreciated.
> 
> callerid number , destination number , uuid ,bridge uuid , date ,time
> 
> 1416471234  144  outbound   7f055bf3-6622-4a47-8a86-e92c7683d74d
> 898cc58c-8447-4a51-b559-3d1f2a063014  2012/07/30 15:37:41 00:00:12 
> 
> 1416471234  144  inbound    898cc58c-8447-4a51-b559-3d1f2a063014
> 7f055bf3-6622-4a47-8a86-e92c7683d74d  2012/07/301 5:37:23 00:00:30 
> 
> 
> Thanks
> Lloyd
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120731/e13fbe0e/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list