<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 ext 300 to 301 and form 301 to 300. </DIV>
<DIV> </DIV>
<DIV>It is possibile to have 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> </DIV>
<DIV><BR><BR><B><I>Ronald Wiplinger <ronald@elmit.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">asterisk asterisk wrote:<BR><BR>> I have a very simple question .<BR>><BR>> I have 2 internal extension 301 and 300 sip phone . I want to these <BR>> extesion can call each other, and ext 300 can call outside to pstn, <BR>> and ext 301 to call internatonal. <BR>><BR>> How can I do that ?<BR>><BR>> <BR>><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>> [x1]<BR>> exten => 300,1,Dial(SIP/300)<BR>><BR>> include => pstnlocal<BR>><BR>> [x2]<BR>> exten => 301,1,Dial(SIP/301)<BR>><BR>> include =>international<BR>><BR>include => pstnlocal<BR><BR>> [pstnlocal]<BR>><BR>> exten => _9xxxxxxx,1,Dial(Zap/g1/${EXTEN}) <BR>><BR>> [international]<BR>><BR>> exten =>
_900.,1,Dial(Zap/g1/${EXTEN}) <BR>><BR>include => pstnlocal<BR><BR>> <BR>><BR>> So it is good but in this case I cann t call the local phone .And if I <BR>> include context x1 in x2 and x2 in x1 the ext 300 will be able to call <BR>> international no.<BR>><BR>> <BR>><BR>> Can anyone help me ?<BR>><BR>> <BR>><BR>> Thanks.<BR>><BR>> ------------------------------------------------------------------------<BR>> Do You Yahoo!?<BR>> Yahoo! Small Business - Try our new Resources site! <BR>> <HTTP: evt="31637/*http://smallbusiness.yahoo.com/resources/" us.rd.yahoo.com><BR>><BR>><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>><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.