Not sure why, but Vitelity changed the settings to IP based authentication on 
me.  Here's the new sip.conf settings they sent me.

type=friend
dtmfmode=auto
host=64.2.142.93
allow=all
nat=yes
canreinvite=no
trustrpid=yes
sendrpid=yes

When I use these settings to originate calls using the sip.conf they sent me, 
everything works.

Action: Originate
ActionID: S8
Channel: SIP/outbound.vitelity.net/8005555555
Exten: createcall
Context: TestApp
Priority: 1
Timeout: 60000
CallerID: John Doe <1234>
Variable: CALLERID(num-pres)=allowed_passed_screened
Async: true


I translated those settings to the following for pjsip.conf...

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

[outbound.vitelity.net]
type = aor
remove_existing = yes
contact = sip:64.2.142.93@5060

[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
allow = all
direct_media = no

[identify1]
type = identify
endpoint = outbound.vitelity.net
match = 64.2.142.93

When I attempt to use AMI Originate, it's failing.  I am not seeing anything 
with pjsip logging turned on, so it seems to be something with the settings.

Action: Originate
ActionID: S8
Channel: PJSIP/outbound.vitelity.net/8005555555
Exten: createcall
Context: TestApp
Priority: 1
Timeout: 60000
CallerID: John Doe <1234>
Variable: CALLERID(num-pres)=allowed_passed_screened
Async: true

NOTE: I am able to use AMI Originate to other PJSIP endpoints.

Action: Originate
ActionID: S9
Channel: PJSIP/1003/1003
Exten: createcall
Context: TestApp
Priority: 1
Timeout: 60000
CallerID: John Doe <1234>
Variable: CALLERID(num-pres)=allowed_passed_screened
Async: true

Anyone have any suggestions as to what I am doing wrong?

Have a great day!

Dan

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