Open unlucio opened 9 months ago
I would look into this error...
error: Invalid Request URI (PJSIP_EINVALIDREQURI) (status=171042)
also, maybe try adding a port number to the call :
number: sip:+334446666666@10.6.9.1:5060
or what port number used...
Yeah I noticed that error and I tried pretty much all the permutation that came to my mind, I just didn't think about adding the port as it's already set in the config file 😆
Anyway, it was a good suggestion but adding the port doesn't seem to help as the sip crashes with the same error :/
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4994 Installed Version | 1.34.0 Stage | running Available Repositories | 1391 Downloaded Repositories | 57Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Debian GNU/Linux 11 (bullseye) -- | -- update_channel | stable supervisor_version | supervisor-2023.12.1 agent_version | 1.4.1 docker_version | 23.0.4 disk_total | 457.4 GB disk_used | 201.4 GB healthy | true supported | failed to load: Unsupported supervisor_api | ok version_api | ok installed_addons | ESPHome (2023.12.9), Mosquitto broker (6.4.0), Piper (1.4.0), Whisper (1.0.2), openWakeWord (1.8.2), Studio Code Server (5.15.0), ha-sip (3.5.1)Dashboards
dashboards | 5 -- | -- resources | 29 views | 27 mode | storageRecorder
oldest_recorder_run | 3 February 2023 at 18:17 -- | -- current_recorder_run | 31 January 2024 at 15:04 estimated_db_size | 9242.86 MiB database_engine | mysql database_version | 10.6.11Sonoff
version | 3.5.4 (a4a8c5f) -- | -- cloud_online | 0 / 8 local_online | 8 / 8 debug | failed to load:Spotify
api_endpoint_reachable | ok -- | --Crash
From the logs, it seems to connect fine to my fritzbox's sip thing, but asap I try to make the 1st example call:
the whole sip's container crashes. Mostly with the following error:
Whole Log
```shell-session | 22:07:33.704029 [ ] Got "dial" command for sip:+334446666666@10.6.9.1 | &id001 | id: null | message: There's a burglar in da house. | audio_file: null | language: en | action: null | choices_are_pin: false | choices: {} | default_choice: | id: null | message: Unknown option | audio_file: null | language: en | action: null | choices_are_pin: false | choices: null | default_choice: null | timeout_choice: null | post_action: | action: return | level: 1 | timeout: 300.0 | parent_menu: *id001 | timeout_choice: | id: null | message: null | audio_file: null | language: en | action: null | choices_are_pin: false | choices: null | default_choice: null | timeout_choice: null | post_action: | action: hangup | timeout: 300.0 | parent_menu: *id001 | timeout: 300.0 | post_action: | action: noop | parent_menu: null | | 22:07:33.718525 [1] Registering call with id sip:+334446666666@10.6.9.1 | 22:07:33.718686 [ ] Add to state: sip:+334446666666@10.6.9.1 22:07:33.718 pjsua_call.c Making call with acc #0 to sip:+334446666666@10.6.9.1 22:07:33.718 pjsua_aud.c .Set sound device: capture=-99, playback=-99, mode=0, use_default_settings=0 22:07:33.718 pjsua_aud.c ..Null sound device, mode setting is ignored 22:07:33.718 pjsua_aud.c ..Setting null sound device.. 22:07:33.718 pjsua_aud.c ...Opening null sound device.. 22:07:33.719 pjsua_call.c .Unable to make call: Invalid Request URI (PJSIP_EINVALIDREQURI) [status=171042] 22:07:33.719 pjsua_media.c .Call 0: deinitializing media.. 22:07:33.719 call.cpp pjsua_call_make_call(acc.getId(), &pj_dst_uri, param.p_opt, this, param.p_msg_data, &id) error: Invalid Request URI (PJSIP_EINVALIDREQURI) (status=171042) [../src/pjsua2/call.cpp:706] Traceback (most recent call last): File "/ha-sip/main.py", line 113, in