'fwconsole trunk' not working

I am trying to script failover between two trunks that cannot be enabled at the same time. The commands I am using are below.

fwconsole trunk --disable 1
fwconsole trunk --enable 2
fwconsole reload

After running the commands if I run ‘rasterisk’ ‘pjsip show registrations’ I still see trunk1 is registered which should be disabled and trunk2 never got enabled. What am I missing here?

Thanks for any suggestions.

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