Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 24 16:05

    psanders on master

    (compare)

  • Jun 24 16:05

    psanders on main

    (compare)

  • Jun 24 16:05

    psanders on main

    (compare)

  • Jun 24 16:05

    psanders on main

    (compare)

  • Jun 24 15:54

    psanders on feat-add-liveness-probe

    Fixed typo (compare)

  • Jun 24 15:27

    psanders on feat-add-liveness-probe

    Fixed using string instead of i… (compare)

  • Jun 16 21:40

    psanders on feat-add-liveness-probe

    Added liveness probe changes (compare)

  • Jun 14 01:35

    github-actions[bot] on 1.0.5

    (compare)

  • Jun 14 01:27

    psanders on master

    Replaced healthchecks Merge branch 'master' of https:… (compare)

  • Jun 11 19:41

    psanders on v2

    Changed path to certificates Changed verbosity level (compare)

  • Jun 11 19:35

    psanders on v2

    Removed devcontainers (compare)

  • Jun 11 19:34

    psanders on v2

    Updated .gitignore Set default hosts to local (compare)

  • Jun 11 19:20

    psanders on v2

    Added gitpod badge Added gitpod file (compare)

  • Jun 11 19:20

    psanders on master

    Updated copyright year (compare)

  • Jun 11 19:19

    psanders on master

    Re-arranged badges (compare)

  • Jun 11 19:14

    psanders on master

    Cleanup comments (compare)

  • Jun 11 11:26

    psanders on master

    Enable software development fro… Merge branch 'master' into mast… Merge pull request #134 from gi… (compare)

  • Jun 11 11:26
    psanders closed #134
  • Jun 11 03:26
    Siddhant-K-code synchronize #134
  • Jun 11 03:25
    Siddhant-K-code commented #134
matrixbot
@matrixbot

markcs apiVersion: v1beta1
spec:
transport:

- protocol: tcp
  port: 5060
- protocol: udp
  port: 5060
- protocol: tls
  port: 5061

bindAddr: 192.168.1.110

psanders What about your gateway.yml?
markcs coming ... just removing my passwords
markcs - apiVersion: v1beta1
kind: Gateway
metadata:
ref: gwLinphone
name: Linphone
spec:
host: sip.linphone.org
transport: tcp
credentials:
username: 'myusername'
secret: 'password'
  • apiVersion: v1beta1
    kind: Gateway
    metadata:
    ref: gwMyNetFone
    name: MyNetPhone
    spec:
    host: sip70.mynetfone.com.au
    transport: tcp
    credentials:
      username: 'sipnumber'
      secret: 'password'
  • apiVersion: v1beta1
    kind: Gateway
    metadata:
    ref: gwLocalphone
    name: Localphone
    spec:
    host: localphone.com
    transport: tcp
    credentials:
    username: 'sipnumber'
    secret: 'password'
psanders Also, are you using Snap to install Routr?
markcs all formatting is lost unfortunately
markcs I'm using the tar.gz file from github
psanders Ok
markcs snap on ubuntu didn't work correctly for me... environment not set correctly and easier with the simple tar file
markcs linphone always works for me. The other two do not in this case
markcs I've tried all with tcp and udp as transport
matrixbot
@matrixbot
psanders posted an image: Screen Shot 2020-09-11 at 7.49.05 PM.png
psanders Something is up with two of your providers
markcs that screenshot doesn't come through here for me on the element client

psanders quijote:Projects pedrosanders$ nc -zvw3 -G 3 http://localphone.com|localphone.com 5060
nc: connectx to http://localphone.com|localphone.com port 5060 (tcp) failed: Operation timed out
quijote:Projects pedrosanders$ nc -zvw3 -G 3 http://sip70.mynetfone.com.au|sip70.mynetfone.com.au 5060
nc: connectx to http://sip70.mynetfone.com.au|sip70.mynetfone.com.au port 5060 (tcp) failed: Operation timed out
quijote:Projects pedrosanders$ nc -zvw3 -G 3 http://sip.linphone.org|sip.linphone.org 5060
found 0 associations
found 1 connections:
1: flags=82<CONNECTED,PREFERRED>
outif en0
src 192.168.1.149 port 59362
dst 54.37.202.229 port 5060
rank info not available
TCP aux info available

Connection to http://sip.linphone.org|sip.linphone.org port 5060 [tcp/sip] succeeded!

matrixbot
@matrixbot
markcs sorry, all that is just a mess. Which gateway are you trying to connect to? I am currently registered to localphone - using udp on the twinkle client in ubuntu on the same server that can run routr (I obviously don't have both running at the same time)
psanders Basically, I'm getting a timeout when proving port 5060 with http://localphone.com|localphone.com and http://sip70.mynetfone.com.au|sip70.mynetfone.com.au.
markcs +++ 12-9-2020 09:55:06.012556 INFO SIP ::process_sip_msg
Received from: udp:94.75.247.45:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.110;rport=5060;branch=z9hG4bKxakwuyzz;received=<external ip>
To: sip:username@localphone.com;tag=9399de1ef8c379d4c914a855a096e8ba.e66c
From: sip:username@localphone.com;tag=qjlph
matrixbot
@matrixbot
markcs I am also registered to localphone from my mobile sip client
psanders 🤯
markcs shouldn't I at least see the register message being sent in tshark for localphone for example ?
matrixbot
@matrixbot
psanders Correct. The message [WARN ] Unable to connect to host ->sip provider.(Verify your network status) tells me that Routr can't connect to the endpoint at the transport level. I have seem in the past issue with firewalls or dns, but it is obviously not your case.
psanders (edited) ... host -> sip provider.(Verify your network status)tells me that Routr can't connect to the endpoint at the transport level. I have seem in the past issue with firewalls or dns, but it is obviously not your case. => ... host -> sip provider.(Verify your network status) tells me that Routr can't connect to the endpoint at the transport level. I have seen in the past issue with firewalls or DNS, but that can't be your issue because your other apps work fine.
markcs yes, it is weird.
psanders To add to the mystery, I'm having problems proving port 5060 for the providers you are having issues with.
matrixbot
@matrixbot
markcs if you configure localphone.com as a gateway do you see anything? You should at least see forbidden I guess with random username/password?
markcs okay, this is strange. I did a subdomain search for localphone.com and found gateway.localphone.com and I managed to get this to register now
psanders I can give it a shot. But I'm doing a simple telnet <http://localphone.com|localphone.com> 5060
markcs Is there some mangling of domain names you're doing that expect the host in the format xxx.yyy.zzz ? The ones that failed for me did not have that format
psanders Are you in Ubuntu?
markcs I am
psanders Try this telnet <http://localphone.com|localphone.com> 5060
psanders Tell me what you see
psanders Also try telnet <http://sip.linphone.org|sip.linphone.org> 5060
markcs telnet to what? localhost or where?
psanders Does it give you different results?
psanders and telnet http://sip.linphone.org|sip.linphone.org 5060
matrixbot
@matrixbot
markcs sorry, telnet to localhost or what?
psanders to localphone[.]com and port 5060
psanders and to sip.linphone[.]org and port 5060
markcs telnet'ing just hangs for those
markcs however, telnet'ing to gateway.localphone.com connects
matrixbot
@matrixbot
psanders for me sip[.]linphone[.]com works 😵
markcs linphone always works for me too
markcs localphone does not. Neither does sip70.mynetfone.com.au. Neither does sip2sip.info
markcs but sip2sip.info requires a outbound proxy which is not yet supported
psanders Ok. I get connection refused for sip2sip[dot]info
matrixbot
@matrixbot
psanders If your telnet to 5060 is hanging then you need to figure out that first. It might be a firewall issue, that your softphone somehow bypass (specially if you installed using Snap and gave network permissions)
matrixbot
@matrixbot
markcs does localphone.com work for you as a provder host address. If you see sip messages, then at least we know it is my end ...