[OpenSIPS-Users] OpenSIPS with Asterisk
Saeed Akhtar
saeedakhtar.484 at gmail.com
Wed Dec 30 10:35:26 CET 2009
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 <talk2ram at gmail.com> wrote:
> create a user in sip.conf
>
> Ram
>
> On Tue, Dec 29, 2009 at 5:47 PM, Saeed Akhtar <saeedakhtar.484 at gmail.com>wrote:
>
>> hi all,
>> I'm configuring OpenSIPS with Asterisk. I used
>> seturi("sip:2001 at 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
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091230/446e3ca7/attachment.htm
More information about the Users
mailing list