Hi All; The main number is 56725000 and we have DIDs from 5000 to 5999. Now, I need that if five IP Phones make outside calls, then destination should see only 56725111 so I beleive it is related to the DID 5111 but I do not know what I have to do a settings for this DID and where, so I can acheive this. Any advise? Regards Bilal
On Sat, 13 Aug 2011, bilal ghayyad wrote:> I need that if five IP Phones make outside calls, then destination > should see only 56725111...You can set the caller ID before you dial. Whether it 'works' depends on your provider. Some providers will let you set the caller ID to anything, some will only allow you to set it to a number allocated to you, some will not let you set it at all. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
On Sunday 14 Aug 2011, bilal ghayyad wrote:> Hi All; > > The main number is 56725000 and we have DIDs from 5000 to 5999. Now, I need > that if five IP Phones make outside calls, then destination should see only > 56725111 so I beleive it is related to the DID 5111 but I do not know what > I have to do a settings for this DID and where, so I can acheive this. > > Any advise?You need to use Set(CALLERPRES()=allowed) and Set(CALLERID(num)=.....) before the Dial() statement in your extensions.conf. Note, though, that your telco will only allow you to use presentation numbers allocated to you -- if you try to set a number that is not yours to use, they will silently change it either to "anonymous" or to your "main" number. If Set(CALLERID(num)=.....) is not behaving the way you think it should, then you need to contact your telco and make sure that the presentation number really is allocated to you. -- AJS Answers come *after* questions.
Soeren Malchow (MCon)
2011-Aug-15 11:08 UTC
[asterisk-users] DID to display the calling number
Hi, If you use freepbx, it can easily be set in the configuration of the extension using "Outbound CID" That way you can define outbound CallerIDs for any given extension, be sure to put it in brackets like this <1099977420> Where 10 is the area code, but that can be different depending on your diaplan Cheers soeren On 8/15/11 4:09 PM, "A J Stiles" <asterisk_list at earthshod.co.uk> wrote:>On Sunday 14 Aug 2011, bilal ghayyad wrote: >> Hi All; >> >> The main number is 56725000 and we have DIDs from 5000 to 5999. Now, I >>need >> that if five IP Phones make outside calls, then destination should see >>only >> 56725111 so I beleive it is related to the DID 5111 but I do not know >>what >> I have to do a settings for this DID and where, so I can acheive this. >> >> Any advise? > >You need to use Set(CALLERPRES()=allowed) and Set(CALLERID(num)=.....) >before >the Dial() statement in your extensions.conf. Note, though, that your >telco >will only allow you to use presentation numbers allocated to you -- if >you >try to set a number that is not yours to use, they will silently change >it >either to "anonymous" or to your "main" number. > >If Set(CALLERID(num)=.....) is not behaving the way you think it should, >then >you need to contact your telco and make sure that the presentation number >really is allocated to you. > >-- >AJS > >Answers come *after* questions. > >-- >_____________________________________________________________________ >-- 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
Thanks for the help and reply. And this can be done only by setting the callerid=<5100> in the sip.conf? Or I have to do any thing else? Regards Bilal ----------------------> > > I need that if five IP Phones make outside calls, then > destination > > should see only 56725111... > > You can set the caller ID before you dial. > > Whether it 'works' depends on your provider. > > Some providers will let you set the caller ID to anything, > some will only > allow you to set it to a number allocated to you, some will > not let you > set it at all. > > --