<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3821.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>My asterisk environment is:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>... -&gt; [Asterisk PBX1] -&gt; [Asterisk PBX2] 
-&gt; [SIP Clients]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Where the "..." are the normail landlines from 
where i am getting calls into my PBX1.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>As soon as i recieve a call into the PBX1 i 
use:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>exten=&gt;BLAHBLAH,1,Dial(IAX2/PBX,10,tr)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>to forward it to the PBX2 but on the PBX2 side 
where i am supposed to choose between a number of sip clients, i am not getting 
any phone number, rather it just shows the ip of PBX1.hence i am not able to 
select the sip client for the particular department and i have to 
use</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>exten=&gt;s,1,Dial(SIP/ABC,10,tTr)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>can anyone suggest me how to replace this "s" with 
some particular number or a patter.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kindest </FONT></DIV>
<DIV><FONT face=Arial size=2>Muhammad Muzzamil Luqman</FONT></DIV></BODY></HTML>