<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 14 (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: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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Courier New \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
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";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {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: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]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Dear bogdan,<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'>Thanks for you ,my problem been solved <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'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>khaled<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Bogdan-Andrei Iancu [mailto:bogdan@opensips.org] <br><b>Sent:</b> Wednesday, May 22, 2013 2:12 PM<br><b>To:</b> M.Khaled W Chehab<br><b>Cc:</b> 'OpenSIPS users mailling list'<br><b>Subject:</b> Re: [OpenSIPS-Users] Do_Routing problem<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>Kaled,</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>You need to pay a bit of attention on what you are doing and try to understand things - simply throeing some lines into the script, without being consistent, will not make your script work and simply waste our time here.</tt><br><br><tt>So, one more time:</tt><br><br><tt>1) the drouting "modparams" I gave you were correlated with the AVP names in the xlogs I gave you.</tt><br><br><tt>2) In your post, the output of the xlog line with "Destinations are" is missing </tt><br><br><tt>Regards,</tt><br><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre><a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre><p class=MsoNormal><br>On 05/21/2013 10:03 PM, M.Khaled W Chehab wrote: <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>I set in dr_rules #lebanon as a carrier route to terminate the rule that match 777961 ,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Please find below the output for your script </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>loadmodule "drouting.so"</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "db_url", "virtual://set1") # CUSTOMIZE ME</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "use_domain", 1)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drd_table", "dr_gateways")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drr_table", "dr_rules")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drg_table", "dr_groups")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drc_table", "dr_carriers")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drg_user_col", "username")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drg_domain_col", "domain")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "drg_grpid_col", "groupid")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "force_dns", 1)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>#frequency of probing per paramete in seconds</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "probing_interval", 120)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "probing_method", "OPTIONS")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "probing_from", <a href="sip:pinger@opensips">"sip:pinger@opensips"</a>)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "probing_reply_codes", "487")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>#501, 403,404,</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "use_domain", 1)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "gw_attrs_avp", '$avp(gw_attrs)')</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "gw_id_avp", '$avp(gw_id)')</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting", "rule_attrs_avp", '$avp(rule_attrs)')</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'> </span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","ruri_avp", "$avp(dr_ruri)")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","rule_id_avp", "$avp(dr_rule)")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","rule_attrs_avp", "$avp(dr_rule_attrs)")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","rule_prefix_avp", "$avp(dr_rule_prefix)")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","carrier_id_avp", "$avp(dr_cr)")</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='color:windowtext'>modparam("drouting","carrier_attrs_avp", "$avp(dr_cr_attrs)")</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>GW IDs are : <null> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>GW ATTRs are : <null> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>CR IDs are : Lebanon, Lebanon, Lebanon, Lebanon, </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>CR ATTRs are : , , , , </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>RULE: id=104, , attrs=0, , prefix=777961, </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><table class=MsoNormalTable border=0 cellpadding=0 style='background:whitesmoke;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><thead><tr><td colspan=3 valign=top style='background:#D3DCE3;padding:1.2pt 6.0pt 1.2pt 6.0pt;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60&goto=tbl_structure.php&display_options_form=1&display_text=F&token=4c290d9fc747fadbbb216f2d571c00ef"><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";text-decoration:none'><img border=0 width=50 height=20 id="Picture_x0020_3" src="cid:image001.png@01CE5730.3747EB70" alt="Description: Full Texts"></span></b></a><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60id%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>id</span></a></span></b><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60carrierid%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>carrierid</span></a></span></b><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60gwlist%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>gwlist</span></a></span></b><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60flags%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>flags</span></a></span></b><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60attrs%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>attrs</span></a></span></b><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(211, 220, 227)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=SELECT+%2A+FROM+%60dr_carriers%60+ORDER+BY+%60dr_carriers%60.%60description%60+ASC&token=4c290d9fc747fadbbb216f2d571c00ef" title=Sort><span style='text-decoration:none'>description</span></a></span></b><o:p></o:p></p></td></tr></thead><tr><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><a href="http://5.104.224.33/phpmyadmin/tbl_change.php?db=opensips&table=dr_carriers&where_clause=%60dr_carriers%60.%60id%60+%3D+14&clause_is_unique=1&sql_query=SELECT+%2A+FROM+%60dr_carriers%60&goto=sql.php&token=4c290d9fc747fadbbb216f2d571c00ef"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";text-decoration:none'><img border=0 width=16 height=16 id="Picture_x0020_2" src="cid:image002.png@01CE5730.3747EB70" alt="Description: Edit"></span></a><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal align=center style='margin:1.2pt;text-align:center'><a href="http://5.104.224.33/phpmyadmin/sql.php?db=opensips&table=dr_carriers&sql_query=DELETE+FROM+%60opensips%60.%60dr_carriers%60+WHERE+%60dr_carriers%60.%60id%60+%3D+14&zero_rows=The+row+has+been+deleted&goto=sql.php%3Fdb%3Dopensips%26table%3Ddr_carriers%26sql_query%3DSELECT%2B%252A%2BFROM%2B%2560dr_carriers%2560%26zero_rows%3DThe%2Brow%2Bhas%2Bbeen%2Bdeleted%26goto%3Dtbl_structure.php%26token%3D4c290d9fc747fadbbb216f2d571c00ef&token=4c290d9fc747fadbbb216f2d571c00ef"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";text-decoration:none'><img border=0 width=16 height=16 id="Picture_x0020_1" src="cid:image003.png@01CE5730.3747EB70" alt="Description: Delete"></span></a><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal align=right style='margin:1.2pt;text-align:right'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>14</span><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal style='margin:1.2pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Lebanon</span><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal style='margin:1.2pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Dahdah_JVS,Bics,IDT,Snell_93</span><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal align=right style='margin:1.2pt;text-align:right'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>0</span><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal style='margin:1.2pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p></td><td valign=top style='padding:1.2pt 6.0pt 1.2pt 6.0pt;background:rgb(255, 204, 153)'><p class=MsoNormal style='margin:1.2pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p></td></tr><tr><td width=49 style='width:36.75pt;padding:0in 0in 0in 0in'></td><td width=37 style='width:27.75pt;padding:0in 0in 0in 0in'></td><td width=37 style='width:27.75pt;padding:0in 0in 0in 0in'></td><td width=35 style='width:26.25pt;padding:0in 0in 0in 0in'></td><td width=73 style='width:54.75pt;padding:0in 0in 0in 0in'></td><td width=207 style='width:155.25pt;padding:0in 0in 0in 0in'></td><td width=51 style='width:38.25pt;padding:0in 0in 0in 0in'></td><td width=48 style='width:.5in;padding:0in 0in 0in 0in'></td><td width=92 style='width:69.0pt;padding:0in 0in 0in 0in'></td></tr></table><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>And the problem still exists, please advice</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Regards</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color -moz-use-text-color'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Bogdan-Andrei Iancu [<a href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br><b>Sent:</b> Tuesday, May 21, 2013 8:00 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Cc:</b> M.Khaled W Chehab<br><b>Subject:</b> Re: [OpenSIPS-Users] Do_Routing problem</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>Hello,</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br></span><tt><span style='font-size:10.0pt'>You can check what do_routing() set (as GWs to be used) by adding this in your script (just after do_routing):</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br></span><tt><span style='font-size:10.0pt'> xlog("Destinations are: $ru $(avp(dr_ruri)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'> xlog("GW IDs are : $(avp(dr_gw)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'> xlog("GW ATTRs are : $(avp(dr_gw_attrs)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'> xlog("CR IDs are : $(avp(dr_cr)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'> xlog("CR ATTRs are : $(avp(dr_cr_attrs)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'> xlog("RULE: id=$(avp(dr_rule)[*]), attrs=$(avp(dr_rule_attrs)[*]), prefix=$(avp(dr_rule_prefix)[*]) \n");</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br></span><tt><span style='font-size:10.0pt'>Be sure you have these params set:</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","ruri_avp", "$avp(dr_ruri)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","gw_id_avp", "$avp(dr_gw)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","gw_attrs_avp", "$avp(dr_gw_attrs)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","rule_id_avp", "$avp(dr_rule)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","rule_attrs_avp", "$avp(dr_rule_attrs)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","rule_prefix_avp", "$avp(dr_rule_prefix)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","carrier_id_avp", "$avp(dr_cr)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br></span><tt><span style='font-size:10.0pt'>modparam("drouting","carrier_attrs_avp", "$avp(dr_cr_attrs)")</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br></span><tt><span style='font-size:10.0pt'>Regards,</span></tt><span style='font-size:10.0pt;font-family:"Courier New ;","serif"'><br><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre><a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre><p class=MsoNormal><br>On 05/21/2013 06:17 PM, M.Khaled W Chehab wrote: <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 am using opensips 1.8.3<o:p></o:p></p><p class=MsoNormal>I set three gateways in carrier route , the call always go to the 1st and jump to third gateway and ignores the second<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Moreover I can see in debug level 4 , <o:p></o:p></p><p class=MsoNormal>DBG:drouting:push_gw_for_usage: adding gw [gw1] in order 0 adding gw [gw2] in order 1 adding gw [gw3] in order 3<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>But using wireshark I can just see the invite to the first and the third <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Please advice<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre><pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre></div></body></html>