dsip router and freepbx

283 views
Skip to first unread message

kostas paper

unread,
Aug 8, 2022, 3:24:50 PM8/8/22
to dSIPRouter
Hello all , 

I'm trying the dsip router the couple last days and i'm trying to have a solid proxy and safe proxy for the road warrior extensions.

Seems that if an remote extension that goes through the dsip and then into the freepbx and try to call another extension dialog establish well and the can talk to each other.
If the local extension will try to call back the remote extension is getting 503 service unvail from the freepbx and 500 No rules defined for number. 

There is any way to have dsip router as proxy for the freepbx ?

Thanks in advance,
KCH

Mack Hendricks

unread,
Aug 8, 2022, 4:00:19 PM8/8/22
to kostas paper, dSIPRouter
That should work.  I’m assuming a local extensions  means an extension not going thru dSIPRouter 

Mack Hendricks
Chief Flyball
dOpenSource / DetroitPBX, Flyball Companies 
Direct: 313-789-1313 (SMS Enabled)

On Aug 8, 2022, at 3:24 PM, 'kostas paper' via dSIPRouter <dSIPR...@googlegroups.com> wrote:

Hello all , 
--
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/abb32272-a784-438a-843c-08fb2895fbf9n%40googlegroups.com.

kostas paper

unread,
Aug 8, 2022, 4:44:56 PM8/8/22
to dSIPRouter
Hello Mack,

First of all thanks for replying :) , 
The installation of the dsip router went without the NAT settings and now seems to have issues with the contacts ip etc.

Untitled.png

kostas paper

unread,
Aug 8, 2022, 5:12:05 PM8/8/22
to dSIPRouter
i think the issue seems to be that dsip add a record route with his public ip and that seems that create a loop.

Untitled1.png
Untitled3.png

Mack Hendricks

unread,
Aug 8, 2022, 6:45:52 PM8/8/22
to kostas paper, dSIPRouter
Yes…it looks like dSIP doesn’t understand that the FreePBX box is part of the local network so it doesn’t need to add a public facing record route. This was a bug, but I thought we fixed it.  I will check it out and let you know 

Mack Hendricks
Chief Flyball
dOpenSource / DetroitPBX, Flyball Companies 
Direct: 313-789-1313 (SMS Enabled)

On Aug 8, 2022, at 5:12 PM, 'kostas paper' via dSIPRouter <dSIPR...@googlegroups.com> wrote:



Phú Nguyễn Thành

unread,
Aug 10, 2022, 10:57:41 PM8/10/22
to dSIPRouter
Hi Mask,

I have NAT dSIPROUTER with IP public 103.39.93.202 and edit kamailio.cfg but when calling goes through IP Router(103.39.93.214)). Please show me how to adjust this part.
FreePBX(172.23.90.127) ----> dSIPROUTER(172.23.90.202) ----> Carrier(118.69.114.182)

Thanks you.

Vào lúc 05:45:52 UTC+7 ngày Thứ Ba, 9 tháng 8, 2022, ma...@goflyball.com đã viết:
z3633162184092_e8704e59c46cfd42426dea999c6dea1f.jpg
Screen Shot 2022-08-10 at 16.17.55.png
z3633180253128_9f4c2509bb29f5f79f1e560be49b2909.jpg

Mack Hendricks

unread,
Aug 19, 2022, 6:24:55 PM8/19/22
to dSIPRouter
I think the SERVERNAT logic has an issue.  I will be looking at this weekend.  If I'm able replicate then I will apply a fix to master and our next release, which 0.70

Tyler Moore

unread,
Aug 30, 2022, 8:28:04 AM8/30/22
to dSIPRouter
I'll try to fix this up while adding the IPV6 feature.
This looks like we need to conditionally check for local addresses (to dsiprouter serverside) and change the record route.
Clientside NAT logic shouldn't be effected by this.

Use cases would be:
internal UAC <-> dsip internal net
external UAC -> dsip internal net
external UAC <- dsip internal net
external UAC <-> dsip external addr

Basically in psedocode:
if src in dsip subnet and dst in dsip subnet:
    record route internal to internal
else if src not in dsip subnet and dst in dsip subnet:
    record route external to internal
else if src in dsip subnet and dst not in dsip subnet:
    record route  to internal to external
else
    record route external to external

I added some checks for this in v0.70 but i'll make sure to validate these use cases.
Reply all
Reply to author
Forward
0 new messages