Caller Id name on inbound sip phone

hi.
I want to set inbound display name on my phone and cordeless display.

I have associated the name with the number
database put cidname +39339xxxxxxx “MyFriend”

in the extensions.conf file I added
same => n,Set(CALLERID(all)={DB(cidname/{CALLERID(num)})})
same => n,NoOp(The calling number is ${CALLERID(num)})

in the sip.conf file I added
sendrpid=yes
trustrpid=yes

When MyFriend calls to me, on the display of my phone the number is displayed and not the name
How can I display the name I store in the database?

What is the value of $CALLERID(NUM) on your incoming calls?

Is it exactly +39339xxxxxxx ?

Is there any console output when your dialplan is executed that may give you a hint as to the source of your issue?

Why are you setting CALLERID(all) and not CALLERID(name)?

yes

I have set
same => n,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
same => n,NoOp(Il numero chiamante e’ ${CALLERID(name)})

NoOp(“SIP/HomeIMS.net-00000026”, “”) in new stack
Set(“SIP/HomeIMS.net-00000026”, “orig=”+39339xxxxxxx") in new stack
Set(“SIP/HomeIMS.net-00000026”, “CALLERID(name)=MyFriend”) in new stack
NoOp(“SIP/HomeIMS.net-00000026”, “The calling number is MyFriend”) in new stack

The log you pasted seems to indicate the caller ID is being set properly.

Try putting a Dumpchan() on the line before your Dial command, It should output the caller ID and all other variables on the channel.

You also need to get protocol debugging to see if it is actually being sent.

On my Technicolor DGA 4132, the Dumpchan does not exist. It has not been compiled

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.