Re: [pjsip] PJSIP does not register for UDP or TCP transport

M
MichaelUndJutta@gmx.net
Thu, Sep 16, 2010 8:00 PM

Hallo Jonas,

there is no server running - as far as I know. I´m running PJSUA test-
application an a WIN-XP computer in the DOS-Box. Firewall is disabled,
and there is no other server application running ...

What makes me wonder, is the fact, that I can find port 5060 opened,
while pjsua is running. So why the message two times "does not register",
and why not capable receiving telephone calls ???

Account list:
[ 0] sip:62.245.208.229:5060: does not register
Online status: Online
[ 1] sip:62.245.208.229:5060;transport=TCP: does not register
Online status: Online
*[ 2] sip:4991329058350@sip.1und1.de: 100/In Progress (expires=0)
Online status: Online

connections displayed with netstat (before pjsua is started)

o  Lokale Adresse        Remoteadresse          Status
0.0.0.0:135            0.0.0.0:0              ABHÖREN
0.0.0.0:445            0.0.0.0:0              ABHÖREN
0.0.0.0:912            0.0.0.0:0              ABHÖREN
0.0.0.0:990            0.0.0.0:0              ABHÖREN
0.0.0.0:3389          0.0.0.0:0              ABHÖREN
127.0.0.1:1028        0.0.0.0:0              ABHÖREN
127.0.0.1:5152        0.0.0.0:0              ABHÖREN
127.0.0.1:5152        127.0.0.1:1114        SCHLIESSEN_WARTEN
127.0.0.1:5679        0.0.0.0:0              ABHÖREN
127.0.0.1:7438        0.0.0.0:0              ABHÖREN
192.168.0.1:139        0.0.0.0:0              ABHÖREN
192.168.123.50:139    0.0.0.0:0              ABHÖREN
192.168.123.50:1380    64.85.166.244:80      SCHLIESSEN_WARTEN
192.168.123.50:1387    213.165.65.100:80      SCHLIESSEN_WARTEN
192.168.123.50:3389    192.168.123.54:1321    HERGESTELLT
192.168.192.1:139      0.0.0.0:0              ABHÖREN
0.0.0.0:445            :
0.0.0.0:500            :
0.0.0.0:4500          :
127.0.0.1:123          :
127.0.0.1:1049        :
127.0.0.1:1115        :
127.0.0.1:1900        :
192.168.0.1:123        :
192.168.0.1:137        :
192.168.0.1:138        :
192.168.0.1:1900      :
192.168.123.50:123    :
192.168.123.50:137    :
192.168.123.50:138    :
192.168.123.50:1900    :
192.168.192.1:123      :
192.168.192.1:137      :
192.168.192.1:138      :
192.168.192.1:1900    :

connections displayed with netstat (whilepjsua is running)

o  Lokale Adresse        Remoteadresse          Status
0.0.0.0:135            0.0.0.0:0              ABHÖREN
0.0.0.0:445            0.0.0.0:0              ABHÖREN
0.0.0.0:912            0.0.0.0:0              ABHÖREN
0.0.0.0:990            0.0.0.0:0              ABHÖREN
0.0.0.0:3389          0.0.0.0:0              ABHÖREN
0.0.0.0:5060          0.0.0.0:0              ABHÖREN
127.0.0.1:1028        0.0.0.0:0              ABHÖREN
127.0.0.1:5152        0.0.0.0:0              ABHÖREN
127.0.0.1:5152        127.0.0.1:1114        SCHLIESSEN_WARTEN
127.0.0.1:5679        0.0.0.0:0              ABHÖREN
127.0.0.1:7438        0.0.0.0:0              ABHÖREN
192.168.0.1:139        0.0.0.0:0              ABHÖREN
192.168.123.50:139    0.0.0.0:0              ABHÖREN
192.168.123.50:1380    64.85.166.244:80      SCHLIESSEN_WARTEN
192.168.123.50:1395    213.165.65.100:80      HERGESTELLT
192.168.123.50:3389    192.168.123.54:1321    HERGESTELLT
192.168.192.1:139      0.0.0.0:0              ABHÖREN
0.0.0.0:445            :
0.0.0.0:500            :
0.0.0.0:4000          :
0.0.0.0:4001          :
0.0.0.0:4002          :
0.0.0.0:4003          :
0.0.0.0:4004          :
0.0.0.0:4005          :
0.0.0.0:4006          :
0.0.0.0:4007          :
0.0.0.0:4008          :
0.0.0.0:4009          :
0.0.0.0:4500          :
0.0.0.0:5060          :
127.0.0.1:123          :
127.0.0.1:1049        :
127.0.0.1:1115        :
127.0.0.1:1900        :
192.168.0.1:123        :
192.168.0.1:137        :
192.168.0.1:138        :
192.168.0.1:1900      :
192.168.123.50:123    :
192.168.123.50:137    :
192.168.123.50:138    :
192.168.123.50:1900    :
192.168.192.1:123      :
192.168.192.1:137      :
192.168.192.1:138      :
192.168.192.1:1900    :

while pjsua is running : dumping endpoint 0033547C: says

Dumping listeners:
tcplis:5060 tcp:62.245.208.229:5060
Dumping transports:
udp00AB7708 udp 0.0.0.0:5060 [published as 62.245.208.229:5060]
(refcnt=3)
Timer heap has 3 entries

with Regards,
Michael


Von: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Jonas Gauffin
Gesendet: Mittwoch, 15. September 2010 16:48
An: pjsip list
Betreff: [pjsip] PJSIP does not register for UDP or TCP transport

Do you have a server running at your local computer? If yes, what does it say about the registrations?
On Wed, Sep 15, 2010 at 4:38 PM, MichaelUndJutta@gmx.net wrote:
Hello,

(sorry for repeating myquestion, but my first email seems to get lost ...)

I have problems with registering PJSUA test-application to receive phone calls (calling somebody works fine)

I´m using a Router with NAT behind a cable modem. Localy, my computer has the IP-Adress 192.168.123.50

Account list:
[0] sip:192.168.123.50:5060: does not register
Online status: Online
[1] sip:192.168.123.50:5060;transport=TCP: does not register
Online status: Online
*[2] sip:4991329050000@sip.1und1.de: 100/In Progress (expires=0)
Online status: Online

Am I understanding right, that the very first lines [0] and [1] try to register pjsua on my own computer UDP and TCP transport, both on Port 5060, but this registration fails??? What could be the reason???

(As a second problem, my Provider can not register [3] because this is a local address. But with "--ip-addr 62.245.123.123" in the config file, I can tell PJSUA my Internet IP-Adress, and registering of [3] works fine. Now I can call somebody by phone. But furthermore I can´t get phone calls)

Account list:
[ 0] sip:62.245.123.123:5060: does not register
Online status: Online
[ 1] sip:62.245.123.123:5060;transport=TCP: does not register
Online status: Online
*[ 2] sip:4991329050000@sip.1und1.de: 200/OK (expires=14390)
Online status: Online

So – if I´m understanding right – pjsua tries to setup transport on the Internet address, but is not reaching my computer ...

I tried to add one or both of the two parameters below, but this didn´t help at all.

--bound-addr 192.168.123.50
--stun-srv  stun.1und1.de

It seems, that not receiving calls depends on not registering [0], but who could help ???

p.s. on my firewall Ports 5060(TCP+UDP), 4000-4019(UDP), 5070:5079(UDP) and 30000-30019(UDP) are forwarded to my computer, and I can see Invite telegram´s which come to my computer (measured with ethereal); with netstat PJSUA seems listening on Port 5060 (TCP+UDP)  and 4000-4009 (UDP), but no info: "receiving call", and no reaction on the Invite ...

With Regards,
Michael

--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!
Jetzt freischalten! http://portal.gmx.net/de/go/maxdome

Hallo Jonas, there is no server running - as far as I know. I´m running PJSUA test- application an a WIN-XP computer in the DOS-Box. Firewall is disabled, and there is no other server application running ... What makes me wonder, is the fact, that I can find port 5060 opened, while pjsua is running. So why the message two times "does not register", and why not capable receiving telephone calls ??? Account list: [ 0] <sip:62.245.208.229:5060>: does not register Online status: Online [ 1] <sip:62.245.208.229:5060;transport=TCP>: does not register Online status: Online *[ 2] sip:4991329058350@sip.1und1.de: 100/In Progress (expires=0) Online status: Online connections displayed with netstat (before pjsua is started) ------------------------------------------------------------------ o Lokale Adresse Remoteadresse Status 0.0.0.0:135 0.0.0.0:0 ABHÖREN 0.0.0.0:445 0.0.0.0:0 ABHÖREN 0.0.0.0:912 0.0.0.0:0 ABHÖREN 0.0.0.0:990 0.0.0.0:0 ABHÖREN 0.0.0.0:3389 0.0.0.0:0 ABHÖREN 127.0.0.1:1028 0.0.0.0:0 ABHÖREN 127.0.0.1:5152 0.0.0.0:0 ABHÖREN 127.0.0.1:5152 127.0.0.1:1114 SCHLIESSEN_WARTEN 127.0.0.1:5679 0.0.0.0:0 ABHÖREN 127.0.0.1:7438 0.0.0.0:0 ABHÖREN 192.168.0.1:139 0.0.0.0:0 ABHÖREN 192.168.123.50:139 0.0.0.0:0 ABHÖREN 192.168.123.50:1380 64.85.166.244:80 SCHLIESSEN_WARTEN 192.168.123.50:1387 213.165.65.100:80 SCHLIESSEN_WARTEN 192.168.123.50:3389 192.168.123.54:1321 HERGESTELLT 192.168.192.1:139 0.0.0.0:0 ABHÖREN 0.0.0.0:445 *:* 0.0.0.0:500 *:* 0.0.0.0:4500 *:* 127.0.0.1:123 *:* 127.0.0.1:1049 *:* 127.0.0.1:1115 *:* 127.0.0.1:1900 *:* 192.168.0.1:123 *:* 192.168.0.1:137 *:* 192.168.0.1:138 *:* 192.168.0.1:1900 *:* 192.168.123.50:123 *:* 192.168.123.50:137 *:* 192.168.123.50:138 *:* 192.168.123.50:1900 *:* 192.168.192.1:123 *:* 192.168.192.1:137 *:* 192.168.192.1:138 *:* 192.168.192.1:1900 *:* connections displayed with netstat (whilepjsua is running) ------------------------------------------------------------------ o Lokale Adresse Remoteadresse Status 0.0.0.0:135 0.0.0.0:0 ABHÖREN 0.0.0.0:445 0.0.0.0:0 ABHÖREN 0.0.0.0:912 0.0.0.0:0 ABHÖREN 0.0.0.0:990 0.0.0.0:0 ABHÖREN 0.0.0.0:3389 0.0.0.0:0 ABHÖREN 0.0.0.0:5060 0.0.0.0:0 ABHÖREN 127.0.0.1:1028 0.0.0.0:0 ABHÖREN 127.0.0.1:5152 0.0.0.0:0 ABHÖREN 127.0.0.1:5152 127.0.0.1:1114 SCHLIESSEN_WARTEN 127.0.0.1:5679 0.0.0.0:0 ABHÖREN 127.0.0.1:7438 0.0.0.0:0 ABHÖREN 192.168.0.1:139 0.0.0.0:0 ABHÖREN 192.168.123.50:139 0.0.0.0:0 ABHÖREN 192.168.123.50:1380 64.85.166.244:80 SCHLIESSEN_WARTEN 192.168.123.50:1395 213.165.65.100:80 HERGESTELLT 192.168.123.50:3389 192.168.123.54:1321 HERGESTELLT 192.168.192.1:139 0.0.0.0:0 ABHÖREN 0.0.0.0:445 *:* 0.0.0.0:500 *:* 0.0.0.0:4000 *:* 0.0.0.0:4001 *:* 0.0.0.0:4002 *:* 0.0.0.0:4003 *:* 0.0.0.0:4004 *:* 0.0.0.0:4005 *:* 0.0.0.0:4006 *:* 0.0.0.0:4007 *:* 0.0.0.0:4008 *:* 0.0.0.0:4009 *:* 0.0.0.0:4500 *:* 0.0.0.0:5060 *:* 127.0.0.1:123 *:* 127.0.0.1:1049 *:* 127.0.0.1:1115 *:* 127.0.0.1:1900 *:* 192.168.0.1:123 *:* 192.168.0.1:137 *:* 192.168.0.1:138 *:* 192.168.0.1:1900 *:* 192.168.123.50:123 *:* 192.168.123.50:137 *:* 192.168.123.50:138 *:* 192.168.123.50:1900 *:* 192.168.192.1:123 *:* 192.168.192.1:137 *:* 192.168.192.1:138 *:* 192.168.192.1:1900 *:* while pjsua is running : dumping endpoint 0033547C: says ------------------------------------------------------------------- Dumping listeners: tcplis:5060 tcp:62.245.208.229:5060 Dumping transports: udp00AB7708 udp 0.0.0.0:5060 [published as 62.245.208.229:5060] (refcnt=3) Timer heap has 3 entries with Regards, Michael ________________________________________ Von: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Jonas Gauffin Gesendet: Mittwoch, 15. September 2010 16:48 An: pjsip list Betreff: [pjsip] PJSIP does not register for UDP or TCP transport Do you have a server running at your local computer? If yes, what does it say about the registrations? On Wed, Sep 15, 2010 at 4:38 PM, <MichaelUndJutta@gmx.net> wrote: Hello, (sorry for repeating myquestion, but my first email seems to get lost ...) I have problems with registering PJSUA test-application to receive phone calls (calling somebody works fine) I´m using a Router with NAT behind a cable modem. Localy, my computer has the IP-Adress 192.168.123.50 Account list: [0] <sip:192.168.123.50:5060>: does not register Online status: Online [1] <sip:192.168.123.50:5060;transport=TCP>: does not register Online status: Online *[2] sip:4991329050000@sip.1und1.de: 100/In Progress (expires=0) Online status: Online Am I understanding right, that the very first lines [0] and [1] try to register pjsua on my own computer UDP and TCP transport, both on Port 5060, but this registration fails??? What could be the reason??? (As a second problem, my Provider can not register [3] because this is a local address. But with "--ip-addr 62.245.123.123" in the config file, I can tell PJSUA my Internet IP-Adress, and registering of [3] works fine. Now I can call somebody by phone. But furthermore I can´t get phone calls) Account list: [ 0] <sip:62.245.123.123:5060>: does not register Online status: Online [ 1] <sip:62.245.123.123:5060;transport=TCP>: does not register Online status: Online *[ 2] sip:4991329050000@sip.1und1.de: 200/OK (expires=14390) Online status: Online So – if I´m understanding right – pjsua tries to setup transport on the Internet address, but is not reaching my computer ... I tried to add one or both of the two parameters below, but this didn´t help at all. --bound-addr 192.168.123.50 --stun-srv stun.1und1.de It seems, that not receiving calls depends on not registering [0], but who could help ??? p.s. on my firewall Ports 5060(TCP+UDP), 4000-4019(UDP), 5070:5079(UDP) and 30000-30019(UDP) are forwarded to my computer, and I can see Invite telegram´s which come to my computer (measured with ethereal); with netstat PJSUA seems listening on Port 5060 (TCP+UDP) and 4000-4009 (UDP), but no info: "receiving call", and no reaction on the Invite ... With Regards, Michael -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- GRATIS: Spider-Man 1-3 sowie 300 weitere Videos! Jetzt freischalten! http://portal.gmx.net/de/go/maxdome