Carrier and PJSIP

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Carrier and PJSIP

Postby GenXOutsourcing » Thu Jun 18, 2020 5:16 pm

Just made a fresh install of Vicibox 9.0.2 and my carrier decided to make a change in the way they route Inbound calls.

Well, I changed the HOST to the new URL, and whitelisted all of the 15 IPs that they require. Now, the Inbound carrier is connected with IP ending in 194. SO, if I test call and the call is sent over the 194 IP, then i get the call. But, if the call comes from one of the other list of IPs..... i get no service recording and no connection to Asterisk.

Speaking to the provider, this is the message that i got:
make sure all of the IPs are whitelisted in both the PBX and firewall. Also if you are using an asterisk based system you will need to change to pjsip from chan_sip. Chan_sip will not recognize all of the IPs


What am i missing, as I have never had this issue before.
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Carrier and PJSIP

Postby ambiorixg12 » Thu Jun 18, 2020 5:52 pm

[twilio_trunks](!)
type=peer
disallow=all
allow=ulaw
allow=alaw
insecure=port,invite
directmedia=no
context=from-trunk
qualify=yes
dtmfmode=rfc2833
trustrpid=yes
sendrpid=yes
nat=force_rport,comedia
port=5060


[tw0](twilio_trunks)
host=54.172.60.0


[tw1](twilio_trunks)
host=54.172.60.1

[tw2](twilio_trunks)
host=54.172.60.2

[tw3](twilio_trunks)
host=54.172.60.3


[tw5](twilio_trunks)
host=54.244.51.0

[tw6](twilio_trunks)
host=54.244.51.1

[tw7](twilio_trunks)
host=54.244.51.2

[tw8](twilio_trunks)
host=54.244.51.3
ambiorixg12
 
Posts: 448
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carrier and PJSIP

Postby GenXOutsourcing » Thu Jun 18, 2020 7:19 pm

Thanks, worked perfect
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Carrier and PJSIP

Postby Zaraab » Mon Dec 06, 2021 8:23 am

GenXOutsourcing wrote:Thanks, worked perfect


is it an entry in the sip.conf(to use the chan_sip) to receive calls from multiple IPs or it is an entry for the chan_pjsip?


ambiorixg12 wrote:[twilio_trunks](!)
type=peer
disallow=all
allow=ulaw
allow=alaw
insecure=port,invite
directmedia=no
context=from-trunk
qualify=yes
dtmfmode=rfc2833
trustrpid=yes
sendrpid=yes
nat=force_rport,comedia
port=5060


[tw0](twilio_trunks)
host=54.172.60.0


[tw1](twilio_trunks)
host=54.172.60.1

[tw2](twilio_trunks)
host=54.172.60.2

[tw3](twilio_trunks)
host=54.172.60.3


[tw5](twilio_trunks)
host=54.244.51.0

[tw6](twilio_trunks)
host=54.244.51.1

[tw7](twilio_trunks)
host=54.244.51.2

[tw8](twilio_trunks)
host=54.244.51.3
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 151
Joined: Fri May 22, 2020 1:21 pm

Re: Carrier and PJSIP

Postby Zaraab » Mon Dec 06, 2021 8:24 am

is it an entry in the sip.conf(to use the chan_sip) to receive calls from multiple IPs or it is an entry for the chan_pjsip?


ambiorixg12 wrote:[twilio_trunks](!)
type=peer
disallow=all
allow=ulaw
allow=alaw
insecure=port,invite
directmedia=no
context=from-trunk
qualify=yes
dtmfmode=rfc2833
trustrpid=yes
sendrpid=yes
nat=force_rport,comedia
port=5060


[tw0](twilio_trunks)
host=54.172.60.0


[tw1](twilio_trunks)
host=54.172.60.1

host=54.244.51.3
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 151
Joined: Fri May 22, 2020 1:21 pm

Re: Carrier and PJSIP

Postby ambiorixg12 » Wed Dec 08, 2021 8:42 pm

That configuration is for chan_sip,
ambiorixg12
 
Posts: 448
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 73 guests