salaheddine elharit
2011-May-27 09:29 UTC
[asterisk-users] how to specify the numbers to call with sip
i have installed asterisk and i have 3 sip 104 ,105 and 106 Now I can make the calls with theses sip without issue I want to configure the outbound calls for these sips like that: 104 permission to call any number, but for 105 and 106 I want to specify some numbers to call Any help please thanks and regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/c00cf633/attachment.htm>
mahesh katta
2011-May-27 09:35 UTC
[asterisk-users] how to specify the numbers to call with sip
you need to make dial plan . On Fri, May 27, 2011 at 2:59 PM, salaheddine elharit < salah.elharit200 at gmail.com> wrote:> i have installed asterisk and i have 3 sip 104 ,105 and 106 > > > > Now I can make the calls with theses sip without issue > > > > I want to configure the outbound calls for these sips like that: > > > > 104 permission to call any number, but for 105 and 106 I want to specify > some numbers to call > > > Any help please > > thanks and regards > > -- > _____________________________________________________________________ > -- 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 >-- 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/20110527/491146b7/attachment.htm>
salaheddine elharit
2011-May-27 09:45 UTC
[asterisk-users] how to specify the numbers to call with sip
thanks for reply i have a dial plan but can you please give me an exemple regrads 2011/5/27 mahesh katta <maheshkatta at flexydial.com>> you need to make dial plan . > > On Fri, May 27, 2011 at 2:59 PM, salaheddine elharit < > salah.elharit200 at gmail.com> wrote: > >> i have installed asterisk and i have 3 sip 104 ,105 and 106 >> >> >> >> Now I can make the calls with theses sip without issue >> >> >> >> I want to configure the outbound calls for these sips like that: >> >> >> >> 104 permission to call any number, but for 105 and 106 I want to specify >> some numbers to call >> >> >> Any help please >> >> thanks and regards >> >> -- >> _____________________________________________________________________ >> -- 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 >> > > > > -- > 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/20110527/54c80a43/attachment.htm>
Alex Balashov
2011-May-27 09:45 UTC
[asterisk-users] how to specify the numbers to call with sip
Route 104 into one dialplan context and 105 & 106 into a more restrictive one. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On May 27, 2011, at 5:29 AM, salaheddine elharit <salah.elharit200 at gmail.com> wrote:> i have installed asterisk and i have 3 sip 104 ,105 and 106 > > Now I can make the calls with theses sip without issue > > I want to configure the outbound calls for these sips like that: > > 104 permission to call any number, but for 105 and 106 I want to specify some numbers to call > > Any help please > > thanks and regards > -- > _____________________________________________________________________ > -- 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/20110527/76cb164a/attachment.htm>
A J Stiles
2011-May-27 09:54 UTC
[asterisk-users] how to specify the numbers to call with sip
On Friday 27 May 2011, salaheddine elharit wrote:> i have installed asterisk and i have 3 sip 104 ,105 and 106 > > Now I can make the calls with theses sip without issue > > I want to configure the outbound calls for these sips like that: > > 104 permission to call any number, but for 105 and 106 I want to specify > some numbers to call > > Any help pleaseSpecify different default contexts for your extension phones in sip.conf. Say 104 is in "outgoing-full" and 105 and 106 are in "outgoing-restricted". Then you need something in your extensions.conf like [outgoing-full] ; allow calls to internal numbers include => internal ; include specially-chosen outgoing numbers include => outgoing-restricted ; anything beginning with 0 is an STD call exten => _0X.,1,Dial(${TRUNK}/${EXTEN}) exten => _0X.,2,Hangup() [outgoing-restricted] ; allow calls to internal numbers include => internal ; only allow calls to 01234567890 and 02345678901 exten => 01234567890,1,Dial(${TRUNK}/${EXTEN}) exten => 01234567890,2,Hangup() exten => 02345678901,1,Dial(${TRUNK}/${EXTEN}) exten => 02345678901,2,Hangup() Note this is a highly minimal example and will need expanding on, but you should get the general idea. -- AJS Answers come *after* questions.
mahesh katta
2011-May-27 09:56 UTC
[asterisk-users] how to specify the numbers to call with sip
104 extension should call all outgoing calls, for example you can give one particular context for104 ,EX: ALL is a context sip.conf [104] username=104 secret=123 nat=yes canreinvite=yes context=ALL extensions.conf [ALL] _0X.,1,Dial(zap/go,20,tTo) On Fri, May 27, 2011 at 3:15 PM, Alex Balashov <abalashov at evaristesys.com>wrote:> Route 104 into one dialplan context and 105 & 106 into a more restrictive > one. > > -- > Alex Balashov - Principal > Evariste Systems LLC > 260 Peachtree Street NW > Suite 2200 > Atlanta, GA 30303 > Tel: +1-678-954-0670 > Fax: +1-404-961-1892 > Web: <http://www.evaristesys.com/>http://www.evaristesys.com/ > > On May 27, 2011, at 5:29 AM, salaheddine elharit < > salah.elharit200 at gmail.com> wrote: > > i have installed asterisk and i have 3 sip 104 ,105 and 106 > > > > Now I can make the calls with theses sip without issue > > > > I want to configure the outbound calls for these sips like that: > > > > 104 permission to call any number, but for 105 and 106 I want to specify > some numbers to call > > > Any help please > > thanks and regards > > -- > > _____________________________________________________________________ > -- 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> > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > <http://lists.digium.com/mailman/listinfo/asterisk-users> > 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 >-- 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/20110527/f0679437/attachment.htm>
mahesh katta
2011-May-27 09:58 UTC
[asterisk-users] how to specify the numbers to call with sip
A.J.Stiles given perfect example . On Fri, May 27, 2011 at 3:26 PM, mahesh katta <maheshkatta at flexydial.com>wrote:> 104 extension should call all outgoing calls, for example you can give one > particular context for104 ,EX: ALL is a context > sip.conf > [104] > username=104 > secret=123 > nat=yes > canreinvite=yes > context=ALL > > > extensions.conf > [ALL] > _0X.,1,Dial(zap/go,20,tTo) > > > > > On Fri, May 27, 2011 at 3:15 PM, Alex Balashov <abalashov at evaristesys.com>wrote: > >> Route 104 into one dialplan context and 105 & 106 into a more restrictive >> one. >> >> -- >> Alex Balashov - Principal >> Evariste Systems LLC >> 260 Peachtree Street NW >> Suite 2200 >> Atlanta, GA 30303 >> Tel: +1-678-954-0670 >> Fax: +1-404-961-1892 >> Web: <http://www.evaristesys.com/>http://www.evaristesys.com/ >> >> On May 27, 2011, at 5:29 AM, salaheddine elharit < >> salah.elharit200 at gmail.com> wrote: >> >> i have installed asterisk and i have 3 sip 104 ,105 and 106 >> >> >> >> Now I can make the calls with theses sip without issue >> >> >> >> I want to configure the outbound calls for these sips like that: >> >> >> >> 104 permission to call any number, but for 105 and 106 I want to specify >> some numbers to call >> >> >> Any help please >> >> thanks and regards >> >> -- >> >> _____________________________________________________________________ >> -- 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> >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> <http://lists.digium.com/mailman/listinfo/asterisk-users> >> 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 >> > > > > -- > 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 > >-- 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/20110527/3d2b0f84/attachment.htm>
salaheddine elharit
2011-May-27 14:04 UTC
[asterisk-users] how to specify the numbers to call with sip
thank you for your response now i can do that without any issue ,i have just one question when i verify after this solution all the calls now boot from g1 before i have this exten => _0612.,1,Set(CALLERID(number)=520460587) exten => _0612.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten => _0612.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded)) exten => _0612.,n,Hangup(); and for the secend exten => _0.,1,Set(CALLERID(number)=520460587) exten => _0.,n,MixMonitor(zap_g1_${EXTEN}_${UNIQUEID}.wav|av(0}V(0)) exten => _0.,n,Dial(Zap/g1/${EXTEN},30,A(this-call-may-be-monitored-or-recorded)) exten => _0.,n,Hangup(); any help please 2011/5/27 mahesh katta <maheshkatta at flexydial.com>> A.J.Stiles given perfect example . > > > On Fri, May 27, 2011 at 3:26 PM, mahesh katta <maheshkatta at flexydial.com>wrote: > >> 104 extension should call all outgoing calls, for example you can give one >> particular context for104 ,EX: ALL is a context >> sip.conf >> [104] >> username=104 >> secret=123 >> nat=yes >> canreinvite=yes >> context=ALL >> >> >> extensions.conf >> [ALL] >> _0X.,1,Dial(zap/go,20,tTo) >> >> >> >> >> On Fri, May 27, 2011 at 3:15 PM, Alex Balashov <abalashov at evaristesys.com >> > wrote: >> >>> Route 104 into one dialplan context and 105 & 106 into a more >>> restrictive one. >>> >>> -- >>> Alex Balashov - Principal >>> Evariste Systems LLC >>> 260 Peachtree Street NW >>> Suite 2200 >>> Atlanta, GA 30303 >>> Tel: +1-678-954-0670 >>> Fax: +1-404-961-1892 >>> Web: <http://www.evaristesys.com/>http://www.evaristesys.com/ >>> >>> On May 27, 2011, at 5:29 AM, salaheddine elharit < >>> salah.elharit200 at gmail.com> wrote: >>> >>> i have installed asterisk and i have 3 sip 104 ,105 and 106 >>> >>> >>> >>> Now I can make the calls with theses sip without issue >>> >>> >>> >>> I want to configure the outbound calls for these sips like that: >>> >>> >>> >>> 104 permission to call any number, but for 105 and 106 I want to specify >>> some numbers to call >>> >>> >>> Any help please >>> >>> thanks and regards >>> >>> -- >>> >>> _____________________________________________________________________ >>> -- 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> >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> <http://lists.digium.com/mailman/listinfo/asterisk-users> >>> 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 >>> >> >> >> >> -- >> 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 >> >> > > > -- > 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/20110527/9143add5/attachment.htm>