Are you using FreePBX, or AsteriskGUI, or are you using standard dialplan?
FreePBX has this feature built in, and I think AsteriskGUI does too. To do it
in dialplan you'd need something like
exten => _9XXXXXXXX,1,Set(CALLERID(num)=31303099)
exten => _9XXXXXXXX,n,Dial(DAHDI/g1/${EXTEN:1})
You could programmatically set it as a function of the callerID set in sip.conf
or whatever endpoint technology you're using.
Andrew M. Lauppe
Network and Telephony Consultant
Anteil, Inc.
4051B Executive Park Drive
Harrisburg, PA 17111
+1 717 671 1141 x23
+1 484 421 9919
On Dec 16, 2011, at 7:39 PM, Kaushal Shriyan wrote:
> Hi,
>
> I am having an E1 PRI ISDN Lines with 30 bearer channels and 1 D Channel with
> hundred DIDs (Direct Inward Dialing) numbers attached to a Sangoma PRI Card
> on the server,
> I am using asterisk 1.8.5 on CentOS 5.6.
>
> How can i configure DIDs so that if i make an outgoing call the DID number
> should go to the caller not the pilot number
>
> For example
>
> PRI Numbers Range -> 31303000 - 31303099
> Pilot Number -> 31303000
>
> So if i need to set caller number as 31303008 for example and not as
> 31303000, is there a way to set this in dial plan (extensions.conf)
>
> Please guide and let me know if anyone needs more information and have
> questions.
>
> Regards,
>
> Kausha --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisknow mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisknow
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisknow mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisknow