<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>hi  all;</div><div><br></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">    I want to use kamailio  </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">achieve:</span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">First phase:</span></div><div><br></div><div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    1) inbound  caller  number </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">translation;</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    2) outbound caller  number translation;</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    3) inbound   callee  number translation;</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    4) outbound  callee  number tanslation;</span><span style="background-color: window; font-family: ''; font-size: 10.5pt; line-height: 1.5;">    </span></div></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Example :</span></div><div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">     Call Flow</span></div><div>     backend server  ------------------> kamailio --------------------------> GateWay ------------------->PSTN<span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span></div></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    </span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    caller -->callee                                                                                    caller  --->  callee<br>    1000  --> 2000                                                                                    111000--->222000</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">          </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">       </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">inbound                           outbound             </span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';"><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span></span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">           caller --->callee                caller ---> callee</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span></span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">            1000 ---> 2000               </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">11000  ---></span><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> 22000   </span></span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">   </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">         </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">                | </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">translation </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">|                     </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">  | </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">translation</span><span style="background-color: window; font-family: ''; font-size: 10.5pt; line-height: 1.5;"> |   </span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">     </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">  </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">   </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">11000  ---></span><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> 22000   </span></span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">   </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">     111000---> 222000</span></div>
<div><br></div><div><br></div><div><br></div><div>Second  phase:</div><div><br></div><div><div>                                                                            /  ---->gateway1  ----->pstn<br>                                                                          /</div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">                      </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> backend server  --->  kamailio  ----->gateway2 -----> pstn</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">     </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    \</span></div><div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">    \ ----> gateway3 ------->pstn</span></div></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><br></div><div><br></div><div><br></div><div>Could you give me  some suggest or  example configuration£¿</div><div><br></div><div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>liwei@neulinx.com</div></div></span></div>
</body></html>