dong83615 / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Siphon doesn't registers on asterisk (retransmit issue?) #184

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Last siphon version (v 2.06)
2. Asterisk 1.4.21 on dedicated server
3. Setup = the same as working in xlite or a siemens hardphone, tried on wifi 
and 3g

What is the expected output? What do you see instead?

Siphon says first "Service indisponible"

IPHONE :

 06:53:04.033    tsx0x888064  Retransmit timer event
 06:53:04.033    tsx0x888064  Retransmiting Request msg REGISTER/cseq=5306 
(tdta0x887000), count=6, restart?=1
 06:53:04.033   pjsua_core.c  TX 444 bytes Request msg REGISTER/cseq=5306 (tdta0x887000) to 
UDP 87.98.147.226:5060:
REGISTER sip:qsdf.org SIP/2.0
Via: SIP/2.0/UDP 
192.168.0.11:5060;rport;branch=z9hG4bKPj3oyqyCmx4sz3bnnJ8OLBMOxadW97EKIA
Route: <sip:qsdf.org;lr>
Max-Forwards: 70
From: <sip:105@qsdf.org>;tag=lV6VycXQwKX.OyqmqzA.10dbvC69fRzS
To: <sip:105@qsdf.org>
Call-ID: NNowCmyT-QrHCZDpEYhYgrp346MMtV5H
CSeq: 5306 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:105@192.168.0.11:5060>
Expires: 1800
Content-Length:  0

ASTERISK :

[2009-03-11 06:52:27] DEBUG[3087] chan_sip.c: Ignoring SIP message because of 
retransmit 
(REGISTER Seqno $, ours 5306)

What version of the product are you using? On what operating system?

Server is a debian etch one, hosted on a data center (without NAT)

Please provide any additional information below.

More logs can be provided if needed but the essential has been listed in the 
issue.
If it can help, only fring manages to login on this server, siax and other sip 
apps fail.

Tried with Nat and without NAT

Original issue reported on code.google.com by lvergnet...@gmail.com on 12 Mar 2009 at 8:01

GoogleCodeExporter commented 9 years ago
I'm running siphon talking to asterisk 1.4.22 with no issues.

I think this is likely a configuration error.

Original comment by neilbags@gmail.com on 13 Mar 2009 at 1:02

GoogleCodeExporter commented 9 years ago
Could you post an extract of your asterisk extension config on the server side ?

Original comment by lvergnet...@gmail.com on 18 Mar 2009 at 6:16

GoogleCodeExporter commented 9 years ago
I assume you are after my sip.conf settings since extension settings don't have
anything to do with registration.

[<removed>]
nat=yes
type=friend
username=<removed>
secret=<removed>
callerid=<removed>
host=dynamic
group=1
callgroup=1
pickupgroup=1
call-limit=1
context=<removed>
disallow=all
allow=ulaw
allow=gsm
dtmfmode=auto
canreinvite=no

Original comment by neilbags@gmail.com on 19 Mar 2009 at 6:45

GoogleCodeExporter commented 9 years ago
Thanks a lot, i changed my sip.conf with the same parameters, and I still have 
the same errors.
I only had codec config and call-limit that were different.

Is your asterisk server on a LAN or on the internet?

Original comment by lvergnet...@gmail.com on 19 Mar 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Its on the internet (public IP address).

Can you try upgrading to 1.4.22? The was previously on 1.4.21 but had to 
upgrade due
to this bug:
http://bugs.digium.com/view.php?id=12746

The symptoms of the problem were different (dropped calls) but it has something 
to do
with retransmits, so your problem could be related.

Original comment by neilbags@gmail.com on 19 Mar 2009 at 10:38

GoogleCodeExporter commented 9 years ago
Hi,

I'm also running siphon with asterisk with no problem..

Fabian

Original comment by kdtec...@gmail.com on 9 Apr 2009 at 5:01

GoogleCodeExporter commented 9 years ago
I suppose I can close this issue, isn't it ?

Original comment by samuelv0...@gmail.com on 24 Apr 2009 at 9:39

GoogleCodeExporter commented 9 years ago
Hmm, I am seeing a similar issue. I have a network of public Asterisk servers 
in use
by hundreds of customers with many user agents that all work fine.

Using Edge/GPRS outbound calls are fine, but registration does not fully work.

  -- Registered SIP 'leo_iphone' at 87.81.167.xxx port 1025
[2009-10-23 13:22:48] NOTICE[28448]: chan_sip.c:19828 sip_poke_noanswer: Peer
'leo_iphone' is now UNREACHABLE!  Last qualify: 0

These messages are right next to eachother. It appears the SIP packets are not 
being
received back at the iphone (sip debug shows Retransmitting #4 etc).

Any thoughts?

Original comment by acumen....@gmail.com on 23 Oct 2009 at 12:25

GoogleCodeExporter commented 9 years ago

Same problem here. Registering with EDGE/GPRS works fine in two asterisk 
deployments
(1.6 and 1.4) but fail to register with wifi.

Original comment by elcha...@gmail.com on 15 Dec 2009 at 2:18

GoogleCodeExporter commented 9 years ago
Same for me too, no fix planed?

Original comment by jc.bed...@gmail.com on 3 May 2010 at 3:40