Genesys Mobile Services Callback not Working

Hi

I am trying GMS 8.5 for testing callback service - voice-userterminated-immediate, but getting following error:

14:57:18.606 [T:4800] METRIC

Below is the request params:

14:57:18.590 [T:4800] METRIC

Kindly help.

Thanks!

can you attach or post your GMS options? hope you have followed the deployed guide completly

Post the callback service configuration - it seems you did not configure it properly

[business-attributes]
map-names=false

[cassandra]
create-embedded-server=true

[chat]
_client_timeout=30000
chat_load_balancer_url_path=file:///root/Desktop/GCTI/GMS/chat/ChatLBServerInfo.jsp
chat_load_balancer_url_path_bk=/WebAPI812/SimpleSamples812/ChatHA/ChatLBServerInfo.jsp
chat_session_request_timeout=30000
default_chat_endpoint=Environment:default

[cview]
data-validation=false
enabled=false
use-role=false

[log]
all=/root/Desktop/Logs/GMS/GMS_3.log
buffering=true
ChatService=true
ClusterService=true
DataDepotService=true
DistributedJobExecutor=true
DistributedJobQueue=true
expire=false
segment=false
SharedService=true
verbose=all

[patterns]
patterns_list_name=GMS_Patterns

[push]
android.collapseKey=<android.collapseKey>
android.gcm.apiKey=<project’s API key>
android.gcm.retryNumber=2
android.senderAccountType=
android.senderEmail=<google C2DM account name (email)>
android.senderPassword=
android.source=<android.source>
apple.keystore=
apple.keystorePassword=
defaultSubscriptionExpiration=30
httpcb.connection_timeout=<http connection timeout in secs : 5 - default>
httpcb.max_connections_per_route=<http : max connections per route, default = 20>
httpcb.max_connections_total=<http : max connections in total, default = 200>
pushEnabled=comet

[resources]
resources_list_name=GMS_Resources

[server]
external_url_base=http://192.xxx.xx.xxx:8080/
node_id=1
web_port=8080

[service.request-chat]
_chat_endpoint=Resources:default
_service=request-chat
_ttl=3600
_type=builtin

[service.request-interaction]
_resource_group=DNIS
_service=request-interaction
_ttl=30
_type=builtin

[service.voice-userterm-immediate]
_agent_availability_notification_delay=30
_agent_first_via_rp=false
_agent_preview_allow_reject=0
_agent_preview_via_rp=false
_agent_reserve_timeout=30
_agent_transfer_confirm_timeout=0
_attach_udata=single_json
_booking_expiration_timeout=30
_call_direction=USERTERMINATED
_cpd_enable=true
_dial_retry_timeout=30
_enable_disposition_dialog=false
_enable_status_notification=false
_ixn_createcall_timeout=32
_ixn_redirect_confirm=true
_max_dial_attempts=3
_max_time_to_reach_eta_pos_threshold=14160
_max_time_to_wait_for_agent_on_the_call=3600
_max_transfer_to_agent_attempts=5
_max_urs_ewt_pos_polling_interval=30
_media_type=voice
_min_urs_ewt_pos_polling_interval=2
_offer_callback=false
_plugin_on_dial_associate_ixn=true
_plugin_on_dial_invoke_on_call_failed=true
_prefix_dial_out=
_provide_code=false
_rep_userevent_enable=false
_resource_group={name of the resource pool to be used - configured under Transactions/GMS_Resources/Annex}
_route_point=18001800@SIPSwitch
_service=callback
_snooze_duration=300
_status_notification_provider=
_status_notification_target=
_status_notification_type=
_target=1007@Stat_Server.A
_treatment_call_failure_answering_machine=
_treatment_customer_connect=
_treatment_find_agent_fail=
_treatment_waiting_for_agent=
_ttl=86400
_type=ors
_urs_ewt_estimation_method=ursdial
_urs_prioritization_strategy=WaitForTarget
_urs_queued_ttl=14400
_urs_request_timeout=10
_urs_server_url=http://192.xxx.xx.xxx:7008
_urs_virtual_queue=GMS_VQ
_use_debug_push_certificate=false
_user_confirm_timeout=30
_userterminated_first_connect_party=CUSTOMER
_wait_for_agent=false

[service.voice-userterm-immediate-2]
_agent_availability_notification_delay=30
_agent_first_via_rp=false
_agent_preview_allow_reject=0
_agent_preview_via_rp=false
_agent_reserve_timeout=30
_agent_transfer_confirm_timeout=0
_attach_udata=single_json
_booking_expiration_timeout=30
_call_direction=USERTERMINATED
_cpd_enable=true
_dial_retry_timeout=300
_enable_disposition_dialog=false
_enable_status_notification=false
_ixn_createcall_timeout=32
_ixn_redirect_confirm=true
_max_dial_attempts=3
_max_time_to_reach_eta_pos_threshold=14160
_max_time_to_wait_for_agent_on_the_call=3600
_max_transfer_to_agent_attempts=5
_max_urs_ewt_pos_polling_interval=30
_media_type=voice
_min_urs_ewt_pos_polling_interval=2
_offer_callback=false
_plugin_on_dial_associate_ixn=true
_plugin_on_dial_invoke_on_call_failed=true
_prefix_dial_out=
_provide_code=false
_rep_userevent_enable=false
_resource_group={name of the resource pool to be used - configured under Transactions/GMS_Resources/Annex}
_route_point=18001800@SIPSwitch
_service=callback
_snooze_duration=300
_status_notification_provider=
_status_notification_target=
_status_notification_type=
_target=1007@Stat_Server.A
_treatment_call_failure_answering_machine=
_treatment_customer_connect=
_treatment_find_agent_fail=
_treatment_waiting_for_agent=
_ttl=86400
_type=ors
_urs_ewt_estimation_method=ursdial
_urs_prioritization_strategy=WaitForTarget
_urs_queued_ttl=14400
_urs_request_timeout=60
_urs_server_url=http://192.xxx.xx.xxx:7010/
_urs_virtual_queue=GMS_VQ
_use_debug_push_certificate=false
_user_confirm_timeout=30
_userterminated_first_connect_party=AGENT
_wait_for_agent=true

I am trying service - service.voice-userterm-immediate-2 for callback. I tried everything and am not sure where is the gap.

Kindly help!!

I followed full deployment guide and was able to successfully run -chat and inbound use case working.

While tracing call flow in logs, I do not see URS executing strategy and this is where I found this error.
In URS logs there is no execution of WaitForTarget strategy.

From customer’s perspective, it hears wait music playing but call not routing to agent.


17:20:06.843 [T:2612] METRIC <eval_expr sid=‘K1VJR3U67L1B5EKNO3N9FFH3IG000001’ expression=‘/*if (serverUrls.length <= 0) {
var ursHost = _genesys.session.getConfigOption(‘null’, “hostname”, _genesys.session.lookupseq.StartFromRouter);
var ursHttpPort = _genesys.session.getConfigOption(‘null’, “http_port”, _genesys.session.lookupseq.St…’ result=‘0’ />
17:20:06.843 [T:2612] METRIC
17:20:06.843 [T:2612] FMSessionFetchActionData::Execute: Fetch URI ‘urs/call/start’
17:20:06.843 [T:2612] ors:+OrsEvent[0x000000000bc6e0a0]:name=error.session.fetch
17:20:06.843 [T:2612] ors:+IORSSessionTask[0x000000000b839440]
17:20:06.843 [T:2612] METRIC <fm_exec_error sid=‘K1VJR3U67L1B5EKNO3N9FFH3IG000001’ action=‘http://www.genesyslab.com/modules/session’ error=‘Incorrect attribute value (method)’ />
17:20:06.843 ==>CGCLLConnector::ConnEventHandler Port=0 Proto=0 CallBack=<000000000dbc2570>
===>event: event_id=3, id=0 handle=912, datasize=24
17:20:06.843 CMLThreadSyncImpl:HandleThreadData: << 24 bytes <<
17:20:06.843 [SessionManager]: Queueing Task: [Session ID: K1VJR3U67L1B5EKNO3N9FFH3IG000001, Task: 0x000000000b839440, Deferred ACK: 0]
17:20:06.843 [T:2612] METRIC
17:20:06.843 PersistenceManager::GetSessionServerInfo calling SessionIDServerNodeResultHandler session id[K1VJR3U67L1B5EKNO3N9FFH3IG000001] pHandler[0x000000000dbcb9f0] with result(212) tdelta cache processing[0]
17:20:06.843 [ORSSessionQueueTaskCallback]: Persistence Callback: [Assigned Node: 212, Session ID: K1VJR3U67L1B5EKNO3N9FFH3IG000001] (Task: 0x000000000b839440)
17:20:06.843 OrsScxmlIoProcessor::Send - sending event to session (K1VJR3U67L1B5EKNO3N9FFH3IG000001) at this node
17:20:06.843 [T:3104] METRIC <event_queued sid=‘K1VJR3U67L1B5EKNO3N9FFH3IG000001’ name=‘error.session.fetch’ type=‘external’ />
17:20:06.843 ors:~IORSSessionTask[0x000000000b839440]
17:20:06.843 [T:2612] METRIC
17:20:06.843 [T:2612] METRIC <eval_expr sid=‘K1VJR3U67L1B5EKNO3N9FFH3IG000001’ expression=‘storeUnhandledEvent();’ result=‘undefined’ />

ok you need to create one more option under your service:

_ors = http://host of ors:ors port.

you can check the GMS documentation also it states about it.

I have added that in server section in GMS option as per Genesys documentation:


[server] Section
Modified in 8.5.107

_ors

Section: server
Default Value:
Valid Values:
Changes Take Effect: Immediately

Comma-separated list of ORS URLs.

http://host1:port1,http://host2:port2
This list will be used for all services sections and can be overridden in each service.


Tested but no luck! :frowning:

Did you configure _urs_server_url option on GMS service level?

Yes, I added this option manually while creating service as it didn’t exist otherwise.