<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 9, 2019 at 6:05 AM Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jul 9, 2019, at 7:00 AM, Dovid Bender wrote:<br>
> Hi,<br>
> <br>
> Looking at <a href="http://the-asterisk-book.com/1.6/applikationen-dial.html" rel="noreferrer" target="_blank">http://the-asterisk-book.com/1.6/applikationen-dial.html</a> you <br>
> should be able to dial with SIP credentials in the DP. Is this still <br>
> possible in recent versions of Asterisk either with chan_sip or pj_sip?<br>
<br>
PJSIP does not currently have functionality to allow such a thing. I believe in chan_sip there have been no changes to remove it.<br>
</blockquote><div><br></div><div>My DP looks like this:</div><div>Exten => aaa,1,Dial(SIP/<a href="http://USERNAME:PASSWORD@sip1.myproxy.net/18005551212">USERNAME:PASSWORD@sip1.myproxy.net/18005551212</a>)<br></div><div><br></div><div><br></div><div>and from the logs I get:</div><div>oice1*CLI> console dial aaa@from-external<br> -- Executing [aaa@from-external:1] Dial("Console/default", "SIP/<a href="http://USERNAME:PASSWORD@sip1.myproxy.net/18005551212">USERNAME:PASSWORD@sip1.myproxy.net/18005551212</a>") in new stack<br>[2019-07-09 08:40:54] NOTICE[27159][C-00019e64]: chan_sip.c:30586 sip_request_call: Conflicting extension values given. Using 'USERNAME' and not '1718005551212'<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>