Abstract


Support added for Late Offer on VoIP/SIP Outbound Calls in Blueworx Voice Response level 6.1.0.509.


Content


Support for Late Offer on VoIP/SIP Outbound Calls in Blueworx Voice Response is available via two options:


  1. A new configuration option "Late Offer on Outbound Calls" has been added to the "Voip SIP Signalling" configuration panel.
    If set to yes then no SDP will be provided on the outgoing INVITE request associated with an outgoing call. If set to no (the default) then the behaviour will be unchanged for outgoing calls and SDP will be attached to outgoing INVITE requests. The configuration option controls the behaviour for all outbound calls.
  2. Application control of a late offer via the new "LATE_OFFER" SIP tag.
    The configuration option described above can be overridden on an individual outbound call basis by the use of the new "LATE_OFFER" SIP tag. This tag can be set to "YES" or "NO". If set to "YES" then no SDP will be provided on the outgoing INVITE request associated the call. If set to "NO" SDP will be attached to outgoing INVITE requests.


Note, in the case of SIP attended transfer when an outbound call is made as part of the transfer operation, the configuration setting and the "LATE_OFFER" tag setting will affect the provisioning of SDP in the outgoing INVITE request as described above.


State table code snippet setting "LATE_OFFER" to "NO" prior to MakeCall action:


AssignData(SV541, "PUT_TAG", "LATE_OFFER", "NO");


CCXML code snippet setting "LATE_OFFER" to "YES" to trigger outbound call when ccxml file is loaded:


<transition event="ccxml.loaded" name="evt">
    <log expr="'[ccxml.loaded] start start.createcall.ccxml'"/>
    <var name="outbound" expr="new Object()"/>
    <var name="outbound['LATE_OFFER']" expr="new Object()"/>
    <assign name="outbound['LATE_OFFER'].value" expr="'YES'"/>
    <createcall dest="'sip:247093@xxxxxx.hursley.blueworx.com'"
         callerid="'sip:UserWVR@9.20.54.224'" hints="outbound"/>
</transition>


VXML code snippet setting "LATE_OFFER" to "YES" on a SIP attended transfer:


<form id="transfer1">
    <script>
         setOutboundHeader('LATE_OFFER',"YES");
    </script>
    <transfer name="mycall" dest="sip:247093@xxxxxx.hursley.blueworx.com" type="consultation"  connecttimeout ="33s">
        <filled>
            <log> Transfer filled. mycall (form variable) = <value expr="mycall"/></log>
            <if cond="mycall == 'busy'">
                <log>
                    Consultation Transfer filled = busy.
                </log>
            <elseif cond="mycall == 'noanswer'"/>
                <log>
                    Consultation Transfer filled = no answer.
                </log>
            <elseif cond="mycall == 'network_busy'"/>
                <log>
                    Consultation Transfer filled = network busy.
                </log>
            <elseif cond="mycall == 'unknown'"/>
                <log>
                    Consultation Transfer filled = unknown.
                </log>
            <elseif cond="mycall == 'near_end_disconnect'"/>
                <log>
                    Consultation Transfer filled = near_end_disconnect.
                </log>
            </if>
        </filled>
    </transfer>
    <block>
        <log>  Consult Xfer </log>
        <goto next="#exit_app"/>
    </block>
</form>


For more details on the setOutboundHeader function, refer to the following URL in Knowledge Center:
http://docs.blueworx.com/BVR/InfoCenter/V6.1/help/index.jsp?topic=%2Fcom.ibm.wvraix.voip.doc%2Fusingoutboundarbitrarysipheadersinxml.html