[SR-Users] how to check path vector after lookup("location")

Sergey Safarov s.safarov at gmail.com
Fri Aug 21 19:43:04 CEST 2020


I use this construction to check the presence of path in device registration

          if(reg_fetch_contacts("location", "$fu", "caller") &&
$(ulc(caller=>path)[0]) == $null) {
              handle_ruri_alias();
          }

Is possible to check path presence after lookup("location") function call?

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200821/8bde5df9/attachment.htm>


More information about the sr-users mailing list