Update AstDB on SIP device initialise

Hello,

Is there a way to set an AstDB value when a sip device is launched/initialised and registers to asterisk?

I have looked at a possible solution, where setting the below configuration in the SIP.conf suggested this would be possible, but it doesn’t work.

AstDB=DBKey/DBValue=Value

Is there another way you can suggest doing this?

Thanks

No, there is no way to trigger any action on REGISTER requests with Asterisk.

Ok thanks for that. Is there any other way that I can set a variable then rather than an AstDB value on SIP device registration so it always has a default value when the user launches their SIP device?

Can you further elaborate what you mean by that? It’s not really clear.

Using AMI events and some extra coding possibly yes

1 Like

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