" /> Simple Outbound SMS not working - Genesys CTI User Forum

Author Topic: Simple Outbound SMS not working  (Read 3845 times)

Offline Campfire

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 0
  • If you must blink, do it now.
Simple Outbound SMS not working
« on: December 30, 2016, 06:26:10 AM »
Advertisement
Hi,

I have a problem with simple outbound SMS [using genesys outbound sample strategy].

Getting below error in the RequestPrivateService:

request to 65204(--) message RequestPrivateService
AttributeReferenceID 146
AttributeExtensions [22] 00 01 01 00..
'ReferenceID' 145
AttributeConnID 3b570295efc35010
AttributeThisDN 'asl_Sample_SMS_Strategy'
AttributePrivateMsgID 6
..sent to <host>:6130(fd=736)
06:10:48.721_I_I_3b570295efc35010 [09:05] >>>>>>>>>>>>resume interp(0), func:RequestService
    _I_E_3b570295efc35010 [09:05] error in strategy: 0013 Remote error (RequestService)
    _I_I_3b570295efc35010 [09:04] ASSIGN: __DBReturn(SCRIPT) <- STRING[2,14]: "return:timeout"
    _I_I_3b570295efc35010 [0E:17] HERE IS ROUTE_DIRECT


message getting updated in UCS as sent but it is not. I assume there is problem with my strategy although it is very simple and straight forward. Could someone please help?

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Simple Outbound SMS not working
« Reply #1 on: December 30, 2016, 08:01:42 AM »
How much time passed between request was sent and strategy was continued (with error)?
Does URS has option service_timeout and if yes what is it value?

Offline Campfire

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 0
  • If you must blink, do it now.
Re: Simple Outbound SMS not working
« Reply #2 on: December 30, 2016, 09:22:26 AM »
30 seconds difference.

request sent at 4:23:37.892 and strategy resumed at 4:24:07:893

URS service_timeout value is set to 30
« Last Edit: December 30, 2016, 01:07:13 PM by sureshcitece »

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Simple Outbound SMS not working
« Reply #3 on: December 31, 2016, 07:11:32 AM »
Unlikely it is strategy - URS doesn't get responce back not positive, not negative for 30+ sec. Better to check logs of Ixn servers, sms, etc.

Offline Campfire

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 0
  • If you must blink, do it now.
Re: Simple Outbound SMS not working
« Reply #4 on: January 03, 2017, 12:15:32 PM »
I noticed the below disconnection in channel [sms server log] and not sure if its relevent:

2017-01-03T11:27:16.939 Trc 42202 [CC] (PU channel-smsmms-opensmpp-paging.proc_Expired_TI_Outb_Request): <TID EspRefId:41> sendTi ...
BY '(channel-smsmms-opensmpp-paging.ExpnQueue)', TO 'EspPU', TOPIC '<TO>', CTRL false
Ti [TI_Outb_Response 'EspRefId:41', CREATED 11:26:16.908, TIMEOUT no] [PARENT no]...
  TD_Message [name= <esp-request>, channel= channel-smsmms-opensmpp-paging, inbRoute= null, rqstId= null, msgId= null, created= <undef>, from= null, to= null, text= 'null']...
  TD_Result [errCode= 920, errDescr= l[b]ost connection with channel channel-smsmms-opensmpp-paging[/b], attachedData= <skipped>]
2017-01-03T11:27:16.939 Trc 42213 [PU] (EspPU).(OrdnQueue).(run): retrieved Ti [TI_Outb_Response 'EspRefId:41', CREATED 11:26:16.908, TIMEOUT no]
2017-01-03T11:27:16.939 Std 50003 sendAsynchFaultResponse sent:
'Event3rdServerFault' (502) attributes:
Request [bstr] = KVList:
'Version' [str] = "1.0"
'Service' [str] = "SMS"
'Method' [str] = "SendSMSoutT1"
'AppName' [str] = "esv_SMSserver"
'Parameters' [lst] = KVList:
'_umsRequestId' [str] = "<null>"
'_umsErrorCode' [int] = 920
'_umsErrorDescr' [str] = "lost connection with channel channel-smsmms-opensmpp-paging"
'FaultCode' [str] = "920"
'FaultString' [str] = "lost connection with channel channel-smsmms-opensmpp-paging"
ReferenceId [int] = 41
2017-01-03T11:27:19.017 Trc 42201 (PU channel-smsmms-opensmpp-paging.checkChannelState): changing channel connection state, primaryRunMode(now)= true, mediaConnected= false
2017-01-03T11:27:19.017 Trc 43003 (channel-smsmms-opensmpp-paging).(oSmpp.connect): called while bConnectedAndBound=false, isPrimaryExecutionMode=true, shutdownRequested=false
2017-01-03T11:27:19.017 Std 43000 (channel-smsmms-opensmpp-paging).(oSmpp.unbindAndClose): unbinding...
2017-01-03T11:27:19.017 Trc 43003 (channel-smsmms-opensmpp-paging).(oSmpp.openAndBind): prepared transmitter bind request= (bindreq: (pdu: 0$D_Len 2$H_CmdId 0$H_CmdSts 1821$D_SeqN) XXXXXXXX XXXXXXX XXXXX 52 (addrrang: 0 0 ) )
2017-01-03T11:27:29.314 Trc 42303 [PU] (channel-smsmms-opensmpp-paging).(OrdnQueue).(run): Version (server 8.5.101.18, channel-API 8.5.000.03)
Processed TIs (total 1, since-last-report 0). Queue-sizes (MAX 300, ordn 2, ctrl 0, wait 0, expr 0). JVM file.encoding= Cp1252, memory-MB (free 1523, total 2036, max 2036). active-threads (sys 103, main 99, proc 64)
2017-01-03T11:27:37.970 Std 43011 (channel-smsmms-opensmpp-paging).(oSmpp.openAndBind): exception caught and processed...

Offline n3vek7

  • Full Member
  • ***
  • Posts: 137
  • Karma: 3
    • ITKB
Re: Simple Outbound SMS not working
« Reply #5 on: January 03, 2017, 05:08:39 PM »
Is there an EventError in IXN Server?
If it fails, you may want to use the red port of the send SMS box in your strategy to send this failed sms ixn to a workbin and send a retry each 5 minutes for example.
Also, make sure the timeout option for SMS Server is configured.

Ref: https://docs.genesys.com/Documentation/Options/Current/ES/SMSServer-channel-any_name_for_sms

Offline Campfire

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 0
  • If you must blink, do it now.
Re: Simple Outbound SMS not working
« Reply #6 on: January 04, 2017, 09:21:09 AM »
looks like the problem is with third party now after corrections made on sms server,  third party respond as successful but it is not delivered to customer. will post if anything interesting comes up.

Thanks guys..

Offline n3vek7

  • Full Member
  • ***
  • Posts: 137
  • Karma: 3
    • ITKB
Re: Simple Outbound SMS not working
« Reply #7 on: January 04, 2017, 08:34:34 PM »
[quote author=sureshcitece link=topic=10047.msg45610#msg45610 date=1483521669]
looks like the problem is with third party now after corrections made on sms server,  third party respond as successful but it is not delivered to customer. will post if anything interesting comes up.

Thanks guys..
[/quote]

activate the delivery report, you'll know what happened with the sms :)

Offline Campfire

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 0
  • If you must blink, do it now.
Re: Simple Outbound SMS not working
« Reply #8 on: January 05, 2017, 10:47:31 AM »
Delivery report is enabled but the problem is _umsFromAddr is null and third party does not know about it and hence there is a problem [third party sends delivery report and genesys has an exception with the option above]. Genesys need to say if thats really required or not. Raised case with genesys.