<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - smpp gateway</title>
    <link>https://forums.adobe.com/community/coldfusion/coldfusion_event_gateways?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sat, 06 Aug 2011 16:20:35 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2011-08-06T16:20:35Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: smpp gateway</title>
      <link>https://forums.adobe.com/message/3844886?tstart=0#3844886</link>
      <description>&lt;!-- [DocumentBodyStart:479a77da-4698-413e-8705-06c95fa12214] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;blockquote class="jive-quote"&gt;&lt;pre&gt;&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;Yes delivery reciepts, i spoke to my provider and they think coldfusion is
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;getting confused with the reponses they send back, they send the messageid in
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;1 response, the status in another and "something else" in another.which i
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;dont have to hand at the min.
&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;the messageID comes back synch, immediately. the delivery receipt depends on 
their network &amp;amp; of course on the receiver, maybe they will return the receipt, 
maybe not.

if your vendor is standard, the&amp;nbsp; receipt comes back as a "regular" SMS except 
the CFEvent.Data.esmClass is 4 (vs 0 for "normal" SMS &amp;amp; 64 for multipart SMS). 
you have to parse that message to get the receipt (but you probably know that).

&lt;/pre&gt;&lt;blockquote class="jive-quote"&gt;&lt;pre&gt;&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;the "something else" causes errors in my logs which forces the connection to
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;be reset
&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;why are they sending &lt;strong class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;*&lt;/span&gt;anything else&lt;span class="moz-txt-tag"&gt;*&lt;/span&gt;&lt;/strong&gt;?

&lt;/pre&gt;&lt;blockquote class="jive-quote"&gt;&lt;pre&gt;&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;The provider thinks coldfusion is expecting an id and they may send the
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;"something else" so coldfusion trys to convert the response to an id but cant
&lt;span class="moz-txt-citetags"&gt;&amp;gt; &lt;/span&gt;and error.
&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;no idea what "something else" is or why they'd be sending it. if it's an error, 
cf knows that as long as your vendor is standard. if it's clearly a string, cf 
just passes that on to your onIncomgMessage() method where you can deal with it.

did you ask them about the format of the ID?


&lt;/pre&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:479a77da-4698-413e-8705-06c95fa12214] --&gt;&lt;img src='/beacon?t=1415919588535' /&gt;</description>
      <pubDate>Sat, 06 Aug 2011 09:35:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/3844886?tstart=0#3844886</guid>
      <dc:date>2011-08-06T09:35:52Z</dc:date>
      <clearspace:dateToText>3 years 3 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: smpp gateway</title>
      <link>https://forums.adobe.com/message/3844940?tstart=0#3844940</link>
      <description>&lt;!-- [DocumentBodyStart:38c9df5d-5842-4cfc-8200-9ada91b64be2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Paul,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Yes delivery reciepts, i spoke to my provider and they think coldfusion is getting confused with the reponses they send back, they send the messageid in 1 response, the status in another and "something else" in another.which i dont have to hand at the min.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the "something else" causes errors in my logs which forces the connection to be reset&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The provider thinks coldfusion is expecting an id and they may send the "something else" so coldfusion trys to convert the response to an id but cant and error.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;let me know what you think.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:38c9df5d-5842-4cfc-8200-9ada91b64be2] --&gt;</description>
      <pubDate>Sat, 06 Aug 2011 09:16:28 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/3844940?tstart=0#3844940</guid>
      <dc:date>2011-08-06T09:16:28Z</dc:date>
      <clearspace:dateToText>3 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: smpp gateway</title>
      <link>https://forums.adobe.com/message/3844882?tstart=0#3844882</link>
      <description>&lt;!-- [DocumentBodyStart:e20514a4-adba-4895-b7fa-ae4547484db1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;On 8/5/2011 8:34 PM, craig_mac said:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote" level="1"&gt;&lt;p&gt;i am not sure what i causing this out of 3000 sms sent 200 had no status&lt;/p&gt;&lt;p&gt;returned and 60 had no message id, any ideas how i can debug or solve this i&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;what does "no status returned" mean? no delivery receipt? does your SMS vendor &lt;/p&gt;&lt;p&gt;return hex IDs (you won't be able to tell from the IDs as cf will try to convert &lt;/p&gt;&lt;p&gt;them to decimal)? if so there's a bug w/cf's hex-to-decimal conversion, see:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=86928" rel="nofollow"&gt;http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=86928&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;no IDs returned depends on your SMS vendor. for the ones i've dealt with it, &lt;/p&gt;&lt;p&gt;often means they couldn't send the SMS because of an issue w/the phone number, &lt;/p&gt;&lt;p&gt;the network, etc. there should be an entry in the event gateway log for those.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e20514a4-adba-4895-b7fa-ae4547484db1] --&gt;</description>
      <pubDate>Sat, 06 Aug 2011 08:40:17 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/3844882?tstart=0#3844882</guid>
      <dc:date>2011-08-06T08:40:17Z</dc:date>
      <clearspace:dateToText>3 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>smpp gateway</title>
      <link>https://forums.adobe.com/message/3842874?tstart=0#3842874</link>
      <description>&lt;!-- [DocumentBodyStart:b7275e31-a559-4393-bf59-86623cb11f2d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi i am having some problems with the smpp gateway which are&lt;/p&gt;&lt;ol&gt;&lt;li&gt;some message id are not coming back to me&lt;/li&gt;&lt;li&gt;lots of statuses are not coming back to me&lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;i am not sure what i causing this out of 3000 sms sent 200 had no status returned and 60 had no message id, any ideas how i can debug or solve this i have attached my cfg file.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;#&lt;br/&gt;# SMSGateway configuration file&lt;br/&gt;# Test server config&lt;br/&gt;#&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# This is the IP address of SMSC&lt;br/&gt;ip-address=sms1.cardboardfish.com&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Port to bind to&lt;br/&gt;port=8000&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Your system id&lt;br/&gt;system-id=my_username&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Your password&lt;br/&gt;password=my_password&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The source address for this client&lt;br/&gt;source-ton=5&lt;br/&gt;source-npi=0&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# This is a made-up address&lt;br/&gt;source-address=5551213&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The address range this smpp client will serve&lt;br/&gt;# Generally the same as your source address&lt;br/&gt;addr-ton=5&lt;br/&gt;addr-npi=0&lt;br/&gt;address-range=5551213&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Message sending rate; how many messages per second is the&lt;br/&gt;# gateway allowed to send to your service provider.&amp;nbsp; &lt;br/&gt;# This can be a decimal (i.e. 0.1). 0 is unlimited.&lt;br/&gt;# The default is 100 messages per second.&lt;br/&gt;message-rate=100.0&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The mode of the gateway; Either synchronous or asynchronous&lt;br/&gt;# In synchronous mode the gateway will wait for the response&lt;br/&gt;# from the server when sending a message and the SendGatewayMessage()&lt;br/&gt;# CFML function will return the SMS messageID of the message&lt;br/&gt;# or an empty string if their is an error.&amp;nbsp; In asynchronous mode,&lt;br/&gt;# the gateway will not wait for a response and the SMS messageID&lt;br/&gt;# will NOT be returned from SendGatewayMessage().&lt;br/&gt;# The default is synchronous.&lt;br/&gt;mode=synchronous&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Should the gateway retry delivery on Network Errors?&lt;br/&gt;# If a network error occurs while trying to deliver a message,&lt;br/&gt;# should the message be queued for delivery when the gateway&lt;br/&gt;# is able to re-bind to the SMSC.&amp;nbsp; This is useful if the gateway&lt;br/&gt;# is in asynchronous mode, where no error status is returned from&lt;br/&gt;# the CFML SendGatewayMessage() function.&lt;br/&gt;# The default is no.&lt;br/&gt;network-retry=no&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Should the gateway retry delievery on Transient Errors?&lt;br/&gt;# If an error is returned from the SMSC that indicates&lt;br/&gt;# the message may be able to be delivered in the future,&lt;br/&gt;# should the gateway attemp to resend send the message?&lt;br/&gt;# This is useful if the gateway is in asynchronous mode,&lt;br/&gt;# where no error status is returned from the CFML &lt;br/&gt;# SendGatewayMessage() function.&lt;br/&gt;# The default is no.&lt;br/&gt;transient-retry=no&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;##################################################&lt;br/&gt;# Everything below here is usually OK.&lt;br/&gt;##################################################&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The function in the Gateway CFC which the is called&lt;br/&gt;# when an incoming message arrives.&lt;br/&gt;#&lt;br/&gt;cfc-method=onIncomingMessage&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The default destination address info&lt;br/&gt;destination-ton=1&lt;br/&gt;destination-npi=1&lt;br/&gt;# You can't have a default destination&lt;br/&gt;# destination-address=&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;# The service type can be empty or one of&lt;br/&gt;# the following values:&lt;br/&gt;# CMT, CPT, VMN, VMA, WAP or USSD&lt;br/&gt;# service-type=&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# From the spec:&lt;br/&gt;# Identifies the type of system requesting the bind.&lt;br/&gt;# This may enable SMSC responses which are&lt;br/&gt;# particular to a given type of ESME.&lt;br/&gt;system-type=SMPP&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The receive timeout is a timeout for trying to receive a message&lt;br/&gt;# from the SMSC. If you want go to infinite wait until a PDU&lt;br/&gt;# is received, set the receive-timeout to -1. &lt;br/&gt;# The value is in seconds.&amp;nbsp; The default is 30 seconds.&lt;br/&gt;receive-timeout=10&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The ping interval is how often the SMS Gateway will send an&lt;br/&gt;# EnquireLink PDU to the server to verify the health of the connection.&lt;br/&gt;# The value is in seconds.&amp;nbsp; The default is 60 seconds.&lt;br/&gt;ping-interval=60&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# The number of connection attempts the gateway will make until it gives up.&lt;br/&gt;# Use -1 to retry until connected.&amp;nbsp; The default is -1 (try forever).&lt;br/&gt;retries=-1&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Connection retry interval; how long to wait between connection attemps.&lt;br/&gt;# The value is in seconds.&amp;nbsp; The default is 10 seconds.&lt;br/&gt;retry-interval=10&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b7275e31-a559-4393-bf59-86623cb11f2d] --&gt;</description>
      <pubDate>Fri, 05 Aug 2011 13:30:00 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/3842874?tstart=0#3842874</guid>
      <dc:date>2011-08-05T13:30:00Z</dc:date>
      <clearspace:dateToText>3 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

