[SR-Users] How to check If Alias is already Set in Contact Header

Terry Tailor terry at fullduplex.co.uk
Thu Jul 8 13:18:21 CEST 2021


Thanks Juha.
I add check before adding alias

if($(ct{param.value,alias}) == $null) {
}

It's seems working.


On Thu, Jul 8, 2021 at 3:51 PM Juha Heinanen <jh at tutpro.com> wrote:

> Transformations (e.g. nameaddr.uri and uri.param.name) on $ct are your
> friends.
>
> -- Juha
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210708/b5d8ef2b/attachment.htm>


More information about the sr-users mailing list