[OpenSIPStack] OSSPhone AccountAddress
Brought to you by:
joegenbaclor
From: <jer...@ze...> - 2007-05-30 09:36:48
|
Hi,=20 =20 I've a problem with AccountAddress. In OSSPhone, you build the TO header = with the SIPServerAddress. On my SIP server the INVITE is Forbidden = because the From header, is not the same at REGISTER and INVITE. My SIP = server is distant and not on the same computer. In my application, I've set AccountAddress with the local host address. = But when I do an INVITE, the stack build the TO header with the = AccounAddress instead of the SIPServerAddress. So in your case, I've = REGISTER with a wrong URI, in my case, the TO INVITE header is not good. Can you change this plz or say me where can I fixe this problem. =20 Thanks a lot, Jeremy. =20 ----------------144:08:09.332---------------- *** LISTENER STARTED *** 10.16.213.20:5060 [*** DEFAULT LISTENER ***] ----------------144:08:37.442---------------- REGISTER sip:10.16.212.40:5060 SIP/2.0 From: 9555 <sip:9555@10.16.212.40 -> = 10.16.213.20>;tag=3Da627f1f9cdf81810918589195ccf8571 To: sip:9555@10.16.212.40 -> 10.16.213.20 ... =20 ----------------144:08:37.615---------------- SIP/2.0 100 Trying ... ----------------144:08:37.632---------------- SIP/2.0 200 OK ... ----------------144:09:13.001---------------- SEND: XOR=3D0 644 Bytes to 10.16.212.40:5060:UDP (INVITE = sip:101@10.16.212.40 SIP/2.0) Interface Address=3D10.16.213.20 INVITE sip:101@10.16.212.40 -> 10.16.213.20 SIP/2.0 From: 9555 = <sip:9555@10.16.213.20>;tag=3D845b27facdf81810918789195ccf8571 To: sip:101@10.16.212.40 ... =20 ----------------144:09:13.019---------------- SIP/2.0 100 Trying ... ----------------144:09:13.030---------------- SIP/2.0 403 Forbidden ... =20 |