Hi Vardan<br><br>I did same as you told and deleted the SIP information in Astdb and restarted asterisk. but the result was same.<br><br>as you said there might be mistake in sip.conf so i am pasting both servers configuration here..<br>
<br>1- <a href="http://nasir.server.com">nasir.server.com</a><br><br>[abc]<br>username=abc<br>type=friend<br>secret=mysecret<br>nat=yes<br>mailbox=12234568<br>incominglimit=2<br>outgoinglimit=2<br>host=dynamic<br>dtmfmode=rfc2833<br>
<span style="color: rgb(51, 204, 0);">context=payasyougo</span><br>canreinvite=yes<br>callerid=&quot;Nasir Qazi&quot; &lt;12234&gt;<br>accountcode=6:0:abc<br>amaflags=default<br>disallow=all<br>allow=ulaw<br>allow=alaw<br>
allow=g729<br>allow=gsm<br><br><br>2- 192.168.0.254 (client system)<br><br>[abc] <br>type=peer     <br>username=abc<br>secret=mysecret<br>host=<a href="http://nasir.server.com">nasir.server.com</a><br>context=default<br>dtmfmode=rfc2833<br>
canreinvite=yes <br>insecure=very  <br>disallow=all<br>allow=ulaw  <br>allow=alaw<br>allow=g729<br>allow=gsm <br>nat=yes<br>;qualify=yes<br><br>[caller]     <br>type=friend  <br>secret=123456     <br>host=dynamic   <br>callerid=&quot;caller &lt;12129887777&gt;&quot;<br>
context=out<br>nat=yes  <br>dtmfmode=rfc2833<br>canreinvite=yes<br>insecure=no <br>disallow=all<br>allow=ulaw <br>allow=alaw<br>allow=g729<br>allow=gsm<br>t38_udptl=yes <br>qualify=yes<br><br><br>I have registered [caller] on xlite at client system and dialing following context in local system that will dial [abc]<br>
<br>[out]<br>exten=&gt; _X.,1,Dial(SIP/${EXTEN}@abc,30,1)<br>exten=&gt; _X.,n,Hangup<br><br><br>as you can see above <b>highlighted that context of abc is payasyougo.</b> problem is that i want the call to land in that context on <a href="http://nasir.server.com">nasir.server.com</a>, which works if i use register string. but without register string call goes to default context on <a href="http://nasir.server.com">nasir.server.com</a><br>
<br>regards,<br><br>Nasir Javaid<br><br>Message: 19<br>
Date: Tue, 11 May 2010 20:54:30 +0500<br>
From: Vardan &lt;<a href="mailto:hvardan71@gmail.com">hvardan71@gmail.com</a>&gt;<br>
Subject: Re: [asterisk-users] asterisk-users Digest, Vol 70, Issue 24<br>
To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
Message-ID: &lt;hsbujk$qk9$<a href="mailto:1@dough.gmane.org">1@dough.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hello Nasir<br>
<br>
I have some please.<br>
Do so, it help.<br>
Find all records about interexchange beetwen this two server and delete<br>
all records in sip.conf for this both server (first make backup<br>
sip.conf, or any another conf file that you use).<br>
restart asterisk.<br>
look in astdb about this old records, if any found, delete him<br>
Next, create new record in sip.conf on both servers, without<br>
registration string, reload sip.conf.<br>
give him right context from extensions.conf.<br>
<br>
Can you do this?<br>
<br>
I think is some mistake about configuration in sip.conf, you have I<br>
think two same records (peer or friend).<br>
<br>
Vardan