Hi Mohamed,
Thanks again for being patient and helpful in helping me to do the
integration between Kamailio and Asterisk ! but i have two questions for
you friend.
1.What is the $retcode variable and how to make use of it because i read
about it and can NOT get the exact idea about its function ?
OK, there are two parts of the setup.
1. SIP user registers on Kamailio.
2. Kamailio registers on Asterisk (using SIP user credentials).
As long as part 1 is not done, part 2 will not work. So lets break down the
problem, first just forget part 2 and try to register SIP user on kamailio.
Why it f
Hi Mohamed,
Thank you for your interest in helping me,I've configured the the auth_db
module with the Asterisk DB URL and the SIP username and password table
name and verified the MYSQL remote connection from Kamailio to the Asterisk
DB and get connected as predicted.
I tried to register a phone a
Because both kamailio and asterisk use the same db table for
authentication, see the auth_db module parameters in kamailio config.
The REGISTER request from sip user is authenticated by kamailio using
auth_db module and upon success kamailio generates REGISTER request back to
asterisk (using the c
Hi Muhammad,
If the users MUST authenticate to Kamailio first,This means that Kamailio
should be aware of the SIP users exist in the Asterisk DB to be able to
authenticate them and NOT receive 401 Unauthorized error message from
Kamailio.
My question now might be simple but it a point of confusion
This seems to be fine. The user MUST authenticate to Kamailio, only then
Kamailio will create REGISTER request that is send to asterisk. That's the
key security feature behind the idea.
Look at the register architecture diagram,
http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.
Hi Dears,
I'm trying to configure Kamailio as SBC in multi home mode for Asterisk by
authenticating the inbound SIP registration requests,i'm following this
tutorial
http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb
to achieve this goal. i have modified the necessary chang