<div dir="ltr">Dear All,<br><br>I'm trying to strip + from dialed number that hit the OpenSIPS server, after that I'm using carrierroute that read from database all routes and send the call to the appropriate GW...The issue that the number is sent with the + to the destination GW so i need you to help me please...<br>
<br>The DialPlan is as below:<br><br>if($rU =~ "^[+].*" )<br>{<br> strip(1);<br> if(!cr_route("default", "0", "$rU", "$rU", "call_id")){<br><br> sl_send_reply("403", "Not allowed");<br>
} else {<br> t_on_failure("1");<br> # Relay the request to the gateway<br> t_relay();<br><br> }<br><br><br>Regards<br><br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style></div>