I'm using the phones SPA9X2 with Asterisk PBX and when a user A make the first call to User B only the called number of user B is displayed on the screen of the user A that make the call.
Why the phones are not taken the caller id from asterisk? How can I fix this problem??
first thing I'd ask you is to upgrade the phone to latest/greatest firmware which is 6.1.5a:
Once there, please start playing with the value of the Caller ID Header, under the SIP tab until you get the caller id correctly shown in the phone.
can you please send me the trace on where we can see the SIP INVITE message that is getting the phone? The SPA9x2 configuration will also help...
OK... problem seems to be with the To field in the 180 Ringing message, that's the one the phone will show in the display:
From your trace:
As you can see above, only the uri_user (3608) is being shown there... You'd need to change that in your Asterisk PBX in order to also include the uri user in that field.