No subject
Thu Dec 6 16:59:43 CET 2012
The name of the avp for storing the id of the current selected
gateway/destination - once a new destination is selected (via the
use_next_gw() function), the AVP will be updated with the ID of the new
selected gateway/destination.
xlog("----------------after issue 2 gw:
$avp(gw_id) ... and attrs : $avp(rule_attrs) ----------------------");
use_next_gw();
xlog("----------------before issue 2 gw:
$avp(gw_id) .. and attrs : $avp(rule_attrs) ----------------------");
debug
----------------after issue 2 gw: Snell_93 ... and attrs : 1
----------------------
----------------before issue 2 gw: <null> .. and attrs : <null>
----------------------
How to force do_routing function to store the : $avp(gw_id)after
use_next_gw();
Regards
------=_NextPart_000_0294_01CE5735.13B9A5E0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"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;}
/* 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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p =
class=3DMsoNormal>Dears<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>I am using =
opensips 1.8.3 with do_routing module <o:p></o:p></p><p =
class=3DMsoNormal>From documentation:<o:p></o:p></p><p =
class=3DMsoNormal>The name of the avp for storing the id of the current =
selected gateway/destination - once a new destination is selected (via =
the use_next_gw() function), the AVP will be updated with the ID of the =
new selected gateway/destination.<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'> &=
nbsp; &n=
bsp; xlog("----------------after issue 2 gw: =
$avp(gw_id) ... and attrs : $avp(rule_attrs) =
----------------------");<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-autospace:none'><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'> &=
nbsp; &n=
bsp; use_next_gw();<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'> &=
nbsp; &n=
bsp; xlog("----------------before issue 2 gw: =
$avp(gw_id) .. and attrs : $avp(rule_attrs) =
----------------------");<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>debug<o:p></o:p></span></p><p =
class=3DMsoNormal>----------------after issue 2 gw: Snell_93 ... and =
attrs : 1 ----------------------<o:p></o:p></p><p =
class=3DMsoNormal>----------------before issue 2 gw: <null> .. and =
attrs : <null> ----------------------<o:p></o:p></p><p =
class=3DMsoNormal>How to force do_routing function to store the <span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>: $avp(gw_id)after =
use_next_gw();<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'>Regards<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p></div></body></html>
------=_NextPart_000_0294_01CE5735.13B9A5E0--
More information about the Users
mailing list