<div dir="ltr">Hello <span style="font-size:12.8px">Abbasi,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you for your reply.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I tried in both cases, type=friend and type=user but still same error. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks</span></div><div><span style="font-size:12.8px">Uday. </span></div><div><span style="font-size:12.8px">Skype:- uday.kumar786</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 10:37 PM, Bilal Abbasi <span dir="ltr"><<a href="mailto:bilaln018@gmail.com" target="_blank">bilaln018@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I can see type=peer, i guess that is only to put calls on the IP, you need to either use type friend or user.</div><div><br></div><div>Regards</div><div>Abbasi</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Oct 31, 2017 at 4:46 PM, Uday kumar <span dir="ltr"><<a href="mailto:udy786@gmail.com" target="_blank">udy786@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hello All,</div><div><br></div><div>I am using Freeswitch on Debain 8. Configured few DIDs. Calls coming from provider and I am trying to send Call to a Asterisk server but getting an error "MANDATORY_IE_MISSING". </div><div><br></div><div>DID Provider (3.3.3.3)  => FS (192.168.1.70) => Asterisk (192.168.1.92) => Ext 8001</div><div><br></div><div><b>FS dialplan =></b> </div><div><br></div><div><div><extension name="public"></div><div>  <condition field="destination_number" expression="(.*)"></div><div>    <action application="bridge" data="sofia/external/$<a href="mailto:1@192.168.1.92" target="_blank">1@192.16<wbr>8.1.92</a>"/></div><div>    <action application="hangup"/></div><div>  </condition></div><div></extension></div></div><div><br></div><div>Added DID Provider IP and Asterisk IP in ACL.</div><div><br></div><div>When I checked on Asterisk, got an error in sngrep, "401 Unauthorized". Attached image is of error.</div><div><b><br></b></div><div><b>On Asterisk =></b></div><div> </div><div>SIP.conf</div><div><br></div><div>[freeswitch_1]</div><div>type=peer</div><div>host=192.168.1.70</div><div>port=5080</div><div>disallow=all</div><div>allow=ulaw</div><div>trustrpid=yes</div><div>sendrpid=yes</div><div>context=from-internal<br></div><div><br></div><div>EXTENSIONS.conf</div><div><br></div><div><div>exten => _XXX.,1,Dial(SIP/8001,30,oT)</div><div>exten => _XXX.,n,Hangup</div><div><br></div></div><div>Tried on port 5080 and 5060. Error both time same. </div><div><br></div><div><br></div><div>My point is, this is Asterisk issue or Freeswitch? Please advice. </div><span class="m_-7181605532809234951HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div class="m_-7181605532809234951m_-6547355879867404988gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Thanks & Regard</div><div style="font-family:arial;font-size:small">Uday.</div><div style="font-family:arial;font-size:small">Mobile:- <a href="tel:093775%2079349" value="+919377579349" target="_blank">+91-9377579349</a><br></div></div></div></div></div></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Thanks & Regard</div><div style="font-family:arial;font-size:small">Uday.</div><div style="font-family:arial;font-size:small">Mobile:- +91-9377579349<br></div></div></div></div></div></div></div>
</div>