I’ve set up my Asterisk Box.
Digium Card: TDM22B (2 FXS and 2 FXO)
SIP phones: Xlite & GXP 2000
I have connected 2 PSTN lines to my Asterisk box.
Everything works. Call outside, receive from outside. No problem.
If there is an incoming call, either my Xlite or GrandStream GXP 2000 will ring; depends on which line you call.
My question is about caller id.
If I call my PSTN line (connected to Asterisk) from my cellphone, the caller id showed on Xlite or GXP2000 is “Asterisk” instead of my cellphone number.
Is there a way, that I can capture the callerId of incoming call from public line to asterisk?
So, instead of showing “Asterisk” on Xlite or GXP2000, it shows, for example, +16130000001.
Or even better, it shows “fadils” as its caller id.