I’ve set up my Asterisk Box.
OS:Fedora 7
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.
and my [IncomingChannel3]
exten => s,1,NoOp(${CALLERID})
exten => s,2,Dial(SIP/XliteRN)
Here what I got in the CLI:
– Executing [s@IncomingChannel3:1] NoOp(“Zap/3-1”, “” " <> ") in new stack
– Executing [s@IncomingChannel3:1] Dial(“Zap/3-1”, “SIP/XliteRN”)
So, it seems to me no caller id get in. However, when I call from this phone to my cellphone, it shows the number.
If there is a way how to show the number caller id (not the name), that is still good for me…
and the fact that you get the CLI on your MObile has nothing todo with this as CLI, The presentation of CLI is a feature of the line not the calling party.
Hello I have just installed my asterisk server on debian. this sever has a digium card TDP04B (which can take 4 PSTN line)
But I have a serious problem I do not know how to make my dial plan and routing of the calls to and from PSTN line
I would be be very hapy if you help me to make my dial plan of routing of the calls
Here the list of my purpose
in local network calls between users of the local network are direct (user with a station sip or a softphone can join directly another) and the number vary between 1000 and 1200
This first purpose is working fine
calls towards line PSTN use the chart diguim: user uses an extension “8” for example to take line PSTN: each call begining by 8 is transfered to PSTN line
Every call begining by 9 are transfered on our FAI sip account
For the reception of the calls all the calls coming from outside (line PSTN) are:
tranfered to the standard (1000) and it is the standard which transmits the call to the person indicated in local network
please help me to adapt my dial plan (extention.conf) for PSTN call and international call
Thank you in advance for your assistance