Hi,
I succeeded in registering the ESP32 to Asterisk, and did this also with a softphone.
But I cannot find a way to make now a call, it is only re-registering.
Is the example for the VOIP really making a call ? If so, how is it done ? Which button is being used to start a call ? (then I can look into the SW to see what is done).
regards
Ludo
ESP32 adf VOIP not making a call
Re: ESP32 adf VOIP not making a call
Yes, it really does work. (needs some work though, as it does not handle some things properly.)
I tried it once and made & received a call. Sounded great, but there were some events that it did not handle properly. The trouble is that they have not released the source for it, so fixing anything is a showstopper.
Take a look at input_key_service_cb, these are the controls for it.
I tried it once and made & received a call. Sounded great, but there were some events that it did not handle properly. The trouble is that they have not released the source for it, so fixing anything is a showstopper.
Take a look at input_key_service_cb, these are the controls for it.
Re: ESP32 adf VOIP not making a call
Hi,
Have Asterisk working with PC-microsip and Android.
Am now doing the same with ESP32, and start to see results.
Problem is that the VOIP_APP does not properly handle registration, as I can see Asterisk to register the ESP, but in the program, the
sip_state_t sip_state = esp_sip_get_state(sip); gets to 2 but does not switch to 4.
It also never gets to "SIP_EVENT_REGISTERED")
Sometimes, I get to the esp_sip_uac_invite(sip, and can connect with my android without voice.
When I check , sip_state is not going to the right registration level, so the expression
if (sip_state < SIP_STATE_REGISTERED) {
return ESP_OK;
always returns.
Where in the program is the Asterisk registration ok taken and the SIP state adapted ?
looking forward to feedback
regards
Have Asterisk working with PC-microsip and Android.
Am now doing the same with ESP32, and start to see results.
Problem is that the VOIP_APP does not properly handle registration, as I can see Asterisk to register the ESP, but in the program, the
sip_state_t sip_state = esp_sip_get_state(sip); gets to 2 but does not switch to 4.
It also never gets to "SIP_EVENT_REGISTERED")
Sometimes, I get to the esp_sip_uac_invite(sip, and can connect with my android without voice.
When I check , sip_state is not going to the right registration level, so the expression
if (sip_state < SIP_STATE_REGISTERED) {
return ESP_OK;
always returns.
Where in the program is the Asterisk registration ok taken and the SIP state adapted ?
looking forward to feedback
regards
Re: ESP32 adf VOIP not making a call
I too have had issues. But since its not open source there is nothing we can do about it.
Re: ESP32 adf VOIP not making a call
same problem here.
INVITE initiated by ESP will run however there is no sound. auto hangup after 30s. There is no ACK sent to SIP server.
sometimes, if INVITE initiated by App, answering on ESP is OK.
INVITE initiated by ESP will run however there is no sound. auto hangup after 30s. There is no ACK sent to SIP server.
sometimes, if INVITE initiated by App, answering on ESP is OK.
Who is online
Users browsing this forum: No registered users and 8 guests