<DIV>Yes Pstn local start with 9 and pstn international starts with 00 .That is ok.</DIV>
<DIV>I can make call form 300 to pstn local, and from ext 301 to pstn international, that is ok .But in this exemple I can not call form&nbsp;ext 300 to 301 and form 301 to 300. </DIV>
<DIV>&nbsp;</DIV>
<DIV>It is possibile&nbsp; to have&nbsp;2 diferent group of extension, with diferent tyipe of permision (like here x1 pstn local , and x2 pstn international) but extension can call each other regardless form the group. It does not matther in which group is the pone I can call any phone form group x1 or x2.</DIV>
<DIV>But if I want to call outside it depends on permision of group in wich I am (x1 or x2).</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>Ronald Wiplinger &lt;ronald@elmit.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">asterisk asterisk wrote:<BR><BR>&gt; I have a very simple question .<BR>&gt;<BR>&gt; I have 2 internal extension 301 and 300 sip phone . I want to these <BR>&gt; extesion can call each other, and ext 300 can call outside to pstn, <BR>&gt; and ext 301 to call internatonal. <BR>&gt;<BR>&gt; How can I do that ?<BR>&gt;<BR>&gt; <BR>&gt;<BR><BR>include pstnlocal at either [x2] or [international]<BR><BR>Remember, that international starts with 00 while local never has 00 - <BR>right?<BR><BR><BR>bye<BR><BR>Ronald<BR><BR>&gt; [x1]<BR>&gt; exten =&gt; 300,1,Dial(SIP/300)<BR>&gt;<BR>&gt; include =&gt; pstnlocal<BR>&gt;<BR>&gt; [x2]<BR>&gt; exten =&gt; 301,1,Dial(SIP/301)<BR>&gt;<BR>&gt; include =&gt;international<BR>&gt;<BR>include =&gt; pstnlocal<BR><BR>&gt; [pstnlocal]<BR>&gt;<BR>&gt; exten =&gt; _9xxxxxxx,1,Dial(Zap/g1/${EXTEN}) <BR>&gt;<BR>&gt; [international]<BR>&gt;<BR>&gt; exten =&gt;
 _900.,1,Dial(Zap/g1/${EXTEN}) <BR>&gt;<BR>include =&gt; pstnlocal<BR><BR>&gt; <BR>&gt;<BR>&gt; So it is good but in this case I cann t call the local phone .And if I <BR>&gt; include context x1 in x2 and x2 in x1 the ext 300 will be able to call <BR>&gt; international no.<BR>&gt;<BR>&gt; <BR>&gt;<BR>&gt; Can anyone help me ?<BR>&gt;<BR>&gt; <BR>&gt;<BR>&gt; Thanks.<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Do You Yahoo!?<BR>&gt; Yahoo! Small Business - Try our new Resources site! <BR>&gt; <HTTP: evt="31637/*http://smallbusiness.yahoo.com/resources/" us.rd.yahoo.com><BR>&gt;<BR>&gt;<BR>&gt;------------------------------------------------------------------------<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Asterisk-Users mailing list<BR>&gt;Asterisk-Users@lists.digium.com<BR>&gt;http://lists.digium.com/mailman/listinfo/asterisk-users<BR>&gt;To UNSUBSCRIBE or update options visit:<BR>&gt;
 http://lists.digium.com/mailman/listinfo/asterisk-users<BR>&gt;<BR><BR><BR>-- <BR>Ronald Wiplinger (CEO of ELMIT)<BR>http://www.elmit.com +886 (0) 939--77-55-16 or FWD 511208<BR>- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org<BR><BR>PS: Spam prevention!<BR>Our system is protected with a spam prevention program. <BR>If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. <BR>After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.<BR><BR><BR>_______________________________________________<BR>Asterisk-Users mailing list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br> 
<a href="http://us.rd.yahoo.com/mail_us/taglines/security/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail</a> - You care about security. So do we.