DoubleDriveLine
Active Member
- Joined
- Sep 23, 2017
- Messages
- 144
- Reaction score
- 46
I have one of these in my lab right now. For the most part it is working as desired but there is one function that is not working on my IPBX 2021 (yes I will get around to replacing it sometime soon.
).
There is a function when the Door phone calls a Grandstream GXP2170 Phone a series of jpg images can be shown on the display as an almost video from the door phone. This is not true video as the 2170 does not support video codes. What happens is in the invite the door phone sends SIP header "Call-Info" containing a url. Looking at a Wireshark capture it looks like this.

When the phone receives that message it will display a series of jpg images from the camera. The issue is this header is stripped off by IPBX. I found a post from 2018 on the FreePBX forums that discusses this very issue and a fix for it. The fix as described there is not working in IPBX 2021.
Grandstream GDS3710 with GXP2170
@kovadam69 got it working by adding custom context in the extensions_custom.conf.
I have added this code to my extensions_custom.conf but no luck. I tried adding it to the end, beginning, and right after the [from-internal-custom] section.
I even tried rebooting the PBX just to make sure it wasn't one of those issues where the change requires a reboot.
Does anyone have any thoughts on why this isn't working?
BTW this function works out of the box if you are using a Grandstream PBX. I of course don't use one of those systems.
The GDS and the GXP are both on the most recent firmware.
There is a function when the Door phone calls a Grandstream GXP2170 Phone a series of jpg images can be shown on the display as an almost video from the door phone. This is not true video as the 2170 does not support video codes. What happens is in the invite the door phone sends SIP header "Call-Info" containing a url. Looking at a Wireshark capture it looks like this.

When the phone receives that message it will display a series of jpg images from the camera. The issue is this header is stripped off by IPBX. I found a post from 2018 on the FreePBX forums that discusses this very issue and a fix for it. The fix as described there is not working in IPBX 2021.
Grandstream GDS3710 with GXP2170
@kovadam69 got it working by adding custom context in the extensions_custom.conf.
Code:[macro-dialout-one-predial-hook] exten => s,1,NoOp(******************** PRE DIAL HOOK ********************) exten => s,n,SIPAddHeader(Call-Info: ${SIP_HEADER(Call-Info)}
I have added this code to my extensions_custom.conf but no luck. I tried adding it to the end, beginning, and right after the [from-internal-custom] section.
I even tried rebooting the PBX just to make sure it wasn't one of those issues where the change requires a reboot.
Does anyone have any thoughts on why this isn't working?
BTW this function works out of the box if you are using a Grandstream PBX. I of course don't use one of those systems.
The GDS and the GXP are both on the most recent firmware.