› VitalPBX Community Support › General Discussion › IP Authentication / Remove +1 on incoming calls
- This topic has 5 replies, 3 voices, and was last updated 2 years, 9 months ago by
Jose Miguel Rivera.
- Post
-
- April 12, 2018 at 7:15 pm
I am new to VitalPBX. I am excited to try it out. Are there any screen shots / examples on how to set up a Trunk using IP authentication? Also I want to remove the +1 from my incoming calls, is there a place that can happen as well in the trunks?
My normal trunks look like this in the sip.conf file using ip-authentication but I am unsure how to put that into the GUI to make it write out the sip.conf correctly.
[my_trunk_provider]
type=friend
qualify=yes
insecure=port,invite
host=ip_to_my_provider
fromdomain=ip_to_my_provider
dtmfmode=rfc2833
context=from-pstn-e164-us (coming from freepbx to strip out the +1)
canreinvite=no
allow=ulawTIA for anyone’s help.
0
- Replies
-
- April 13, 2018 at 3:49 pm
Hi
1) Go to PBX – External -Trunk and fill in the fields
Description – any description that you want
Codecs – choose alaw
In Peer section:
Outgoing Username – my_trunk_provider
Host – ip_to_my_provider
Insecure – choose Port, Invite
Allow Inbound Calls – choose Yes (this option enable parameter type=friend)
From Domain – ip_to_my_provider (parameter fromdomain=ip_to_my_provider)
Qualify – choose Yes
In User section:
Insecure – choose Port, Invite
IP Autentification – Yes
Qualify – Yes
Register String – Use Default – No (if you no need register string for your provider)
After that choose ADVANCED tab on the top of page and fill the fields
Type = Friend Parameter = canreinvite Value = no
Type = Friend Parameter = dtfmmode Value = rfc2833
2) For removing +1 from incoming calls first use PBX – Incoming Calls – CID modifiers
Here you can use various rules to modify numbers. For removing +1 from start of number just set 2 in field CID Number Settings – Skip. It will ignore first two simbols in incoming calls.
Than when you will create inbound route in PBX – External – Inbound Routes and choose in field Caller ID Modifier previously created modifier
0- April 14, 2018 at 7:27 pm
Thank you kindly.
In the last section “Than when you will create inbound route in PBX – External – Inbound Routes and choose in field Caller ID Modifier previously created modifier “
Description can be anything correct?
Inbound Destination -> Select module would be Trunks?
I have made the changes and testing now.
Thanks so very much.
0- April 14, 2018 at 7:37 pm
I made the changes. Much better than I had come up with however I now discovered a new issue. I have one-way transmission.
The PBX is not using NAT. I have an outside IP address and then of course my extensions are using an internal network.
I am using SIP on the trunks and SIP on my extensions.
I checked my extensions and trunks to make sure NAT was “no” and both are.
Any suggestions?
I did check my iptables and I do have:
ACCEPT udp — anywhere anywhere udp dpts:ndmp:dnp
for my RTP.
Thanks again for any help.
0- April 22, 2018 at 8:07 pm
Set-up the public(External Address) and private IP Address(Local Network) in the sip settings module, tab Network.
0
- You must be logged in to reply to this topic.