I asked my telco to release caller name on the PRI. Earlier they were releasing only the phone number. I still did not see the name, but only the number in caller id. Actually I now see number twice. When I inquired with them this is the response I got: "I ran a trace on your TG. I see that your switch is picking up the call so fast that it is not able to pick up the name. The name is being sent, but I suspect after it is too late. This is something that will need to be corrected in your switch. I have attached a sample call out of the trace I performed this morning." They have sent me the trace file. Is there a way as it is in Asterisk so that it reads the caller name properly? Thanks, -- jt
Juan Jose Comellas
2005-Sep-16 07:39 UTC
[Asterisk-Users] Caller Name: Asterisk reading too fast
Have you tried placing a Wait(1) before Answer() in your dialplan? On Friday 16 September 2005 11:23, J Thomas wrote:> I asked my telco to release caller name on the PRI. Earlier they were > releasing only the phone number. > > I still did not see the name, but only the number in caller id. Actually > I now see number twice. When I inquired with them this is the response I > got: > > "I ran a trace on your TG. I see that your switch is > picking up the call so fast that it is not able to pick > up the name. The name is being sent, but I suspect after > it is too late. This is something that will need to be > corrected in your switch. > > I have attached a sample call out of the trace I performed > this morning." > > They have sent me the trace file. > > Is there a way as it is in Asterisk so that it reads the caller name > properly? > > Thanks, > -- jt > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Juan Jose Comellas (juanjo@comellas.com.ar)
Jeremy Gault
2005-Sep-16 08:29 UTC
[Asterisk-Users] Caller Name: Asterisk reading too fast
As was already suggested, Wait() is your friend. We had the same problem when our PRI was installed. It was supposed to include Caller ID Name delivery, but it seemed to be hit-or-miss as to if it would work. This is what I found: When people call our auto-attendant and dial an extension, the name would work fine. However, if they dialed one of our DIDs (each extension has its own DID) then the name did not work. Inserting a Wait() command on the DIDs for extensions seemed to do the trick, like this: exten => 423303xxxx,1,Wait(0.75) exten => 423303xxxx,2,Dial(SIP/xxx) Here's my take on what happened: A call comes in to the auto-attendant, which immediately answers and begins the greeting. Shortly after, the telco sends the name down the PRI, and Asterisk associates it to that call. Then the caller punches in the extension and it goes through with name. (Keep in mind it only takes a fraction of a second for the name to show up on the PRI, so by the time a normal human realizes the auto-attendant has answered and dials an extension, plenty of time has passed for the name to come in.) However, the DIDs were spwaning Dial() *immediately* when the call came in. Of course, at that point the name was not present yet. (The telco was still doing the lookup.) But, Dial() has to send CID immediately when invoked, so it sent the number twice. Adding the 0.75 second delay gave time for the name to arrive before spawning Dial(). I've found 0.75 to be a fairly reliable delay. It misses a name here or there, but not often enough to be a problem. Most callers won't really notice the delay. If I increased this to one full second, it would be more noticeable but would probably fix the few ones we miss. You may have to play with this value to find the optimum setting for your setup. Another test you should be able to do: Have a call come in (when it shows only the number twice) and answer it. Then login to the Asterisk console, do "show channels" and find out which Zap channel it's on. Do a "show channel Zap/whatever" (whichever channel it is) and see if the name has shown up. IIRC, before I added the Wait, the "show channel" would still see the name, even though the phone didn't. Good luck! Jeremy J Thomas wrote:>I asked my telco to release caller name on the PRI. Earlier they were >releasing only the phone number. > >I still did not see the name, but only the number in caller id. Actually >I now see number twice. When I inquired with them this is the response I >got: > > "I ran a trace on your TG. I see that your switch is > picking up the call so fast that it is not able to pick > up the name. The name is being sent, but I suspect after > it is too late. This is something that will need to be > corrected in your switch. > > I have attached a sample call out of the trace I performed > this morning." > >They have sent me the trace file. > >Is there a way as it is in Asterisk so that it reads the caller name >properly? > >Thanks, >-- jt > >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Jeremy Gault, KD4NED <jgault@winworld.cc> Network Administrator, WinWorld Corporation Member: Bradley County ACS/RACES/SkyWarn voice: +1.423.473.8084 fax: +1.423.472.9465 fwd: 461771 msn msgr: jgault@winworld.cc
Alexander Lopez
2005-Sep-16 08:57 UTC
[Asterisk-Users] Caller Name: Asterisk reading too fast
This is because Caller ID name is being send in the FACILITY messages instead of in the SETUP. Wait(1) is the solution, There is nothing wrong with your install or asterisk. Asterisk picks up on SETUP as it should. When it recieves the Name via FACILITY it propigates it in the channel, however the other channel has already started to ring so it does not have the name when it gets built and since ZAP, IAX, and SIP, etc. do not support Caller ID after the setup you never get it.... Search on the Mantis for this....> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Jeremy Gault > Sent: Friday, September 16, 2005 11:29 AM > To: jthomas@cequip.com; Asterisk Users Mailing List - > Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Caller Name: Asterisk reading too fast > > As was already suggested, Wait() is your friend. > > We had the same problem when our PRI was installed. It was > supposed to include Caller ID Name delivery, but it seemed to > be hit-or-miss as to if it would work. > > This is what I found: When people call our auto-attendant and > dial an extension, the name would work fine. However, if > they dialed one of our DIDs (each extension has its own DID) > then the name did not work. > > Inserting a Wait() command on the DIDs for extensions seemed > to do the trick, like this: > > exten => 423303xxxx,1,Wait(0.75) > exten => 423303xxxx,2,Dial(SIP/xxx) > > Here's my take on what happened: A call comes in to the > auto-attendant, which immediately answers and begins the > greeting. Shortly after, the telco sends the name down the > PRI, and Asterisk associates it to that call. Then the > caller punches in the extension and it goes through with > name. (Keep in mind it only takes a fraction of a second for > the name to show up on the PRI, so by the time a normal human > realizes the auto-attendant has answered and dials an > extension, plenty of time has passed for the name to come in.) > > However, the DIDs were spwaning Dial() *immediately* when the > call came in. Of course, at that point the name was not > present yet. (The telco was still doing the lookup.) But, > Dial() has to send CID immediately when invoked, so it sent > the number twice. Adding the 0.75 second delay gave time for > the name to arrive before spawning Dial(). > > I've found 0.75 to be a fairly reliable delay. It misses a > name here or there, but not often enough to be a problem. > Most callers won't really notice the delay. If I increased > this to one full second, it would be more noticeable but > would probably fix the few ones we miss. You may have to > play with this value to find the optimum setting for your setup. > > Another test you should be able to do: Have a call come in > (when it shows only the number twice) and answer it. Then > login to the Asterisk console, do "show channels" and find > out which Zap channel it's on. Do a "show channel > Zap/whatever" (whichever channel it is) and see if the name > has shown up. IIRC, before I added the Wait, the "show channel" > would still see the name, even though the phone didn't. > > Good luck! > > Jeremy > > > > J Thomas wrote: > > >I asked my telco to release caller name on the PRI. Earlier > they were > >releasing only the phone number. > > > >I still did not see the name, but only the number in caller id. > >Actually I now see number twice. When I inquired with them > this is the > >response I > >got: > > > > "I ran a trace on your TG. I see that your switch is > > picking up the call so fast that it is not able to pick > > up the name. The name is being sent, but I suspect after > > it is too late. This is something that will need to be > > corrected in your switch. > > > > I have attached a sample call out of the trace I performed > > this morning." > > > >They have sent me the trace file. > > > >Is there a way as it is in Asterisk so that it reads the caller name > >properly? > > > >Thanks, > >-- jt > > > >_______________________________________________ > >--Bandwidth and Colocation sponsored by Easynews.com -- > > > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > -- > Jeremy Gault, KD4NED <jgault@winworld.cc> > Network Administrator, WinWorld Corporation > Member: Bradley County ACS/RACES/SkyWarn > voice: +1.423.473.8084 fax: +1.423.472.9465 > fwd: 461771 msn msgr: jgault@winworld.cc > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
steve@daviesfam.org
2005-Sep-16 09:13 UTC
[Asterisk-Users] Caller Name: Asterisk reading too fast
On Fri, 16 Sep 2005, J Thomas wrote:> I asked my telco to release caller name on the PRI. Earlier they were > releasing only the phone number. > > I still did not see the name, but only the number in caller id. Actually > I now see number twice. When I inquired with them this is the response I > got: > > "I ran a trace on your TG. I see that your switch is > picking up the call so fast that it is not able to pick > up the name. The name is being sent, but I suspect after > it is too late. This is something that will need to be > corrected in your switch. > > I have attached a sample call out of the trace I performed > this morning." > > They have sent me the trace file. > > Is there a way as it is in Asterisk so that it reads the caller name > properly?Sheesh - you should really look after that support contact at your telco. Than ran a trace, looked at it, understood it and gave you great advice on how to solve the problem. That must be 1 in a 1000 support! Steve