Thanks David for the explanation,
Definitely there is something that is not making sense to me!
As you have mentioned using type=user, works great with ‘fromuser’ parameter but then there are things like:
- We are not registering an endpoint and hence asterisk will authenticate a call by looking at the “username” only which is highly unsecure.
- The callerID is replaced with “username”.
I am unable to find a way out to sort it.
Here is the situation:
Name/username Host Dyn Forcerport ACL Port Status Realtime
4142167408/s 22.214.171.124 D N 5060 Unmonitored Cached RT
7194976243/s 126.96.36.199 D N 5060 Unmonitored Cached RT
2 Trunks registered from same IP. If a call is originated from 4142167408 or 7194976243, it is always accounted as coming from 7194976243 (being the last request on asterisk registration table)
I have tried with different settings of “insecure” parameter but no luck.
Can you please comment on this situation?
Thanks alot for the discussion