[cisco-voip] SIP profile to modify Diversion Header

Nick Matthews matthnick at gmail.com
Wed Apr 18 12:38:30 EDT 2012


You may want to think about conditional SIP profiles as well.

This blog seems to cover it pretty well:
http://tblog.cisco.be/2011/02/17/cube-conditional-sip-profiles/

The basic idea is if you can identify calls from Ireland based on another
header (maybe the via header from the subscriber they are registered to, or
subnet in the signaling?) you can write the diversion header to be specific
to that set of headers.

-nick

On Wed, Apr 18, 2012 at 11:57 AM, Bill Talley <btalley at gmail.com> wrote:

> You can have multiple rules in the profile.  Just change the wildcard "<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.
>
>
> Sent from an Apple iOS device with very tiny touchscreen input keys.
>  Please excude my typtos.
>
> On Apr 18, 2012, at 10:39 AM, Nick <csvoip at googlemail.com> wrote:
>
> Hi All
>
> 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 35312560800 at 10.62.254.5into the diversion header for the Irish calls.
>
> voice class sip-profiles 1
> no request INVITE sip-header Diversion modify "<sip:(.*)@(.*)>" "<
> sip:442036150000 at 10.62.254.5>"
> no request INVITE sip-header Remote-Party-ID modify "<sip:anonymous@(.*)>"
> "<sip:442036150000 at 10.62.254.5>"
> anyone got any ideas?
>
> Regards
>
> Nick
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20120418/ab536784/attachment.html>


More information about the cisco-voip mailing list