Hi Gang Recently we got a request from a customer, if we could just route calls to his number to an arbitrary sip URI.
First I was thinking on the lines - yes I could probably append_branch() yet another contact from yet another database table. But then I came across static entries in the userloc database, that would be even easier! Just add the additional entry with kamcmd and done. https://www.kamailio.org/docs/modules/5.8.x/modules/usrloc.html#usrloc.r.add Only issue - I haven't figured out how to add that contact - I would also need to add a path to send the invite via our rtpengine SBC. # kamcmd ul.add location AOR-XY sip:custo...@example.com 0 \ 440 sip:sbcip:5060 0 0 0 0 0 I am aware, the path should contain ;lr But no matter what I try I get: error: 500 - Not enough parameters or wrong format Does anyone have an example on how to add a static contact to the location database? I managed to add a contact with kamctl ul add but I don't manage to add the required path or q value. Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!