I have an Asterisk Server (13) running on my CentOS. I've created an extension on Asterisk, named 444. Also, i've connected Fritz!Box router (with VOIP) to this 444 extension to my Asterisk Server. Now, it works good, but the problem is that i want to have the real number of the caller. For example, if i have an incoming call to my Fritz!Box, it will redirect it to asterisk on 444 extension, and it will call to some another extension, lets say 555 (that my PC is connected to). Ok, it works, as i said, but the caller ID is 444. So, i need to have the real caller number. Any suggestions can help.
0
votes
So you want the as received caller id from the calling party over the pstn to be forwarded to where-ever?
– user3788685
Yes, that's what i want.
– Godfather M
and how are you doing the forward now? (from the phone I presume) If you have a caller Id set on the trunk - remove it, it should fall back to using the received callerid. the extension caller id should be used when the extension does something, the trunk caller id should be used when the trunk does something.
– user3788685
2 Answers
0
votes
0
votes
You should create trunk, not extension if you want see callerid.
Create trunk something like this:
type=friend
host=ip_of_your_fritz
allow=alaw&ulaw
context=from-pstn
username=ext_at_fritz
secret=password_at_fritz
insecure=port,invite;this one is ok, ip fixed
Also put register string like
ext_at_fritz:password_at_fritz@ip_of_your_fritz