CallerID Problem

Im using a ISDN Gateway as the Terminataion point for my Basic rate ISDN, then then talks via SIP to my Asterisk Server. I have everything up and running but callerid is confusing me.

My ISDN Gateway is receiving the Caller Party Information and passing it onto Asterisk but my SNOM Phones are noyt showing the Calling Number on their display. Here is a copy of my SIP Debug

asterisk*CLI> sip no
<-- SIP read from 192.168.22.13:2051:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.32.222:5060;branch=z9hG4bK5cdfd004;rport=5060
From: “MOBILE” sip:XXXXXXXX@192.168.32.222;tag=as71785fbc
To: sip:PHONE@192.168.22.13:2051;line=l4x9de71;tag=b8jrwurzks
Call-ID: 269eb6115869846102ff8ef5285f7be5@192.168.32.222
CSeq: 102 INVITE
Contact: sip:PHONE@192.168.22.13:2051;line=l4x9de71;flow-id=1
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer
Content-Length: 0

My SNOM Phone is displaying MOBILE as the Calling Party and bot the Number (the XXXXXXXX in the above invite).

How do i make Asterisk use the number instead of the name??

Thanks

The SIP messages looks fine - might be the phone. But if anything, you can try to enforce the number by manually setting ${CALLERID(NUMBER)} in dial plan and see if any change.