[OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?
hobe69 at hotmail.com
Wed Apr 6 08:48:55 UTC 2022
Great thanks for your quick answer.
I got that workaround as well, however that would have been my next question what you already answered: using the A number in uuid field instead of username 😉
From: Bogdan-Andrei Iancu<mailto:bogdan at opensips.org>
Sent: Wednesday, 6 April 2022 18:25
To: OpenSIPS users mailling list<mailto:users at lists.opensips.org>; Bela H<mailto:hobe69 at hotmail.com>
Subject: Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?
The opensips-cli does not offer anymore the pure DB oriented ops (like the opensipsctl did). The actually opensipsctl avp add A_number callfwd 0 C_number translates into the query:
INSERT INTO usr_preferences
( uuid, username, domain, attribute, type, value, last_modified)
OpenSIPS Founder and Developer
OpenSIPS eBootcamp 23rd May - 3rd June 2022
On 4/5/22 11:31 PM, Bela H wrote:
I want to set up a call forwarding and followed the instructions from the "Building telephony systems with OpenSIPS". However, this is a little bit outdated, the old opensipsctl was replaced by opensips-cli. How can I add an avp data into a usr_preferences table from opensips-cli?
This was the old format: opensipsctl avp add A_number callfwd 0 C_number
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users