Hi Eric, No I know what I want. I want to set the DID to be 212-531-6214 as my current provider doesn't send a DID number.
Cheers, Dean > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Eric "ManxPower" Wieling > Sent: Thursday, 10 August 2006 1:24 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Set DID? > > Dean Collins wrote: > > Is there a command for setting of a DID number? > > > > > > > > Eg below I can set callerid > > > > > > > > [custom-fromiaxfwd] > > > > exten => s,1,Set(CALLERID(number)=2125316214) > > > > > > > > > > > > Butw what I would prefer to do is set DID -like this (it doesn't work > > > > > > > > [custom-fromiaxfwd] > > > > exten => s,1,Set(CALLERDID(number)=2125316214) > > > > > > > > > > > > I couldn't find anything in the voip-info commands section so was hoping > > for a clue from the list. > > You are trying to set the CallerID, not setting the DID. The DID is in > ${EXTEN}. > > If you want to set the CallerID for calls to the PSTN you must be using > ISDN. If you are using VoIP, then the VoIP server must be using ISDN > (pretty much all of them are). > > Your carrier must permit you to set that info. Not all of them do. > > -- > Now accepting new clients in Birmingham, Atlanta, Huntsville, > Chattanooga, and Montgomery. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
