Re: [pjsip] pjsip Digest, Vol 156, Issue 4

R
ramon
Sun, Aug 23, 2020 5:28 AM

I found the solution.
Its necessary register on_tx_request callback and get in callback function
the "From" header from pjsip_tx_data and add the new param in
from_hdr->other_param.

On Sun, Aug 16, 2020 at 6:01 PM pjsip-request@lists.pjsip.org wrote:

Send pjsip mailing list submissions to
pjsip@lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
pjsip-request@lists.pjsip.org

You can reach the person managing the list at
pjsip-owner@lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."
Today's Topics:

1. It's possible to add a new element to from header with pjsua?
   (ramon)

---------- Forwarded message ----------
From: ramon calanor@gmail.com
To: pjsip@lists.pjsip.org
Cc:
Bcc:
Date: Sat, 15 Aug 2020 19:22:00 +0200
Subject: [pjsip] It's possible to add a new element to from header with
pjsua?
I need to add an "epid" tag in the "from" header in REGISTER, INVITE and
SUBSCRIBE header to make it compatible with the siemens persistence system.
Is this possible with pjsua?

Example:
From:15615299502sip:15615299502@10.232.3.110:5061;tag=1906573633a04221a22cf7f26df32989;epid
=SC123456

Is this possible with pjsua?
Thanks in advance


pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I found the solution. Its necessary register on_tx_request callback and get in callback function the "From" header from pjsip_tx_data and add the new param in from_hdr->other_param. On Sun, Aug 16, 2020 at 6:01 PM <pjsip-request@lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip@lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request@lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner@lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > Today's Topics: > > 1. It's possible to add a new element to from header with pjsua? > (ramon) > > > > ---------- Forwarded message ---------- > From: ramon <calanor@gmail.com> > To: pjsip@lists.pjsip.org > Cc: > Bcc: > Date: Sat, 15 Aug 2020 19:22:00 +0200 > Subject: [pjsip] It's possible to add a new element to from header with > pjsua? > I need to add an "epid" tag in the "from" header in REGISTER, INVITE and > SUBSCRIBE header to make it compatible with the siemens persistence system. > Is this possible with pjsua? > > Example: > From:15615299502<sip:15615299502@10.232.3.110:5061>;tag=1906573633a04221a22cf7f26df32989;epid > =SC123456 > > Is this possible with pjsua? > Thanks in advance > > > > _______________________________________________ > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >