SIP AoC Feature: how to compose the XML body

Hi,

I have managed to generate a SIP INFO message starting from a RequestPrivateService for the Advice of Charge functionality, but I cannot find useful information on what to insert in the Body MIME part of the SIP message? Does anyone has experience on this?

Thanks
Regards
Giovanni

Cannot say that have experience with that but in IRD in Macro sections there is predefined macro RequestPrivateService_AOC.
Probably some info can be taken from looking at it.

Vague memories of this here:

http://genesysguru.com/blog/blog/2013/11/17/sending-a-sip-info-message-from-a-genesys-ird-strategy/

Cannot find the macro pointed out by Terry in my IRD, which version are you using?

I saw the post on genesysguru (which was extremely helpful, thanks) but as Body part it sets up varData=998000000000
I tried using this but the IMS is giving me back an error “Unuspported Media Type”, so I think that this body part cannot be applicable in my scenario.

In regards of IRD - 8.1.4 (8.1.400.22)
But basically it is looks like

Parameters:
AOC_destination_DN,immediateChangeOfActuallyAppliedTariff,delayUntilStart,addOnChargePulse,networkIdentification,referenceID

Definition:

Prepare XML body for AOC (insert parameters into XML template)

Always → Push[StrFormat[‘~s~s~s~s~s’,immediateChangeOfActuallyAppliedTariff,delayUntilStart,addOnChargePulse,networkIdentification,referenceID]]

Prepare Extension for Private Service message

AOC_destination_DN!=‘’ → Push[StrFormat[‘extensions.AOC destination DN:~s|extensions.Content-Type:application/vnd.esti.sci+xml|extensions.Content-Disposition:render ; handling=optional|extensions.Body:~s’,AOC_destination_DN,Pop]]
AOC_destination_DN=‘’ → Push[StrFormat[‘extensions.Content-Type:application/vnd.esti.sci+xml|extensions.Content-Disposition:render ; handling=optional|extensions.Body:~s’,Pop]]
#Send request
Always → SendRequest[149, StrFormat[‘thisdn:~s|connid:~s|105:3018|~s’,Dest,ConnID,Pop]]

Thanks Terry,

I installed the version suggested and found the macro.

Thanks for your kind help!

Best regards
Giovanni