<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Chris,<br>
<br>
Could also post a dump of the content of dr_xxxx tables ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 01/18/2012 09:45 AM, Christopher Dye wrote:
<blockquote
cite="mid:9B43CBC8EBC0234FA63FE0D4EDB6F609010994E31F@exch-mailbox01.msp.paragon.lcl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Futura Md BT";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello All,<o:p></o:p></p>
<p class="MsoNormal"> I’ve been posing this
question in IRC, but haven’t had any luck with a lead… <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> I’m trying to setup
DRouting and I think I’m really close, but for some reason
when I get into my drouting subroute (in this case route[4])
it matches from a row in the database on the first try, but
continues to loop through that subroute up to 32 additional
times before starting to throw errors. I’ll attach a snippet
here to illustrate:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:core:parse_headers: flags=10<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:core:parse_to_param: tag=as3cde8572<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:core:parse_to: end of header
reached, state=29<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:core:parse_to:
display={"username_of_caller"},
ruri={<a class="moz-txt-link-freetext" href="sip:username_of_caller@address_of_caller">sip:username_of_caller@address_of_caller</a>}<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: using dr group
0<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:internal_check_rt: found
rgid 0 (rule list 0xa741465c)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[4] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: CRITICAL:core:eval_expr: too many
expressions (101)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: WARNING:core:do_action: error in
expression (l=387)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: CRITICAL:core:eval_expr: too many
expressions (101)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: WARNING:core:do_action: error in
expression (l=391)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DEBUG: >>>BEGIN: route[1] Block
--><o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: CRITICAL:core:eval_expr: too many
expressions (101)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: WARNING:core:do_action: error in
expression (l=369)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: CRITICAL:core:eval_expr: too many
expressions (101)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: WARNING:core:do_action: error in
expression (l=372)<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: setting GW attr
[] as for ruri<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: setting GW id
[1] as avp<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: setting RULE id
[3] as avp<o:p></o:p></p>
<p class="MsoNormal">Jan 18 01:39:06 core01
/sbin/opensips[8489]: DBG:drouting:do_routing: setting the gw
[0] as ruri
<a class="moz-txt-link-rfc2396E" href="sip:NXXNXXNXXX@address_of_gateway_from_mysql">"sip:NXXNXXNXXX@address_of_gateway_from_mysql"</a> <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It continues, then, to loop through my
first subroute (the same number of times as route[4] hits) and
then dies… One important thing to note is that if I throw an
xlog() the line after the do_routing() call, it doesn’t fire
between the loops… the looping seems to happen within the
function…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">An ngrep packet capture reveals that there
is a copy of the INVITE sent to the gateway for every one of
the attempts. The gateway responds after the flood with a
“500: Server Error”, which is ironically correctly forwarded
back to the caller address (so the record_route() seems to be
working). <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My subroute is as follows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">route[4] {<o:p></o:p></p>
<p class="MsoNormal"> #log that we're trying dynamically
at least<o:p></o:p></p>
<p class="MsoNormal"> xlog("DEBUG: >>>BEGIN:
route[4] Block -->\n");<o:p></o:p></p>
<p class="MsoNormal"> if (!do_routing("0")) {<o:p></o:p></p>
<p class="MsoNormal"> xlog("!do_routing: No Rules
matching the URI\n");<o:p></o:p></p>
<p class="MsoNormal"> send_reply("503", "No Rules
matching the URI");<o:p></o:p></p>
<p class="MsoNormal"> exit;<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> if (is_method("INVITE")) {<o:p></o:p></p>
<p class="MsoNormal"> t_on_failure("4");<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> route(1);<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There seems to be precedence for this
problem as I found a pastebin containing the exact same issue
from Feb 17, 2011 – but no resolution was discernible…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I apologize in advance if this isn’t the
proper forum for this question, but I’m getting desperate to
get this working and didn’t know where else to go.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in Advance,<o:p></o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
<p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:chris.dye@paragon.net">chris.dye@paragon.net</a><span
style="font-size: 6pt; font-family: "Futura Md
BT"; color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
</body>
</html>