how to change the ip address in sdp

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

 



> hi,
> 
> i m using pjsua-lib to develop a program in windows.
> now then init a call,the invite message like this:
> 
> INVITE sip:80403 at 172.24.18.63 SIP/2.0
> Via: SIP/2.0/UDP 192.169.1.200:5060;rport;branch=z9hG4bKPj3541be0efaac43d0ac03d5abdcd2f38f
> Max-Forwards: 70
> From: sip:07518176395@172.30.1.11;tag=dd1c6752f7e14a47a3c336e81b760b1e
> To: sip:80403 at 172.24.18.63
> Contact: <sip:07518176395 at 192.169.1.200:5060;ob>
> Call-ID: 7895de23069244208b02feb8216c1d20
> CSeq: 11808 INVITE
> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
> Supported: replaces, 100rel, timer, norefersub
> Session-Expires: 1800
> Min-SE: 90
> Content-Type: application/sdp
> Content-Length:   316
> 
> v=0
> o=- 3544549432 3544549432 IN IP4 192.169.1.200
> s=pjmedia
> c=IN IP4 192.169.1.200
> t=0 0
> m=audio 40000 RTP/AVP 18 8 0 96
> c=IN IP4 192.169.1.200
> a=rtcp:40001 IN IP4 192.169.1.200
> a=sendrecv
> a=rtpmap:18 G729/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:96 telephone-event/8000
> a=fmtp:96 0-15
> 
> who know how to change the ip in sdp(above is 192.169.1.200)to another
> in my program ? 
> 
> thanks a lot!
> 
> LYX


[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