<br><br>
<div class="gmail_quote">On Mon, Jan 11, 2010 at 6:23 AM, Zhang Shukun <span dir="ltr"><<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">you'd better paste your dialplan snip here, in order to get specific help.<br><br>2010/1/11 Darrick Hartman <<a href="mailto:dhartman@djhsolutions.com">dhartman@djhsolutions.com</a>>:<br>
<div>
<div></div>
<div class="h5">> On 01/10/2010 11:38 PM, hadi motamedi wrote:<br>>><br>>> FWIW, he did post his question yesterday. I've just taken a look and<br>>> one potential issue I've spotted is that the external server he<br>
>> mentions is 192.168.0.139, which is part of the <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a><br>>> <<a href="http://192.168.0.0/16" target="_blank">http://192.168.0.0/16</a>><br>
>> netblock reserved for private networks. So while the server might be<br>>> 192.168.0.139 on it's own LAN, I suspect that won't be its public IP<br>>> address.<br>>><br>>> Other than that, I suspect there might be an issue with the dialplan.<br>
>> The OP posted an excerpt from his sip.conf but I suspect we'd need<br>>> his extensions.conf or extensions.ael (whichever or both he's using)<br>>> before being able to help further.<br>
>><br>>><br>>><br>>> Thank you very much for your reply . My Asterisk CallerId issue is as<br>>> the followings :<br>>> "My Asterisk has sip connection with external sip server and sip inbound<br>
>> and outbound calls are ok . But for the sip inbound calls when the<br>>> external sip server sends SIP INVITE with CallerId field in the range of<br>>> my Asterisk sip phones the call will be rejected . For example , please<br>
>> imagine that my Asterisk sip phones are at 667 XXXX range so when the<br>>> external sip server places sip inbound call with SIP INVITE CallerId as<br>>> say 667 2020 the call will be rejected . But if he modifies his CallerId<br>
>> to say 021 667 2020 (i.e. with area code included) the call will get<br>>> through . Can you please let me know what is the problem here ?<br>>><br>><br>> It sounds like a dialplan issue where you don't have a pattern which<br>
> matches 6662020 while you do have something that matches 0216672020.<br>> Without seeing the dialplan, we can only guess.<br>><br>> --<br>> Darrick Hartman<br>> DJH Solutions, LLC<br>> <a href="http://www.djhsolutions.com/" target="_blank">http://www.djhsolutions.com</a><br>
><br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</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>
><br><br><br><br></div></div><font color="#888888">--<br>Best regards,<br>Sucan<br></font>
<div>
<div></div>
<div class="h5"><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</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>
</div></div></blockquote></div>
<div> </div>
<div> </div>
<div><br> </div>
<div>Please find attached my dial plan .</div>
<div> </div>