[Freeswitch-users] ussd on gsmopen

Dmitry Lysenko dvl36.ripe.nick at gmail.com
Mon Jun 23 08:46:21 MSD 2014


Hm... It's working for me. Freeswitch v1.2.24
----
freeswitch at internal> chat SMS|gsm01|ussd|*111#
Sent
2014-06-23 07:35:56.924309 [DEBUG] mod_gsmopen.cpp:2305 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2305 ][none      ][-1,-1,-1]
chat_send(proto=global, from=gsm01, to=ussd, subject=(null), body=*111#,
hint=NULL)
2014-06-23 07:35:56.924309 [DEBUG] mod_gsmopen.cpp:2338 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2338 ][none      ][-1,-1,-1]
chat_send(proto=global, from=gsm01, to=ussd, subject=SIMPLE MESSAGE,
body=*111#, hint=gsm01)
2014-06-23 07:35:56.924309 [DEBUG] mod_gsmopen.cpp:2346 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2346 ][gsm01     ][-1, 1, 0]
Using interface: globals.GSMOPEN_INTERFACES[1].name=|||gsm01|||
2014-06-23 07:35:56.924309 [DEBUG] gsmopen_protocol.cpp:3135 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  3135 ][gsm01     ][-1, 1, 0]
gsmopen_ussd: *111#
2014-06-23 07:35:57.024304 [DEBUG] gsmopen_protocol.cpp:2227 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2227 ][gsm01     ][-1, 1, 0]
sending: AT+CUSD=1,"AA582C3602",15
2014-06-23 07:35:57.064306 [DEBUG] gsmopen_protocol.cpp:734 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  734  ][gsm01     ][-1, 1, 0]
Read line 0: |OK| la_counter=1
2014-06-23 07:35:57.064306 [DEBUG] gsmopen_protocol.cpp:1729 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  1729 ][gsm01     ][-1, 1, 0]
got OK
2014-06-23 07:35:59.084317 [DEBUG] gsmopen_protocol.cpp:734 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  734  ][gsm01     ][-1, 1, 0]
Read line 0: |+CUSD: 0,"CE30481E46D7DDEBBA0E0473C162A0B3DCED02",15|
la_counter=1
2014-06-23 07:35:59.084317 [DEBUG] gsmopen_protocol.cpp:1527 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  1527 ][gsm01     ][-1, 1, 0]
|+CUSD: 0,"CE30481E46D7DDEBBA0E0473C162A0B3DCED02",15| USSD received
2014-06-23 07:35:59.084317 [DEBUG] gsmopen_protocol.cpp:2661 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2661 ][gsm01     ][-1, 1, 0]
iso_8859_1_in=Na rahunku: 0.01 grn.
2014-06-23 07:35:59.084317 [DEBUG] gsmopen_protocol.cpp:2686 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  2686 ][gsm01     ][-1, 1, 0]
 strlen(iso_8859_1_in)=21, iconv_res=0,  inbuf=�@, inleft=0, out=,
outleft=977, utf8_out=Na rahunku: 0.01 grn.
2014-06-23 07:35:59.084317 [NOTICE] gsmopen_protocol.cpp:1580 rev
543dc3c|65bc765[(nil)|37     ][NOTICA  1580 ][gsm01     ][-1, 1, 0] USSD
received: status=0, message='Na rahunku: 0.01 grn.', dcs='15'
2014-06-23 07:35:59.084317 [DEBUG] mod_gsmopen.cpp:3768 rev
543dc3c|65bc765[(nil)|37     ][DEBUG_GSMOPEN  3768 ][gsm01     ][-1, 1, 0]
received USSD on interface gsm01: TEXT=Na rahunku: 0.01 grn.|
2014-06-23 07:35:59.084317 [INFO] mod_sms.c:336 Processing text message
ussd->gsm01 in context default
Chatplan: gsm01 parsing [default->demo] continue=false
Chatplan: gsm01 Regex (PASS) [demo] to(gsm01) =~ /^(.*)$/ break=on-false
Chatplan: gsm01 Action send()


---------- Forwarded message ----------
From: Shlomi Agiv <shlomi.agiv at cell-buddy.com>
Date: 2014-06-22 10:54 GMT+03:00
Subject: Re: [Freeswitch-users] ussd on gsmopen
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>


ussd send logs:

<skiped>

received: status=0, message=' just a ussd message', dcs='15'
2021-12-11 14:15:47.034751 [DEBUG] mod_gsmopen.cpp:2933 rev 1.4.6~32bit
[(nil)|37     ][DEBUG_GSMOPEN  2933 ][gsm01     ][-1, 0, 0] received USSD
on interface gsm01: TEXT= just a ussd message|



On Thu, Jun 19, 2014 at 10:44 AM, Shlomi Agiv <shlomi.agiv at cell-buddy.com>
wrote:

> (moved from a different thread)
>
> I get an issue with ussd - sending ussd always returns the text "just a
> ussd message" whatever i send
>
> Anyone encounter that?
>
> Thanks,
> Shlomi
>
>
>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140623/55837047/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list