[asterisk-users] Extension wise dialplan

mahesh katta maheshkatta at flexydial.com
Thu Jul 14 01:42:19 CDT 2011


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>


More information about the asterisk-users mailing list