*Hi All, *

*Could you please help in solving following Issue:*

*Device ----------------------  OpenIMS*

*           --------------------**à REGISTER*

*          **ß-------------------- 401 Unauthorized – Challenging the UE*

*           --------------------**à REGISTER  (REGISTER Request. **Contact
Header IP:Port(**5060)*

*          **ß-------------------- 200OK                            *

*           --------------------**à SUBSCRIBE (Top-Via Header SentBy
IP:Port(Actual TCP PortNum)*

*          **ß-------------------- 403 Forbidden (Not Registered – You Must
First Register with SCSCF)*

* *

*My Observation:*

*When Register comes OpenIMS stores the information in Contact Header of
REGISTER Request. (IP:5060)*

*When SUBSCRIBE comes it checks Top-Via Header to retrieve SentBy
IP:Port(Actual TCP PortNum (14162)) and checks whether this is registered.*

*Since it does not match 403 Forbidden is returned by Open-Ims Server. *

*Code Reference:*

Step1: P_is_registered ()*
*

*Step2:*     vb =
cscf_get_ue_via<http://www.openimscore.org/docs/ser_ims/icscf_2sip_8c.html#9171087d9f08af56d335d6814858741e>
(msg);

if (msg->first_line.type==SIP_REQUEST) vb = cscf_get_first_via
<http://www.openimscore.org/docs/ser_ims/icscf_2sip_8c.html#fca36a52e87adb4ff624260e1629db68>(msg,0);02200
    else vb = cscf_get_last_via
<http://www.openimscore.org/docs/ser_ims/icscf_2sip_8c.html#f6f4d5b9198bd2188e17a309ddf23bb5>(msg);

*Step3: *if 
(r_is_registered<http://www.openimscore.org/docs/ser_ims/pcscf_2registrar_8c.html#688534a6d4e64319d6e1b01ed71856a1>
(vb->host,vb->port,vb->proto)

*Step4:*      c =
get_r_contact<http://www.openimscore.org/docs/ser_ims/pcscf_2registrar__storage_8c.html#c3a1b6a2d85098a91a3f2c927c638b9e>
(host,port,transport);

            if 
(r_reg_contact<http://www.openimscore.org/docs/ser_ims/pcscf_2registrar__storage_8c.html#d9fc3f061d99ff29f64d53d87609ae65>
(c)){ret = 1;}

*Is this understanding Correct? Why OpenIMS is comparing with Top-Via
Header Sent-By Information? *

*How to solve this Issue?*

*
*

*Thanks and Regards*

CHDISS
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to