Hi Nick, This setup seems to be wrong. If you are not going to register on Asterisk, it does not make sense to use host=dynamic. Use host=opensips_ip or opensips_domain.
Please check the tutorial http://www.opensips.org/Resources/DocsTutAsterisk. Create the view exactly in the way presented. I'm not sure exactly what you want to to, but during registration, Asterisk write to some columns in the database dynamically. That's why you see the fullcontact column. These are the columns written during registration: `regseconds` int(11) DEFAULT NULL, `fullcontact` varchar(35) DEFAULT NULL, `regserver` varchar(20) DEFAULT NULL, `useragent` varchar(20) DEFAULT NULL, `lastms` int(11) DEFAULT NULL, Please, check: https://wiki.asterisk.org/wiki/display/AST/SIP+Realtime%2C+MySQL+table+structure There is a setting on Asterisk in the file res_config_mysql.conf requirements=warn ; or createclose or createchar Use requirements=createclose and Asterisk will create the columns automagically for you. Flavio E. Goncalves www.sippulse.com Flavio E. Goncalves CEO - V.Office 2013/1/5 Nick Khamis <[email protected]> > Hello Everyone, > > Using asterisk friends that are static (i.e., using host=ip address > vs. host=dynamic) everything works fine. However, when setting the UA > as dynamic in Asterisk, the lack of proper registration leads to: > > Name/username Host Dyn > Forcerport ACL Port Status Realtime > 1001/[email protected] (Unspecified) D N 0 > UNREACHABLE Cached RT > > All my REGISTER and AUTH is handled on the OpenSIPS side, and this is > working fine. Is there any way to bind "contact" from the "location > table", to "fullcontact" in sip_buddies table? > In my rigorous changing escapades, I did see occasions where > "fullcontact" was filled in by Asterisk correctly, I just can't for > the life of me get it to do it again!!!! > > I just wanted to mention that OpenSIPS is setup as a peer in Asterisk > > OpenSIPS/toronto.example.com 192.168.2.5 5060 UNKNOWN > Cached RT > > I did see how in the past the REGISTER request was passed over to * > however, I do not think that example applies to me? > > Thanks in Advance, > > Nick. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
