Last month I moved a 1.4.x Asterisk install to Asterisk 11.5.1. Everything is working well, until I noticed that Caller ID between facilities are showing properly, on the phone display, until the handset is picked up, then it's displaying NAME NOT FOUND. I do database lookup against extension number (Of remote PBX) and use that as the MySQL key to pull name. Snippet below: -- Executing [3175960102 at pri:8] Set("DAHDI/i1/3341905574-1", "CALLERID(name)=Doug Lytle") in new stack -- Executing [3175960102 at pri:9] Set("DAHDI/i1/3341905574-1", "CALLERID(number)=5574") in new stack It's like Asterisk is doing a lookup on the inbound CID. I've Googled on Asterisk 11 name not found and asterisk number lookup without any useful results. Any suggestions would be appreciated, Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131008/7e0c4039/attachment.html>
On Tue, Oct 8, 2013 at 10:06 AM, Doug Lytle <support at drdos.info> wrote:> Last month I moved a 1.4.x Asterisk install to Asterisk 11.5.1. > Everything is working well, until I noticed that Caller ID between > facilities are showing properly, on the phone display, until the handset is > picked up, then it's displaying NAME NOT FOUND. > > I do database lookup against extension number (Of remote PBX) and use that > as the MySQL key to pull name. Snippet below: > > > -- Executing [3175960102 at pri:8] Set("DAHDI/i1/3341905574-1", > "CALLERID(name)=Doug Lytle") in new stack > -- Executing [3175960102 at pri:9] Set("DAHDI/i1/3341905574-1", > "CALLERID(number)=5574") in new stack > > It's like Asterisk is doing a lookup on the inbound CID. > > I've Googled on Asterisk 11 name not found and asterisk number lookup > without any useful results. > > Any suggestions would be appreciated, >You might want to look at this link for some hints about what may be going on: https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131008/e30a42f4/attachment.html>
> Richard Mudgett wrote: > > Normal dialplan does not execute while a call is connected. That is > what the interception macro/routines are for.To close this out, what I ended up doing, on my dial line I have it run a macro: Dial(SIP/${destination},${timeout.timeout},TtWwKkM(setcid)) [macro-setcid] exten => s,1,Set(CONNECTEDLINE(all)="${set.callerid.name}" <${source}>) exten => s,n,MacroExit Doug