[Re-devel] Register operation timed out

Victor Sergienko singalen at gmail.com
Wed Sep 17 12:02:08 CEST 2014


Hi Julien,

For video, make sure both sides have compatible videocodecs loaded and
a working videosrc-s.
In call, print a call information with "c" and see of local and remote
codecs are used.

On Mon, Sep 15, 2014 at 8:46 PM, Julien CURRO <liohau at hotmail.fr> wrote:
> Finally I got it working for the voice calls. And as you said it seems to be
> the server that sends keep alive.
> Is there any option to hide these logs?
>
> Now last point to fix, how do I get video working? The "v" key correctly
> starts the video loop but it is not sent.
>
> Le 15 sept. 2014 à 17:53, "Julien CURRO" <liohau at hotmail.fr> a écrit :
>
> Here is the log I retrieved from the "sudo ngrep -p -d en1 -W byline port
> 5060" command :
>
>
>
> interface: en1 (192.168.100.0/255.255.255.0)
>
> filter: (ip or ip6) and ( port 5060 )
>
> #
>
> U 192.168.100.232:63800 -> x.x.x.x:5060
>
> REGISTER sip:domain.tld;transport=tcp SIP/2.0.
>
> Via: SIP/2.0/UDP 192.168.100.232:63800;branch=z9..333;rport.
>
> Contact: <sip:09..-0x7fe7c9433ea0 at 192.168.100.232:63800>;expires=3719.
>
> Max-Forwards: 70.
>
> Route: <sip:x.x.x.x;lr>.
>
> To: <sip:09.. at domain.tld>.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> Call-ID: 188279c2c20711d6.
>
> CSeq: 34360 REGISTER.
>
> User-Agent: baresip v0.4.11 (x86_64/darwin).
>
> Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,REFER,NOTIFY,SUBSCRIBE,INFO.
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> SIP/2.0 100 Trying.
>
> Call-ID: 188279c2c20711d6.
>
> CSeq: 34360 REGISTER.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> To: <sip:09.. at domain.tld>.
>
> Via: SIP/2.0/UDP
> 192.168.100.232:63800;received=88.165.4.152;rport=63800;branch=z9..333.
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> SIP/2.0 401 Unauthorized.
>
> Call-ID: 188279c2c20711d6.
>
> CSeq: 34360 REGISTER.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> To: <sip:09.. at domain.tld>;tag=00-08182-0cd25805-45fa09102.
>
> Via: SIP/2.0/UDP
> 192.168.100.232:63800;received=88.165.4.152;rport=63800;branch=z9..333.
>
> WWW-Authenticate: Digest
> realm="domain.tld",nonce="0cd..c4",opaque="0cd1..e9cc",stale=false,algorithm=MD5.
>
> Server: Cirpack/v4.42q (gw_sip).
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U 192.168.100.232:63800 -> x.x.x.x:5060
>
> REGISTER sip:domain.tld;transport=tcp SIP/2.0.
>
> Via: SIP/2.0/UDP 192.168.100.232:63800;branch=z9hG4bKb0f79e96c31409da;rport.
>
> Contact: <sip:09..-0x7fe7c9433ea0 at 192.168.100.232:63800>;expires=3719.
>
> Max-Forwards: 70.
>
> Authorization: Digest username="09..", realm="domain.tld",
> nonce="0cd25..26bd6bc4", uri="sip:domain.tld;transport=tcp",
> response="a7a3b0a48269e265ca42e2c7a43f1489", opaque="0cd1..9cc".
>
> Route: <sip:x.x.x.x;lr>.
>
> To: <sip:09.. at domain.tld>.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> Call-ID: 188279c2c20711d6.
>
> CSeq: 34361 REGISTER.
>
> User-Agent: baresip v0.4.11 (x86_64/darwin).
>
> Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,REFER,NOTIFY,SUBSCRIBE,INFO.
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> SIP/2.0 100 Trying.
>
> Call-ID: 188279c2c20711d6.
>
> CSeq: 34361 REGISTER.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> To: <sip:09.. at domain.tld>.
>
> Via: SIP/2.0/UDP
> 192.168.100.232:63800;received=88.165.4.152;rport=63800;branch=z9hG4bKb0f79e96c31409da.
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> SIP/2.0 200 OK.
>
> Call-ID: 188279c2c20711d6.
>
> Contact: <sip:09..-0x7fe7c9433ea0 at 192.168.100.232:63800>;expires=3719.
>
> CSeq: 34361 REGISTER.
>
> From: <sip:09.. at domain.tld>;tag=1e9a985764932148.
>
> To: <sip:09.. at domain.tld>;tag=00-08182-0cd25807-141a2c5d7.
>
> Via: SIP/2.0/UDP
> 192.168.100.232:63800;received=88.165.4.152;rport=63800;branch=z9hG4bKb0f79e96c31409da.
>
> P-Associated-URI: <sip:09.. at domain.tld>.
>
> Server: Cirpack/v4.42q (gw_sip).
>
> Content-Length: 0.
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> Cirpack KeepAlive Packet........
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> Cirpack KeepAlive Packet........
>
> #
>
> U 192.168.100.232:12886 -> 199.7.173.101:5060
>
> .
>
> .
>
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> Cirpack KeepAlive Packet........
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> Cirpack KeepAlive Packet........
>
> #
>
> U 199.7.173.101:5060 -> 192.168.100.232:12886
>
> ....
>
> #
>
> U x.x.x.x:5060 -> 192.168.100.232:63800
>
> Cirpack KeepAlive Packet........
>
> ^Cexit
>
> 115 received, 0 dropped
>
>
> ________________________________
> From: lorenzo.mangani at gmail.com
> Date: Mon, 15 Sep 2014 16:44:51 +0200
> Subject: Re: [Re-devel] Register operation timed out
> To: liohau at hotmail.fr
> CC: re-devel at lists.creytiv.com
>
> Take a trace (ngrep -W byline port 5060) and see what's being received.
> Your registrar is probably sending some sort of keep-alive message or
> something?
>
>
>
> Lorenzo Mangani
>
> HOMER / PCAPTURE DEV TEAM
> Desk: +31 20 8080468 / +1 202-632-7227
> Mobile: +31 6 4603-2730
>
> QXIP BV - Capture Engineering
> Amsterdam, The Netherlands
> get at pcapture.com
>
>
>
>
> On Mon, Sep 15, 2014 at 4:21 PM, Julien CURRO <liohau at hotmail.fr> wrote:
>
> I talked too fast. I don't really know if the register is working as
> expected, but now I get a success message.
>
>
>
> So now my problem is to understand why I am getting "sip: msg decode err: No
> message available on STREAM" ?
>
>
>
> Here is the complete log :
>
>
>
> baresip v0.4.11 Copyright (C) 2010 - 2014 Alfred E. Heggestad et al.
>
> Local network address: IPv4=en1:192.168.100.232
>
> aucodec: PCMU/8000/1
>
> aucodec: PCMA/8000/1
>
> aufilt: vumeter
>
> auplay: coreaudio
>
> ausrc: coreaudio
>
> vidcodec: H264
>
> vidcodec: H263
>
> vidcodec: MP4V-ES
>
> vidsrc: iSight intégrée
>
> vidisp: opengl
>
> medianat: stun
>
> medianat: turn
>
> medianat: ice
>
> Populated 1 account
>
> Populated 2 contacts
>
> Populated 2 audio codecs
>
> Populated 1 audio filter
>
> Populated 3 video codecs
>
> Populated 0 video filters
>
> baresip is ready.
>
> 0.... at domain.tld: {0/UDP/v4} 200 OK (Cirpack/v4.42q (gw_sip)) [1 binding]
>
> All 1 useragent registered successfully! (172 ms)
>
> sip: msg decode err: No message available on STREAM
>
> sip: msg decode err: No message available on STREAM
>
> ....
>
> sip: msg decode err: No message available on STREAM
>
> sip: msg decode err: No message available on STREAM
>
>
>
>
> ________________________________
> From: liohau at hotmail.fr
> To: lorenzo.mangani at gmail.com
> Date: Mon, 15 Sep 2014 16:14:51 +0200
>
> CC: re-devel at lists.creytiv.com
> Subject: Re: [Re-devel] Register operation timed out
>
> Sorry, I should have used the IP directly, now it works ^^
>
> So is it a DNS configuration issue ?
>
> ________________________________
> From: liohau at hotmail.fr
> To: lorenzo.mangani at gmail.com
> Date: Mon, 15 Sep 2014 16:10:14 +0200
> CC: re-devel at lists.creytiv.com
> Subject: Re: [Re-devel] Register operation timed out
>
> It does not work, I get a 500 internal server error instead (I just used the
> "domain.tld" instead of the IP as outbound proxy)
>
> In the X-Lite client I have a "Domain Proxy" tab with a "register with
> domain and receive calls" setting activated, and another setting named "sent
> outbound via:" with the "Domain" option selected (so the other option which
> is "Proxy" is not selected and there is no address set in the input field).
>
> ________________________________
> From: lorenzo.mangani at gmail.com
> Date: Mon, 15 Sep 2014 15:36:44 +0200
> Subject: Re: [Re-devel] Register operation timed out
> To: liohau at hotmail.fr
> CC: re-devel at lists.creytiv.com
>
> Julien,
>
> Seems like a possible failure to resolve the destination. You could try
> using the outbound proxy parameter with the IP of the registrar to see if
> this is the case.
>
> Best,
>
> Lorenzo Mangani
>
> HOMER / PCAPTURE DEV TEAM
> Desk: +31 20 8080468 / +1 202-632-7227
> Mobile: +31 6 4603-2730
>
> QXIP BV - Capture Engineering
> Amsterdam, The Netherlands
> get at pcapture.com
>
>
>
>
> On Mon, Sep 15, 2014 at 3:17 PM, Julien CURRO <liohau at hotmail.fr> wrote:
>
> Hi guys,
>
> I am trying to use the baresip client, and I keep getting an "reg:
> sip:0..... at domain.tld: Register: Operation timed out" error message. What
> should I look at first ? Is it a port forwarding issue ?
>
> The account i'm using works in the X-lite client.
>
> By the way, the code is really clear, but it really needs more doc (not
> enough functions have a comment but when there is one it is useful, so keep
> doing it) and a wiki. Also this mailing list is, in my opinion, an old
> school tool,  and you should use the github repositories to communicate with
> your fans or maybe a google group.
>
> Thanks anyway for your great job, and thanks for the BSD license :)
>
> _______________________________________________
> Re-devel mailing list
> Re-devel at lists.creytiv.com
> http://lists.creytiv.com/mailman/listinfo/re-devel
>
>
>
> _______________________________________________ Re-devel mailing list
> Re-devel at lists.creytiv.com
> http://lists.creytiv.com/mailman/listinfo/re-devel
>
> _______________________________________________ Re-devel mailing list
> Re-devel at lists.creytiv.com
> http://lists.creytiv.com/mailman/listinfo/re-devel
>
>
> _______________________________________________
> Re-devel mailing list
> Re-devel at lists.creytiv.com
> http://lists.creytiv.com/mailman/listinfo/re-devel
>
>
> _______________________________________________
> Re-devel mailing list
> Re-devel at lists.creytiv.com
> http://lists.creytiv.com/mailman/listinfo/re-devel
>

_______________________________________________
Re-devel mailing list
Re-devel at lists.creytiv.com
http://lists.creytiv.com/mailman/listinfo/re-devel


More information about the Re-devel mailing list