[asterisk-users] PJSIP configuration question

George Joseph george.joseph at fairview5.com
Mon Dec 15 19:27:01 CST 2014


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

[global]
type = global
debug = yes

[transport1]
type = transport
bind = 0.0.0.0
protocol = udp



*local_net=<yourlocalnet I.E. 10.10.10.10/24
<http://10.10.10.10/24>>external_media_address=<your public ip
address>external_signaling_address=<your public address>*
[outbound.vitelity.net]
type = aor
remove_existing = yes
qualify_frequency = 60
contact = sip:64.2.142.93

[outbound.vitelity.net]
type = endpoint
context = TestApp
transport = transport1
aors = 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*
[outbound.vitelity.net]
type = identify
endpoint = outbound.vitelity.net
match = 64.2.142.93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141215/15754797/attachment.html>


More information about the asterisk-users mailing list