[AsteriskBrasil] Central + Gateway Celular

Jason Luka - GMAIL Levier jason.levier em gmail.com
Sexta Maio 7 16:27:47 BRT 2010


Boa Tarde a todos,

 

                Estou com o seguinte cenário, tenho uma central com asterisk
e um gateway de telefonia celular também com asterisk.

                Sendo que neste gateway estou com chips TIM e Claro.

                Gostaria de separar estas ligações que estão saindo
utilizando contas SIP mas somente uma conta funciona, a outra não funciona
retornando a seguinte mensagem no console:

[Apr 22 19:45:31] WARNING[7267]: config.c:1326 find_engine: Realtime mapping
for 'sipusers' found to engine 'asterisk', but the engine is not available

[Apr 22 19:45:31] WARNING[7267]: config.c:1326 find_engine: Realtime mapping
for 'sipusers' found to engine 'asterisk', but the engine is not available

[Apr 22 19:45:31] WARNING[7267]: chan_sip.c:8825 check_auth: username
mismatch, have <claro>, digest has <tim>

[Apr 22 19:45:31] NOTICE[7267]: chan_sip.c:14780 handle_request_invite:
Failed to authenticate user "Jason" <sip:4005 em 192.168.32.4>;tag=as7b847d5f

 

                No sip.conf do gateway está assim:

 

[tim]

type=friend

host=192.168.32.4

username=tim

secret=XXX1

context=tim

disallow=all

allow=alaw,ulaw

 

 

[claro]

type=friend

host=192.168.32.4

username=claro

secret=XXX

context=claro

disallow=all

allow=alaw,ulaw

 

                Na central o sip.conf está configurado desta maneira:

 

[saidatim]

type=peer

host=192.168.32.3

username=tim

secret=XXX1

context=tim

disallow=all

allow=alaw

 

[saidaclaro]

type=friend

host=192.168.32.3

username=claro

secret=XXX

context=levier

disallow=all

allow=alaw

allow=ulaw

 

                Na discagem quando tento sair pela saída TIM, me reposta na
console da central as seguintes mensagens:

    -- AGI Script Executing Application: (DIAL) Options:
(sip/saidatim/98114200||T)

    -- Called saidatim/98114200

[2010-04-22 19:45:31] WARNING[53047]: chan_sip.c:12334
handle_response_invite: Received response: "Forbidden" from '"Jason"
<sip:4005 em 192.168.32.4>;tag=as7b847d5f'

    -- SIP/saidatim-02072000 is circuit-busy

  == Everyone is busy/congested at this time (1:0/1/0)

    -- AGI Script dialsql completed, returning 0

  == Auto fallthrough, channel 'SIP/4005-008bf000' status is 'CONGESTION'

 

Alguém pode me dar uma força nesta questão?

 

Agradeço a todos a cooperação.

 

Att.

 

Jason Luka

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100507/b328b01e/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil