you'd better paste your dialplan snip here, in order to get specific help. 2010/1/11 Darrick Hartman <dhart...@djhsolutions.com>: > On 01/10/2010 11:38 PM, hadi motamedi wrote: >> >> FWIW, he did post his question yesterday. I've just taken a look and >> one potential issue I've spotted is that the external server he >> mentions is 192.168.0.139, which is part of the 192.168.0.0/16 >> <http://192.168.0.0/16> >> netblock reserved for private networks. So while the server might be >> 192.168.0.139 on it's own LAN, I suspect that won't be its public IP >> address. >> >> Other than that, I suspect there might be an issue with the dialplan. >> The OP posted an excerpt from his sip.conf but I suspect we'd need >> his extensions.conf or extensions.ael (whichever or both he's using) >> before being able to help further. >> >> >> >> Thank you very much for your reply . My Asterisk CallerId issue is as >> the followings : >> "My Asterisk has sip connection with external sip server and sip inbound >> and outbound calls are ok . But for the sip inbound calls when the >> external sip server sends SIP INVITE with CallerId field in the range of >> my Asterisk sip phones the call will be rejected . For example , please >> imagine that my Asterisk sip phones are at 667 XXXX range so when the >> external sip server places sip inbound call with SIP INVITE CallerId as >> say 667 2020 the call will be rejected . But if he modifies his CallerId >> to say 021 667 2020 (i.e. with area code included) the call will get >> through . Can you please let me know what is the problem here ? >> > > It sounds like a dialplan issue where you don't have a pattern which > matches 6662020 while you do have something that matches 0216672020. > Without seeing the dialplan, we can only guess. > > -- > Darrick Hartman > DJH Solutions, LLC > http://www.djhsolutions.com > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- Best regards, Sucan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users