dSIP Router Behind a Firewall

263 views
Skip to first unread message

Yitzchak Pachtman

unread,
Dec 10, 2020, 3:07:44 PM12/10/20
to dSIPRouter
Hey all,

First time install, had trouble with Centos7, so we're now using Debian 9.

I installed dSIP by running: ./dsiprouter.sh install -all -servernat

The dSIP router is a VM behind a firewall, and on the same LAN as the PBX.

I logged into the GUI and created an Endpoint Group "PBX", under Endpoints, I added the PBX LAN IP, it got a PBX ID = 64.


Endpoint Group.png
Then I went to domains and entered the domain name as pbx.domain.com, selected 'Pass Thru to PBX' and entered PBX ID 64

Domains.png

I went to the phone, entered the dSIP domain name and I successfully registered extension 6406, I can call any extension on the PBX, as well as any external phone number. But non of the extensions on the PBX can reach this extension, as well as no external incoming calls.
Looking at sngrep I see that the call is marked as rejected. And it seems to not be able to find 6406.
dSIP sngrep1.png

dSIP sngrep2.png

What am I missing?

Thank you





Yitzchak Pachtman

unread,
Dec 10, 2020, 3:09:59 PM12/10/20
to dSIPRouter
If you have trouble reading these images, try right clicking on it and select 'open image in new tab'

I will try to attach all images in this post as regular attachments as well.

Thanks all
Endpoint Group.png
dSIP sngrep2.png
Domains.png
dSIP sngrep1.png

richard

unread,
Dec 11, 2020, 10:05:26 AM12/11/20
to dSIPRouter
Hey, what pbx are you using? Also can you provide us with what the location table looks like by running: mysql kamailiio -e "select * from location"?

Yitzchak Pachtman

unread,
Dec 14, 2020, 8:06:42 AM12/14/20
to dSIPRouter
Hey Richard,

We're using VitalPBX (an Asterisk Based PBX). Sorry I forgot to mention that the domain is setup as PBX Pass Thru.

The location table is empty

MariaDB [kamailio]> select * from location;
Empty set (0.00 sec)

MariaDB [kamailio]>

Let me know if there's any further information you want me to provide.

Thank you

Antonio Italiano

unread,
Dec 14, 2020, 4:43:53 PM12/14/20
to dSIPRouter
i have  posted the same issue May 14, 2019 (u can check by  email)
We're using FREEPBX
but is is not resolved  from that  time

Mack Hendricks

unread,
Dec 14, 2020, 4:47:08 PM12/14/20
to Antonio Italiano, dSIPRouter
Hey Antonio,

There should be some info in the location table.  This is how dSIP will route the call back to the endpoint.  Something is wrong here.  Can you try and register your phone thru dSIP and then do "select * from location;”.  You should see data in there

--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/749652e4-149d-4184-80cb-322f3257238en%40googlegroups.com.

Antonio Italiano

unread,
Dec 14, 2020, 5:29:46 PM12/14/20
to dSIPRouter
ok
1-so in my example i passthru to FreePBX  SIP 55555 (ID 3 ) in  select * from location
2- i also can make calls from 55555  but nobody can call  55555 because  of picture #2
Screenshot_2020-12-15_00-24-36.png
Screenshot_2020-12-15_00-26-35.png

Yitzchak Pachtman

unread,
Dec 15, 2020, 7:37:41 AM12/15/20
to dSIPRouter
Sorry when I checked I had removed the extension from the proxy. I re-added and checked.

Here's the results: https://pastebin.com/raw/RfrMriEG 

Please let me know if you need anything further

Thanks

On Friday, December 11, 2020 at 10:05:26 AM UTC-5 richard wrote:
Reply all
Reply to author
Forward
0 new messages