Telnyx PJSIP errors

Hello, I am unable to setup Telnyx with PJSIP. SIP (only) is just fine.

Unfortunately, I would like to be able to use Telnyx and their T.38 fax capabilities but it seems the only way is to set it up with PJSIP.

I am getting those errors and I am not sure what is the cause:

2023-07-26 15:41:14] ERROR[22850] res_pjsip.c: Endpoint 'Telnyx_PJSIP': Could not create dialog to invalid URI 'Telnyx_PJSIP'. Is endpoint registered and reachable?
[2023-07-26 15:41:14] ERROR[22850] chan_pjsip.c: Failed to create outgoing session to endpoint 'Telnyx_PJSIP'
[2023-07-26 15:45:06] ERROR[22850] res_pjsip/location.c: Contact uri or hostname length exceeds pjproject limit or is not a sip(s) uri: sip.telnyx.ca
[2023-07-26 15:45:06] ERROR[22850] config_options.c: Error parsing contact=sip.telnyx.ca at line 291 of /etc/asterisk/vitalpbx/pjsip__50-1-trunks.conf
[2023-07-26 15:45:06] ERROR[22850] res_sorcery_config.c: Could not create an object of type 'aor' with id 'Telnyx_PJSIP' from configuration file 'pjsip.conf'
[2023-07-26 15:45:07] ERROR[22850] res_pjsip_outbound_registration.c: Server URI or hostname length exceeds pjproject limit or is not a sip(s) uri: 'Telnyx_PJSIP'
[2023-07-26 15:45:07] ERROR[22850] res_sorcery_config.c: Could not create an object of type 'registration' with id 'Telnyx_PJSIP' from configuration file 'pjsip.conf'
[2023-07-26 15:45:07] NOTICE[22850] res_sorcery_config.c: Retaining existing configuration for object of type 'registration' with id 'Telnyx_PJSIP'
[2023-07-26 15:45:07] ERROR[2651] res_pjsip_outbound_registration.c: Server URI or hostname length exceeds pjproject limit or is not a sip(s) uri: 'Telnyx_PJSIP'
[2023-07-26 15:45:07] ERROR[2651] res_sorcery_config.c: Could not create an object of type 'registration' with id 'Telnyx_PJSIP' from configuration file 'pjsip.conf'
[2023-07-26 15:45:07] NOTICE[2651] res_sorcery_config.c: Retaining existing configuration for object of type 'registration' with id 'Telnyx_PJSIP'

Below is a screenshot of my configuration:

I have tried with Authentication (current settings) and IP based without luck.

Once again, setting Telnyx using SIP only works flawlessly.
image

Any pointers would be appreciated. I could not find my answer reading previous similar posts.

Delete the SIP Trunk. Remove the URIs and try again.

Hello, Thanks for your reply. It didnt work.

But while playing around I changed these settings and it now works:
image

Changed sip.telnyx.ca to a SIP URI format sip:sip.telnyx.ca

I am now able to fax and make calls successfully with VitalPBX. Cheers

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