dongle ussd dongle1 *544# [dongle1] USSD queued for send with id 0x221fb20 -- [dongle1] Successfully sent USSD 0x221fb20 [May 24 09:33:44] NOTICE[10025]: at_response.c:267 at_response_ok: [dongle1] Successfully sent USSD 0x221fb20 [dongle1] Got USSD type 2 'USSD Terminated by network': '' == Starting Local/ussd@cliente-00000017;1 at cliente,ussd,1 failed so falling back to exten 's' -- Executing [s@cliente:1] Set("Local/ussd@cliente-00000017;1", "CALLERID(all)=ussd") in new stack -- Executing [s@cliente:2] Dial("Local/ussd@cliente-00000017;1", "SIP/1003&SIP/1001,100,m") in new stack [May 24 09:33:46] WARNING[14054]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) == Using SIP RTP CoS mark 5 [May 24 09:33:46] WARNING[14054]: chan_sip.c:6028 sip_call: No audio format found to offer. Cancelling call to 1001 -- Couldn't call SIP/1001 == Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@cliente:3] Hangup("Local/ussd@cliente-00000017;1", "") in new stack == Spawn extension (cliente, s, 3) exited non-zero on 'Local/ussd@cliente-00000017;1' -- Executing [h@cliente:1] NoOp("Local/ussd@cliente-00000017;1", "DURACAO: ") in new stack
Em 23 de maio de 2013 16:36, Asterisk - Junior Polegato < aster...@juniorpolegato.com.br> escreveu: > Em 23-05-2013 08:50, Asterisk - Junior Polegato escreveu: > > Em 23-05-2013 06:13, Asterisk Polegato escreveu: > >> Não estou conseguindo enviar ussd para o e156b usando "dongle > >> ussd dongle0 *544#", no caso um chip pré da Claro para eu testar, > >> veja a saída do CLI no final desta mensagem. > >> [...] > > Encontrei uma solução parcial, vasculhando do chan_dongle, > > encontrei um lista de modems em at_response.c que são classificados > > como modems de 7 bits na linha 1580, aí adicionei no final dessa lista > > o E156B, vejam como ficou: > > [...] > > Agora consigo enviar e receber USSD via o E156B, contudo, não > > há no chan_dongle a conversão entre GSM e UTF-8, onde alguns > > caracteres ficam zoados. > > Vou colocar essa tabela de conversão e sugerir um patch. > > Olá! > > Fiz o patch, precisa testar agora... Para quem puder testar, > basta fazer download num mesmo diretório do chan_dongle-1.1.r14.tgz [1] > e do patch [2], extrair o chan_dongle [3], entrar no diretório extraído > [4], aplicar o patch [5] e segui os passos normais de compilação e > instalação [6], depois reiniciar o Asterisk [7] ou fazer um reload do > chan_dongle[8]: > > [1] wget > http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r14.tgz > [2] wget --no-check-certificate > http://www.juniorpolegato.com.br/chan_dongle-1.1.r14_junior_polegato.patch > [3] tar xzvf chan_dongle-1.1.r14.tgz > [4] cd chan_dongle-1.1.r14 > [5] patch -p1 < ../chan_dongle-1.1.r14_junior_polegato.patch > [6] ./configure && make && make install > [7] /etc/init.d/asterisk restart > [8] CLI> module unload chan_dongle.so > [8] CLI> module load chan_dongle.so > > Depois disso, no CLI, por exemplo, teste `dongle ussd dongle0 > *544#´. > > []'s > Junior Polegato > > _______________________________________________ > KHOMP: completa linha de placas externas FXO, FXS, GSM e E1; > Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7; > Intercomunicadores para acesso remoto via rede IP. Conheça em > www.Khomp.com. > _______________________________________________ > ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7. > Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express. > Channel Bank – Appliance Asterisk - Acesse www.aligera.com.br. > _______________________________________________ > Para remover seu email desta lista, basta enviar um email em branco para > asteriskbrasil-unsubscr...@listas.asteriskbrasil.org >
_______________________________________________ KHOMP: completa linha de placas externas FXO, FXS, GSM e E1; Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7; Intercomunicadores para acesso remoto via rede IP. Conheça em www.Khomp.com. _______________________________________________ ALIGERA Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7. Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express. Channel Bank Appliance Asterisk - Acesse www.aligera.com.br. _______________________________________________ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org