[SR-Users] Reason header body to acc_sip_reason_column

Daniel-Constantin Mierla miconda at gmail.com
Fri May 30 16:58:47 CEST 2014


Hello,

if you want it as separate column, should work, one option being with 
onreply_route[x] and storing the header value in an avp.

If you want it over the existing column, then you have to patch the 
module, eventually adding a modparam to control this behaviour. The 
reply should be accessible via the transaction structure that is passed 
to acc module via a callback function.

Cheers,
Daniel

On 30/05/14 15:43, Juha Heinanen wrote:
> if response has reason header, i would like to gets its body to
> acc_sip_reason_column field rather than the reason on the response
> status line which does not bring any added value.
>
> any comments on how to achieve that?
>
> -- juha
>
> Session Initiation Protocol
>      Status-Line: SIP/2.0 404 Not Found
>      ...
>      Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
>
> _______________________________________________
> 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




More information about the sr-users mailing list