Hi guys, I want to make a pjsip more clear for me.
I have 2 VoIP providers in my asterisk and 15 users, each user have account on 1 of this VOIP providers.
Now i have 1 endpoint on each user for VOIP provider side. If i make 1 endpoint on each VOIP Provider (2 total) how my dial out dialplan will be looked?
My current plan is the following:
[pjsip_out18]
exten => _XXXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@10000018)
[pjsip_out19]
exten => _XXXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@10000019)
If i have one only 1 endpoint on each VOIP provider, how i can handle this?
Thanks in advance
This is difficult as providers that offer individual user accounts don’t expect them to share an IP address. The best approach is to use a business account, with a block of numbers, and re-bill your users for their share of that account.
The provider’s support department is unlikely to understand the issue, and if they are basically in the individual phone market may have no incentive to try and find a solution.
It’s a mobile provider who offers cloudpbx and each phone has own identify. Each account has own phone number, that’s why we need to call user -> account (mobile is connected with this number)
And how i need to do? Endpoints should be to each account or to VOIP provider only?
To maintain the account distinctions, there should be an endpoint for every account.
However, in my view, the provider will offer no way of achieving this, and will not consider your usage supported.
From your description of the service, it seems unlikely that they will offer true direct in dialing (multiple, distinguishable, numbers on one account).
You are going to have to discuss this with your provider, but I think it unlikely they will want to help, and almost certain that their first line support people will not have a scripted answer.