<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 1:27 PM, Dan Cropp <span dir="ltr"><<a href="mailto:dan@amtelco.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=dan@amtelco.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">dan@amtelco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Not sure why, but Vitelity changed the settings to IP based authentication on me. Here's the new sip.conf settings they sent me.<br>
<br>
type=friend<br>
dtmfmode=auto<br>
host=64.2.142.93<br>
allow=all<br>
nat=yes<br>
canreinvite=no<br>
trustrpid=yes<br>
sendrpid=yes<br>
<br>
When I use these settings to originate calls using the sip.conf they sent me, everything works.<br>
<br>
Action: Originate<br>
ActionID: S8<br>
Channel: SIP/<a href="http://outbound.vitelity.net/8005555555" target="_blank">outbound.vitelity.net/8005555555</a><br>
Exten: createcall<br>
Context: TestApp<br>
Priority: 1<br>
Timeout: 60000<br>
CallerID: John Doe <1234><br>
Variable: CALLERID(num-pres)=allowed_passed_screened<br>
Async: true<br>
<br>
<br>
I translated those settings to the following for pjsip.conf...<br>
<br>
[transport1]<br>
type = transport<br>
bind = 0.0.0.0<br>
protocol = udp<br>
<br>
[<a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a>]<br>
type = aor<br>
remove_existing = yes<br>
contact = sip:64.2.142.93@5060<br></blockquote><div><br></div><div>You might want to set a qualify_frequency here to see if the server responds to OPTIONS messages. Also 64.2.142.93 isn't currently one of their outbound servers. Are you using one of their inbound* servers as outbound? IIRC unless you ask them, they don't allow it.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
[<a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a>]<br>
type = endpoint<br>
context = TestApp<br>
transport = transport1<br>
aors = <a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a><br>
dtmf_mode = rfc4733<br>
force_rport = yes<br>
rtp_symmetric = yes<br>
rewrite_contact = yes<br>
send_rpid = yes<br>
trust_id_inbound = yes<br>
allow = all<br>
direct_media = no<br>
<br>
[identify1]<br>
type = identify<br>
endpoint = <a href="http://outbound.vitelity.net" target="_blank">outbound.vitelity.net</a><br>
match = 64.2.142.93<br>
<br>
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.<br>
<br>
Action: Originate<br>
ActionID: S8<br>
Channel: PJSIP/<a href="http://outbound.vitelity.net/8005555555" target="_blank">outbound.vitelity.net/8005555555</a><br>
Exten: createcall<br>
Context: TestApp<br>
Priority: 1<br>
Timeout: 60000<br>
CallerID: John Doe <1234><br>
Variable: CALLERID(num-pres)=allowed_passed_screened<br>
Async: true<br>
<br>
NOTE: I am able to use AMI Originate to other PJSIP endpoints.<br>
<br>
Action: Originate<br>
ActionID: S9<br>
Channel: PJSIP/1003/1003<br>
Exten: createcall<br>
Context: TestApp<br>
Priority: 1<br>
Timeout: 60000<br>
CallerID: John Doe <1234><br>
Variable: CALLERID(num-pres)=allowed_passed_screened<br>
Async: true<br>
<br>
Anyone have any suggestions as to what I am doing wrong?<br>
<br>
Have a great day!<br>
<span class=""><font color="#888888"><br>
Dan<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div></div>