<div dir="ltr">can't we use without register command both way as peer to peer?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 1:45 AM, Asghar Mohammad <span dir="ltr"><<a href="mailto:asghar144@gmail.com" target="_blank">asghar144@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">1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a.<div>2. use host=dynamic type=friend on side A and host=ip type=peer on side B.</div>
<div>3. general section in sip.conf of side B register with server A. </div>
<div><br></div><div>please see comments in sip.conf</div><div><div>;dynamic_exclude_static = yes ; Disallow all dynamic hosts from registering</div><div> ; as any IP address used for staticly defined</div>
<div> ; hosts. This helps avoid the configuration</div><div> ; error of allowing your users to register at</div><div> ; the same address as a SIP provider.</div>
</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 10:04 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@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"><div>[servera]</div><div>type=friend</div><div>username=servera</div><div>secret=servera</div><div>host=10.30.2.5</div>
<div>port=5060</div><div>context=Manila</div><div>insecure=port,invite</div><div>dtmfmode=rfc2833</div>
<div>relaxdtmf=yes</div><div>directmedia=no</div><div>qualify=yes</div><div>disallow=all</div><div>allow=g729</div><div>allow=ulaw</div><div>allow=alaw</div><div>deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a></div>
<div>permit=<a href="http://10.30.2.5/255.255.255.0" target="_blank">10.30.2.5/255.255.255.0</a></div><div><br></div><div>If i use host=dynamic, it wont communicate each other and will result to unmonitored.... </div><div>
<br></div><div>
<br></div><div>and the IP segment is two different segment. where am able to ping each other. </div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad <span dir="ltr"><<a href="mailto:asghar144@gmail.com" target="_blank">asghar144@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>paste server a trunk also, if you want register why you are not using host=dynamic?</div><div>both servers are on 10.10.10.0 ? if no then check your deny permit seting.</div>
</div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@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>
<div dir="ltr">Also tried one more scenario, particularly from one IP to other IP not registering. <div><br></div><div>For example like 10.10.10.5 to 10.20.10.5</div><div><br></div><div>If it is 10.10.10.5 to 10.30.2.5 - working</div>
<div>If it is 10.30.2.5 to 10.20.10.4 works fine.</div><div><br></div><div>really strange... I suspect some issue on the network side... </div><div><br></div><div>Problem is there is no packet loss.. with mtr it is fine, tracepath is fine, ping is fine... :( </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@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">Am using Asterisk 11.2 in one location and 11.1 in another location. <div><br></div><div>when I trunk between two servers, the status is unreachable. </div>
<div><br></div><div>But with different server with 11.2 and 11.2 it works fine. </div>
<div><br></div><div>I tried both IAX and SIP. </div><div><br></div><div>the trunk in sip.conf what i have is,</div><div><div><div><div>[serverb]</div><div>type=friend</div><div>username=serverb</div><div>secret=serverb</div>
<div>host=10.10.10.5</div><div>port=5060</div><div>context=default</div><div>insecure=port,invite</div><div>dtmfmode=rfc2833</div><div>relaxdtmf=yes</div><div>directmedia=no</div><div>qualify=3000</div><div>nat=force_rport,comedia</div>
<div>disallow=all</div><div>allow=g729</div><div>allow=ulaw</div><div>allow=alaw</div><div>deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a></div><div>permit=<a href="http://10.10.10.5/255.255.255.0" target="_blank">10.10.10.5/255.255.255.0</a></div>
</div></div></div><div><br></div><div>Is there any issue with 11.1?</div></div>
</blockquote></div><br></div><span><font color="#888888">
<br></font></span></div></div><span><font color="#888888"><span><font color="#888888">--<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></font></span></blockquote></div><span><font color="#888888"><br>
</font></span></div><span><font color="#888888">
<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>
<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></blockquote></div><br></div>
</div></div><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></blockquote></div><br></div>