how to specify the numbers to call with sip

Home » Asterisk Users » how to specify the numbers to call with sip
Asterisk Users 1 Comment

you need to make dial plan .

On Fri, May 27, 2011 at 2:59 PM, salaheddine elharit <
salah.elharit200@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
>

One thought on - 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