bilal ghayyad
2011-Sep-24 20:03 UTC
[asterisk-users] DID and how the caller id will appear
Hi All; The DID range that we took from the telecom starts from 1030 and end by 1059, now whenever we place a call, the destination see the number 5631030. I gave the phone extension 1040, and when I call, still the destination see the number is 5631030? Kindly find below the configuration of the extension 1040, please what I have also to configure so when this extension make a call, the destination see it 5631040? [1040] type=friend host= dynamic callerid=1040 disallow=all allow=alaw allow=ulaw allow=g729 context=External dtmfmode=auto nat=no qualify=no canreinvite=yes username=1040 secret=******* Regards Bilal
Set(CALLERID(num)=5631040) add this before the Dial command. On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Hi All; > > The DID range that we took from the telecom starts from 1030 and end by 1059, now whenever we place a call, the destination see the number 5631030. I gave the phone extension 1040, and when I call, still the destination see the number is 5631030? > > Kindly find below the configuration of the extension 1040, please what I have also to configure so when this extension make a call, the destination see it 5631040? > > [1040] > type=friend > host= dynamic > callerid=1040 > disallow=all > allow=alaw > allow=ulaw > allow=g729 > context=External > dtmfmode=auto > nat=no > qualify=no > canreinvite=yes > username=1040 > secret=******* > > Regards > Bilal > > -- > _____________________________________________________________________ > -- 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 >
bilal ghayyad
2011-Sep-25 17:59 UTC
[asterisk-users] DID and how the caller id will appear
Dear; By the way, the asterisk version is: 1.8.4.2 Yes I tried Set(CALLERID(num)=5631040) as shown in the below dialing, and no success. Also I tried Set(CALLERID(num)=1040) and I tried Set(CALLERID(num)=065631040) as the city code is 06 and when we call any mobile, it is appearing 065631040, but all of this did not work. Do I have to use SetCallerPres? What is the value? The E1 is located in Jordan and it is PRI with 30 channels. Is there any thing need to be set other than Set(CALLERID(num)? I am afraid that I have to set a specific value for SetCallerPress ! Well, I have also a question: What should I set the callerid when I am configuring the IP Phone in the sip.conf? By the way: what is the difference between using Set(CALLERID(num)=5631040) and the callerid in the sip.conf? Kindly find below my dialing plan: exten => _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040) exten => _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) exten => _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1}) exten => _90ZXXXXXXXX,4,Playback(vm-nobodyavail) exten => _90ZXXXXXXXX,5,Hangup() exten => _90ZXXXXXXXX,104,Congestion() ; if no channel available exten => _90ZXXXXXXXX,105,Hangup() -----------------------> > Set(CALLERID(num)=5631040) > add this before the Dial command. > > On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad <bilmar_gh at yahoo.com> > wrote: > > Hi All; > > > > The DID range that we took from the telecom starts > from 1030 and end by 1059, now whenever we place a call, the > destination see the number 5631030. I gave the phone > extension 1040, and when I call, still the destination see > the number is 5631030? > > > > Kindly find below the configuration of the extension > 1040, please what I have also to configure so when this > extension make a call, the destination see it 5631040? > > > > [1040] > > type=friend > > host= dynamic > > callerid=1040 > > disallow=all > > allow=alaw > > allow=ulaw > > allow=g729 > > context=External > > dtmfmode=auto > > nat=no > > qualify=no > > canreinvite=yes > > username=1040 > > secret=******* > > > > Regards > > Bilal
Confirm with your provider that allow you to set caller id on outbound. On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Dear; > > By the way, the asterisk version is: 1.8.4.2 > > Yes I tried Set(CALLERID(num)=5631040) as shown in the below dialing, and no success. Also I tried Set(CALLERID(num)=1040) and I tried Set(CALLERID(num)=065631040) as the city code is 06 and when we call any mobile, it is appearing 065631040, but all of this did not work. > > Do I have to use SetCallerPres? What is the value? > > The E1 is located in Jordan and it is PRI with 30 channels. Is there any thing need to be set other than Set(CALLERID(num)? I am afraid that I have to set a specific value for SetCallerPress ! > > Well, I have also a question: What should I set the callerid when I am configuring the IP Phone in the sip.conf? > > By the way: what is the difference between using Set(CALLERID(num)=5631040) and the callerid in the sip.conf? > > Kindly find below my dialing plan: > > exten => _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040) > exten => _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) > exten => _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1}) > exten => _90ZXXXXXXXX,4,Playback(vm-nobodyavail) > exten => _90ZXXXXXXXX,5,Hangup() > exten => _90ZXXXXXXXX,104,Congestion() ; if no channel available > exten => _90ZXXXXXXXX,105,Hangup() > > > ----------------------- > > >> >> Set(CALLERID(num)=5631040) >> add this before the Dial command. >> >> On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad <bilmar_gh at yahoo.com> >> wrote: >> > Hi All; >> > >> > The DID range that we took from the telecom starts >> from 1030 and end by 1059, now whenever we place a call, the >> destination see the number 5631030. I gave the phone >> extension 1040, and when I call, still the destination see >> the number is 5631030? >> > >> > Kindly find below the configuration of the extension >> 1040, please what I have also to configure so when this >> extension make a call, the destination see it 5631040? >> > >> > [1040] >> > type=friend >> > host= dynamic >> > callerid=1040 >> > disallow=all >> > allow=alaw >> > allow=ulaw >> > allow=g729 >> > context=External >> > dtmfmode=auto >> > nat=no >> > qualify=no >> > canreinvite=yes >> > username=1040 >> > secret=******* >> > >> > Regards >> > Bilal > > > -- > _____________________________________________________________________ > -- 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 >
bilal ghayyad
2011-Sep-27 10:38 UTC
[asterisk-users] DID and how the caller id will appear
Dears; Yes, I tried all what mentioned, and did not work ... So I am contacting the service provider. Thanks a lot. Regards Bilal -------------------> > Hi > > try to add this > > exten => _90ZXXXXXXXX,1,Set(CALLERPRES()=allowed) > exten => _90ZXXXXXXXX,n,Set(CALLERID(num)=5631040) > > if you get the same result that is means that you don't > have permission from > your provider > > > kind regards > > 2011/9/26 C F <shmaltz at gmail.com> > > > Confirm with your provider that allow you to set > caller id on outbound. > > > > > > On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <bilmar_gh at yahoo.com> > > wrote: > > > Dear; > > > > > > By the way, the asterisk version is: 1.8.4.2 > > > > > > Yes I tried Set(CALLERID(num)=5631040) as shown > in the below dialing, and > > no success. Also I tried Set(CALLERID(num)=1040) and I > tried > > Set(CALLERID(num)=065631040) as the city code is 06 > and when we call any > > mobile, it is appearing 065631040, but all of this did > not work. > > > > > > Do I have to use SetCallerPres? What is the > value? > > > > > > The E1 is located in Jordan and it is PRI with 30 > channels. Is there any > > thing need to be set other than Set(CALLERID(num)? I > am afraid that I have > > to set a specific value for SetCallerPress ! > > > > > > Well, I have also a question: What should I set > the callerid when I am > > configuring the IP Phone in the sip.conf? > > > > > > By the way: what is the difference between using > > Set(CALLERID(num)=5631040) and the callerid in the > sip.conf? > > > > > > Kindly find below my dialing plan: > > > > > > exten => > _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040) > > > exten => > > > _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) > > > exten => > _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1}) > > > exten => > _90ZXXXXXXXX,4,Playback(vm-nobodyavail) > > > exten => _90ZXXXXXXXX,5,Hangup() > > > exten => _90ZXXXXXXXX,104,Congestion() ; if no > channel available > > > exten => _90ZXXXXXXXX,105,Hangup() > > > > > > > > > ----------------------- > > > > > > > > >> > > >> Set(CALLERID(num)=5631040) > > >> add this before the Dial command. > > >> > > >> On Sat, Sep 24, 2011 at 4:03 PM, bilal > ghayyad <bilmar_gh at yahoo.com> > > >> wrote: > > >> > Hi All; > > >> > > > >> > The DID range that we took from the > telecom starts > > >> from 1030 and end by 1059, now whenever we > place a call, the > > >> destination see the number 5631030. I gave > the phone > > >> extension 1040, and when I call, still the > destination see > > >> the number is 5631030? > > >> > > > >> > Kindly find below the configuration of > the extension > > >> 1040, please what I have also to configure so > when this > > >> extension make a call, the destination see it > 5631040? > > >> > > > >> > [1040] > > >> > type=friend > > >> > host= dynamic > > >> > callerid=1040 > > >> > disallow=all > > >> > allow=alaw > > >> > allow=ulaw > > >> > allow=g729 > > >> > context=External > > >> > dtmfmode=auto > > >> > nat=no > > >> > qualify=no > > >> > canreinvite=yes > > >> > username=1040 > > >> > secret=******* > > >> > > > >> > Regards > > >> > Bilal
On Sun, Sep 25, 2011 at 10:59:29AM -0700, bilal ghayyad wrote:> Yes I tried Set(CALLERID(num)=5631040) as shown in the below dialing, > and no success. Also I tried Set(CALLERID(num)=1040) and I tried > Set(CALLERID(num)=065631040) as the city code is 06 and when we call > any mobile, it is appearing 065631040, but all of this did not work. > > The E1 is located in Jordan and it is PRI with 30 channels. Is there > any thing need to be set other than Set(CALLERID(num)? I am afraid > that I have to set a specific value for SetCallerPress !I always thought the approriate format to set for callerid on PRIs is your whole number excluding the national prefix. In your case Set(CALLERID(num)=65631040) You might try prefixing national TON and e164 format options: Set(CALLERID(num)=Ne65631040) -- Daniel Tryba
bilal ghayyad
2011-Oct-18 11:53 UTC
[asterisk-users] DID and how the caller id will appear
Dears; We contacted the Telecom provider and they confirmed multiple times that the DID service is enabled, but again still the caller id does not appear as we need (it is always appearing as the primary number). I tried to set the CALLERDID(num) to be 40, 1040, 5631040 and 065631040 without any result. Where could be the problem? Maybe I have to use CALLERID(ANI)? Well, how it should be written exactly? What other things I have to do or I can try to resolve the problem? Regards Bilal ---------------> > Hi > > try to add this > > exten => _90ZXXXXXXXX,1,Set(CALLERPRES()=allowed) > exten => _90ZXXXXXXXX,n,Set(CALLERID(num)=5631040) > > if you get the same result that is means that you don't > have permission from > your provider > > > kind regards > > 2011/9/26 C F <shmaltz at gmail.com> > > > Confirm with your provider that allow you to set > caller id on outbound. > > > > > > On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <bilmar_gh at yahoo.com> > > wrote: > > > Dear; > > > > > > By the way, the asterisk version is: 1.8.4.2 > > > > > > Yes I tried Set(CALLERID(num)=5631040) as shown > in the below dialing, and > > no success. Also I tried Set(CALLERID(num)=1040) and I > tried > > Set(CALLERID(num)=065631040) as the city code is 06 > and when we call any > > mobile, it is appearing 065631040, but all of this did > not work. > > > > > > Do I have to use SetCallerPres? What is the > value? > > > > > > The E1 is located in Jordan and it is PRI with 30 > channels. Is there any > > thing need to be set other than Set(CALLERID(num)? I > am afraid that I have > > to set a specific value for SetCallerPress ! > > > > > > Well, I have also a question: What should I set > the callerid when I am > > configuring the IP Phone in the sip.conf? > > > > > > By the way: what is the difference between using > > Set(CALLERID(num)=5631040) and the callerid in the > sip.conf? > > > > > > Kindly find below my dialing plan: > > > > > > exten => > _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040) > > > exten => > > > _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) > > > exten => > _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1}) > > > exten => > _90ZXXXXXXXX,4,Playback(vm-nobodyavail) > > > exten => _90ZXXXXXXXX,5,Hangup() > > > exten => _90ZXXXXXXXX,104,Congestion() ; if no > channel available > > > exten => _90ZXXXXXXXX,105,Hangup() > > > > > > > > > ----------------------- > > > > > > > > >> > > >> Set(CALLERID(num)=5631040) > > >> add this before the Dial command. > > >> > > >> On Sat, Sep 24, 2011 at 4:03 PM, bilal > ghayyad <bilmar_gh at yahoo.com> > > >> wrote: > > >> > Hi All; > > >> > > > >> > The DID range that we took from the > telecom starts > > >> from 1030 and end by 1059, now whenever we > place a call, the > > >> destination see the number 5631030. I gave > the phone > > >> extension 1040, and when I call, still the > destination see > > >> the number is 5631030? > > >> > > > >> > Kindly find below the configuration of > the extension > > >> 1040, please what I have also to configure so > when this > > >> extension make a call, the destination see it > 5631040? > > >> > > > >> > [1040] > > >> > type=friend > > >> > host= dynamic > > >> > callerid=1040 > > >> > disallow=all > > >> > allow=alaw > > >> > allow=ulaw > > >> > allow=g729 > > >> > context=External > > >> > dtmfmode=auto > > >> > nat=no > > >> > qualify=no > > >> > canreinvite=yes > > >> > username=1040 > > >> > secret=******* > > >> > > > >> > Regards > > >> > Bilal
On Tuesday 18 October 2011, bilal ghayyad wrote:> We contacted the Telecom provider and they confirmed multiple times that > the DID service is enabled, but again still the caller id does not appear > as we need (it is always appearing as the primary number). I tried to set > the CALLERDID(num) to be 40, 1040, 5631040 and 065631040 without any > result. > > Where could be the problem? > > Maybe I have to use CALLERID(ANI)? Well, how it should be written exactly? > > What other things I have to do or I can try to resolve the problem?What format do your incoming caller IDs come in? (use a NoOp() or Verbose() statement to write to the log.) One would expect outgoing caller IDs to be set in the same format (but speak to someone at the telco for confirmation of this). Our provider (in the UK) expects our outgoing caller IDs to include the STD code, but without the initial 0. So 065631040 would be sent as 65631040 . Are you definitely allowed to set your own caller ID? It may well be restricted to one of a range of "presentation numbers" assigned to you. One other thing: CALLERPRES() has been deprecated for awhile now, so in newer Asterisk versions you may need to write Set(CALLERID(pres)=allowed) instead of Set(CALLERPRES()=allowed . -- AJS Answers come *after* questions.
bilal ghayyad
2011-Oct-19 00:46 UTC
[asterisk-users] DID and how the caller id will appear
Dear; By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version is 2.4.1.2 Here I would like to mention the following: 1) As per the telecom provider, they said they openned for us all the digits to send (two digits, 4 digits, all the digits ...) as they said. 2) The caller id appear for me at the CLI as: 5631030 (and actually this is the primary key). 3) I am settings in the systems.conf file the loadzone to be uk us and the defaultzone to be uk, does this effect? Maybe I have to set us. 4) I am sending the numbers within my range it is from 5631030 to 5631059, and actually I tried to set the caller id to be 40, 1040, 5621040, and 065621040 5) It is E1 ISDN. 6) About the: Set(CALLERID(pres)=allowed) How can I know the updated changes? By the way: is it important to be set? 7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also need to be updated? Also, should I use Set(CALLERID(num)=1040) or Set(CALLERID(num)=<1040>)? What other factors I am missing? What I have to check? Regards Bilal ---------------> On Tuesday 18 October 2011, bilal ghayyad wrote: > > We contacted the Telecom provider and they confirmed > multiple times that > > the DID service is enabled, but again still the caller > id does not appear > > as we need (it is always appearing as the primary > number). I tried to set > > the CALLERDID(num) to be 40, 1040, 5631040 and > 065631040 without any > > result. > > > > Where could be the problem? > > > > Maybe I have to use CALLERID(ANI)? Well, how it should > be written exactly? > > > > What other things I have to do or I can try to resolve > the problem? > > What format do your incoming caller IDs come > in????(use a NoOp() or Verbose() > statement to write to the log.)? One would expect > outgoing caller IDs to be > set in the same format? (but speak to someone at the > telco for confirmation of > this).? Our provider? (in the UK)? expects > our outgoing caller IDs to include > the STD code, but without the initial 0.? So 065631040 > would be sent as > 65631040 . > > > Are you definitely allowed to set your own caller ID?? > It may well be > restricted to one of a range of "presentation numbers" > assigned to you. > > > One other thing:? CALLERPRES() has been deprecated for > awhile now, so in newer > Asterisk versions you may need to write > Set(CALLERID(pres)=allowed) instead of > Set(CALLERPRES()=allowed .? > > -- > AJS > > Answers come *after* questions. > >
CallerID is your country code + city/area code + telephone number. Do not set the leading 0, that is not part of the Caller*ID. Example London UK number, country code 44, area code 20, number 1234-5678: Set(CALLERID(num)=442012345678 -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad Sent: Tuesday, October 18, 2011 8:47 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] DID and how the caller id will appear Dear; By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version is 2.4.1.2 Here I would like to mention the following: 1) As per the telecom provider, they said they openned for us all the digits to send (two digits, 4 digits, all the digits ...) as they said. 2) The caller id appear for me at the CLI as: 5631030 (and actually this is the primary key). 3) I am settings in the systems.conf file the loadzone to be uk us and the defaultzone to be uk, does this effect? Maybe I have to set us. 4) I am sending the numbers within my range it is from 5631030 to 5631059, and actually I tried to set the caller id to be 40, 1040, 5621040, and 065621040 5) It is E1 ISDN. 6) About the: Set(CALLERID(pres)=allowed) How can I know the updated changes? By the way: is it important to be set? 7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also need to be updated? Also, should I use Set(CALLERID(num)=1040) or Set(CALLERID(num)=<1040>)? What other factors I am missing? What I have to check? Regards Bilal ---------------> On Tuesday 18 October 2011, bilal ghayyad wrote: > > We contacted the Telecom provider and they confirmed > multiple times that > > the DID service is enabled, but again still the caller > id does not appear > > as we need (it is always appearing as the primary > number). I tried to set > > the CALLERDID(num) to be 40, 1040, 5631040 and > 065631040 without any > > result. > > > > Where could be the problem? > > > > Maybe I have to use CALLERID(ANI)? Well, how it should > be written exactly? > > > > What other things I have to do or I can try to resolve > the problem? > > What format do your incoming caller IDs come in????(use a NoOp() or > Verbose() statement to write to the log.)? One would expect outgoing > caller IDs to be set in the same format? (but speak to someone at the > telco for confirmation of this).? Our provider? (in the UK)? expects > our outgoing caller IDs to include the STD code, but without the > initial 0.? So 065631040 would be sent as > 65631040 . > > > Are you definitely allowed to set your own caller ID? It may well be > restricted to one of a range of "presentation numbers" > assigned to you. > > > One other thing:? CALLERPRES() has been deprecated for > awhile now, so in newer > Asterisk versions you may need to write > Set(CALLERID(pres)=allowed) instead of > Set(CALLERPRES()=allowed .? > > -- > 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
Dear, Callerid you need to add parameter in chan_dahdi.conf file. so what is you chan_dahdi.conf file ? Best Regards, Mahesh On Wed, Oct 19, 2011 at 6:46 PM, Eric Wieling <EWieling at nyigc.com> wrote:> CallerID is your country code + city/area code + telephone number. Do not > set the leading 0, that is not part of the Caller*ID. > > Example London UK number, country code 44, area code 20, number 1234-5678: > Set(CALLERID(num)=442012345678 > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad > Sent: Tuesday, October 18, 2011 8:47 PM > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] DID and how the caller id will appear > > Dear; > > By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version > is 2.4.1.2 > > Here I would like to mention the following: > > 1) As per the telecom provider, they said they openned for us all the > digits to send (two digits, 4 digits, all the digits ...) as they said. > > 2) The caller id appear for me at the CLI as: 5631030 (and actually this is > the primary key). > > 3) I am settings in the systems.conf file the loadzone to be uk us and the > defaultzone to be uk, does this effect? Maybe I have to set us. > > 4) I am sending the numbers within my range it is from 5631030 to 5631059, > and actually I tried to set the caller id to be 40, 1040, 5621040, and > 065621040 > > 5) It is E1 ISDN. > > 6) About the: > > Set(CALLERID(pres)=allowed) > > How can I know the updated changes? > By the way: is it important to be set? > > 7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also > need to be updated? Also, should I use Set(CALLERID(num)=1040) or > Set(CALLERID(num)=<1040>)? > > What other factors I am missing? What I have to check? > > Regards > Bilal > > --------------- > > > On Tuesday 18 October 2011, bilal ghayyad wrote: > > > We contacted the Telecom provider and they confirmed > > multiple times that > > > the DID service is enabled, but again still the caller > > id does not appear > > > as we need (it is always appearing as the primary > > number). I tried to set > > > the CALLERDID(num) to be 40, 1040, 5631040 and > > 065631040 without any > > > result. > > > > > > Where could be the problem? > > > > > > Maybe I have to use CALLERID(ANI)? Well, how it should > > be written exactly? > > > > > > What other things I have to do or I can try to resolve > > the problem? > > > > What format do your incoming caller IDs come in? (use a NoOp() or > > Verbose() statement to write to the log.) One would expect outgoing > > caller IDs to be set in the same format (but speak to someone at the > > telco for confirmation of this). Our provider (in the UK) expects > > our outgoing caller IDs to include the STD code, but without the > > initial 0. So 065631040 would be sent as > > 65631040 . > > > > > > Are you definitely allowed to set your own caller ID? It may well be > > restricted to one of a range of "presentation numbers" > > assigned to you. > > > > > > One other thing: CALLERPRES() has been deprecated for > > awhile now, so in newer > > Asterisk versions you may need to write > > Set(CALLERID(pres)=allowed) instead of > > Set(CALLERPRES()=allowed . > > > > -- > > 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 > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111019/2836a9ef/attachment.htm>
The callerid= option in chan_dahdi.conf is normally used on FXO or FXS ports, not for PRI. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of mahesh katta Sent: Wednesday, October 19, 2011 9:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DID and how the caller id will appear Dear, Callerid you need to add parameter in chan_dahdi.conf file. so what is you chan_dahdi.conf file ? Best Regards, Mahesh On Wed, Oct 19, 2011 at 6:46 PM, Eric Wieling <EWieling at nyigc.com> wrote: CallerID is your country code + city/area code + telephone number. Do not set the leading 0, that is not part of the Caller*ID. Example London UK number, country code 44, area code 20, number 1234-5678: Set(CALLERID(num)=442012345678 -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad Sent: Tuesday, October 18, 2011 8:47 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] DID and how the caller id will appear Dear; By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version is 2.4.1.2 Here I would like to mention the following: 1) As per the telecom provider, they said they openned for us all the digits to send (two digits, 4 digits, all the digits ...) as they said. 2) The caller id appear for me at the CLI as: 5631030 (and actually this is the primary key). 3) I am settings in the systems.conf file the loadzone to be uk us and the defaultzone to be uk, does this effect? Maybe I have to set us. 4) I am sending the numbers within my range it is from 5631030 to 5631059, and actually I tried to set the caller id to be 40, 1040, 5621040, and 065621040 5) It is E1 ISDN. 6) About the: Set(CALLERID(pres)=allowed) How can I know the updated changes? By the way: is it important to be set? 7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also need to be updated? Also, should I use Set(CALLERID(num)=1040) or Set(CALLERID(num)=<1040>)? What other factors I am missing? What I have to check? Regards Bilal --------------- > On Tuesday 18 October 2011, bilal ghayyad wrote: > > We contacted the Telecom provider and they confirmed > multiple times that > > the DID service is enabled, but again still the caller > id does not appear > > as we need (it is always appearing as the primary > number). I tried to set > > the CALLERDID(num) to be 40, 1040, 5631040 and > 065631040 without any > > result. > > > > Where could be the problem? > > > > Maybe I have to use CALLERID(ANI)? Well, how it should > be written exactly? > > > > What other things I have to do or I can try to resolve > the problem? > > What format do your incoming caller IDs come in? (use a NoOp() or > Verbose() statement to write to the log.) One would expect outgoing > caller IDs to be set in the same format (but speak to someone at the > telco for confirmation of this). Our provider (in the UK) expects > our outgoing caller IDs to include the STD code, but without the > initial 0. So 065631040 would be sent as > 65631040 . > > > Are you definitely allowed to set your own caller ID? It may well be > restricted to one of a range of "presentation numbers" > assigned to you. > > > One other thing: CALLERPRES() has been deprecated for > awhile now, so in newer > Asterisk versions you may need to write > Set(CALLERID(pres)=allowed) instead of > Set(CALLERPRES()=allowed . > > -- > 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 -- _____________________________________________________________________ -- 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
On Tue, Oct 18, 2011 at 8:46 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Dear; > > By the way, the asterisk version that I have is 1.8.4.2 and DAHDI version is 2.4.1.2 > > Here I would like to mention the following: > > 1) As per the telecom provider, they said they openned for us all the digits to send (two digits, 4 digits, all the digits ...) as they said.With no screening? Make sure they allow you to set to at least the DIDs that are allowed in.> > 2) The caller id appear for me at the CLI as: 5631030 (and actually this is the primary key). > > 3) I am settings in the systems.conf file the loadzone to be uk us and the defaultzone to be uk, does this effect? Maybe I have to set us. > > 4) I am sending the numbers within my range it is from 5631030 to 5631059, and actually I tried to set the caller id to be 40, 1040, 5621040, and 065621040 > > 5) It is E1 ISDN. > > 6) About the: > > Set(CALLERID(pres)=allowed) > > How can I know the updated changes? > By the way: is it important to be set? > > 7) How about the Set(CALLERID(num)=1040), is it in the right syntax or also need to be updated? Also, should I use Set(CALLERID(num)=1040) or Set(CALLERID(num)=<1040>)? > > What other factors I am missing? What I have to check? > > Regards > Bilal > > --------------- > >> On Tuesday 18 October 2011, bilal ghayyad wrote: >> > We contacted the Telecom provider and they confirmed >> multiple times that >> > the DID service is enabled, but again still the caller >> id does not appear >> > as we need (it is always appearing as the primary >> number). I tried to set >> > the CALLERDID(num) to be 40, 1040, 5631040 and >> 065631040 without any >> > result. >> > >> > Where could be the problem? >> > >> > Maybe I have to use CALLERID(ANI)? Well, how it should >> be written exactly? >> > >> > What other things I have to do or I can try to resolve >> the problem? >> >> What format do your incoming caller IDs come >> in????(use a NoOp() or Verbose() >> statement to write to the log.)? One would expect >> outgoing caller IDs to be >> set in the same format? (but speak to someone at the >> telco for confirmation of >> this).? Our provider? (in the UK)? expects >> our outgoing caller IDs to include >> the STD code, but without the initial 0.? So 065631040 >> would be sent as >> 65631040 . >> >> >> Are you definitely allowed to set your own caller ID? >> It may well be >> restricted to one of a range of "presentation numbers" >> assigned to you. >> >> >> One other thing:? CALLERPRES() has been deprecated for >> awhile now, so in newer >> Asterisk versions you may need to write >> Set(CALLERID(pres)=allowed) instead of >> Set(CALLERPRES()=allowed . >> >> -- >> 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 >