Genesys Engage on-premises

 View Only

Discussion Thread View
  • 1.  Early media, is it possible only for calls to a specific number?

    Posted 12-20-2018 08:32
    Hi,

    we need to implement SIP early media in order to charge only when the call is connected to an agent (all treatments including music in queue must be toll free).
    I read in the documentation that the parameter sip-early-dialog-mode to 1 on the Trunk DN. The problem is that we must implement early media only for one service, but the Trunk DN is used for all incoming calls.
    What would you suggest? Do you have some experiences to share?

    Thanks
    Giovanni
    #SIP/VolP

    ------------------------------
    Giovanni Laino
    Lutech S.p.A.
    ------------------------------


  • 2.  RE: Early media, is it possible only for calls to a specific number?

    Posted 12-20-2018 09:20
    The easiest way to do this is to clone your current inbound trunk and then add the following:

    prefix=<Number>
    enable-100-rel=true
    sip-early-media=true

    That trunk will only be selected when that specific number receives an INVITE message, either inbound or outbound. 

    -Ivan





  • 3.  RE: Early media, is it possible only for calls to a specific number?

    Posted 12-20-2018 09:42
    Thanks Ivan,

    however "prefix" parameter works only for outbound calls, not for inbound calls

    ------------------------------
    Giovanni Laino
    Lutech S.p.A.
    ------------------------------



  • 4.  RE: Early media, is it possible only for calls to a specific number?

    Posted 12-20-2018 10:30
    Trunk selection and device selection are two separate processes. Give it a shot and see if the sip server will prefer the new trunk over the old one on inbound.

    Device Selection Procedure
    SIP Server makes its selection from the pool of compatible devices in the 
    following order of descending priority:
    1. "Prefix match"
    2. "Current availability"
    3. "Partition-id parameter"
    4. "Geo-location attribute"
    5. "Cpd-capability parameter"
    6. "Priority attribute"
    7. "Percentage of used capacity"
    8. "Round-robin"
    Prefix match SIP Server first narrows the pool of devices by matching the prefix option as 
    defined on the DNs. SIP Server chooses the longest match possible. For 
    example, if SIP Server finds some devices with a prefix of 90 and other devices 
    with a prefix of 900, SIP Server narrows the pool to those devices that have the 
    longer prefix of 900.
    Current availability SIP Server further narrows the pool to those devices that are currently in 
    service. For example, if the maximum capacity for the device has been 
    reached, or if the device has been marked as temporarily unavailable, SIP 
    Server does not consider the device. 
    Partition-id
    parameter
    SIP Server uses the partition-id parameter to select a service based on the 
    partition to which the call belongs.
    Geo-location
    attribute
    Services that have the same geo-location as the target are preferred over all 
    others. If no matching geo-location is found, or if no geo-location is configured

    -Ivan






  • 5.  RE: Early media, is it possible only for calls to a specific number?

    Posted 12-29-2018 18:54
    Hi Giovanni,
    Start from 8.1.102.25, SIPServer support charge-type extension key, you can add ExtensionUpdate['charge-type','1'] in your inbound routing strategy.

    Shawn Wu
    esoon, China

    ------------------------------
    Shawn DT Wu
    DataTool Hong Kong Limited
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources