Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-26 Thread Dan Cropp
...@lists.digium.com [mailto:asterisk-dev-boun...@lists.digium.com] On Behalf Of Mark Michelson Sent: Tuesday, August 25, 2015 4:53 PM To: Asterisk Developers Mailing List Subject: Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does) Yep, that looks like what I would expect

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Dan Cropp
Mailing List Subject: Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does) The answer to this is actually pretty simple: adding Referred-By in outgoing SIP REFERs is simply not implemented in chan_pjsip's chan_pjsip_transfer() function. As far as the syntax required

[asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Dan Cropp
I asked the question on asterisk-users but did not receive a response, so I am sending the question here. I am running Asterisk 13.5.0. A call comes in, Asterisk answers it. After some actions, the call needs to be Transferred (SIP REFER) to another number. The other switch is responsible

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Mark Michelson
The answer to this is actually pretty simple: adding Referred-By in outgoing SIP REFERs is simply not implemented in chan_pjsip's chan_pjsip_transfer() function. As far as the syntax required for the Transfer() application, that's probably a case where that needs to be clarified in

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Dan Cropp
Thank you Mark From: asterisk-dev-boun...@lists.digium.com [mailto:asterisk-dev-boun...@lists.digium.com] On Behalf Of Mark Michelson Sent: Tuesday, August 25, 2015 10:30 AM To: Asterisk Developers Mailing List Subject: Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Mark Michelson
! Dan *From:*asterisk-dev-boun...@lists.digium.com [mailto:asterisk-dev-boun...@lists.digium.com] *On Behalf Of *Dan Cropp *Sent:* Tuesday, August 25, 2015 10:50 AM *To:* Asterisk Developers Mailing List *Subject:* Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Mark Michelson
:* Tuesday, August 25, 2015 1:17 PM *To:* Asterisk Developers Mailing List *Subject:* Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does) That code gets you about 95% of the way there. The biggest difference would be that the pjsip_msg_add_hdr() call may need

Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does)

2015-08-25 Thread Dan Cropp
Developers Mailing List Subject: Re: [asterisk-dev] Transfer cmd (PJSIP not sending Referred-By but chan_sip does) That code gets you about 95% of the way there. The biggest difference would be that the pjsip_msg_add_hdr() call may need to be broken up based on whether the SIPREFERREDBYHDR channel