Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 2 days ago

    In both of our existing Genesys Cloud Tenants we integrate with a BYOC SIP Carrier, who we have worked with for many years. This has extended from our legacy Genesys Engage platforms, to the Genesys Cloud platform we use actively today.

    Prior to today, the support for platform Geolocation was not available to us, and as a result there was a single BYOC SIP Trunk that was established in both Cloud tenants.

    Today, thanks to the fact that our carrier now has now introduced multi-location resiliency, we now have the ability to integrate with more than one BYOC SIP Trunk, allowing for a location resiliency integrating back to both of our Genesys Cloud tenants

    However it introduced an issue that was not identified before today, where in the event that a SIP Trunk is taken Out of Service, in our case enabling us to validate Trunk failover, the results returned to a Carrier is a SIP 403 (Forbidden) response code, after which the carrier terminates the call. This would make sense, if it was an Access denial, however is not logical, for a trunk that is simply configured to be unavailable "at the moment".

    I must emphasize that the ONLY time this happens is when the Trunk is manually taken Out Of Service, within the configuration of that specific SIP Trunk.

    Is there a way that this can be altered the response code to be a more appropriate SIP Response, specifically when a Trunk is manually configured to be Out of Service??

    Under normal circumstances, and specifically using something that is closer to a Standard SIP call handling, I would expect that a SIP Error 503 (Service Unavailable) would be returned to the Carrier, rather than SIP 403.

    The question is therefore what is needed, to enable a more appropriate approach to SIP Call Rejection, when a Trunk has been manually disabled.


    #Telephony

    ------------------------------
    Catelyn Hearne
    ------------------------------


  • 2.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service
    Best Answer

    Posted 2 days ago

    Hi Catelyn

    I found the following on the resource center where you can limit the maximum number of calls and also configure the max calls reason code.

    You could enable this and make the max concurrent calls on the test trunk to 0 which will then not allow any calls.

    https://help.genesys.cloud/articles/configure-maximum-call-settings/

    Not sure if this might help.  Hopefully someone else in the community has additional ideas on how to best achieve this.

    Regards



    ------------------------------
    Stephan Taljaard
    EMBEDIT s.r.o
    ------------------------------



  • 3.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 2 days ago

    Hi Catelyn

    I'm wondering why you need to change disabled the trunk?

    Stephan idea is interesting, I believe it could work.



    ------------------------------
    Kaio Oliveira
    GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM

    PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
    ------------------------------



  • 4.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 2 days ago

    Hi Kaio,

    Thanks for your reply. This is a valid question... The reason however is quite simple.

    It is in order to ensure that the delivery of calls fails over to the secondary SIP Trunk, in the event of connectivity or delivery failures.

    The simplest way to emulate this was to take a Trunk Out of Service, or simply make the trunk disappear by altering its Termination Identifier to something other than its mutually agreed value.

    Sadly, and happily for that matter, we cannot plan connectivity level outages that are distinct to a single IP Subnet, which will be the key reason for such failures occurring in the first place. This, in part is due to those same SIP messages being delivered to the same Genesys Edge Server stack, while using the same internet connectivity services.

    What was discovered, when we DID take a trunk Out of Service, was that SIP 403 events were returned to the carrier, which is the reason for this discussion being raised.

    Thanks again for your mesage,

    Catelyn



    ------------------------------
    Catelyn Hearne
    ------------------------------



  • 5.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 2 days ago

    Hi Stephan,

    Thankyou for your message. In theory, you may be on the right track, however from the reasoning I have stated with Kiao, this was not the intent of the query.

    What you refer to is limiting the number of calls that are transacting via a single SIP Trunk, where a SIP 603 (Decline) event would be raised, indicating the trunk is unavailable to new SIP transactions.

    The query that I was raising was around the SIP Events that were raised when a Trunk was deliberately taken out of service, so to emulate its unavailability.

    This was needed to be able to test and ensure that call delivery failover to our secondary Trunk would work, should a call delivery failures be experienced on the Primary Trunk.

    What was NOT expected was that a SIP 403 would be returned to the carrier, which indicates a permission related issue, rather than Delivery Denial, similar to SIP 603 Denial events.

    I am hoping this makes sense...

    Thanks again,

    Catelyn



    ------------------------------
    Catelyn Hearne
    ------------------------------



  • 6.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted yesterday

    Good Day Catelyn

    Thank you for the explanation.  Unfortunately I am not aware of any additional configuration where this can be changed on Genesys.  According to my understanding from the information available on resource center, the 403 error returned when the trunk is taken out of service is normal behavior.

    Do you have an SBC device between your SIP provider and Genesys or do they connect directly to cloud?  Reason I'm asking is that this might be something that can be achieved on an SBC device.  Alternatively, is it not possible for the SIP provider to treat 403 errors as retryable error codes?  Perhaps the SIP provider can simulate this and do the failover routing on their side if possible.

    Hopefully someone else in the community has some other ideas that might help.

    Regards



    ------------------------------
    Stephan Taljaard
    EMBEDIT s.r.o
    ------------------------------



  • 7.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 13 hours ago

    Hi Stephan,

    Thanks again for your input.

    Sadly, no this is a Genesys Cloud solution, where the Genesys hosted Edge Servers are playing host to all BYOC Trunks. As such alternate SBC capability not open to us...

    Yes, your suggestion makes perfect sense. Unfortunately it is not an option at this point...

    I am however VERY KEEN to obtain Genesys thoughts here, as quite frankly, I see this as a Genesys related issue, but not specifically a Genesys Fault, in a literal sense... However SIP 404 or SIP 403 are certainly NOT the responses that would be expected, under SIP delivery standards...

    But then again, MOST "standards" are seen by SOME as guidelines... :-)

    Never the less, the conversation has been exceedingly supportive, and appreciated...

    Cheers,

    Catelyn



    ------------------------------
    Catelyn Hearne
    ------------------------------



  • 8.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 12 hours ago

    Hi Catelyn

    This is noted, thank you for the additional information.  Hopefully someone else in the community has some additional insights that might help.

    Have a great day.

    Regards



    ------------------------------
    Stephan Taljaard
    EMBEDIT s.r.o
    ------------------------------



  • 9.  RE: Issue around unexpected SIP Response received when Trunk is taken Out of Service

    Posted 12 hours ago

    Be aware that Genesys is not sending SIP Keepalives to check if a trunk is up or down. As a result, if you have configured two trunks as ordered list in the outbound routes, and the first trunk is not reachable (no response), it waits until a timeout occures, before trying the next trunk in the list.
    See IDEA TEL-I-244 "SIP OPTIONS messages for higher availability with BYOC Cloud" for more information



    ------------------------------
    Andreas Tikart
    Senior Application Engineer
    ------------------------------