Page 1 of 1

auto answer doesnt work on viciphone

PostPosted: Fri Nov 03, 2023 8:35 am
by ambiorixg12
Hi, quick question. Is there any issue with Vicibox v.11.0.1 230806 and ViciPhone? Is it almost impossible to make it auto-answer the call? Phone settings for auto answer doesn't work, and I don't see a manual method to answer either.

Image

Re: auto answer doesnt work on viciphone

PostPosted: Fri Nov 03, 2023 12:03 pm
by carpenox
It's not the phone, it's something else with your setup. Did you try to change the SSL cert yet?

Re: auto answer doesnt work on viciphone

PostPosted: Fri Nov 03, 2023 4:18 pm
by ambiorixg12
Thank you for the reply and all your help but, If SSL was misconfigured, I wouldn't be able to register the SIP devices using the WebRTC softphone, as it is one of the requirements of the Asterisk modules involved. The HTTP module and SIP module require a correct SSL configuration. I conducted a SIP trace and observed a SIP 180 status code, indicating that the initial request to establish a call has been received successfully. The server is in the process of alerting the call recipient (in this case the Webphone), so the user knows there is an incoming call. Based on this, I can assume the WebRTC phone is alerted, but it is not replying to the call

Re: auto answer doesnt work on viciphone

PostPosted: Fri Nov 03, 2023 6:15 pm
by carpenox
I have seen many issues when using that acme.sh cert like you have, the exact issue you are having. Try the certbot method as I have suggested.

Re: auto answer doesnt work on viciphone

PostPosted: Fri Nov 03, 2023 7:09 pm
by ambiorixg12
I will try that method as well, but it would be helpful if someone from the VICI team could confirm if that is indeed an issue. If this is the case, they must update the instructions on their official VICIBox website...

Re: auto answer doesnt work on viciphone

PostPosted: Mon Nov 06, 2023 9:08 am
by mcargile
In the picture Viciphone has auto answered the call. You can tell by the change to the display section. Something is blocking the 200 OK Viciphone sent from getting back to Asterisk.

You are using Viciphone version 1 based off the SIP User Agent. Have you tried Viciphone Version 3? Version 1 is using a very outdated version of the SIP.js library. It could be causing issues for the browser. To use Version 3 change the Webphone URL in Admin -> System Settings to:

Code: Select all
https://phone.viciphone.com/v3.0/viciphone.php


make sure that in the SIP Template you are using for your phone you have:

Code: Select all
rtcp_mux=yes
context=default


set. Then go into ADMIN -> Settings Containers -> VICIPHONE_SETTINGS and set:

Code: Select all
# determines if the reg_exten is called upon successful registration
dialRegExten : 1


if it is not already. This will make it so that Viciphone will call into Asterisk when it registers rather than Vicidial having to trigger a call to Viciphone. This has proven to also be more reliable.

Re: auto answer doesnt work on viciphone

PostPosted: Mon Nov 06, 2023 11:22 am
by ambiorixg12
Thank you, I followed your recommendations and got the issue fixed in less than 5 minutes all working fine now.