about 302 Moved Temporarily

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

 



hi all,
    In my proxy i add  some rediect  response, at some secnario my proxy will response psjsip UAC with 302 , 

but in my app (do with C/C++ interface pjsip2.4) ,  i can't got 302 code in "onCallState(OnCallStateParam &prm)" function? 

but got a lastecode with 487, is this correct ?    

secnario signal  like below : 


NVITE sip:93100 at 192.168.17.151:5060 SIP/2.0
Via: SIP/2.0/TCP 192.168.23.138:45345;rport;branch=z9hG4bKPj330b4579d50b4eafb04d0b939f50fc96;alias
Max-Forwards: 70
From: "88138" <sip:88138@192.168.17.151>;tag=c296544d743148049958f94259f4e776
To: <sip:93100 at 192.168.17.151>
Contact: "88138" <sip:88138 at 192.168.23.138:45341;transport=TCP;ob>;+sip.ice
Call-ID: 78b9a989cedc4900b3a6edc9db71c893
CSeq: 16981 INVITE
Route: <sip:192.168.17.151:5060;transport=tcp;lr>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length:   705
SDP ---PART ***



SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/TCP 192.168.23.138:45345;rport;branch=z9hG4bKPj330b4579d50b4eafb04d0b939f50fc96;alias
From: "88138" <sip:88138@192.168.17.151>;tag=c296544d743148049958f94259f4e776
To: <sip:93100 at 192.168.17.151>;tag=1445592985
Call-ID: 78b9a989cedc4900b3a6edc9db71c893
CSeq: 16981 INVITE
Contact: <sip:3100 at 172.16.200.24:5060>
User-Agent: osip/2.2.0
Proxy-Authenticate: Digest rea1m="focuschina.com",nonce="6",stale="FALSE",algorithm="md5"
Content-Length: 0



09:15:55.948   pjsua_core.c  TX 420 bytes Request msg ACK/cseq=16981 (tdta0765D198) to TCP 192.168.17.151:5060:
ACK sip:93100 at 192.168.17.151:5060 SIP/2.0
Via: SIP/2.0/TCP 192.168.23.138:45345;rport;branch=z9hG4bKPj330b4579d50b4eafb04d0b939f50fc96;alias
Max-Forwards: 70
From: "88138" <sip:88138@192.168.17.151>;tag=c296544d743148049958f94259f4e776
To: <sip:93100 at 192.168.17.151>;tag=1445592985
Call-ID: 78b9a989cedc4900b3a6edc9db71c893
CSeq: 16981 ACK
Route: <sip:192.168.17.151:5060;transport=tcp;lr>
Content-Length:  0





Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150416/23ce2748/attachment.html>


[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