Use #exec directive to execute external script which retrieves registration
data from DB, and outputs correct registration string as text.
Do not forget to enable #exec in asterisk.conf
You will need to do sip reload each time you change registration settings.
With reload you will lose all
Juan Salas wrote:
yes,
I tested too and it's works.
The Problem is when we want to add (or delete)
registers without reload the asterisk.
We are using it like a border server wich
is registered like many users in a SER machine
and the real endpoints are registered in the
asterisk.
I
PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of Olle E. Johansson
Sent: martedì, 25. ottobre 2005 16:11
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Realtime sip register=
Juan Salas wrote:
Hello!
As I know, the register
-Mensaje original-
De: Luca Lafranchi Lists [mailto:[EMAIL PROTECTED]
Enviado el: Wednesday, October 26, 2005 5:51 AM
Para: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Asunto: RE: [Asterisk-Users] Realtime sip register=
Hi,
I saw (and it's works), that you can mix the realtime
You could check these links. I'm trying to do the sip peer registration
like this but I get some error about username / auth name mismatch.
I think I do something wrong in the MySQL table.
I hope it works for you and if it works I would like to hear it from you.
Good luck
PROTECTED]Enviado el: Tuesday, October
25, 2005 9:26 AMPara: Asterisk Users Mailing List - Non-Commercial
DiscussionAsunto: Re: [Asterisk-Users] Realtime sip
register=You could check these links. I'm trying to
do the sip peer registration like this but I get some error about username /
: [Asterisk-Users] Realtime sip
register=You could check these links. I'm trying to
do the sip peer registration like this but I get some error about username /
auth name mismatch.I think I do something wrong in the MySQL
table.I hope it works for you and if it works I would like to hear
Juan Salas wrote:
Hello!
As I know, the register is a variable of [general] section in sip.conf.
You can't use it in database, ie you can't add new registers without reload
the asterisk..
You can have a static config in a database, but you will still have to
reload.
/O