<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div dir="ltr">HI,</div><div dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">i find out every time we want to register on sipclient the sip_nonce_auth get the value,and every time we unregister the same sipclient the value of sip_nonce_auth</div><div dir="ltr"><span>was changed !</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><span>but is there any solutions to prevent of changing the value of </span> sip_nonce_auth for same sipclient that registered and unregistered?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new
york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">because suppose we have 25 sip client that is registered on our server,now i want to check the sip client that is registered be the same that is unregistered</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">so if the value of sip_nonce_auth for the sipcliet be the equal with the value of the same sipclient that is unregister ,the problem will solve,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">in the internal.xml we have <param name="nonce-ttl" value="60"/>
<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">it means every 60sec the value of sip_nonce_auth for each sipclient was chnaged ,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">and if the value of nonce-ttl is less than the value of parametere "register every ... " softphone, so the nonce-ttl was changed again.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">but i don't want change to check every sip client
that is registered is the same that is unregistered</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">i want when the status of sipclient was changed to 'unregistered' form 'registered' the value of 'sip_nonce_auth' be the same to find out the sip client that</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">is registered was the same that is unregistered !</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">is there any
solutions?<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">( i know we can check using fs_cli with sofia status profile internal reg and sofia_count_reg ..) but i want to check with sip header ...<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">for example when sipclient is registered<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">'Event-Name: REQUEST_PARAMS<br>Core-UUID:
86fdb0e4-c6cd-11e1-a155-c382209fd02d<br>FreeSWITCH-Hostname: PBX<br>FreeSWITCH-Switchname: PBX<br>FreeSWITCH-IPv4: 192.168.10.1<br>FreeSWITCH-IPv6: %3A%3A1<br>Event-Date-Local: 2012-07-06%2009%3A42%3A44<br>Event-Date-GMT: Fri,%2006%20Jul%202012%2005%3A12%3A44%20GMT<br>Event-Date-Timestamp: 1341551564411676<br>Event-Calling-File: sofia_reg.c<br>Event-Calling-Function: sofia_reg_parse_auth<br>Event-Calling-Line-Number: 2364<br>Event-Sequence: 5610<br>action: sip_auth<br>sip_profile: internal<br>sip_user_agent: eyeBeam%20release%201102q%20stamp%2051814<br>sip_auth_username: jack<br>sip_auth_realm: 192.168.10.89<br><font size="4"><span style="font-weight: bold;">sip_auth_nonce: 37cb2234-c729-11e1-a170-c382209fd02d</span></font><br>sip_auth_uri: sip%3A192.168.10.1<br>sip_contact_user: jack<br>sip_contact_host: 192.168.12.1<br>sip_to_user: jack<br>sip_to_host: 192.168.10.1<br>sip_from_user: jack<br>sip_from_host: 192.168.10.1<br>sip_request_host:
192.168.10.1<br>sip_auth_qop: auth<br>sip_auth_cnonce: c3f4cce1becf9f7fb6b20bafc27e2c68<br>sip_auth_nc: 00000001<br>sip_auth_response: 5489fc3afb45d7a826b865eef559baf5<br><span style="font-weight: bold;">sip_auth_method: REGISTER</span><br>key: id<br>user: jack<br>domain: 192.168.10.1<br>ip: 192.168.12.1</div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">when the same sip client is unregistered:</div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif;
background-color: transparent; font-style: normal;" dir="ltr">'Event-Name: REQUEST_PARAMS<br>
Core-UUID: 86fdb0e4-c6cd-11e1-a155-c382209fd02d<br>
FreeSWITCH-Hostname: PBX<br>
FreeSWITCH-Switchname: PBX<br>
FreeSWITCH-IPv4: 192.168.10.1<br>
FreeSWITCH-IPv6: %3A%3A1<br>
Event-Date-Local: 2012-07-06%2009%3A49%3A56<br>Event-Date-GMT: Fri,%2006%20Jul%202012%2005%3A19%3A56%20GMT<br>Event-Date-Timestamp: 1341551996651662<br>Event-Calling-File: sofia_reg.c<br>
Event-Calling-Function: sofia_reg_parse_auth<br>
Event-Calling-Line-Number: 2364<br>
Event-Sequence: 5610<br>
action: sip_auth<br>
sip_profile: internal<br>
sip_user_agent: eyeBeam%20release%201102q%20stamp%2051814<br>
sip_auth_username:jack<br>
sip_auth_realm: 192.168.10.89<br>
<font size="4"><span style="font-weight: bold;">sip_auth_nonce:397d1b86-c72a-11e1-a171-c382209fd02d<br></span></font><br>
sip_auth_uri: sip%3A192.168.10.1<br>
sip_contact_user:jack<br>
sip_contact_host: 192.168.12.1<br>
sip_to_user: jack<br>
sip_to_host: 192.168.10.1<br>
sip_from_user: jack<br>
sip_from_host: 192.168.10.1<br>
sip_request_host: 192.168.10.1<br>
sip_auth_qop: auth<br>
sip_auth_cnonce: c3f4cce1becf9f7fb6b20bafc27e2c68<br>
sip_auth_nc: 00000001<br>
sip_auth_response: 5489fc3afb45d7a826b865eef559baf5<br>
<span style="font-weight: bold;">sip_auth_method: REGISTER</span><br>
key: id<br>
user: jack<br>
domain: 192.168.10.1<br>
ip: 192.168.12.1</div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">as you see the sip_auth_method is the same when user is registered AND unregistered ...</div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">but how can i findout that ? <br></div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">is there any method to change the 'sip_auth_method ' to another value when sipclient status was changed to 'unregistered'?</div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr">thanks in
advanced<br></div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div><div style="color: rgb(0, 0, 0); font-size: 18px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;" dir="ltr"><br></div></div></body></html>