[SR-Users] How to delete all values for a certain xavp index
Sergiu Pojoga
pojogas at gmail.com
Sun May 3 05:56:37 CEST 2020
Hi there,
For some reason I can't figure this seemingly simple Subj, may be someone
can help.
In my particular case, trying to delete Contact[0] from the xavp storing
Contacts after t_load_contacts()
$xavp(tm_contacts[0]) = $null;
Above results in all but the latest added value being deleted. Assigning
$null to index[1] results in all but the latest 2 being delete and so on.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200502/67724260/attachment.html>
More information about the sr-users
mailing list