# PJSIP SIPAddHeader Functionality

**URL:** <https://community.asterisk.org/t/pjsip-sipaddheader-functionality/79376>\
**Category:** Asterisk SIP\
**Created:** [April 16, 2019, 11:10pm UTC](https://community.asterisk.org/t/pjsip-sipaddheader-functionality/79376 "2019-04-16T23:10:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesmackey](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jamesmackey](https://community.asterisk.org/u/jamesmackey)\
**Post date:** [April 16, 2019, 11:10pm UTC](https://community.asterisk.org/t/pjsip-sipaddheader-functionality/79376/1 "2019-04-16T23:10:52Z")

</div>

For a given call, it is apparent that using SIP, we can run SIPAddHeader to add custom headers to the call.

However, it doesn’t appear the same functionality exists in pjsip.conf. Am I mistaken?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 16, 2019, 11:14pm UTC](https://community.asterisk.org/t/pjsip-sipaddheader-functionality/79376/2 "2019-04-16T23:14:56Z")

</div>

The chan\_pjsip module uses the PJSIP\_HEADER dialplan function[1].

[1] [https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function\_PJSIP\_HEADER](https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_PJSIP_HEADER)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 16, 2019, 11:15pm UTC](https://community.asterisk.org/t/pjsip-sipaddheader-functionality/79376/3 "2019-05-16T23:15:03Z")

</div>

Closed on May 16, 2019, 11:15pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
