wanghongliang / siphon

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

Asterisk and Siphon 1.2 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Update to Siphon 1.2
2. Go to Settings, and configure to register with a Asterisk PBX

What is the expected output? What do you see instead?
I expected registration to succeed, but it doesn't :-) The attached
capture shows that Siphon successfully replied to the 401 Asterisk sent,
and received a 200 OK.

What version of the product are you using? On what operating system?
Siphon 1.2 on a iPhone with firmware 1.1.4
Asterisk 1.2.26 on Linux

Please provide any additional information below.
See the attached capture file. The 200 OK is packet #10. Does Siphon
expect any header to be set to something else ?

Original issue reported on code.google.com by fabrice....@gmail.com on 4 Mar 2008 at 4:35

Attachments:

GoogleCodeExporter commented 9 years ago
I don't understand where is the problem.
Your iPhone (I think 192.168.100.108) tried to register on Asterisk 
(192.168.100.30).
Asterik replied authorization/authentication is required (msg 401).
iPhone replied with his digest. Normally, you should can call.

How did you see the registration doesn't succerd ?

Original comment by samuelv0...@gmail.com on 10 Mar 2008 at 9:29

GoogleCodeExporter commented 9 years ago
Even though it received the 200 OK, Siphon keeps displaying "Please connect to
SIP-Server" and the dial pad doesn't let me enter any number. Because of that, 
I am
unable to call any number.
I thought it was a SIP validation issue, but maybe it's just a GUI issue ? Is 
there
any way to get it to generate a log ?

By the way, I reverted to v1.1 and now can't see v1.2 in the Installer any 
more. Was
it pulled back ?

Original comment by fabrice....@gmail.com on 10 Mar 2008 at 11:47

GoogleCodeExporter commented 9 years ago
I have found when using other sip clients like that on a nokia phone, to login 
to an
asterisk server the 'realm' needs to be set to 'asterisk'  - not sure if this is
relevant. 

Original comment by tmckib...@gmail.com on 12 Mar 2008 at 12:59

GoogleCodeExporter commented 9 years ago
Logically realm is defined by the server, so for the moment pjsip uses realm 
sent by
server. It's possible to define a realm in source code, but it's necessary to
recompile siphon application.

You should verify the correct realm with network analyzer (wireshark for 
example).

In the future version I think, it will must an advanced mode to define all 
parameters
(port, realm,...)

Original comment by samuelv0...@gmail.com on 12 Mar 2008 at 11:15

GoogleCodeExporter commented 9 years ago
In the capture I attached, Siphon did authenticate correctly against the realm
Asterisk specified. Other UAs handle multiple sets of user credentials, and the 
realm
helps differentiate them.
Samuel, do you think the problem is with the stack, or the UI not being 
notified the
registration succeeded ?
Are you planning to add some sort of logging to Siphon ? I am quite happy to 
help
getting to the bottom of this.

Original comment by fabrice....@gmail.com on 13 Mar 2008 at 2:24

GoogleCodeExporter commented 9 years ago
I have the same problem.. Fimware 1.1.4
But client from http://sip.free.fr/ is working!

Original comment by stani...@gmail.com on 29 Mar 2008 at 6:09

GoogleCodeExporter commented 9 years ago
I have same problem with Asterisk on their AA50 Appliance running Business 
Edition

Original comment by travi...@gmail.com on 16 May 2008 at 12:27

GoogleCodeExporter commented 9 years ago
I released Siphon 2 on Cydia (bigboss repository).
Did you test it ? Do you still have the same issue ?

Original comment by samuelv0...@gmail.com on 25 Jan 2009 at 4:38

GoogleCodeExporter commented 9 years ago
No news

Original comment by samuelv0...@gmail.com on 1 Feb 2009 at 1:46

GoogleCodeExporter commented 9 years ago
Hi. Sorry for the late reply. I have the latest Siphon installed, but currently 
don't
have access to any Asterix PBX to try it with.

Original comment by fabrice....@gmail.com on 1 Feb 2009 at 2:03

GoogleCodeExporter commented 9 years ago
Don't worry, I think there are several users who use Siphon 2. So I'm hoping 
that
someone would have reported this issue.

Original comment by samuelv0...@gmail.com on 1 Feb 2009 at 4:30