atefsaeed2010 / datacard

Automatically exported from code.google.com/p/datacard
Other
0 stars 1 forks source link

не работает ussd #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ОС ubuntu server 9.10 x32
asterisk 1.6.2.16.1
Версия datacard 185

Посылаю ussd команду datacard ussd 000101 *100#, чтобы 
узнать балланс на Мегафоне. В ответ получаю

[Jun 14 17:51:47] WARNING[1268]: channel.c:3956 set_format: Unable to find a 
codec translation path from 0x1 (g723) to 0x40 (slin)
[Jun 14 17:51:47] WARNING[1268]: res_musiconhold.c:302 ast_moh_files_next: 
Unable to open file '/var/lib/asterisk//mohmp3//QuajiroPromo': No such file     
   or directory
[Jun 14 17:51:47] WARNING[1268]: channel.c:3956 set_format: Unable to find a 
codec translation path from 0x1 (g723) to 0x40 (slin)
[Jun 14 17:51:47] WARNING[1268]: res_musiconhold.c:302 ast_moh_files_next: 
Unable to open file '/var/lib/asterisk//mohmp3//TristeAlegriaPromo': No such    
    file or directory

Устройство 000101 в системе присутствует
sterisk*CLI> datacard show device 000101

 Current device settings:
------------------------------------
  Device                  : 000101
  Context                 : from-gsm
  Language                :
  Group                   : 1
  GSM Registration Status : Registered, home network
  State                   : Free
  Voice                   : Yes
  SMS                     : Yes
  RSSI                    : 18
  Mode                    : 0
  Submode                 : 0
  ProviderName            : MegaFon RUS
  Manufacturer            : huawei
  Model                   : E1550
  Firmware                : 11.608.14.15.311
  IMEI                    : 352445044208982
  IMSI                    : 250024123473096
  Number                  : Unknown
  Use CallingPres         : Yes
  Default CallingPres     : Presentation Allowed, Passed Screen
  Use UCS-2 encoding      : Yes
  USSD use 7 bit encoding : Yes
  USSD use UCS-2 decoding : No
  Location area code      : A91
  Cell ID                 : 9ED8
  Auto delete SMS         : Yes
  Disable SMS             : Yes

Original issue reported on code.google.com by lexx....@gmail.com on 14 Jun 2011 at 6:27

GoogleCodeExporter commented 9 years ago
Please migrate to http://code.google.com/p/asterisk-chan-dongle 

In your case finish ussd@from-gsm with Hangup, no not execute rest of dialplan 
for incoming ussd

Original comment by bg_...@mail.ru on 4 Aug 2011 at 11:33