[asterisk-users] asterisk ip authentication

james jan jinjan55 at gmail.com
Sun Jul 28 11:26:55 CDT 2013


hi,

[3333]
type=peer
insecure=invite,port
host=x.x.x.x
context=from-internal
disallow=all
allow=g729
allow=alaw
allow=ulaw
allow=gsm
canreinvite=no
nat=no
qualify=yes

this works fine for one softswitch bu i tried another soft switch it gives
SIP/2.0 488 Not acceptable here
error.
Any idea?


On Fri, Jul 26, 2013 at 6:17 PM, Thorsten Göllner <tg at ovm-group.com> wrote:

> Additionally you shoudl take a look at "sip set debug on" (in cli) and
> then place a call.
>
> Am 26.07.2013 17:14, schrieb Thorsten Göllner:
>
>> You should take a look at this options:
>>
>> type=friend
>> context=my_context
>> host=ip_address
>>
>> Am 26.07.2013 16:52, schrieb jin jan:
>>
>>> Hi all,
>>> I've tried to sen calls to asterisk from different soft switch.
>>> I want to define ip authentication(not register) to an extension for
>>> make call through asterisk.
>>> Is there any way to make call from asterisk  without register. Only ip
>>> authentication.
>>> I tried too many different configurations but it hasn't worked.
>>> This is my sip.conf
>>>
>>> --sip.conf
>>> [3333]
>>> host=x.x.x.x
>>> qualify=yes
>>> type=peer
>>> insecure=port,invite
>>> context=from-internal
>>> disallow=all
>>> allow=ulaw
>>> allow=alaw
>>> allow=g729
>>> allow=gsm
>>>
>>> But gives SIP/2.0 401 Unauthorized error.
>>> Tel.: +49(0)211 / 618 57 53 Fax: +49(0)211 / 618 57 54
>>>
>>
> --
> ______________________________**______________________________**_________
> -- 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<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130728/f08f3b79/attachment.htm>


More information about the asterisk-users mailing list