TIPS Problems with 13-13 setup NAT and Flowroute

Status
Not open for further replies.

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
In post #11, you seem to confirm that this WAS the directions for PJSIP.

So confused ...

What's the 'right' way to do this with PJSIP - just set the Match Permit field?

Andrew
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
If not, what does the text represent and what's the correct way with, effectively a duplicate trunk with different credentials.

All of this would make a lot more sense after sitting down for an afternoon and reading about how SIP works, and then experimenting on sandbox servers. I don't wish to be condescending. The questions in this thread just don't make a lot of sense in terms of how SIP actually works.

For outgoing calls, you are sending the call request from your PBX to Flowroute with some credentials to tie the call to a known account.

For incoming calls, all you need is a list of IP addresses that are allowed to send calls to you. They do not authenticate to you in any other way than being a known IP.

If you're doing this with PJSIP, you put the list of known IP addresses, or a subnet definition, in the Match field.

If you're doing it with chan_sip, you define a peer for every IP address. The syntax of [flowroute-ip1](flowroute) tells Asterisk to copy the peer that was previously defined named "flowroute" (this is what you named it in the FreePBX chan_sip trunk field called Outgoing - Trunk Name) and use all the same settings for it except for whatever follows (host= ).
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
In post #11, you seem to confirm that this WAS the directions for PJSIP.

So confused ...

What's the 'right' way to do this with PJSIP - just set the Match Permit field?

Andrew

OK, this time, I do wish to be condescending. You need to go back and read through everything a few times. And then just try it.
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
25,781
Messages
167,507
Members
19,201
Latest member
troutpocket
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top