[asterisk-users] PJSIP configuration question

Dan Cropp dan at amtelco.com
Mon Dec 15 20:34:08 CST 2014

I am not sure if I entered the correct settings for the transport information.
For the local_net, I entered my local ip address, but no mask.  I will check with the network admin so he can verify the settings I entered.

One minor detail, we are using ip authentication.  When Vitelity changed my account from user based authentication to IP based authentication, they stopped including a user for the account.

Should these settings work without the from_user (IP based authentication) or do I need to get the account name from Vitelity?

Have a great day!


From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of George Joseph
Sent: Monday, December 15, 2014 7:27 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] PJSIP configuration question

Ok Dan, try this...  I was able to get this to work behind a NAT and with ip address authentication.

type = global
debug = yes
type = transport
bind =
protocol = udp
local_net=<yourlocalnet I.E.<>>
external_media_address=<your public ip address>
external_signaling_address=<your public address>

type = aor
remove_existing = yes
qualify_frequency = 60
contact = sip:
type = endpoint
context = TestApp
transport = transport1
aors = outbound.vitelity.net<http://outbound.vitelity.net>
dtmf_mode = rfc4733
force_rport = yes
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
trust_id_inbound = yes
disallow = all
allow = ulaw
direct_media = no
from_user=<your main vitelity account name>  ; Not subaccount
type = identify
endpoint = outbound.vitelity.net<http://outbound.vitelity.net>
match =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141216/66bb7909/attachment.html>

More information about the asterisk-users mailing list