# PJSIP - Copy SIP Call-Info header on internal call

**URL:** <https://community.freepbx.org/t/pjsip-copy-sip-call-info-header-on-internal-call/68676>\
**Category:** Configuration\
**Created:** [July 17, 2020, 9:03pm UTC](https://community.freepbx.org/t/pjsip-copy-sip-call-info-header-on-internal-call/68676 "2020-07-17T21:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![danielf](https://community.freepbx.org/user_avatar/community.freepbx.org/danielf/32/4221_2.png) [@danielf](https://community.freepbx.org/u/danielf)\
**Post date:** [July 22, 2020, 11:37pm UTC](https://community.freepbx.org/t/pjsip-copy-sip-call-info-header-on-internal-call/68676/14 "2020-07-22T23:37:45Z")

</div>

Hello @kellydk,

I am glad that this solves your problem, but please do not include the `from-internal` context in the `from-internal-custom` context. It is already included and it might cause a loop.

Another thing, you will have to escape the semi-colon in your Call-Info link.

It should look like this:

```
[from-internal-custom]
exten => 2007/2008,1,Log(NOTICE,GDS3710 is calling to extension ${EXTEN})
same => n,GoSub(func-set-sipheader,s,1(Call-Info,<https://IP_of_GDS3710:443/capture/8001>\;purpose=GDS-view))

```

Thank you,

Daniel Friedman  
Trixton LTD.

---

_[View the full topic](https://community.freepbx.org/t/pjsip-copy-sip-call-info-header-on-internal-call/68676)._
