Hi Simon,
This is one of the things addressed in 3.6, where you can attache
various attributes to a branch, after creating it.
But for older version, a quick dirty trick is to pack the info you need
(per branch), do a base64 over it and added it as URI param when doing
append_branch()...and you can retrieve it later in branch route, do
revert base64 and unpack.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 07.07.2025 17:41, Simon Gajski via Users wrote:
Hi to all
Is there a way to add additional accounting info for each append_branch?
append_branch("sip:$avp(forking_num)@1.2.3.4:5060");
I am using opensips 3.5
My problem here is that I am doing parallel forking with opensips
subscriber number and mobile number.
I get ringing on both numbers, calls are working fine no matter which
side answers.
But I would need additional info in accounting table that my
subscriber sent forking call to pstn gateway.
So far only first cdr is stored to my acc table of a call comming to
my opensips subscriber number.
Thanks for all help
BR
Simon
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users