Giter Club home page Giter Club logo

asterisk-chan-dongle's People

asterisk-chan-dongle's Issues

ERROR[2321]: app.c:113 app_send_sms_exec: [dongle0] Invalid destination number with id (nil)

What steps will reproduce the problem?
1. Executing extension:
exten => sms,n,DongleSendSMS(dongle0, "+7xxxxxx1130", "Hello how are you, 
Danila?", 1440, yes)
(the real phone number is hidden)

What is the expected output? What do you see instead?
Sending SMS to a phone number is expected

What version of the product are you using? On what operating system?
chan_dongle-1.1.r2, ubuntu 10.10 desktop

Please provide any additional information below.
The error is:
[Jun  6 15:46:04] ERROR[2321]: app.c:113 app_send_sms_exec: [dongle0] Invalid 
destination number with id (nil)

Sending SMS via "dongle sms dongle0 +7xxxxxx1130 Hello, it's a test message" 
from CLI works fine.
I'm not using any Huawei modem - ZTE MF112 instead. May be it is the reason... 
But successful sending from CLI gives a clue that it's not the point. Please, 
help me understand the reason of this ERROR. Is this a bug?

Thanks,
Matthew.

Original issue reported on code.google.com by [email protected] on 6 Jun 2011 at 8:52

E171 ussd timeout

Hello.

dongle1      0     Free       17   0    0       TELE2          E171       
11.126.85.01.143  35480704376xxxx  25020300457xxxx  Unknown

asterisk*CLI> dongle ussd dongle1 *105#
[dongle1] USSD queued for send with id 0xed1130
[Jul 13 11:47:50] NOTICE[4482]: at_response.c:267 at_response_ok: [dongle1] 
Successfully sent USSD 0xed1130
 [dongle1] Got USSD type 5 'Network time out': ''


This modem use 7bit encoding for ussd, to fix it i use following code 
(at_response.c):

---
static int at_response_cgmm (struct pvt* pvt, const char* str)
{
  ast_copy_string (pvt->model, str, sizeof (pvt->model));

  if (!strcmp (pvt->model, "E1550") || !strcmp (pvt->model, "E1750") || !strcmp (pvt->model, "E160X") || !strcmp (pvt->model, "E150") || !strcmp (pvt->model, "E173") || 
!strcmp(pvt->model, "E171")
     )
  {
    pvt->cusd_use_7bit_encoding = 1;
    pvt->cusd_use_ucs2_decoding = 0;
 }

return 0;
}

----
!strcmp(pvt->model, "E171") - added by me


Original issue reported on code.google.com by [email protected] on 13 Jul 2011 at 8:34

Can't install chan_dongle

 autoconf && automake -a
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1816: AC_CANONICAL_TARGET is expanded from...
autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1816: AC_CANONICAL_TARGET is expanded from...
autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level
automake: no `Makefile.am' found for any configure output

CentOS

This is after compiling the latest autoconf2.63
asterisk 1.8

Original issue reported on code.google.com by [email protected] on 21 Jun 2011 at 5:23

discovery not show imsi

when  configured device(s) try find w/o imsi 

What steps will reproduce the problem?
1.
start dongle module with 
one absent autodetected device dongle1 but w/o imsi but with imei

[dongle1]
imei=XXX
imsi=

2. c

3.  result miss imsi row

4. dongle stop now dongle1 and wait 30 seconds

5. repeat dongle1
result contain imsi


What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 30 Jun 2011 at 7:39

CMGS ID in manager/cli - delivery reports

What steps will reproduce the problem?
1. Send a message through the manager
2. Send a message through cli

What is the expected output? What do you see instead?
Asterisk ID of the message and the CMGS ID given.

What version of the product are you using? On what operating system?
r3, ubuntu x86, asterisk 1.8

Please provide any additional information below.
Once the message is queued ( read the ok from the smstext ) the message is also 
given an id from the dongle itself that can be later united with the alert ( 
delivery report ) to see if a message was delivered.

Would be nice to see that CMGS ID in the manager response ( and cli ). Also 
would be useful for chan_dongle to report the cmgs id that was delivered ( or 
not delivered ) upon a delivery message !

Thanks in advance,
  Adrian

Original issue reported on code.google.com by [email protected] on 13 May 2011 at 11:27

Unable to send SMS to short numbers

What steps will reproduce the problem?
1. By sending SMS to any short numbers like 999 not in the format of 
international number.

What is the expected output? What do you see instead?

I need to subscribe to a package by sending a single letter like 'k' to the 
number like 999 of provider and in reply I must receive a pin code sent by the 
provider. But I see the following error message

[dongle-1] Error sending SMS message 0x892cfe8.

What version of the product are you using? On what operating system?

Modem: E1550
Asterisk: 1.6.2.18
Debian: 4.3.2-1.1
Kernel: 2.6.36.4

Please provide any additional information below.

I have attached 32 modems E1550 to the single box and it is not possible for me 
to subscribe to a package remotely by sending SMS to short number.

Adding this feature will be great thing. If this feature is not available yet.

Original issue reported on code.google.com by [email protected] on 24 Jul 2011 at 7:51

small typo

Typo fix.

Original issue reported on code.google.com by ky6uk.kun on 30 Jun 2011 at 5:47

Attachments:

[SMS Inbound] When i write more then 160 letter, the sms ar not readable...

What steps will reproduce the problem?
1. SMS Inbound 
2. When i write more then 160 letter, the sms ar not readable...
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Debian 6 
Kernel 2.6.32-5-686

Model K3520     
Firmware 11.314.21.31.00  

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Jun 2011 at 12:28

ussd warning

при отправке USSD появляется другое 
предупреждение:
[Jun 19 20:16:45] NOTICE[2355]: at_response.c:267 at_response_ok: [E1550mega] 
Successfully sent USSD 0x7fc6a4000bc0
 [E1550mega] Got USSD type 0 'USSD Notify': '65.18 p.
Безлим. интернет Простой за 350р/мес. 
Тел.0500912(раздел6)'
[Jun 19 20:16:49] WARNING[2355]: channel.c:1045 ast_best_codec: Don't know any 
of 0x0 (nothing) formats

Asterisk 1.8.3.3
2.6.38.8-32.fc15.x86_64
chan_dongle trunk

Original issue reported on code.google.com by [email protected] on 19 Jun 2011 at 11:42

p:MTS UKR

"DIAL(Dongle/p:" not work for provider names that contain space symbol.

    -- AGI Script Executing Application: (DIAL) Options: (Dongle/p:MTS)
[Jul 19 01:35:58] WARNING[82208]: channel.c:44 parse_dial_string: Can't 
determine destination in chan_dongle
[Jul 19 01:35:58] WARNING[82208]: app_dial.c:2196 dial_exec_full: Unable to 
create channel of type 'Dongle' (cause 88 - Incompatible destination)
  == Everyone is busy/congested at this time (1:0/0/1)

Original issue reported on code.google.com by [email protected] on 18 Jul 2011 at 10:38

K3765 Hangs on status:Dialing

chan_dongle hangs with state "Dialing", even it can place the call.
No voice / apps can be activated on the call. Modem hangs.
Later, only recovery is to reset, even sometimes it can not recover.

ttyUSB0 and ttyUSB1 is realized by the kernel.
ttyUSB0 can communicate using AT commands (data is working)

AT commands work fine with misc. settings and respond well.


Things stuck at chan_dongle.c line:1201

I`ve tried using kmod-huawei-voice module. Nothing changed.

modem seems to be unlocked and voice enabled from chan_dongle. 
Even checked with dc-unlock. 

------
System information :
Kernel : 2.6.37.6 #3 SMP, x86_64 Intel i7 (default slackware 13.37 x64 bundled 
kernel) 
Asterisk : 1.6.2.19 (compiled from source with ./configure)
usb_modeswitch : 1.1.8 (with data)
chan_dongle : chan_dongle-1.1.r2
Huawei : K3765
Firmware : 11.126.03.10.00

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 1:37

not able to send sms after upgrading to asterisk 1.8.4

What steps will reproduce the problem?
1. standard dongle sms command
2.
3.

What is the expected output? What do you see instead?
[dongle0] Error sending SMS message

What version of the product are you using? On what operating system?
1.1 r2 dongle,
asterisk 1.8.4
centos 5.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 May 2011 at 1:21

Error parsing incoming message

Get error 
[Jul  2 16:46:48] WARNING[470]: at_response.c:1204 at_response_cmgr: [dongle0] 
Error parsing incoming message '+CMGR: 0,,149
07919730071111F10414D0D9B09B5CC637DFEE721E0008117020616444617E041A043E0434002004
3F043E04340442043204350440043604340435043D0438044F003A00200036003900320037002E00
20041D0438043A043E043C04430020043D043500200441043E043E04310449043004390442043500
2C002004320432043504340438044204350020043D0430002004410430043904420435002E' at 
possition 49: Can't parse OA

But can parse  using this site 
http://twit88.com/home/utility/sms-pdu-encode-decode
You can find java script code in attachements

> dongle show version
chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 7
Project Home: http://code.google.com/p/asterisk-chan-dongle
Bug Reporting: http://code.google.com/p/asterisk-chan-dongle/issues/list

PS I already use code in sms :))

Original issue reported on code.google.com by [email protected] on 2 Jul 2011 at 1:07

  • Merged into: #14

Attachments:

can't indicate condition 22

После одновременного смены ОС, перехода на 
Asterisk 1.8.3.3 и chan_dongle из trunk появилось 
предупреждение:

    -- SIP/99-0000001f answered Dongle/E1750mega-0100000005
[Jun 19 20:07:44] WARNING[8318]: channel.c:986 channel_indicate: 
[Dongle/E1750mega-0100000005] Don't know how to indicate condition 22
[Jun 19 20:07:45] WARNING[8318]: translate.c:162 framein: no samples for 
alawtolin

What version of the product are you using? On what operating system?
Asterisk 1.8.3.3
2.6.38.8-32.fc15.x86_64

Original issue reported on code.google.com by [email protected] on 19 Jun 2011 at 11:40

Sound disappear in one way in call

What steps will reproduce the problem?
1. Dial via dongle from local extension to some number.
2. Remote party accept call, all good for now but just before called party 
pressed any dialpad button which generate DTMF
3. From that moment - sound from called pary disappear but just in one 
direction. i.e called party still heard sound from caller.

What is the expected output? What do you see instead?
I've expect just normal dtmf beeps on both sides :)

What version of the product are you using? On what operating system?
chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 2
Centos 5.5
Linux 2.6.36 #1 SMP
Asterisk 1.8.4.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 May 2011 at 2:35

Hangup asterisk

Sometimes asterisk eat 50-100% of CPU 
and  dongle show devices show uncomplete list first time 
and none second 

I found one thread in channel_read() blocked on read() system call 
and many other waiting for device mutex.




Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 8:52

incoming sms message with utf8 (üöä...)

What steps will reproduce the problem?
1. if received sms with utf8 letter (üöä)
2.
3. "temm ä lol ü lol ö lol"

What is the expected output? What do you see instead?
[dongle0] Got SMS from +4917XXXXXX47: 'temm { lol ~ lol | lol '
    -- Executing [sms@dongle-incoming:1] Set("Local/sms@dongle-incoming-ffcd;1", "sms=temm { lol ~ lol | lol ") in new stack
[Jun  6 15:40:55] WARNING[1294]: pbx.c:1355 pbx_exec: The application delimiter 
is now the comma, not the pipe.  Did you forget to convert your dialplan?  
(Set(sms=temm { lol ~ lol | lol ))
    -- Auto fallthrough, channel 'Local/sms@dongle-incoming-ffcd;1' status is 'UNKNOWN'


What version of the product are you using? On what operating system?
Debian 6 
Kernel 2.6.32-5-686

Model K3520     
Firmware 11.314.21.31.00     
Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 6 Jun 2011 at 1:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.