how to fake asterisk register?

Home » Asterisk Users » how to fake asterisk register?
Asterisk Users 1 Comment

Hello,

I am wondering how I can make asterisk think that the user is registered on
it..Scheme is the following: user —-register—->kamailio (put data in
location table)——asterisk
All users are registered on kamailio and I want to duplicate that info on
asterisk. If a call comes to kamailio it will be forwarded to asterisk and
then to another user (registered on kamailio and ….I want register info be
on asterisk too). So I gather the info from location table on kamailio and
put it in ASTDB, so register info is there. But asterisk still thinks that
the user is not registered.
in astdb is the following about the user:
/SIP/Registry/1002200 : 10.1.2.82:1024
:3600:1002200:sip:1002200@10.1.2.82:1024;line=xd932iq7

Where asterisk stores the all info about registered users and how can I fake
it? Any help will be appreciated 🙂

One thought on - how to fake asterisk register?