[asterisk-bugs] [JIRA] (ASTERISK-29918) res_pjsip_refer: Can not get custom headers from REFER
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Mon Feb 14 08:53:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-29918:
---------------------------------------
Description:
During the migration to PJSIP - there was a need to get custom headers from REFER.... In search of a solution, we looked at all the tickets related to this in Jira and fully studied wiki.asterisk.org. But what we found does not work for PJSIP.
What I'm trying to do:
1. From the external system comes the REFER
2. Asterisk receives it and transfers the call to the context specified in TRANSFER_CONTEXT
3. In this context, you need to get the headers. Have you tried to do it like here ASTERISK-27162 and https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_SIP_HEADER, but nothing works.
Because of this, we cannot abandon chan_sip.
was:
During the migration to PJSIP - there was a need to get custom headers from REFER.... In search of a solution, we looked at all the tickets related to this in Jira and fully studied wiki.asterisk.org. But what we found does not work for PJSIP.
What I'm trying to do:
1. From the external system comes the REFER
2. Asterisk receives it and transfers the call to the context specified in TRANSFER_CONTEXT
3. In this context, you need to get the headers. Have you tried to do it like here https://issues.asterisk.org/jira/browse/ASTERISK-27162 and https://wiki.asterisk.org/wiki/display/AST/Asterisk +16+Function_SIP_HEADER, but nothing works.
Because of this, we cannot abandon chan_sip.
> res_pjsip_refer: Can not get custom headers from REFER
> ------------------------------------------------------
>
> Key: ASTERISK-29918
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29918
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip, Resources/res_pjsip
> Affects Versions: 16.6.2
> Environment: Debian10, CenoOS7, Asterisk 16.6.2 (and up)
> Reporter: Kozlov Aleksey
> Assignee: Unassigned
>
> During the migration to PJSIP - there was a need to get custom headers from REFER.... In search of a solution, we looked at all the tickets related to this in Jira and fully studied wiki.asterisk.org. But what we found does not work for PJSIP.
> What I'm trying to do:
> 1. From the external system comes the REFER
> 2. Asterisk receives it and transfers the call to the context specified in TRANSFER_CONTEXT
> 3. In this context, you need to get the headers. Have you tried to do it like here ASTERISK-27162 and https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_SIP_HEADER, but nothing works.
> Because of this, we cannot abandon chan_sip.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list