PJSIP realtime with set_var causes invalid endpoint


I have an Asterisk 16.5 installation using MySql backend for pjsip endpoints.

Whever I populate the ‘set_var’ column of an endpoint with a value (for example ‘VAR1=value’) - the endpoint becomes invalid (Registers fail because the endpoint can’t be found)

If the set_var column s anything but NULL then the endpoint fails.

Can anyone shed any light on whats causing this or even how to debug it? The Asterisk console shows nothing.

Many thanks

For anyone else having this problem, the sql file for the table creation sets the set_var column to TEXT.

Changing this column type to VARCHAR fixed the issue for me.

1 Like

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