If i am not mistaken, you need to have another IAX user tables to store all the iax users. HEre is some example <a href="http://www.voip-info.org/wiki/view/Asterisk+RealTime+IAX">http://www.voip-info.org/wiki/view/Asterisk+RealTime+IAX
</a><br>good luck!<br><br><div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">Shaun</b> <<a href="mailto:mailinglists@unix-scripts.com">mailinglists@unix-scripts.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm attempting to setup asterisk running real-time with mysql. Right now I<br>can get asterisk to start and run but a show dialplan shows basically<br>nothing other than parking extensions. I'm watching the full log also for
<br>debug messages and I can see that asterisk is connecting to mysql with out a<br>issue but for some reason it does not seam to read the extensions table.<br>Below is a few of my configs..<br><br>#My slimmed down modules.conf
<br>[root@localhost asterisk]# cat /etc/asterisk/modules.conf<br>[modules]<br>autoload=no<br>load => res_config_mysql.so<br>load => res_crypto.so<br>load => res_features.so<br>load => chan_features.so<br>load => chan_iax2.so
<br>load => pbx_realtime.so<br>load => app_realtime.so<br><br>#My extconfig.conf<br>[root@localhost asterisk]# cat /etc/asterisk/extconfig.conf<br>[settings]<br>extensions => mysql,asterisk,extensions<br><br>#mysqldump of my asterisk database
<br><br>DROP TABLE IF EXISTS `extensions`;<br>CREATE TABLE `extensions` (<br> `context` varchar(20) NOT NULL default 'default',<br> `extension` varchar(20) NOT NULL default '',<br> `priority` int(2) NOT NULL default '1',
<br> `application` varchar(20) NOT NULL default '',<br> `args` varchar(50) default NULL,<br> `descr` text,<br> `flags` int(1) NOT NULL default '0',<br> PRIMARY KEY (`context`,`extension`,`priority`)<br>) ENGINE=MyISAM DEFAULT CHARSET=latin1;
<br><br>--<br>-- Dumping data for table `extensions`<br>--<br><br>INSERT INTO `extensions` VALUES<br>('sortcalls','1949265<snip>',1,'Wait','10','Wait(10)',0)<br>INSERT INTO `extensions` VALUES<br>('sortcalls','_1949265<snip>',1,'Wait','10','Wait(10)',0);
<br><br><br>My iax.conf is setup to forward calls to sortcalls context... this is what i<br>get when a call comes in..<br>Aug 8 22:47:58 NOTICE[10074]: chan_iax2.c:7303 socket_read: Rejected<br>connect attempt from <a href="http://64.61.93.87">
64.61.93.87</a>, request '1949265<snip>@sortcalls' does not<br>exist<br>Aug 8 22:47:58 NOTICE[10074]: chan_iax2.c:7303 socket_read: Rejected<br>connect attempt from <a href="http://64.61.93.90">64.61.93.90</a>, request '1949265<snip>@sortcalls' does not
<br>exist<br><br><br><br>Anybody know whats going wrong here?<br><br>--<br><br>~Shaun<br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>