[AsteriskBrasil] IAX Trunking

asterisk@azimoveis.com.br asterisk em azimoveis.com.br
Segunda Janeiro 15 10:30:24 BRST 2007


Bom dia Lista,

Tenho alguns problemas com o entroncamento de servidores * via iax.

  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-16", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-16'
    -- Hungup 'IAX2/trunk-16'
    -- Hungup 'IAX2/trunk-15'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-14", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-14'
    -- Hungup 'IAX2/trunk-14'
    -- Hungup 'IAX2/trunk-13'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-12", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-12'
    -- Hungup 'IAX2/trunk-12'
    -- Hungup 'IAX2/trunk-11'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-10", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-10'
    -- Hungup 'IAX2/trunk-10'
    -- Hungup 'IAX2/trunk-9'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-8", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-8'
    -- Hungup 'IAX2/trunk-8'
    -- Hungup 'IAX2/trunk-4'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("IAX2/trunk-3", "") in new stack
  == Spawn extension (trunk, 12345, 2) exited non-zero on 'IAX2/trunk-3'
    -- Hungup 'IAX2/trunk-3'
    -- Hungup 'IAX2/trunk-2'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("SIP/4502-081c8798", "") in new stack
  == Spawn extension (saida3, 1234, 2) exited non-zero on 'SIP/4502-081c8798'

É como se entrassem 500 ligações ao mesmo tempo.
Meu iax.conf:
[general]
port=4569
bandwidth=low
disallow=all
allow=gsm
allow=alaw
jitterbuffer=yes
forcejitterbuffer=no
tos=lowdelay
autokill=yes

register => trunk:senha em servidor1

[trunk]
type=peer
host=dynamic
auth=md5
username=trunk
secret=senha
qualify=yes
context=trunk
trunk=yes

A configuração está igual nos 2 servidores, só mudando o registro.
No extensions.conf, tenho:
[saida3] -> contexto do usuário SIP
exten => 1234,1,Dial(IAX2/trunk em 192.168.0.20/12345)
exten => 1234,2,Hangup

O 12345 tem um Playback na outra ponta, mas mesmo com um usuário normal o
problema é o mesmo.

Grato desde então, Ruy Rocha.


Mais detalhes sobre a lista de discussão AsteriskBrasil