I'm having trouble getting callerid name to show up on my phones (Cisco 7960 and a few softphones) When I look in the CDR database I see the name but not on any phone when being called. I'm running Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC Any help would be great !
Hi, What protocol for your 7960 phone? SCCP or SIP? You can turn on the SIP debug on CLI to make sure the callerid and name pass to your phone. Kevin -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Tuesday, May 02, 2006 12:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] CallerID Name problem I'm having trouble getting callerid name to show up on my phones (Cisco 7960 and a few softphones) When I look in the CDR database I see the name but not on any phone when being called. I'm running Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC Any help would be great !
Using SIP and SCCP. The softphone uses SIP. Doing a debug I see no name being sent. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of kevin ling Sent: Monday, May 01, 2006 2:06 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] CallerID Name problem Hi, What protocol for your 7960 phone? SCCP or SIP? You can turn on the SIP debug on CLI to make sure the callerid and name pass to your phone. Kevin -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Tuesday, May 02, 2006 12:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] CallerID Name problem I'm having trouble getting callerid name to show up on my phones (Cisco 7960 and a few softphones) When I look in the CDR database I see the name but not on any phone when being called. I'm running Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC Any help would be great ! _______________________________________________ --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
How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones(Cisco> 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phonewhen> being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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
Do you wait before or after the answer? Do you even need the answer? -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 14:26:49 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones(Cisco> 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phonewhen> being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060501/0a73053e/attachment.htm
You don't need the answer, But you need the wait. CallerID Name comes over the FACILITY messge many times and it takes a slpit second for it to come in. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Monday, May 01, 2006 4:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem Do you wait before or after the answer? Do you even need the answer? -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 14:26:49 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel. > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones (Cisco > 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phone when > being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060501/bb57a0a2/attachment.htm
Thanks will try that tonight. Thanks again -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 17:07:43 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem You don't need the answer, But you need the wait. CallerID Name comes over the FACILITY messge many times and it takes a slpit second for it to come in. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Monday, May 01, 2006 4:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem Do you wait before or after the answer? Do you even need the answer? -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 14:26:49 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel. > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones (Cisco > 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phone when > being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060501/95a072a6/attachment.htm
>From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Lacy Moore - Aspendora >Sent: Monday, May 01, 2006 3:06 PM >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: Re: [Asterisk-Users] CallerID Name problem > >Do you get caller ID number?? If so, WAITing is not going to help, since you already get the info.? If you >get caller ID number, then your telco is not >sending the name.This is not necessarily true. I've always gotten cID number, but only recently when I added a wait(1) did I start getting channel vars populated with cID Name. Same as Eric, I was getting cID Name in the CDR records all along as well. Eric -- Go ahead and give it a shot... even if you are getting the cID number. This will likely fix your problem. Josh McAllister
That worked GREAT!!!! Thank you so so MUCH for your help!! ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Alexander Lopez Sent: Monday, May 01, 2006 5:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem You don't need the answer, But you need the wait. CallerID Name comes over the FACILITY messge many times and it takes a slpit second for it to come in. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Monday, May 01, 2006 4:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem Do you wait before or after the answer? Do you even need the answer? -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 14:26:49 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel. > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones (Cisco > 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phone when > being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060501/df986cb6/attachment.htm
The CDR is written at the end of the call, the SIP invite is generated when you tell it to. You must wait for the CID name before you "dial" a SIP channel, as this is when the SIP invite is created. Wait 1 seems to be long enough. For analog TDM this is not an issue as the CNAM is sent between the first and second ring. In nearly every case I have seen, the facility IE that contains the CNAM on most NI-2 ISDN PRIs, the Facility IE is not sent until after you send progress back to the telco. Like this; Telco sends ISDN SETUP message You send back ISDN PROGRESS (on a normal call) The Telco sends ISDN FACILITY INFORMATION ELEMENT (IE) containing CNAM I have looked at several protocol monitoring session form both Nortel and lucent class 5 switches, and every one seems to send the facility IE in less than 500 milliseconds following SETUP assuming you (Zaptel) reply PROGRESS in a timely fashion, which does not appear to ever be an issue with Asterisk. I have been lead to believe there are two reasons for sending the CNAM in the facility IE. One explanation is that the SETUP message has a restriction on length, and in order to provide other features, the CNAM had to be moved. The other explanation is that the Telco is saving costs by not dipping into LIDB (line information databases) for all calls where PROGRESS is not received from the endpoint (a high percentage of all calls). There is a cost associated with LIDB dips. Both are believable explanations, but the result is the same, you have to wait 1 second! Sure would be nice if asterisk could wait 500 milliseconds instead, since there is a need to put a "play 1 second of silence" in the first step of the IVR (if used) to avoid clipping the first phrase also. The combined 2 seconds of "wait" gets noticed by some users/callers. For the archives - The Lucent TNT (as of 11.0 firmware) is not capable of "waiting" for CNAM before generating the SIP invite, so it is not compatible with PRIs where the CNAM is sent in the facility IE instead of the SETUP message, which is the case with most telco switches with current software on them. Damon> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Josh McAllister > Sent: Monday, May 01, 2006 4:25 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] CallerID Name problem > > > >From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Lacy Moore - Aspendora > >Sent: Monday, May 01, 2006 3:06 PM > >To: Asterisk Users Mailing List - Non-Commercial Discussion > >Subject: Re: [Asterisk-Users] CallerID Name problem > > > >Do you get caller ID number?? If so, WAITing is not going to help, since > you already get the info.? If you >get caller ID number, then your telco > is not >sending the name. > > This is not necessarily true. I've always gotten cID number, but only > recently when I added a wait(1) did I start getting channel vars populated > with cID Name. Same as Eric, I was getting cID Name in the CDR records all > along as well. > > Eric -- Go ahead and give it a shot... even if you are getting the cID > number. This will likely fix your problem. > > Josh McAllister > > > _______________________________________________ > --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
Glad to help. It is NOT a BUG, but it works that way due to the way CallerID name is transmited to the customer with some Telcos ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Monday, May 01, 2006 6:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem That worked GREAT!!!! Thank you so so MUCH for your help!! ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Alexander Lopez Sent: Monday, May 01, 2006 5:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem You don't need the answer, But you need the wait. CallerID Name comes over the FACILITY messge many times and it takes a slpit second for it to come in. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Hall, Eric M. Sent: Monday, May 01, 2006 4:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem Do you wait before or after the answer? Do you even need the answer? -----Original Message----- From: Alexander Lopez [mailto:Alex.Lopez@OpSys.com] Sent: Mon May 01 14:26:49 2006 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem How are the calls coming into the PBX. PRI? If so add a Wait(1) before your try ringing the SIP channel. > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Hall, Eric M. > Sent: Monday, May 01, 2006 12:37 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] CallerID Name problem > > > I'm having trouble getting callerid name to show up on my phones (Cisco > 7960 and a few softphones) > When I look in the CDR database I see the name but not on any phone when > being called. > > I'm running > Asterisk SVN-trunk-r7498 built on 2006-04-30 15:11:39 UTC > > > Any help would be great ! > _______________________________________________ > --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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060501/fdd87e9f/attachment.htm
You explained this very well thank you!!, We discussed (Astricon 2005 Anaheim) having LibPri either wait 1 second before passing the call on to asterisk, or waiting until CNAME was received, both ideas were not good as it will introduce delays for all instead of just those that needed it. For the time being we will put the Wait(1) in.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Damon Estep > Sent: Monday, May 01, 2006 8:24 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] CallerID Name problem > > The CDR is written at the end of the call, the SIP invite is generated > when you tell it to. > > You must wait for the CID name before you "dial" a SIP channel, as this is > when the SIP invite is created. > > Wait 1 seems to be long enough. > > For analog TDM this is not an issue as the CNAM is sent between the first > and second ring. > > In nearly every case I have seen, the facility IE that contains the CNAM > on most NI-2 ISDN PRIs, the Facility IE is not sent until after you send > progress back to the telco. > > Like this; > > Telco sends ISDN SETUP message > You send back ISDN PROGRESS (on a normal call) > The Telco sends ISDN FACILITY INFORMATION ELEMENT (IE) containing CNAM > > I have looked at several protocol monitoring session form both Nortel and > lucent class 5 switches, and every one seems to send the facility IE in > less than 500 milliseconds following SETUP assuming you (Zaptel) reply > PROGRESS in a timely fashion, which does not appear to ever be an issue > with Asterisk. > > I have been lead to believe there are two reasons for sending the CNAM in > the facility IE. > > One explanation is that the SETUP message has a restriction on length, and > in order to provide other features, the CNAM had to be moved. > > The other explanation is that the Telco is saving costs by not dipping > into LIDB (line information databases) for all calls where PROGRESS is not > received from the endpoint (a high percentage of all calls). There is a > cost associated with LIDB dips. > > Both are believable explanations, but the result is the same, you have to > wait 1 second! > > Sure would be nice if asterisk could wait 500 milliseconds instead, since > there is a need to put a "play 1 second of silence" in the first step of > the IVR (if used) to avoid clipping the first phrase also. The combined 2 > seconds of "wait" gets noticed by some users/callers. > > For the archives - The Lucent TNT (as of 11.0 firmware) is not capable of > "waiting" for CNAM before generating the SIP invite, so it is not > compatible with PRIs where the CNAM is sent in the facility IE instead of > the SETUP message, which is the case with most telco switches with current > software on them. > > Damon > > > > > > > > > > > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > > bounces@lists.digium.com] On Behalf Of Josh McAllister > > Sent: Monday, May 01, 2006 4:25 PM > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: RE: [Asterisk-Users] CallerID Name problem > > > > > > >From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > > bounces@lists.digium.com] On Behalf Of Lacy Moore - Aspendora > > >Sent: Monday, May 01, 2006 3:06 PM > > >To: Asterisk Users Mailing List - Non-Commercial Discussion > > >Subject: Re: [Asterisk-Users] CallerID Name problem > > > > > >Do you get caller ID number?? If so, WAITing is not going to help, > since > > you already get the info.? If you >get caller ID number, then your telco > > is not >sending the name. > > > > This is not necessarily true. I've always gotten cID number, but only > > recently when I added a wait(1) did I start getting channel vars > populated > > with cID Name. Same as Eric, I was getting cID Name in the CDR records > all > > along as well. > > > > Eric -- Go ahead and give it a shot... even if you are getting the cID > > number. This will likely fix your problem. > > > > Josh McAllister > > > > > > _______________________________________________ > > --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
Cross-posted to Dev on purpose. I missed Astricon (not willing to give up a planned vacation!). I looks like there is already code that detects the facility IE, as asterisk whines about "do not know what to do with a second ROSE component" (not verified in current version). That second ROSE component is the message that says the CNAM is coming in a facility IE according to the PM sessions I have been able to look at. Why not put a flag in the config? WaitforfacilityIE=yes|no <- this would allow the user to decide on a per span basis if it is needed. The Bellcore spec on CNAM states that the SETUP must contain an "information following" message element to indicate that the CNAM will arrive in the Facility IE. Libpri could be written to look for the "information following" element in SETUP and wait for the FACIILITY IE if it is detected AND the user flag is set to wait for Facility IE. Of course, when I say "could be written", I mean by someone like Matthew Frederickson, not me :). I do not have the required knowledge of the code to even try and attempt this. I spent way too much time on this last year trying to use a TNT as a media gateway, now it (the TNT) is an outbound gateway for our 911 trunks and nothing else. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Alexander Lopez Sent: Monday, May 01, 2006 6:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] CallerID Name problem You explained this very well thank you!!, We discussed (Astricon 2005 Anaheim) having LibPri either wait 1 second before passing the call on to asterisk, or waiting until CNAME was received, both ideas were not good as it will introduce delays for all instead of just those that needed it. For the time being we will put the Wait(1) in.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Damon Estep > Sent: Monday, May 01, 2006 8:24 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] CallerID Name problem > > The CDR is written at the end of the call, the SIP invite is generated > when you tell it to. > > You must wait for the CID name before you "dial" a SIP channel, as this is > when the SIP invite is created. > > Wait 1 seems to be long enough. > > For analog TDM this is not an issue as the CNAM is sent between the first > and second ring. > > In nearly every case I have seen, the facility IE that contains the CNAM > on most NI-2 ISDN PRIs, the Facility IE is not sent until after you send > progress back to the telco. > > Like this; > > Telco sends ISDN SETUP message > You send back ISDN PROGRESS (on a normal call) > The Telco sends ISDN FACILITY INFORMATION ELEMENT (IE) containing CNAM > > I have looked at several protocol monitoring session form both Nortel and > lucent class 5 switches, and every one seems to send the facility IE in > less than 500 milliseconds following SETUP assuming you (Zaptel) reply > PROGRESS in a timely fashion, which does not appear to ever be an issue > with Asterisk. > > I have been lead to believe there are two reasons for sending the CNAM in > the facility IE. > > One explanation is that the SETUP message has a restriction on length, and > in order to provide other features, the CNAM had to be moved. > > The other explanation is that the Telco is saving costs by not dipping > into LIDB (line information databases) for all calls where PROGRESS is not > received from the endpoint (a high percentage of all calls). There is a > cost associated with LIDB dips. > > Both are believable explanations, but the result is the same, you have to > wait 1 second! > > Sure would be nice if asterisk could wait 500 milliseconds instead, since > there is a need to put a "play 1 second of silence" in the first step of > the IVR (if used) to avoid clipping the first phrase also. The combined 2 > seconds of "wait" gets noticed by some users/callers. > > For the archives - The Lucent TNT (as of 11.0 firmware) is not capable of > "waiting" for CNAM before generating the SIP invite, so it is not > compatible with PRIs where the CNAM is sent in the facility IE instead of > the SETUP message, which is the case with most telco switches with current > software on them. > > Damon > > > > > > > > > > > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > > bounces@lists.digium.com] On Behalf Of Josh McAllister > > Sent: Monday, May 01, 2006 4:25 PM > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: RE: [Asterisk-Users] CallerID Name problem > > > > > > >From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > > bounces@lists.digium.com] On Behalf Of Lacy Moore - Aspendora > > >Sent: Monday, May 01, 2006 3:06 PM > > >To: Asterisk Users Mailing List - Non-Commercial Discussion > > >Subject: Re: [Asterisk-Users] CallerID Name problem > > > > > >Do you get caller ID number?? If so, WAITing is not going to help, > since > > you already get the info.? If you >get caller ID number, then your telco > > is not >sending the name. > > > > This is not necessarily true. I've always gotten cID number, but only > > recently when I added a wait(1) did I start getting channel vars > populated > > with cID Name. Same as Eric, I was getting cID Name in the CDR records > all > > along as well. > > > > Eric -- Go ahead and give it a shot... even if you are getting the cID > > number. This will likely fix your problem. > > > > Josh McAllister > > > > > > _______________________________________________ > > --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_______________________________________________ --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