[asterisk-users] how to specify the numbers to call with sip
salaheddine elharit
salah.elharit200 at gmail.com
Fri May 27 09:04:10 CDT 2011
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>
More information about the asterisk-users
mailing list