[AsteriskBrasil] Background ou Playback

Gian Nicodemus giannicodemus em gmail.com
Segunda Agosto 16 10:52:49 BRT 2010


CLI:

   -- Attempting call on Local/1129191338 em disca-callmarketing for
s em disca-callmarketing:1 (Retry 1)
    -- Executing [1129191338 em disca-callmarketing:1]
Set("Local/1129191338 em disca-callmarketing-6305;2", "CDR(userfield)=8014") in
new stack
    -- Executing [1129191338 em disca-callmarketing:2]
Dial("Local/1129191338 em disca-callmarketing-6305;2",
"SIP/ultranet/551129191338,60,twgA(/var/lib/asterisk/sounds/campanhas/8094-16_08_2010)")
in new stack
  == Using SIP RTP CoS mark 5
    -- Called ultranet/551129191338
    -- SIP/ultranet-00000004 is making progress passing it to
Local/1129191338 em disca-callmarketing-6305;2
    -- SIP/ultranet-00000004 answered
Local/1129191338 em disca-callmarketing-6305;2
    -- <SIP/ultranet-00000004> Playing
'/var/lib/asterisk/sounds/campanhas/8094-16_08_2010.slin' (language 'pt_BR')
    -- Executing [s em disca-callmarketing:1]
Hangup("Local/1129191338 em disca-callmarketing-6305;1", "") in new stack
  == Spawn extension (disca-callmarketing, s, 1) exited non-zero on
'Local/1129191338 em disca-callmarketing-6305;1'
    -- Executing [h em disca-callmarketing:1]
Hangup("Local/1129191338 em disca-callmarketing-6305;1", "") in new stack
  == Spawn extension (disca-callmarketing, h, 1) exited non-zero on
'Local/1129191338 em disca-callmarketing-6305;1'
[Aug 16 10:45:11] NOTICE[23957]: pbx_spool.c:349 attempt_thread: Call
completed to Local/1129191338 em disca-callmarketing
  == Spawn extension (disca-callmarketing, 1129191338, 2) exited non-zero on
'Local/1129191338 em disca-callmarketing-6305;2'
    -- Executing [h em disca-callmarketing:1]
Hangup("Local/1129191338 em disca-callmarketing-6305;2", "") in new stack
  == Spawn extension (disca-callmarketing, h, 1) exited non-zero on
'Local/1129191338 em disca-callmarketing-6305;2'


veja que a ligação ela é desconectada, porém somente depois dos 23 segs que
Γ© o tamanho do audio... sendo que eu desliguei o telefone as 5 segs de
chamada:

Minha CDR:

mysql> select calldate,src,duration,billsec from cdr where userfield=8014;
+-------------------------------+--------------------+---------------+---------+
| calldate                     | src                | duration   | billsec |
+-------------------------------+-----------------
---+--------------+---------+
| 2010-08-16 10:44:41   | 1129191338   |       30     |      23 |
+--------------------------------+--------------------+--------------+---------+

Tks

Em 16 de agosto de 2010 10:34, Rodrigo Lang
<rodrigoferreiralang em gmail.com>escreveu:

> Post os logs do console do Asterisk.
>
>
> Ats,
> Rodrigo Lang.
>
> Em 16 de agosto de 2010 10:27, Gian Nicodemus <giannicodemus em gmail.com>escreveu:
>
> Ja fiz alguns testes aqui, atΓ© consegui tocar o audio....
>>
>> Porém mesmo assim, quando eu desligo ele nao encerra a ligação...
>> continua com playing e nao encerra a ligação
>>
>> Eu utilizo operadora voip... poderia ser este o motivo??
>>
>> Em 16 de agosto de 2010 09:44, Gian Nicodemus <giannicodemus em gmail.com>escreveu:
>>
>>> Eu li no meu livro, que no exemplo citava um arquivo .gsm
>>> Ela nao toca .wav?
>>>
>>> abraço
>>>
>>> Em 16 de agosto de 2010 00:24, Daian Conrad <daian em opens.com.br>escreveu:
>>>
>>> Se vc executar o Dial com a flag "A", assim que o cliente desligar a
>>>> chamada termina.
>>>>
>>>> Ex.:
>>>>
>>>> exten => _XXXXX.,1,Dial(TECH/CANAL/${EXTEN},60,twgA(campanha)
>>>> exten => _XXXXX.,n,HangUp()
>>>>
>>>> []s
>>>>
>>>>
>>>> Gian Nicodemus escreveu:
>>>> > Boa tarde lista...
>>>> >
>>>> > Estou com um problema aqui que estΓ‘ me deixando meio maluco...rsrss
>>>> >
>>>> > Em uma de minhas aplicaçáes, eu disparo uma ligação e quando o cliente
>>>> > atende ela toca uma mensagem via comando playback...
>>>> > PorΓ©m mesmo quando cliente desliga no meio... ele continua tocando o
>>>> > playback...
>>>> > Ja tentei com o background tbm e nao obtive sucesso...
>>>> >
>>>> > Existe algum paramentro que eu possa usar para isso????
>>>> >
>>>> >
>>>> > Eu li em um livro de Asterisk que tenho que no background a opção s
>>>> nΓ£o
>>>> > reproduz o arquivo caso nao tenha sido atendido ainda...
>>>> > Mas nesse caso funcionaria???
>>>> >
>>>> >
>>>> > tks
>>>> >
>>>> > --
>>>> >
>>>> > β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’giannicodemus em gmail.com.br <mailto:giannicodemus em gmail.com.br>
>>>> > β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’β–’β–’β–’ HDi Consultoria e desenvolvimento  β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’ (11) 8744 2147  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> > β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>> >
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------
>>>> >
>>>> > _______________________________________________
>>>> > KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>>>> > - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>>>> > - Suporte tΓ©cnico local qualificado e gratuito
>>>> > Conheça a linha completa de produtos KHOMP em www.khomp.com.br
>>>> > _______________________________________________
>>>> > Temos tudo para seu projeto VoIP com Asterisk!
>>>> > Descontos especiais para assinantes da AsteriskBrasil.org.
>>>> > Registre-se e receba um cupom exclusivo de desconto!
>>>> > Acesse agora www.voipmania.com.br
>>>> > ______________________________________________
>>>> > Lista de discussΓ΅es AsteriskBrasil.org
>>>> > AsteriskBrasil em listas.asteriskbrasil.org
>>>> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>>
>>>> --
>>>> =======================
>>>> ***  Daian Conrad
>>>>
>>>> Linux user: #248912
>>>> PGP/GPG: 2E6EF48E
>>>>
>>>> ** OpenS Team (DaCoD)
>>>> E-mail: daian em opens.com.br
>>>> Fone: +55 48 3954-8000
>>>>
>>>> _______________________________________________
>>>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>>>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>>>> - Suporte tΓ©cnico local qualificado e gratuito
>>>> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
>>>> _______________________________________________
>>>> Temos tudo para seu projeto VoIP com Asterisk!
>>>> Descontos especiais para assinantes da AsteriskBrasil.org.
>>>> Registre-se e receba um cupom exclusivo de desconto!
>>>> Acesse agora www.voipmania.com.br
>>>> ______________________________________________
>>>> Lista de discussΓ΅es AsteriskBrasil.org
>>>> AsteriskBrasil em listas.asteriskbrasil.org
>>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>
>>>
>>>
>>>
>>> --
>>>
>>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’β–’β–’giannicodemus em gmail.com.br β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>
>>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’β–’β–’β–’β–’β–’ HDi Consultoria e desenvolvimento  β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’ (11) 8744 2147  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>>
>>
>>
>>
>> --
>>
>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’giannicodemus em gmail.com.br β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’β–’β–’β–’ HDi Consultoria e desenvolvimento  β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’ (11) 8744 2147  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>> β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
>>
>> _______________________________________________
>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>> - Suporte tΓ©cnico local qualificado e gratuito
>> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
>> _______________________________________________
>> Temos tudo para seu projeto VoIP com Asterisk!
>> Descontos especiais para assinantes da AsteriskBrasil.org.
>> Registre-se e receba um cupom exclusivo de desconto!
>> Acesse agora www.voipmania.com.br
>> ______________________________________________
>> Lista de discussΓ΅es AsteriskBrasil.org
>> AsteriskBrasil em listas.asteriskbrasil.org
>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>
>
>
> _______________________________________________
> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
> - Suporte tΓ©cnico local qualificado e gratuito
> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
> _______________________________________________
> Temos tudo para seu projeto VoIP com Asterisk!
> Descontos especiais para assinantes da AsteriskBrasil.org.
> Registre-se e receba um cupom exclusivo de desconto!
> Acesse agora www.voipmania.com.br
> ______________________________________________
> Lista de discussΓ΅es AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>



-- 

β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’giannicodemus em gmail.com.br β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’ HDi Consultoria e desenvolvimento  β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’ (11) 8744 2147  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
-------------- Prσxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100816/9cb6e6c7/attachment-0001.htm 


Mais detalhes sobre a lista de discussγo AsteriskBrasil