Hi list, <div><br></div><div>My team are developing a SIP client for mobile running iOS , </div><div><br></div><div>then having to deal with the &quot;back ground mode&quot; problem while this soft is installed on mobiles</div>
<div><br></div><div>One of the solutions is using APNS. (Apple Push Notification Service)</div><div><br></div><div>I wanna to use Kamailio as SIP Redirect / Proxy for my current SIP server </div><div><br></div><div>The model is like that:</div>
<div><br></div><div>User A &lt;---------&gt; Kamailio  &lt;---------&gt; SIP server &lt;--------&gt; User B</div><div><br></div><div>IF UserA call UserB, UserB is not available now (not registered yet), normally, SIP server will reply Kamailio with &quot;404 Not found&quot;</div>
<div><br></div><div>In that case, i want to set up Kamailio do the communication with APNS and waiting  for UserB &quot;Wake up&quot; then RESEND the Invite message ......</div><div>(instead of forwarding this 404 message to UserA)</div>
<div><br></div><div>I am getting stuck at how Kamailio can control &quot;404 Not found&quot; message which it receives from SIP server .</div><div><br></div><div>I do searching around several days but still can not get any clearer points. </div>
<div><br></div><div>Please help me with some instruction/ configuration of Kamailio for this case ! </div><div><br></div><div>Thank you very much. </div><div><br></div><div><br></div><div><br></div><div><br></div>