Acme Packet (MOSC)

MOSC Banner

change value of header parameter

edited Sep 10, 2013 7:02PM in Acme Packet (MOSC) 4 commentsAnswered ✓

 

 

 

Hi,

I need to modify the contact line from this:

 

 '<sip:5034730570@172.16.240.115:5060;tgrp=dealer1;trunk-context=adpcloudlab.com;transport=udp>'

 

To this:

 

 '<sip:5034730570;tgrp=dealer1;trunk-context=adpcloudlab.com@172.16.240.115:5060;transport=udp>'

 

 

I can store, delete, and recall the uri-host and uri-port values w/o a problem.

 

I can't seem to do much with the trunk context parameter.  I tried setting it's value with:

 

element-rule
        name                           write_trunk_context
        parameter-name                 trunk-context
        type                           header-value
        action                         replace
        match-val-type                 any
        comparison-type                case-sensitive
        match-value                    
        new-value                      $fixContact.$store_hdr_prm_name.$0+"="+$fixContact.$store_trunk_context_value.$2+"@+$fixContact.$store_host.$0+:"+$fixContact.$store_port.$0

 

But none of the non-uri values were used:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center