Bridge / Originate difference between direct dial to ring group

Status
Not open for further replies.

Len

Member
Mar 8, 2017
95
3
8
52
I am using Fanvil doorphone with video. When setting the doorphone to ring an extension directly, I can get video preview (display video [not audio] on phone before answering the call) but when setting to go to a ring group even if I only have only one extension in the group it does not display video. I tried ring group enterprise and other modes.
Using "follow me" on an extension has the same results as ring groups.

Looking at the sip traces (see attached images), I see the phone displays the video (pre-answer) via a sending a 183 during ringing (after 180 ringing). I see that with direct dial the phone proceeds with sending a SIP INFO request after the 183 whereas it does not do so with the ring group.

Looking at the freeswitch logs I see the following two additions when using direct dial over ring groups.

fade7589-510f-436d-8dc4-3e4c74e00947 2021-07-18 20:02:37.063309 [DEBUG] switch_core_codec.c:248 sofia/internal/120@xxx.com:5060 Restore previous codec PCMU:0.
fade7589-510f-436d-8dc4-3e4c74e00947 2021-07-18 20:02:37.063309 [DEBUG] switch_ivr_originate.c:3809 Originate Resulted in Success:

Any help that will allow me to get video before answering the call would be greatly appreciated !
 

Attachments

  • Ring Group.png
    Ring Group.png
    746.3 KB · Views: 16
  • Direct Dial.jpg
    Direct Dial.jpg
    249.5 KB · Views: 13

hfoster

Active Member
Jan 28, 2019
684
81
28
34
If I had to guess, you'd probably have to modify the ring_group LUA to use a session: preAnswer(); instead of a session:answer();. However I really don't know what kind of knock on effect that would have. pre-answering sounds like it would be a disaster to multiple endpoints.
 
Last edited:

Len

Member
Mar 8, 2017
95
3
8
52
I will look into the script. The phones have option of "preview" and "auto preview" i can see auto preview maybe causing issues with multiple endpoints. But manual preview, where one needs to manually activate preview on an endpoint on a per call basis shouldn't be an issue.
 

Len

Member
Mar 8, 2017
95
3
8
52
I could not find the bridge or session statement for ring groups. It does seem that direct extension connect via a simple bridge statement in the local_extension dialplan. I ended up creating a new dialplan for the doors to ring multiple end-points correctly
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
That sounds like a much better solution than trying to band-aid fix: /app/scripts/resources/scripts/app/ring_groups/index.lua
 
Status
Not open for further replies.