How to send SIP-request generated manually using asterisk?
For de-registration of the outbound trunk you want to send specific SIP requests. A correctly configured asterisk. I understand that you need to send INVITE with expiration=0
I read RFC3261, there seems nothing difficult. However, it is unclear on what tags to look for sending sip requests manually? I really want to advance in this direction, but I can't find mana.
There is certainly another way to change configs on a script with a subsequent reload. You will need to write the parser, as I understand it. If the asterisk is a function of dynamic changes in their configuration files (i.e. using the default parser) - please tell me.
In Asterisk there is NO possibility to change configuration on the fly, but it IS possible to generate a configuration script during (re)loading a specific configuration file. So really it can be the right time to do a reload, and the actual configuration to generate an example script.