I actually do this with the dialplan module right now.. seems to be working well.. For some reason, I wsa getting a "500 Overlapping requests" error when I first did this.. Changed the regex and it seems to be happy now.. We'll see..<div>
Thanks,</div><div>Brett</div><div><br><br><div class="gmail_quote">On Sun, Jun 28, 2009 at 1:18 PM, Iņaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2009/6/26 Brett Nemeroff <<a href="mailto:brett@nemeroff.com">brett@nemeroff.com</a>>:<br>
<div><div></div><div class="h5">> All,<br>
> I've got a customer that is sending me calls with an RURI like this:<br>
> sip:13155551207;npdi=yes;rn=<a href="mailto:13155550000@1.2.3.4">13155550000@1.2.3.4</a><br>
><br>
> when I use anything that parses the RURI like $rU, it shows<br>
> $rU=sip:131555551207;npdi=yes;rn=13155550000<br>
> Which is exactly everything from sip: to the first @ sign. The customer<br>
> isn't able to change this RURI (it's coming from their downstream)<br>
> What can I do to properly have $rU parse this up?<br>
<br>
</div></div>That SIP URI seems to come from a TEL conversion. However the URI<br>
username is "13155551207;npdi=yes;rn=13155550000". An user shouldn't<br>
send such an username to a server expecting that the server will drop<br>
after the ";" in the username.<br>
<br>
If you want to parse it, I would use a substitution by deleting all<br>
the content after the first ";" in the RURI username using AVPOPS.<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Iņaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</font></blockquote></div><br></div>