Check the Asterisk option autocreatepeer. See http://gnuradio.org/redmine/wiki/gnuradio/OpenBTSThe_use_of_autocreatepeer=yes for an example. This is specially made if registration is done by a real sip register like Kamilio.
\Erik On 12 okt 2010, at 16:10, Borin wrote: > 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:[email protected]:1024;line=xd932iq7 > > Where asterisk stores the all info about registered users and how > can I fake it? Any help will be appreciated :) > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
