Is there any way to make PJSIP send the “#” as “#” and not as %23 in the INVITE?
I cannot figure this out.
The ‘#’ character is a delimiter in URIs, and must be escaped if not being used as such. Quoting RFC 2396, 2.4.3 :
PJSIP is doing the “right thing” by escape encoding the reserved character.