<div dir="ltr"><div><div><div><div>Hi ,<br></div>For setup sip authentication between Cisco router and FreePBx , configs is :<br></div><div><br><img src="cid:ii_15baea7d9ce250f4" alt="Inline image 1" style="margin-right: 0px;" width="374" height="403"><br><b>PBX - SIP Trunk</b><br>
                                        PEER Details<br><br>fromdomain=40.0.0.100<br>host=40.0.0.100<br>qualify=yes<br>context=from-trunk<br>type=peer<br>username=asterisk<br>secret=password<br>nat=no<br>allow=alaw<br>faxdetect=yes<br>insecure=very,port,invite<br><br></div><b>cisco router</b><br><br>voice service voip<br> allow-connections sip to sip<br>!<br>interface FastEthernet0/0<br> ip address 40.0.0.100 255.255.255.0<br>!<br>interface FastEthernet0/1<br> ip address 192.168.0.100 255.255.255.0<br>!<br>dial-peer voice 1 voip<br> destination-pattern 1.+<br> session protocol sipv2<br> session target ipv4:40.0.0.1<br> codec g711alaw<br>!<br>dial-peer voice 2 voip<br> destination-pattern 2.+<br> session protocol sipv2<br> session target ipv4:192.168.0.101<br> codec g711alaw<br>!<br>sip-ua<br> authentication username asterisk password 01030717481C091D25<br> retry invite 3<br> retry response 3<br> retry bye 3<br> retry cancel 3<br> sip-server ipv4:40.0.0.1<br><br></div>by this config, calls <span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">is established and i expect when remove authentication from  FreePBX or router , </span></span>calls <span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">Not</span> <span class="gmail-">contacted . but it is established .<br></span></span></div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"></span></span><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"></span></span></div>