[asterisk-dev] Asterisk disconnect active connection when SMS is arriving

Eugen Konkov kes-kes at yandex.ru
Wed May 2 15:36:13 CDT 2012


Hi, Is there any workaround for this problem?
when I call some user from softophone via dongle and sms is arriving
current connection is disconnected.

I found related issue,
http://code.google.com/p/asterisk-chan-dongle/issues/detail?id=51
But in my case Huawai 1550 do not halt and I no need to plug/unplug it.
Just current conversation is broken and I need to redial.

this is my log in asterisk console
   == Spawn extension (dialout_sip, 00380982188615, 3) exited non-zero
on 'SIP/vv-00000041'
[May  2 18:15:01] ERROR[70324]: chan_dongle.c:433 do_monitor_phone: 
[datacard0] timedout while waiting '+CMGR' in response to 'AT+CMGR'
     -- [datacard0] Dongle has disconnected
     -- [datacard0] Trying to connect on /dev/cuaU0.2...
     -- [datacard0] Dongle has connected, initializing...
[May  2 18:15:03] ERROR[70324]: chan_dongle.c:433 do_monitor_phone: 
[datacard0] timedout while waiting 'OK' in response to 'AT'
     -- [datacard0] Error initializing Dongle
     -- [datacard0] Dongle has disconnected
     -- [datacard0] Trying to connect on /dev/cuaU0.2...
     -- [datacard0] Dongle has connected, initializing...
     -- [datacard0] Dongle initialized and ready
fastvpn*CLI>


[May  2 18:16:13] WARNING[70324]: channel.c:982 channel_indicate:
[Dongle/datacard0-0100000175] Don't know how to indicate condition 22
[May  2 18:16:13] WARNING[70324]: channel.c:982 channel_indicate: 
[Dongle/datacard0-0100000175] Don't know how to indicate condition 22
     -- SIP/vv-00000042 is ringing
[May  2 18:16:22] WARNING[70324]: channel.c:982 channel_indicate: 
[Dongle/datacard0-0100000175] Don't know how to indicate condition 22
     -- SIP/vv-00000042 answered Dongle/datacard0-0100000175

     -- Executing [+380988073153 at dialin_sim:9]
Dial("Dongle/datacard0-010000017a", "SIP/vv,15") in new stack
     -- Called SIP/vv
[May  2 19:04:04] WARNING[70324]: channel.c:982 channel_indicate: 
[Dongle/datacard0-010000017a] Don't know how to indicate condition 22
[May  2 19:04:04] WARNING[70324]: channel.c:982 channel_indicate: 
[Dongle/datacard0-010000017a] Don't know how to indicate condition 22
     -- SIP/vv-00000045 is ringing
   == Spawn extension (dialin_sim, +380988073153, 9) exited non-zero on
'Dongle/datacard0-010000017a'
     -- Executing [h at dialin_sim:1] System("Dongle/datacard0-010000017a", 
"echo "dialin_sim h Конец разговора 'CANCEL'\n" >> /e/asterisk/1") in 
new stack
     -- Executing [h at dialin_sim:2] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:3] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:4] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:5] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:6] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:7] Set("Dongle/datacard0-010000017a", 
"AnswerType=3") in new stack
     -- Executing [h at dialin_sim:8] System("Dongle/datacard0-010000017a", 
"/e/kesut/auto/call_logger.pl "2012-05-02 19:03:58" "+380631875599" 1 3 
2 "Dongle/datacard0-010000017a" ") in new stack
[May  2 19:05:32] ERROR[70324]: chan_dongle.c:433 do_monitor_phone: 
[datacard0] timedout while waiting '+CMGR' in response to 'AT+CMGR'
     -- [datacard0] Dongle has disconnected
     -- [datacard0] Trying to connect on /dev/cuaU0.2...
     -- [datacard0] Dongle has connected, initializing...
     -- [datacard0] Dongle initialized and ready

sms storage in dongle and SIM are emptyed before calling.








More information about the asterisk-dev mailing list