Early Media Video Preview

Hello,

We are testing some Fanvil and Akuvox video doorbells and trying to get the Video Preview to work on a Yealink phone while the call is still ringing.

As soon as we press ‘preview’ on the phone, we see that the phone sends to Asterisk a 183 with an SDP, but Asterisk does not “forward” the request to the doorbell.

We have tried enabling inband_progress = yes on the doorbell endpoint, but no luck…

What are we missing?

Thanks

1 Like

Interesting. Thanks Josh.

So I guess the only way to have this working is by doing IP to IP calling.
Is there even a possibility for this to work with direct media? Or Asterisk must be involved with the initial stream setup?

If anyone does it differently, please speak up. Thank you :pray:

One endpoint. 5507 (the doorbell) dials 66413 (the Yealink phone)

See the call log:

[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@macro-dial-one:54] Dial("PJSIP/5507-00000005", "PJSIP/66413/sip:[email protected]:5060,,HhTtrb(func-apply-sipheaders^s^1)") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_stack.c: PJSIP/66413-00000006 Internal Gosub(func-apply-sipheaders,s,1) start
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/66413-00000006", "Applying SIP Headers to channel PJSIP/66413-00000006") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@func-apply-sipheaders:2] Set("PJSIP/66413-00000006", "TECH=PJSIP") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/66413-00000006", "SIPHEADERKEYS=") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@func-apply-sipheaders:4] While("PJSIP/66413-00000006", "0") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_while.c: Jumping to priority 10
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] pbx.c: Executing [s@func-apply-sipheaders:11] Return("PJSIP/66413-00000006", "") in new stack
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_stack.c: Spawn extension (from-internal, 66413, 1) exited non-zero on 'PJSIP/66413-00000006'
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_stack.c: PJSIP/66413-00000006 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_dial.c: Called PJSIP/66413/sip:[email protected]:5060
[2022-08-19 12:05:53] VERBOSE[3479170][C-00000004] app_dial.c: PJSIP/66413-00000006 is ringing
[2022-08-19 12:05:56] VERBOSE[3479170][C-00000004] app_dial.c: PJSIP/66413-00000006 is making progress passing it to PJSIP/5507-00000005

But from what we see, it doesn’t actually pass it to 5507

Hi David, thanks for your response.

Not sure I fully understand this. Are you saying that if we see in the log PJSIP/66413-00000006 is making progress passing it to PJSIP/5507-00000005 it means that “something” (like inband_progress) has done the early bridges?

If you are referring to the dates of the logs I have posted above, it is from the past Friday.

Thinking if it is worth a shot trying this with chan_sip…

Thanks

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