New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kaltera
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Apr 2007
Default VoIP setup problems (Ports)

Hi everyone,

I'm encountering a big problem with my TyTn WM6. I do not manage to register to my SIP account.

When I try via a regular softphone with port 5060, it works very well, but since I want to do it with the VoIP setup delivered with all WM6 ROM, it just won't do.

I tried to do a lot of packet capture and I figured out that the VoIP setup uses a random port number and that is, I think, the major problem. Is there a way to force VoIP setup to use port 5060 ?

Thank you
TyTn
LVSW_20070423__RUU_Hermes_WWE_3.30.0.1-FIXED-Full

Trinity
20070503_LVSW_Trinity_WM6_v2.0.0.0

SipConfigTool_2_0_0
 
ADB100
Old
#2  
ADB100's Avatar
Senior Member
Thanks Meter 9
Posts: 986
Join Date: Nov 2006
Default SIP Protocol inspection?

I had similar issues with my Wizard and spent a bit of time comparing sniffer traces of a desktop PC running a SIP client and what the Wizard was sending. I too saw similar behaviour. What I found was the PC registered itself and said it was listening on UDP port 5060, the Wizard though was attempting to use some random port number.
I posted on here and got no responses (http://forum.xda-developers.com/show....php?t=304068), I did however resolve it by enabling SIP protocol inspection in my ADSL router (Cisco 877). The PC SIP client worked because both the source & destination ports remained constant (5060) and the router didn't need to do anything clever, however the Wizards SIP client used a random source port and the router hadn't created any state. When SIP protocol inspection was enabled it allowed the router to look into the SIP conversation and created the appropriate state and translations.

HTH

Andy
HTC Ace (Desire HD)
Android 4.2.2 - CyanogenMod 10.1
Sadly HTC HD2 gone