Video calls not working from FreePBX to Grandstream UCM by SIP Trunk

Hi. I have a GDS3710 Doorbell and a GXV3240 SIP phone. Video calls work great when both devices are registered on FreePBX. I have a grandstream UCM PBX and video calls work fine when the phones are connected directly to it. Right now I have a peer sip trunk setup with the grandstream UCM PBX and FreePBX. I can place phone calls fine between the 2 and the audio works but I cant seem to make a video call. The extensions are using PJSIP and I have a PJSIP trunk. Does anyone know off hand as to what could be causing this? I will have to upload my packet capture results a little bit later.

Maybe a codec mismatch? Probably the end devices understand each other when on the same PBX only, given that video is passthrough.

Here is what the call flow looks like in Wireshark.

192.168.21.1 is the Grandstream UCM and 192.168.21.213 is FreePBX
192.168.21.203 is the video phone

callee has no offers video codec(H264)?

Here is my call flow showing the video Door Bell (IP:192.168.21.212) (Connected to FreePBX) going to
FreePBX (192.168.21.213) then from FreePBX to Grandstream (192.168.21.1) to the video phone (192.168.21.203)

I have a custom extension 6331 that dials extension 550@UCM6280 (video phone extension @ trunk name of grandstream pbx).

Here is my extensions_custom.conf for FreePBX

[phones]
exten => 550,1,Dial(PJSIP/550@UCM6208,60,m(Cisco)b(callHandler^callee_handler1^1))
exten => 550,2,Hangup

exten => 6332,1,Dial(PJSIP/550@UCM6208,60,m(Cisco)b(callHandler^callee_handler2^1))
exten => 6332,2,Hangup

[macro-opendoor1]
exten => s,1,System(HIDE THIS INFORMATION)
exten => s,n,MacroExit

[macro-opendoor2]
exten => s,1,System(HIDE THIS INFORMATION)
exten => s,n,MacroExit

[callHandler]
exten => callee_handler1,1,NoOp()
same => n,Set(__DYNAMIC_FEATURES=Door1)
same => n,Return()

exten => callee_handler2,1,NoOp()
same => n,Set(__DYNAMIC_FEATURES=Door2)
same => n,Return()

Found the issue.In my pjsip.endpoint.conf my trunk (UCM6208) didn’t have codec H264 listed. I added that and now when the call gets routed from FreePBX through the trunk we are all good! Hope this can help someone else too!

Well if it works with Asterisk you might want to file a feature request to get it in the GUI

Hey good idea. I just checked and noticed that a feature request is already in there from 2017(FREEPBX-15853). I added my vote.

1 Like

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