Hi all, I just installed the vega 50 and configured as fxo gateway for asterisk 20.
It can make/receive calls with this trunk, but the caller ID of the incoming calls from this trunk is set to “sipuser” (“sipuser” is the username that I did setup for the trunk authentication), instead of the actual caller id number. Where can I look at this or what can cause this? I doublechecked the trunk config, incoming route config, outgoing route config, and still cant find how to correct this.
Note the incoming route sends the calls to my test extension.
If you have told it to use that as user name for authentication, it will use the From user, which would, otherwise, be the caller ID. You would need to enable one of Remote-Party-ID, or P-Asserted-Identity, at both ends.
Why are you authenticating inbound? Normally you want the gateway to do any authentication, as it is the one that can make toll calls.
I did set it up that way because I don’t know the correct way to do it, in fact this is my first time installing/touching asterisk and sangoma vega as well.
I am still learning, so if I disable authentication between the vega gateway and asterisk, it will use the real caller id for incoming calls?
Also, where do I find the “Remote-Party-ID” or “P-Asserted-Identity” in the vega gateway, or in some section of asterisk config? I don’t remember seeing these settings last night that I installed this setup.
by the way, is there another forum for commercial products like this vega? or should I just use the classic channel of registering it and open a ticket?
Can you share some screenshots of the settings if it’s GUI based or your trunk configuration if CLI based. With Blur or put xx on sensitive information like username password.
In the Trunk → PJSIP → Advanced, I have tried all four settings of “Send RPID/PAI” and since I disabled authentication for this trunk now incoming caller ID is always “Anonymous” and not showing the actual caller id:
I just noticed this setting under sip advanced settings, but it is overriding all the incoming calls to “Anonymous” not only the private ones. I cant find where else to look for.
Here a copy of my current config txt… If somebody knows about this platform or had similar issue I would really appreciate any help.
Send RPID/PAI Should be No.
If you mention from_user = XXXXXXX Remove this one no need because you will use extension’s caller ID. In case of no callerid is defined for user extension then this will be the default callerid.
OP’s problem is for inbound. In fact, analogue FXO lines cannot sent caller ID outbound.
Also, enabling RPID/PAI rarely breaks anything. In particular, if they are not received, inbound, they from user name is used instead, which is the same as it they weren’t enabled.
One reason for falling back to anonymous is that there is either no caller ID being received, or the caller ID is not being sent in the correct way for the Vega.
In terms of getting the right Asterisk configuration, the most useful thing to do is to use “pjsip set logger on” to capture the INVITE. If that includes the caller ID, one can work out how to get Asterisk to capture it. If it doesn’t, there is no way you can fix this from the Asterisk end and you need to work on the Vega until it starts sending the caller ID.
Also, the green themed screen shots relate to FreePBX, with which most people on this forum are not familiar, and does not give the user full control of endpoint configuraton.