Issue with IP address for ACK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Dear all,

Small look up shows that new IP is taken from SDP by
pjmedia_session_info_from_sdp in pjsua_media_channel_update

Attempt to overwrite with right IP value from INVITE destination
address does not help.

Where IP is changed to received SDP IP ???


On Fri, Jan 22, 2010 at 3:24 PM, slava <pchala at gmail.com> wrote:
> Dear all,
>
> I have build everything and when I try to make a call I have next issue:
>
> ?15:00:57.715 ? ?pjsua_app.c ?Call 0 state changed to CONFIRMED
> ?15:00:58.142 ? pjsua_core.c ?RX 703 bytes Response msg 200/INVITE/cseq=26565 (r
> data01EE3DFC) from UDP 94.226.xx.xx:5060:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 43.221.xx.xx:5060;rport=25374;branch=z9hG4bKPjc7a54adc577d450a
> aa86f20337584db3;received=80.88.xx.xx
> From: <sip:43.221.58.101>;tag=3123192d0a074f2583408a743786f186
> To: <sip:busxxx.dyndns.org>;tag=1276067530
> Call-ID: 14355d97ec13428d9b8b5228b2bd963c
> CSeq: 26565 INVITE
> Contact: <sip:32233 at 192.168.0.103:5060>
> Supported: replaces
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
> Content-Type: application/sdp
> Content-Length: 201
>
> v=0
> o=32233 5004 171 IN IP4 192.168.0.103
> s=-
> c=IN IP4 192.168.0.103
> t=0 0
> m=audio 5004 RTP/AVP 18 101
> a=rtpmap:18 G729/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=sendrecv
>
> --end msg--
> ?15:00:58.161 ? pjsua_core.c ?TX 345 bytes Request msg ACK/cseq=26565 (tdta01F3C
> 228) to UDP 192.168.0.103:5060:
> ACK sip:32233 at 192.168.0.103:5060 SIP/2.0
> Via: SIP/2.0/UDP 43.221.xx.xx:5060;rport;branch=z9hG4bKPj62b99c74233f40988be1a8
> f33a256074
> Max-Forwards: 70
> From: <sip:43.221.xx.xx>;tag=3123192d0a074f2583408a743786f186
> To: sip:busxxx.dyndns.org;tag=1276067530
> Call-ID: 14355d97ec13428d9b8b5228b2bd963c
> CSeq: 26565 ACK
> Content-Length: ?0
>
>
> Any idea why after receiving from 94.226.xx.xx:5060
> ?15:00:58.142 ? pjsua_core.c ?RX 703 bytes Response msg 200/INVITE/cseq=26565 (r
> data01EE3DFC) from UDP 94.226.xx.xx:5060:
>
> we reply to 192.168.0.103:5060
> ?15:00:58.161 ? pjsua_core.c ?TX 345 bytes Request msg ACK/cseq=26565 (tdta01F3C
> 228) to UDP 192.168.0.103:5060:
> ????
>
> Is there any define to force reply to the same address? Who parsed
> this response and change IP?
>
> --
> Slava.
>

-- 
Slava.



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux