[Asterisk-Users] Prefix to CALLING Number ?
barney
barney at spirit.bentel.sk
Fri Apr 29 01:00:23 MST 2005
>> exten => 3333,1,Dial(Zap/g1/55555${EXTEN}/);
Thank you Josiah, but If i do that, asterisk only add prefix to extension
which i`m dialing. But that is not my goal. I need to add prefix before my
local extension:
IP_PHONE ---> ASTERISK ----> PSTN ---> TDM_PHONE
ext.3333 No:
234567890
I`m trying to call TDM_PHONE from IP_PHONE, but asterisk is sending 3333 as
source number.
My goal is to tell asterisk to send number 5555553333 as an source number of
call.
-b
----- Original Message -----
From: "Josiah Bryan" <jbryan at productiveconcepts.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Thursday, April 28, 2005 8:23 PM
Subject: Re: [Asterisk-Users] Prefix to CALLING Number ?
> On Thursday 28 April 2005 11:07 am, barney wrote:
>> Hi there,
>>
>> I`m trying to add some prefix before my local extensions, when my calls
>> are
>> routed to ZAP trunk.
>>
>> (i.e.: my local extension is 3333, and i would like to send request to
>> my
>> telco provider with source phone number 5555553333)
>>
>> Is there any way to do this ? I just know to add prefix (via prefix
>> application) to the called number (but not calling).
>>
>
>
> Thread on this 2 days ago.....
>
> Serach the archives. See footer on every message in this list.
>
> For those who dont want to google archives, here ya go:
>
> exten => 3333,1,Dial(Zap/g1/55555${EXTEN}/);
>
> Just put the number to add before the number to dial:
>
> For example, to dial XXX-XXX and put a '9w' before the number when sending
> to
> a zap trunk:
>
> exten => _NXXXXX,1,Dial(Zap/g1/9w${EXTEN})
>
> Cheers!
>
> -josiah
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list