Hi all, I have n no. of extensions in my dialer. from 456 to 556 extensions. I was created 2 other extensions 667 and 668 I need to allow only STD calls to go from this extensions. These all extensions are same context . I need to define the STD dialplan for only this 2 extensions. how I can ? Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/399ce03b/attachment.htm>
Hi, Just change context for 667 and 668 extensions . Regards Dhaval On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta <maheshkatta at flexydial.com>wrote:> Hi all, > > I have n no. of extensions in my dialer. from 456 to 556 extensions. I was > created 2 other extensions 667 and 668 I need to allow only STD calls to > go from this extensions. > These all extensions are same context . I need to define the STD dialplan > for only this 2 extensions. how I can ? > > > > > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/de29b43e/attachment.htm>
Thanks for reply. but I need same context. because i am using dialer when I change the context meetme is not configuring at login with dialer. Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> wrote:> Hi, > > Just change context for 667 and 668 extensions . > > Regards > Dhaval > > On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta <maheshkatta at flexydial.com>wrote: > >> Hi all, >> >> I have n no. of extensions in my dialer. from 456 to 556 extensions. I was >> created 2 other extensions 667 and 668 I need to allow only STD calls to >> go from this extensions. >> These all extensions are same context . I need to define the STD dialplan >> for only this 2 extensions. how I can ? >> >> >> >> >> Best Regards, >> >> Mahesh Katta >> *BUZZ**WORKS* Business Services Private Limited >> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >> (E) Mumbai 400069 >> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >> Web http://www.buzzworks.com >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/8c38756a/attachment.htm>
ok, so just chek with Dial-plan and when you receive a call from 667 and 668 you can allowe a dialing out and for other calls you just dis-allow outdialing , kindly paste your dial-plan here if i can help. regards dhaval On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta <maheshkatta at flexydial.com>wrote:> Thanks for reply. > but I need same context. because i am using dialer when I change the > context meetme is not configuring at login with dialer. > > > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > > On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < > dhaval.it01034 at gmail.com> wrote: > >> Hi, >> >> Just change context for 667 and 668 extensions . >> >> Regards >> Dhaval >> >> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta <maheshkatta at flexydial.com >> > wrote: >> >>> Hi all, >>> >>> I have n no. of extensions in my dialer. from 456 to 556 extensions. I >>> was created 2 other extensions 667 and 668 I need to allow only STD calls >>> to go from this extensions. >>> These all extensions are same context . I need to define the STD dialplan >>> for only this 2 extensions. how I can ? >>> >>> >>> >>> >>> Best Regards, >>> >>> Mahesh Katta >>> *BUZZ**WORKS* Business Services Private Limited >>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>> (E) Mumbai 400069 >>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>> Web http://www.buzzworks.com >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/b656f8e6/attachment.htm>
Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com On Thu, Jul 14, 2011 at 12:06 PM, DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> wrote:> ok, so just chek with Dial-plan and when you receive a call from 667 and > 668 you can allowe a dialing out and for other calls you just dis-allow > outdialing , kindly paste your dial-plan here if i can help. > > [default]include => isd ; Mumbai Mobile Numbers exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) exten => _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) exten => _9XXXXXXXXX,4,Hangup ; STD Any Numbers exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) exten => _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) exten => _0XXXXXXXXXX,4,Hangup [isd] exten => _X!,1,NoOp(${CALLERID(number)}) exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) exten => _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) exten => _X!,5,Hangup in this scenario . all extensions are default context. but 667 and 668 to allow only dial out isd calls. please help regards> dhaval > > > On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta <maheshkatta at flexydial.com>wrote: > >> Thanks for reply. >> but I need same context. because i am using dialer when I change the >> context meetme is not configuring at login with dialer. >> >> >> Best Regards, >> >> Mahesh Katta >> *BUZZ**WORKS* Business Services Private Limited >> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >> (E) Mumbai 400069 >> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >> Web http://www.buzzworks.com >> >> >> >> On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < >> dhaval.it01034 at gmail.com> wrote: >> >>> Hi, >>> >>> Just change context for 667 and 668 extensions . >>> >>> Regards >>> Dhaval >>> >>> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta < >>> maheshkatta at flexydial.com> wrote: >>> >>>> Hi all, >>>> >>>> I have n no. of extensions in my dialer. from 456 to 556 extensions. I >>>> was created 2 other extensions 667 and 668 I need to allow only STD calls >>>> to go from this extensions. >>>> These all extensions are same context . I need to define the STD >>>> dialplan for only this 2 extensions. how I can ? >>>> >>>> >>>> >>>> >>>> Best Regards, >>>> >>>> Mahesh Katta >>>> *BUZZ**WORKS* Business Services Private Limited >>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>>> (E) Mumbai 400069 >>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>> Web http://www.buzzworks.com >>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/04e8d33d/attachment.htm>
Hi Please replace your context with following i think this will work [isd] exten => _X!,1,NoOp(${CALLERID(number)}) exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) exten => _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _X!,4,GotoIf($[$["${CDR(src)}" == "667"] & $[${CDR(src} ="668"]]?ALLOW:NOTALLOW) exten => _X!,5(ALLOW),Dial(${SIPTRUNK}/${EXTEN},,To) exten => _X!,6(NOTALLOW),Hangup Regards dhaval On Thu, Jul 14, 2011 at 12:12 PM, mahesh katta <maheshkatta at flexydial.com>wrote:> > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > > On Thu, Jul 14, 2011 at 12:06 PM, DHAVAL INDRODIYA < > dhaval.it01034 at gmail.com> wrote: > >> ok, so just chek with Dial-plan and when you receive a call from 667 and >> 668 you can allowe a dialing out and for other calls you just dis-allow >> outdialing , kindly paste your dial-plan here if i can help. >> >> [default] > include => isd > ; Mumbai Mobile Numbers > exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) > exten => > _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) > exten => _9XXXXXXXXX,4,Hangup > > ; STD Any Numbers > exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) > exten => > _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) > exten => _0XXXXXXXXXX,4,Hangup > > [isd] > exten => _X!,1,NoOp(${CALLERID(number)}) > exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) > exten => > _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) > exten => _X!,5,Hangup > > in this scenario . all extensions are default context. but 667 and 668 to > allow only dial out isd calls. please help > > regards >> dhaval >> >> >> On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta <maheshkatta at flexydial.com >> > wrote: >> >>> Thanks for reply. >>> but I need same context. because i am using dialer when I change the >>> context meetme is not configuring at login with dialer. >>> >>> >>> Best Regards, >>> >>> Mahesh Katta >>> *BUZZ**WORKS* Business Services Private Limited >>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>> (E) Mumbai 400069 >>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>> Web http://www.buzzworks.com >>> >>> >>> >>> On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < >>> dhaval.it01034 at gmail.com> wrote: >>> >>>> Hi, >>>> >>>> Just change context for 667 and 668 extensions . >>>> >>>> Regards >>>> Dhaval >>>> >>>> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta < >>>> maheshkatta at flexydial.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have n no. of extensions in my dialer. from 456 to 556 extensions. I >>>>> was created 2 other extensions 667 and 668 I need to allow only STD calls >>>>> to go from this extensions. >>>>> These all extensions are same context . I need to define the STD >>>>> dialplan for only this 2 extensions. how I can ? >>>>> >>>>> >>>>> >>>>> >>>>> Best Regards, >>>>> >>>>> Mahesh Katta >>>>> *BUZZ**WORKS* Business Services Private Limited >>>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, >>>>> Andheri (E) Mumbai 400069 >>>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>>> Web http://www.buzzworks.com >>>>> >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/142e6d90/attachment-0001.htm>
Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com On Thu, Jul 14, 2011 at 12:20 PM, DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> wrote:> Hi Please replace your context with following i think this will work > > > > [isd] > exten => _X!,1,NoOp(${CALLERID(number)}) > exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) > exten => > _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _X!,4,GotoIf($[$["${CDR(src)}" == "667"] & $[${CDR(src} => "668"]]?ALLOW:NOTALLOW) > exten => _X!,5(ALLOW),Dial(${SIPTRUNK}/${EXTEN},,To) > exten => _X!,6(NOTALLOW),Hangup > > > NoOp("Local/8600062 at default-9932,1", "0000000000") in newstack -- Executing AGI("Local/8600062 at default-9932,1", "agi:// 127.0.0.1:4577/call_log") in new stack -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing MixMonitor("Local/8600062 at default-9932,1", "/var/spool/asterisk/astrec/20110714-123333-0000000000-971559566768-1310627013.4231.gsm|av(0)V(0)") in new stack Jul 14 12:33:33 WARNING[17506]: ast_expr2.fl:183 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: "0000000000" == "98761" ^ Jul 14 12:33:33 WARNING[17506]: ast_expr2.fl:187 ast_yyerror: If you have questions, please refer to doc/README.variables in the asterisk source. -- Executing GotoIf("Local/8600062 at default-9932,1", "0?ALLOW:NOTALLOW") in new stack -- Goto (default,971559566768,6) -- Executing Hangup("Local/8600062 at default-9932,1", "") in new stack sir in this i have no callerid in dialplan 1 priority is wrong in my self. is there any way . Regards> dhaval > > > > > > > On Thu, Jul 14, 2011 at 12:12 PM, mahesh katta <maheshkatta at flexydial.com>wrote: > >> >> Best Regards, >> >> Mahesh Katta >> *BUZZ**WORKS* Business Services Private Limited >> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >> (E) Mumbai 400069 >> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >> Web http://www.buzzworks.com >> >> >> >> On Thu, Jul 14, 2011 at 12:06 PM, DHAVAL INDRODIYA < >> dhaval.it01034 at gmail.com> wrote: >> >>> ok, so just chek with Dial-plan and when you receive a call from 667 and >>> 668 you can allowe a dialing out and for other calls you just dis-allow >>> outdialing , kindly paste your dial-plan here if i can help. >>> >>> [default] >> include => isd >> ; Mumbai Mobile Numbers >> exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) >> exten => >> _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >> exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) >> exten => _9XXXXXXXXX,4,Hangup >> >> ; STD Any Numbers >> exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) >> exten => >> _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >> exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) >> exten => _0XXXXXXXXXX,4,Hangup >> >> [isd] >> exten => _X!,1,NoOp(${CALLERID(number)}) >> exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) >> exten => >> _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >> exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) >> exten => _X!,5,Hangup >> >> in this scenario . all extensions are default context. but 667 and 668 to >> allow only dial out isd calls. please help >> >> regards >>> dhaval >>> >>> >>> On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta < >>> maheshkatta at flexydial.com> wrote: >>> >>>> Thanks for reply. >>>> but I need same context. because i am using dialer when I change the >>>> context meetme is not configuring at login with dialer. >>>> >>>> >>>> Best Regards, >>>> >>>> Mahesh Katta >>>> *BUZZ**WORKS* Business Services Private Limited >>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>>> (E) Mumbai 400069 >>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>> Web http://www.buzzworks.com >>>> >>>> >>>> >>>> On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < >>>> dhaval.it01034 at gmail.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> Just change context for 667 and 668 extensions . >>>>> >>>>> Regards >>>>> Dhaval >>>>> >>>>> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta < >>>>> maheshkatta at flexydial.com> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I have n no. of extensions in my dialer. from 456 to 556 extensions. I >>>>>> was created 2 other extensions 667 and 668 I need to allow only STD calls >>>>>> to go from this extensions. >>>>>> These all extensions are same context . I need to define the STD >>>>>> dialplan for only this 2 extensions. how I can ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Best Regards, >>>>>> >>>>>> Mahesh Katta >>>>>> *BUZZ**WORKS* Business Services Private Limited >>>>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, >>>>>> Andheri (E) Mumbai 400069 >>>>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>>>> Web http://www.buzzworks.com >>>>>> >>>>>> >>>>>> -- >>>>>> _____________________________________________________________________ >>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>>> http://www.asterisk.org/hello >>>>>> >>>>>> asterisk-users mailing list >>>>>> To UNSUBSCRIBE or update options visit: >>>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>>> >>>>> >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/e9747e83/attachment.htm>
Kindly replace this line with exten => _X!,1,NoOp(${CALLERID(number)} = ${CDR(src)} == ) and send me output On Thu, Jul 14, 2011 at 12:45 PM, mahesh katta <maheshkatta at flexydial.com>wrote:> > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > > On Thu, Jul 14, 2011 at 12:20 PM, DHAVAL INDRODIYA < > dhaval.it01034 at gmail.com> wrote: > >> Hi Please replace your context with following i think this will work >> >> >> >> [isd] >> exten => _X!,1,NoOp(${CALLERID(number)}) >> exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) >> exten => >> _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >> exten => _X!,4,GotoIf($[$["${CDR(src)}" == "667"] & $[${CDR(src} =>> "668"]]?ALLOW:NOTALLOW) >> exten => _X!,5(ALLOW),Dial(${SIPTRUNK}/${EXTEN},,To) >> exten => _X!,6(NOTALLOW),Hangup >> >> >> NoOp("Local/8600062 at default-9932,1", "0000000000") in new > stack > > -- Executing AGI("Local/8600062 at default-9932,1", "agi:// > 127.0.0.1:4577/call_log") in new > stack > -- AGI Script agi://127.0.0.1:4577/call_log completed, returning > 0 > > -- Executing MixMonitor("Local/8600062 at default-9932,1", > "/var/spool/asterisk/astrec/20110714-123333-0000000000-971559566768-1310627013.4231.gsm|av(0)V(0)") > in new > stack > > Jul 14 12:33:33 WARNING[17506]: ast_expr2.fl:183 ast_yyerror: > ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting > TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; > Input: > > "0000000000" == "98761" > > > ^ > > Jul 14 12:33:33 WARNING[17506]: ast_expr2.fl:187 ast_yyerror: If you have > questions, please refer to doc/README.variables in the asterisk > source. > -- Executing GotoIf("Local/8600062 at default-9932,1", > "0?ALLOW:NOTALLOW") in new > stack > > -- Goto > (default,971559566768,6) > > -- Executing Hangup("Local/8600062 at default-9932,1", "") in new > stack > > sir in this i have no callerid in dialplan 1 priority is wrong in my self. > is there any way . > > > Regards >> dhaval >> >> >> >> >> >> >> On Thu, Jul 14, 2011 at 12:12 PM, mahesh katta <maheshkatta at flexydial.com >> > wrote: >> >>> >>> Best Regards, >>> >>> Mahesh Katta >>> *BUZZ**WORKS* Business Services Private Limited >>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>> (E) Mumbai 400069 >>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>> Web http://www.buzzworks.com >>> >>> >>> >>> On Thu, Jul 14, 2011 at 12:06 PM, DHAVAL INDRODIYA < >>> dhaval.it01034 at gmail.com> wrote: >>> >>>> ok, so just chek with Dial-plan and when you receive a call from 667 and >>>> 668 you can allowe a dialing out and for other calls you just dis-allow >>>> outdialing , kindly paste your dial-plan here if i can help. >>>> >>>> [default] >>> include => isd >>> ; Mumbai Mobile Numbers >>> exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) >>> exten => >>> _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >>> exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) >>> exten => _9XXXXXXXXX,4,Hangup >>> >>> ; STD Any Numbers >>> exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) >>> exten => >>> _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >>> exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) >>> exten => _0XXXXXXXXXX,4,Hangup >>> >>> [isd] >>> exten => _X!,1,NoOp(${CALLERID(number)}) >>> exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) >>> exten => >>> _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) >>> exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) >>> exten => _X!,5,Hangup >>> >>> in this scenario . all extensions are default context. but 667 and 668 to >>> allow only dial out isd calls. please help >>> >>> regards >>>> dhaval >>>> >>>> >>>> On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta < >>>> maheshkatta at flexydial.com> wrote: >>>> >>>>> Thanks for reply. >>>>> but I need same context. because i am using dialer when I change the >>>>> context meetme is not configuring at login with dialer. >>>>> >>>>> >>>>> Best Regards, >>>>> >>>>> Mahesh Katta >>>>> *BUZZ**WORKS* Business Services Private Limited >>>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, >>>>> Andheri (E) Mumbai 400069 >>>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>>> Web http://www.buzzworks.com >>>>> >>>>> >>>>> >>>>> On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < >>>>> dhaval.it01034 at gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Just change context for 667 and 668 extensions . >>>>>> >>>>>> Regards >>>>>> Dhaval >>>>>> >>>>>> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta < >>>>>> maheshkatta at flexydial.com> wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I have n no. of extensions in my dialer. from 456 to 556 extensions. >>>>>>> I was created 2 other extensions 667 and 668 I need to allow only STD >>>>>>> calls to go from this extensions. >>>>>>> These all extensions are same context . I need to define the STD >>>>>>> dialplan for only this 2 extensions. how I can ? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Best Regards, >>>>>>> >>>>>>> Mahesh Katta >>>>>>> *BUZZ**WORKS* Business Services Private Limited >>>>>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>>>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, >>>>>>> Andheri (E) Mumbai 400069 >>>>>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>>>>> Web http://www.buzzworks.com >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> _____________________________________________________________________ >>>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com-- >>>>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>>>> http://www.asterisk.org/hello >>>>>>> >>>>>>> asterisk-users mailing list >>>>>>> To UNSUBSCRIBE or update options visit: >>>>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> _____________________________________________________________________ >>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>>> http://www.asterisk.org/hello >>>>>> >>>>>> asterisk-users mailing list >>>>>> To UNSUBSCRIBE or update options visit: >>>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>>> >>>>> >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/92e41c14/attachment.htm>
Have something like this with necessary changes as per your requirement. [default] exten => _X.,1,ExecIf($[$["${CALLERID(num)}" = "667"] | $["${CALLERID(num)}" "667"]]?Goto(isd,${EXTEN},1):Goto(local,${EXTEN},1)) [local] ; Mumbai Mobile Numbers exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) exten => _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) exten => _9XXXXXXXXX,4,Hangup ; STD Any Numbers exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) exten => _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) exten => _0XXXXXXXXXX,4,Hangup [isd] include => local exten => _X!,1,NoOp(${CALLERID(number)}) exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) exten => _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) exten => _X!,5,Hangup [SATISH] Mumbai,India On Thu, Jul 14, 2011 at 12:12 PM, mahesh katta <maheshkatta at flexydial.com>wrote:> > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > > On Thu, Jul 14, 2011 at 12:06 PM, DHAVAL INDRODIYA < > dhaval.it01034 at gmail.com> wrote: > >> ok, so just chek with Dial-plan and when you receive a call from 667 and >> 668 you can allowe a dialing out and for other calls you just dis-allow >> outdialing , kindly paste your dial-plan here if i can help. >> >> [default] > include => isd > ; Mumbai Mobile Numbers > exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) > exten => > _9XXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _9XXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) > exten => _9XXXXXXXXX,4,Hangup > > ; STD Any Numbers > exten => _0XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log) > exten => > _0XXXXXXXXXX,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _0XXXXXXXXXX,3,Dial(${TRUNK}/${EXTEN},,tTo) > exten => _0XXXXXXXXXX,4,Hangup > > [isd] > exten => _X!,1,NoOp(${CALLERID(number)}) > exten => _X!,2,AGI(agi://127.0.0.1:4577/call_log) > exten => > _X!,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) > exten => _X!,4,Dial(${SIPTRUNK}/${EXTEN},,To) > exten => _X!,5,Hangup > > in this scenario . all extensions are default context. but 667 and 668 to > allow only dial out isd calls. please help > > regards >> dhaval >> >> >> On Thu, Jul 14, 2011 at 11:59 AM, mahesh katta <maheshkatta at flexydial.com >> > wrote: >> >>> Thanks for reply. >>> but I need same context. because i am using dialer when I change the >>> context meetme is not configuring at login with dialer. >>> >>> >>> Best Regards, >>> >>> Mahesh Katta >>> *BUZZ**WORKS* Business Services Private Limited >>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri >>> (E) Mumbai 400069 >>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>> Web http://www.buzzworks.com >>> >>> >>> >>> On Thu, Jul 14, 2011 at 11:56 AM, DHAVAL INDRODIYA < >>> dhaval.it01034 at gmail.com> wrote: >>> >>>> Hi, >>>> >>>> Just change context for 667 and 668 extensions . >>>> >>>> Regards >>>> Dhaval >>>> >>>> On Thu, Jul 14, 2011 at 10:15 AM, mahesh katta < >>>> maheshkatta at flexydial.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have n no. of extensions in my dialer. from 456 to 556 extensions. I >>>>> was created 2 other extensions 667 and 668 I need to allow only STD calls >>>>> to go from this extensions. >>>>> These all extensions are same context . I need to define the STD >>>>> dialplan for only this 2 extensions. how I can ? >>>>> >>>>> >>>>> >>>>> >>>>> Best Regards, >>>>> >>>>> Mahesh Katta >>>>> *BUZZ**WORKS* Business Services Private Limited >>>>> BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI >>>>> 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, >>>>> Andheri (E) Mumbai 400069 >>>>> GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 >>>>> Web http://www.buzzworks.com >>>>> >>>>> >>>>> -- >>>>> _____________________________________________________________________ >>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>>> http://www.asterisk.org/hello >>>>> >>>>> asterisk-users mailing list >>>>> To UNSUBSCRIBE or update options visit: >>>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>>> >>>> >>>> >>>> -- >>>> _____________________________________________________________________ >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>>> http://www.asterisk.org/hello >>>> >>>> asterisk-users mailing list >>>> To UNSUBSCRIBE or update options visit: >>>> http://lists.digium.com/mailman/listinfo/asterisk-users >>>> >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110714/5e25feb7/attachment.htm>
On Thursday 14 Jul 2011, mahesh katta wrote:> Hi all, > > I have n no. of extensions in my dialer. from 456 to 556 extensions. I was > created 2 other extensions 667 and 668 I need to allow only STD calls to > go from this extensions. > These all extensions are same context . I need to define the STD dialplan > for only this 2 extensions. how I can ?Use separate contexts. That's kind of what contexts are *for*. If you really, really have to use one context for everything (Why? Look into changing this, because it is limiting you severely), then you will just have to use conditionals based on the originating extension number. But be warned: It really won't look pretty (not that dialplans ever do look pretty); and when (not if) you come to add more extensions with STD, then it *will* get uglier. -- AJS Answers come *after* questions.