Hi,

in kamailio 3.3, doing

  uac_replace_from("", "$var(myuri)");

doesn't remove the old Display part anymore (although the documentation
still says it should), the debug log is:

DEBUG: uac [uac.c:499]: dsp=(nil) (len=0) , uri=0x7fff87f6b840 (len=28)
DEBUG: uac [replace.c:324]: uri to replace [sip:a...@example.org]
DEBUG: uac [replace.c:325]: replacement uri is [sip:b...@example.org]
DEBUG: uac [replace.c:383]: encode
is=<UEtlSyomCD8kIi8/SnlZMzNyS29QS2VLanBKeg--> len=40

So no hint that the old display is being removed. When doing

  uac_replace_from("foo", "$var(myuri)");

then there's an additional line like this:

DEBUG: uac [replace.c:284]: removing display ["olddisplay"]

which is missing when I put an empty string in the first parameter.

Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to