Look at this document for better idea http://www.opensips.org/Resources/DocsTutAsterisk
ram On Wed, Dec 30, 2009 at 3:05 PM, Saeed Akhtar <[email protected]>wrote: > general context of sip.conf is as following: > > [general] > > port = 5566 > > bindaddr = 0.0.0.0 > > dbname = <mysql db name> > > dbhost = <mysql db host ip> > > dbuser = <mysql db username> > > dbpass = <mysql db password> > > context = others > > > as here context is others so i add other context in extensions.ael as > following: > > context others { > > 2001 => { > > Dial(SIP/2001); > > } > > } > > > Now I fwded opensips request to port 5566 but asterisk never listened it. > then i tried with 5060 port and asterisk respond to it and call was > established successfully. But I think it means that every request on 5060 > will be fwded to others context and it will be unsecured. So can it be > possible to do something that opensips will first register to asterisk and > then asterisk only receive calls from registered opensips only? > > Regards, > > Saeed Akhtar > > > > > On Wed, Dec 30, 2009 at 12:43 PM, ram <[email protected]> wrote: > >> create a user in sip.conf >> >> Ram >> >> On Tue, Dec 29, 2009 at 5:47 PM, Saeed Akhtar < >> [email protected]> wrote: >> >>> hi all, >>> I'm configuring OpenSIPS with Asterisk. I used >>> seturi("sip:2...@asterisk_ip:ASTERISK_PORT"); to forward my call to >>> Asterisk. Now Asterisk receives the call but shows a message that it can't >>> transfer call to my extension because it says call from ' ' to '2001' cannot >>> transfer because extension 2001 not found. extension 2001 is already there >>> in default context. I think problem is that from extension is empty. Can >>> anyone guide me what exactly is problem. Thanks >>> >>> Regards, >>> >>> Saeed Akhtar >>> >>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > 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
