in Asterisk you have to accept SIP traffic coming from kamailio
without authentication (e.g., based on source ip/port).
Cheers,
Daniel
On 10/13/10 1:38 PM, Borin wrote:
Is kamailio supposed to send WWW-Authenticate header
back to asterisk after it gets SIP/2.0 401 Unauthorized?
kamailio authenticates user , sends REGISTER to asterisk, after
getting "Unauthorized" sends another REGISTER with the same
headers and, as the second REGISTER does not contain
WWW-Authenticate: Digest algorithm=MD5, realm="blabla",
nonce="56c213f9", Asterisk does not register this user.
hello again
sorry for stupid question, but I can't get
this definition working. I have ver 3.1 of
kamailio, the definitions don't work as it
described in the manual.
asterisk.bindip="asterisk.ip" desc "Asterisk IP Address"
asterisk.bindport="5080" desc "Asterisk Port"
kamailio.bindip="kamailio.ip" desc "Kamailio IP Address"
kamailio.bindport="5060" desc "Kamailio Port"
kamailio (ver 3.1 ) sais after restart I have syntax error
Oct 13 08:40:13 voip-test kamailio: : <core> [cfg.y:3412]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 17: syntax error
Oct 13 08:40:13 voip-test kamailio: : <core> [cfg.y:3412]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 17: unknown config variable
Oct 13 08:40:13 voip-test kamailio: : <core> [cfg.y:3409]: yyerror_at(): parse error in config file /usr/local/kamailio-3.1/etc/kamailio-pbx/kamailio.cfg, line 43, column 19-33:
Thanks, Lucas. That
is exactly what I was looking for
On Tue, Oct
12, 2010 at 5:47 PM, Lucas Alvarez <lucasaa@gmail.com>
wrote:
Hello,
here is How-To written by
Daniel-Constantin Mierla of a
Kamailio-Asterisk integration: http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb,
check the .cfg file posted there.
Actually I followed up that
tutorial and I have the extensions
registered both on Asterisk and
Kamailio. I hope this can be
useful.
Hello,
I am not good at
kamailio. Could anyone
tell me how can I
forward register
messages coming to
kamailio to asterisk? I
need users to be
registered on kamailio
and on asterisk at one
time.
I do in kamailio.cfg:
if
(is_method("REGISTER"))
{
save("location");
route(FWD_REG);
exit;