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.

Kind Regards.


--
_____________________________________________________________________
-- 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

Reply via email to