Re: PJSUA: Set From userpart when making a call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

Citycom Telekommunikation GmbH
Gadollaplatz 1
8010 Graz | Austria



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,

Visit our blog:

pjsip mailing list

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux