On 3/8/08, Marco Zissen <maz at gmx.net> wrote: > > Hi all, > > I've compiled two versions of the simpleua sample: > one version with UDP port 5060 the other one with 5061 (different RTP ports > of course). > > When I start the UAS on port 5060 and make a call with the UAC on port 5061 > everything runs fine (simpleua_5061.exe sip:12345 at 127.0.0.1:5060). > > When UAS is on port 5061 and UAC on port 5060, the UAS doesn't get a > confirmed event and > times out after 30 sec (simpleua_5060.exe sip:12345 at 127.0.0.1:5061). The problem was because simpleua doesn't compute it's contact header at all, and lacking this the dialog layer will generate one from the local URI (From header for UAC, To header for UAS). But since port number is not allowed to appear in From/To headers, the Contact header will have no port number too, which means it uses default port 5060 of course. And if you change the port number in simpleua, it will have the wrong Contact URI. I've updated it so that it computes Contact header now. And while I'm on it, I also added a configuration to enable IPv6 as well. cheers, -benny > When I place the call with x-lite to the UAS, it works !? > > Any ideas ?? > > Kind regards, > Marco