IP Authentication / Remove +1 on incoming calls

VitalPBX Community Support General Discussion IP Authentication / Remove +1 on incoming calls

Up
0
Down
  • Post
    Steve
    Participant

    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=ulaw

    TIA for anyone’s help.

    0
Viewing 5 replies - 1 through 5 (of 5 total)
  • Replies
    dzord
    Participant

    Hi

    1) Go to PBX – External -Trunk and fill in the fields

    https://ibb.co/hnsQu7

    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

    https://ibb.co/cs3b1n

    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. 

    https://ibb.co/mvLpMn

    Than when you will create inbound route in PBX – External – Inbound Routes and choose in field Caller ID Modifier previously created modifier 

    https://ibb.co/fjBJE7

    0
    Steve
    Participant

    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
    Steve
    Participant

    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
    Steve
    Participant

    Any help?

    0

    Set-up the public(External Address) and private IP Address(Local Network) in the sip settings module, tab Network. 

    0
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.