On 27.11.19 10:49, Skale Franz wrote:
Hi Andreas,
IMHO, you should be able to "rewrite" any header by using the pjsip_module mod_default_handler.
Best regards
Franz
Citycom Telekommunikation GmbH
Gadollaplatz 1
8010 Graz | Austria
________________________________________
Howdy,
Thanks for the suggestion but I don't really like this approach for this
particular use-case.
I know that the "From" header is set once when the INVITE session is
created and kept throughout the lifetime of the session.
Being able to influence what is set when the session is created seems to
me to be the cleaner and easier approach because
I'd need to do it only once and not need any extra modules which is why
I brought this up in the first place.
@Franz - Out of interest: Are you using pjsua or pjsip directly?
Best Regards,
Andreas
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org