[asterisk-bugs] [JIRA] (ASTERISK-29918) Can not get custom headers from REFER

Kozlov Aleksey (JIRA) noreply at issues.asterisk.org
Sun Feb 13 11:25:06 CST 2022


Kozlov Aleksey created ASTERISK-29918:
-----------------------------------------

             Summary: 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
            Severity: Major


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list