<div dir="ltr"><p style="margin:0in;font-family:Calibri;font-size:11pt">Good Day List,</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">I am very new to <span style="color:rgb(87,87,87);font-family:"Open Sans",Helvetica,sans-serif;font-size:14px">Kamailio and trying to understand at 10,000 feet how it may be able to be used.</span> I was wondering if the following Scenario would be possible and if so what modules would accomplish this aspect.  (Any URLs for further reading would be appreciated)</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">Scenario:</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">Given </p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">1) SoftPhones will register as follows</p><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt">sip uri, <a href="mailto:user@subdomain.myvoipserver.com" target="_blank">user@subdomain.myvoipserver.com</a> </p></blockquote><p style="margin:0in;font-family:Calibri;font-size:11pt">2) The following users are authorized to connect (this would be stored in a config file etc):</p><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:11pt">1001,1003,1007 are valid users for </span><a href="http://apples.myvoipserver.com/" target="_blank" style="font-size:11pt">apples.myvoipserver.com</a></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:11pt">1001,2213,5817 are valid users for </span><a href="http://oranges.myvoipserver.com/" target="_blank" style="font-size:11pt">oranges.myvoipserver.com</a></p></blockquote><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">Is it possible for Kamailio to perform the following evaluation and then take the appropriate steps:</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">If [domain is <a href="http://apples.myvoipserver.com/" target="_blank">apples.myvoipserver.com</a> AND user portion is 1001]</p><p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt">then</p><p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt">Forward/Proxy the SIP/RTP packets to</p><p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt">Asterisk server responsible for registration and audio for the domain <a href="http://apples.myvoipserver.com/" target="_blank">apples.myvoipserver.com</a></p><p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt"> </p><p style="margin:0in;font-family:Calibri;font-size:11pt">Else if [domain is <a href="http://oranges.myvoipserver.com/" target="_blank">oranges.myvoipserver.com</a> AND user portion is 2213]</p><p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt">then</p><p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt">Forward/Proxy the SIP/RTP packets to</p><p style="margin:0in 0in 0in 0.75in;font-family:Calibri;font-size:11pt">Asterisk server responsible for registration and audio for the domain <a href="http://oranges.myvoipserver.com/" target="_blank">oranges.myvoipserver.com</a></p><p style="margin:0in;font-family:Calibri;font-size:11pt">Else</p><p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt">Silently Drop packets etc.</p><p style="margin:0in 0in 0in 0.375in;font-family:Calibri;font-size:11pt"> </p><p style="margin:0in;font-family:Calibri;font-size:11pt">given the above evaluation rules, a user who tries to register as </p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><a href="mailto:1001@apples.myvoipserver.com">1001@apples.myvoipserver.com</a> </p><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt">would be granted access and their SIP Packets and subsequent RTP would be forwarded to the asterisk server at <a href="http://apples.myvoipserver.com">apples.myvoipserver.com</a>, where said server would take care of the Registration, and any subsequent calls, subscriptions, Options etc.</p></blockquote><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">1004@ <a href="http://apples.myvoipserver.com">apples.myvoipserver.com</a></p><p style="margin:0in"></p><blockquote style="font-family:Calibri;font-size:11pt;margin:0px 0px 0px 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt">Would not match the authorized list for <a href="http://apples.myvoipserver.com">apples.myvoipserver.com</a> (<span style="font-size:14.6667px">1001,1003,1007), therefore this registration attempt would be silently dropped</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:14.6667px"><br></span></p></blockquote><p></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><a href="mailto:2213@apples.myvoipserver.com">2213@apples.myvoipserver.com</a> </p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt">would be granted access and their SIP Packets and subsequent RTP would be forwarded to the asterisk server at <a href="http://oranges.myvoipserver.com">oranges.myvoipserver.com</a>, where said server would take care of the Registration, and any subsequent calls, subscriptions, Options etc.</p></blockquote><p style="margin:0in"></p><blockquote style="font-family:Calibri;font-size:11pt;margin:0px 0px 0px 40px;border:none;padding:0px"><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:14.6667px"><br></span></p></blockquote><p></p><p style="margin:0in;font-family:Calibri;font-size:11pt"> Thanks for any information to assist me in understanding how this would work.</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">~ron</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p></div>