<html><head></head><body bgcolor="#FFFFFF"><div>You can have multiple rules in the profile. Just change the wildcard "<span class="Apple-style-span" style><sip:(.*)@(.*)>" to match the subnet of the ip phones making the call (after the @), or the external number mask (before the @) and change the Remote-Party-ID for each rule to match what you what to send for each respective site.</span><br>
<br><div><br></div>Sent from an Apple iOS device with very tiny touchscreen input keys. Please excude my typtos.</div><div><br>On Apr 18, 2012, at 10:39 AM, Nick <<a href="mailto:csvoip@googlemail.com">csvoip@googlemail.com</a>> wrote:<br>
<br></div><div></div><div><div>Hi All</div><div> </div><div>I've got some sip-profiles configured within CUBE to modify the Diversion header that fixes Call Foward issues, i was having with Verizon SIP trunks in the UK, now we have had Ireland added to the same SIP trunks, however they are not UK and in Europe so i have to use the Irish number to modity the diversion header to get the call working. My issue is i'm not sure how to write the sip-profiles to accommadate both countries, the following is what I have configured, however I also need to add <a href="mailto:35312560800@10.62.254.5">35312560800@10.62.254.5</a> into the diversion header for the Irish calls.</div>
<div> </div><div>voice class sip-profiles 1<br>no request INVITE sip-header Diversion modify "<sip:(.*)@(.*)>" "<<a href="mailto:sip%3A442036150000@10.62.254.5">sip:442036150000@10.62.254.5</a>>"<br>
no request INVITE sip-header Remote-Party-ID modify "<sip:anonymous@(.*)>" "<<a href="mailto:sip%3A442036150000@10.62.254.5">sip:442036150000@10.62.254.5</a>>"<br></div><div>anyone got any ideas?</div>
<div> </div><div>Regards</div><div> </div><div>Nick</div>
</div><div><span>_______________________________________________</span><br><span>cisco-voip mailing list</span><br><span><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></span><br><span><a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br>
</div></body></html>