[Users] route headers extraction

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Aug 16 16:07:33 CEST 2005


On 08/16/05 03:47, OpenSer Users wrote:

> hello,
> I am interested in extracting "Route" headers from OK and ACK replies 
> to an INVITE request and matching them to the transaction being 
> accounted. is it possible to do this somehow ?
> I am trying to use AVPs but:
> for OK replies function avp_write does not work for onreply_route blocks.

avp_write() do not work in onreply_route because the execution is not 


> for ACK messages AVPs are getting saved (tested with function 
> avp_print) but are not saved into the transaction acknowledged by the 
> ACK message, the saved AVPs are not reflected in the accounting packet.
> Is is possible to save those reply headers "statefull" and account them ?
> thanks,
> Razvan Radu
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the sr-users mailing list