# Anyone have Alert Info Working with PJSIP?

**URL:** <https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057>\
**Category:** VitalPBX\
**Created:** [March 8, 2022, 7:38pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057 "2022-03-08T19:38:02Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 8, 2022, 7:38pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/1 "2022-03-08T19:38:03Z")

</div>

Can anyone confirm Alert-Info is working with PJSIP in current version, I have the string set on my inbound routes but phones are acting like they are not getting it. I have set up these phones on another PBX software before and they worked great so I’m leaning towards it being VitalPBX. I see a number of previous posts saying it did not work with PJSIP but that it would be fixed in the “next update” so I am looking for confirmation it was fixed before I pull my hair out.

---

<div class="post-metadata">

**Author:** ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)\
**Post date:** [March 8, 2022, 8:04pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/2 "2022-03-08T20:04:29Z")

</div>

Try using SNGREP to verify if the PBX is sending the Headers.

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 8, 2022, 8:25pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/3 "2022-03-08T20:25:13Z")

</div>

I’ll have to look into the SNGREP tool, we came from another PBX system that had packet capture and such built in so we aren’t familiar with stuff like this.

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 8, 2022, 8:36pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/4 "2022-03-08T20:36:24Z")

</div>

Well after a quick crash course I do see an “Alert-Info: pbx-external” which is the info I added. I guess my next question is does anyone have this working with Grandstream GRP phones, maybe they handle it correctly with SIP but not with PJSIP.

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [March 8, 2022, 8:55pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/5 "2022-03-08T20:55:50Z")

</div>

Did you configure the phone to recognize this alert info? If so, if you do a packet capture on the actual phone, do you see the alert info there?

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 8, 2022, 9:17pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/6 "2022-03-08T21:17:05Z")

</div>

I did set up the phone, specifically it was already set up and working on another PBX and we did not change anything on the config but the server.

I’ll try a packet capture from the phone.

---

<div class="post-metadata">

**Author:** ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)\
**Post date:** [March 9, 2022, 12:54pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/7 "2022-03-09T12:54:57Z")

</div>

I have it working with this on inbound routes:  
 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/5119ecd698359e53070255565e5686bfc148e91a.png)

I use that with Gigaset Phones and PJSIP and it is working.  
One the Gigaset side i also need to use all of that:

```auto
info=alert-external

```

Actually it is this but that is a different thing (has todo with Gigaset). Internal for External and External for Internal.

```auto
info=alert-internal

```

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 10, 2022, 1:43pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/8 "2022-03-10T13:43:25Z")

</div>

So I did a packet capture from the phone and the Alert-info header does appear to be in the data the phone received

Alert-Info: pbx-external

Scratching my head now because the phones worked on our old PBX setup but I’ll have to look into issues with the phone now as the only change was from SIP to PJSIP and the data appears to be sending properly.

---

<div class="post-metadata">

**Author:** ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)\
**Post date:** [March 10, 2022, 4:41pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/9 "2022-03-10T16:41:57Z")

</div>

> [@UTS\_Brian](#):
>
> So I did a packet capture from the phone and the Alert-info header does appear to be in the data the phone received

Please share the exact part of the sip trace. Also send screenshots of the inbound route and it’s Alert Info!

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [March 10, 2022, 10:29pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/10 "2022-03-10T22:29:22Z")

</div>

Can you show us what you configured on the phone to look for the alert-info?

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 11, 2022, 2:39pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/11 "2022-03-11T14:39:46Z")

</div>

![Phone Setting](https://forums.vitalpbx.org/uploads/default/original/1X/4dc329ea3eb708f11454738cc6222f4e05233279.jpeg)

 ![Route Setting](https://forums.vitalpbx.org/uploads/default/original/1X/4d3800685a9d1157f9a916aa41e91e756c01a1a2.jpeg)  
SIP trace info will be in next post.

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 11, 2022, 2:46pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/12 "2022-03-11T14:46:47Z")

</div>

Capture from phone.

Frame 292: 1412 bytes on wire (11296 bits), 1412 bytes captured (11296 bits)  
Ethernet II, Src: eacAUTOM\_33:33:33 (00:e0:67:33:33:33), Dst: Grandstr\_2d:13:0a (c0:74:ad:44:44:44)  
802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 0  
Internet Protocol Version 4, Src: 111.111.111.111, Dst: 222.222.222.222  
User Datagram Protocol, Src Port: 5060, Dst Port: 54906  
Session Initiation Protocol (INVITE)  
Request-Line: INVITE sip:101@222.222.222.222:54906 SIP/2.0  
Message Header  
Via: SIP/2.0/UDP 111.111.111.111:5060;rport;branch=z9hG4bKPj097ff4a8-da88-408b-ac1e-f50c3f68724b  
From: “UTS Brian Cook Cell” sip:7726332507@111.111.111.111;tag=e74893b3-bf32-4eee-bd45-312ca0466c4e  
To: sip:101@222.222.222.222  
Contact: sip:asterisk@111.111.111.111:5060  
Call-ID: b10650b0-c9e8-48f5-b426-7dbf21439582  
[Generated Call-ID: b10650b0-c9e8-48f5-b426-7dbf21439582]  
CSeq: 10590 INVITE  
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER  
Supported: 100rel, timer, replaces, norefersub, histinfo  
Session-Expires: 1800  
Min-SE: 90  
P-Asserted-Identity: “UTS Brian Cook Cell” sip:7726332507@111.111.111.111  
Remote-Party-ID: “UTS Brian Cook Cell” sip:7726332507@111.111.111.111;party=calling;privacy=off;screen=no  
Alert-Info: pbx-external  
Call-Info: pbx-external  
CALL-TYPE: IN  
APPLICATION: NONE  
Max-Forwards: 70  
User-Agent: VitalPBX  
Content-Type: application/sdp  
Content-Length: 404  
Message Body

(Obviously info has been sanitized)

---

<div class="post-metadata">

**Author:** ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)\
**Post date:** [March 12, 2022, 9:31am UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/14 "2022-03-12T09:31:14Z")

</div>

> [@UTS\_Brian](#):
>
> Alert-Info: pbx-external  
> Call-Info: pbx-external

And now please the SIP-trace from VitalPBX with the Alert-Info.  
+some info from SNGREP maybe.

FYI:  
I just tested with Fanvil X6U and everything is working just fine (PJSIP).

 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/eb86dbc387d3050c33c5141e436b057e6ad193a4.png)  
 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/02e36dab02266ada991b6dcec5baf253a3c4d4e4.png)

Grandstream issue with PJSIP?  
Try with “external” instead of “pbx-external” in all fields.

Could you please try with Chan\_SIP for testing?  
Not sure if true: for Alert-Info on Chan\_SIP “info=pbx-external” might be needed in inbound route of VitalPBX.

---

<div class="post-metadata">

**Author:** ![UTS\_Brian](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/uts_brian/32/674_2.png) [@UTS\_Brian](https://forums.vitalpbx.org/u/UTS_Brian)\
**Post date:** [March 14, 2022, 1:44pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/15 "2022-03-14T13:44:00Z")

</div>

> [@mo10](#):
>
> Grandstream issue with PJSIP?  
> Try with “external” instead of “pbx-external” in all fields.

That was something I actually suggested above that its a specific PJSIP & Grandstream issue as this worked with the same phone on our old system which was SIP only.

I already tried just “external” troubleshooting before I made this post.

I’ll get some SNGREP traces this afternoon if things slow down, short a tech for the week so its busy.

---

<div class="post-metadata">

**Author:** ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)\
**Post date:** [April 13, 2022, 1:44pm UTC](https://forums.vitalpbx.org/t/anyone-have-alert-info-working-with-pjsip/1057/16 "2022-04-13T13:44:59Z")

</div>

Closed on April 13, 2022, 1:44pm UTC

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