<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-IE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You can ignore this request,  I found my problem.  It was a typo by me.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-IE'>Best Regards<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-IE'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-IE'>Gerry Kernan<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-IE'>From:</span></b><span lang=EN-US style='mso-fareast-language:EN-IE'> sr-users [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>gerry kernan<br><b>Sent:</b> Friday 22 July 2016 16:47<br><b>To:</b> 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org><br><b>Subject:</b> [SR-Users] sip options not relaying<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a kamailio proxy in front of asterisk ver 13 servers. I’m using path support to route to the relevant asterisk server depending on the domain in the sip header. The incoming registers & invites from sip endpoints get routed to the correct asterisk server , but when asterisk is sending  sip options to the end points  my kamailio config is not routing the option on to the endpoint .<o:p></o:p></p><p class=MsoNormal>Kamailio debug shows error below <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ERROR: <script>: 192.168.200.131 OPTIONS <a href="sip:1333@192.168.200.112:5062">sip:1333@192.168.200.112:5062</a> -- domain "192.168.200.112" is not found in domain table 192.168.200.131<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Am I correct in thinking that this SIP option should be getting routed via my on-reply route.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>the sip option looks like it is failing here at the start of my config<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>if (src_ip != BACKEND_NET4)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>        {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                xlog("L_NOTICE", "FROM CLIENT IP: $si $rm $ru  $td \n");<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>            # SIP request packet client->backend<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>            if( !loose_route() )<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>            {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                if (!lookup_domain("$td", "dattr_")) {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                    xlog("L_NOTOCE" , "Domain lookup, $rm ");<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                    xlog("L_ERR", "$si $rm $ru -- domain \"$td\" is not " +<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                        "found in domain table $si\n");<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                    drop();<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Lucida Console"'>                }<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sample of SIP option captured on the kamailio server<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OPTIONS <a href="sip:1333@192.168.200.112:5062">sip:1333@192.168.200.112:5062</a> SIP/2.0<o:p></o:p></p><p class=MsoNormal>Via: SIP/2.0/UDP 192.168.200.131:5060;branch=z9hG4bK4f910445<o:p></o:p></p><p class=MsoNormal>Max-Forwards: 70<o:p></o:p></p><p class=MsoNormal>Route: <<a href="sip:192.168.200.148;lr;received=sip:87.198.223.83:16070">sip:192.168.200.148;lr;received=sip:87.198.223.83:16070</a>><o:p></o:p></p><p class=MsoNormal>From: "Unknown" <<a href="sip:Unknown@192.168.200.131">sip:Unknown@192.168.200.131</a>>;tag=as54cfb9df<o:p></o:p></p><p class=MsoNormal>To: <<a href="sip:1333@192.168.200.112:5062">sip:1333@192.168.200.112:5062</a>><o:p></o:p></p><p class=MsoNormal>Contact: <<a href="sip:Unknown@192.168.200.131:5060">sip:Unknown@192.168.200.131:5060</a>><o:p></o:p></p><p class=MsoNormal>Call-ID: <a href="mailto:257dea110f5255275aa38d9c45e0e235@192.168.200.131:5060">257dea110f5255275aa38d9c45e0e235@192.168.200.131:5060</a><o:p></o:p></p><p class=MsoNormal>CSeq: 102 OPTIONS<o:p></o:p></p><p class=MsoNormal>User-Agent: FPBX-2.11.0(13.10.0)<o:p></o:p></p><p class=MsoNormal>Date: Fri, 22 Jul 2016 15:31:13 GMT<o:p></o:p></p><p class=MsoNormal>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></p><p class=MsoNormal>Supported: replaces, timer, path<o:p></o:p></p><p class=MsoNormal>Content-Length: 0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OPTIONS <a href="sip:1333@192.168.200.112:5062">sip:1333@192.168.200.112:5062</a> SIP/2.0<o:p></o:p></p><p class=MsoNormal>Via: SIP/2.0/UDP 192.168.200.131:5060;branch=z9hG4bK20611e3b<o:p></o:p></p><p class=MsoNormal>Max-Forwards: 70<o:p></o:p></p><p class=MsoNormal>Route: <<a href="sip:192.168.200.148;lr;received=sip:87.198.223.83:16070">sip:192.168.200.148;lr;received=sip:87.198.223.83:16070</a>><o:p></o:p></p><p class=MsoNormal>From: "Unknown" <<a href="sip:Unknown@192.168.200.131">sip:Unknown@192.168.200.131</a>>;tag=as1b6a0faf<o:p></o:p></p><p class=MsoNormal>To: <<a href="sip:1333@192.168.200.112:5062">sip:1333@192.168.200.112:5062</a>><o:p></o:p></p><p class=MsoNormal>Contact: <<a href="sip:Unknown@192.168.200.131:5060">sip:Unknown@192.168.200.131:5060</a>><o:p></o:p></p><p class=MsoNormal>Call-ID: <a href="mailto:7f8ed5ea7a147f2b61269df862af7fae@192.168.200.131:5060">7f8ed5ea7a147f2b61269df862af7fae@192.168.200.131:5060</a><o:p></o:p></p><p class=MsoNormal>CSeq: 102 OPTIONS<o:p></o:p></p><p class=MsoNormal>User-Agent: FPBX-2.11.0(13.10.0)<o:p></o:p></p><p class=MsoNormal>Date: Fri, 22 Jul 2016 15:31:27 GMT<o:p></o:p></p><p class=MsoNormal>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></p><p class=MsoNormal>Supported: replaces, timer, path<o:p></o:p></p><p class=MsoNormal>Content-Length: 0 <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Gerry Kernan</span></b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal><span lang=NL style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><img border=0 width=172 height=51 id="Picture_x0020_3" src="cid:image001.jpg@01D1E43B.2F6DE670" alt="cid:image001.jpg@01D105A5.2701B0E0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Infinity IT   |   17 The Mall   |   Beacon Court   |   Sandyford   |   Dublin D18 E3C8   |   Ireland<o:p></o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Tel:  +353 - (0)1 - 293 0090   |   E-Mail:  </span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;mso-fareast-language:EN-IE'><a href="mailto:gerry.kernan@infinityit.ie">gerry.kernan@infinityit.ie</a><b><span style='color:red'><o:p></o:p></span></b></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'><o:p> </o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'>Managed IT Services<u>       </u>Infinity IT</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>- </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.infinityit.ie/"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.infinityit.ie</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'>IP Telephony<u>                    </u>Asterisk Consulting</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.asteriskconsulting.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.asteriskconsulting.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FF8A15;mso-fareast-language:EN-IE'>Contact Centre<u>                </u>Total Interact</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FFC000;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.totalinteract.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.totalinteract.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>