[SR-Users] pdd value

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 22 19:41:27 CET 2014


Hello,

in the request route, for initial invite you can store $Ts in an avp, like:

$avp(itime) = $Ts;

before relaying, set an onreply_route for the transaction and then in 
onreply route, get the value like:

if(status=="180") {
    $avp(pdd) = $Ts - $avp(itime);
}

In acc, you have to save the $avp(pdd).

Cheers,
Daniel

On 21/01/14 14:53, Oliver Roth wrote:
>
> Hi all
>
> Question about an additional cdr information.
>
> We need to get the pdd value – means a time value till the user gets a 
> ringback or an error- to track the delay, till a connection is done 
> àquality issue for customer.
>
> 5.6.1 Definition of Post Dial Delay
> Post Dial Delay (PDD) is experienced by the originating customer as 
> the time from the sending of the final dialled digit to the point at 
> which they hear ring tone or other in-band information. Where the 
> originating network is required to play an announcement before 
> completing the call then this definition of PDD excludes the duration 
> of such announcements.
>
> How can this be done in Kamailio?
>
> We use the carrierroute module with different fallback carriers.
>
> Kamailio version 3.3.5
>
> Thanks in advance
>
> Oli
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140122/290ae9ae/attachment.html>


More information about the sr-users mailing list