[asterisk-users] (no subject)

Cristian N. Bradiceanu cristian at bradiceanu.net
Wed May 30 13:34:19 MST 2007


Hi,

Please take a look at

http://www.voip-info.org/wiki/index.php?page=Asterisk+v1.2+upgrade+to+v1.4+gotchas

iax.conf The new threading model is great, but the default of 10 threads is
way too low. Symptoms include total loss of audio until the channel is hung
up.


   - in general section, add: iaxthreadcount = 200
   - in general section, add: iaxmaxthreadcount = 1000

Hope this helps.

Regards,
Cristian


On 5/30/07, David Ruggles <david at safedatausa.com> wrote:
>
> Need some help with IAX trunking.
>
> I've got six systems:
>
>                  AsteriskM (main)
>     ___________________|____________________
>    |          |        |          |         |
> Asterisk1 Asterisk2 Asterisk3 Asterisk4 Asterisk5
>
> AsteriskM has two Sangoma A102 2 Port T1 cards in it, the other Asterisk
> boxes are using ztdummy for timing, they are all using IAX trunking.
>
> My calls come in over Sip or Zap to asteriskm and are routed to one of the
> asteriskN servers based on load. The routing is done by a small AGI script
> that gets the current load from a monitoring machine and then changes the
> priority. Dialplan snippet:
> ----------- Snippet -----------
> exten => _X.,1,AGI(manager.agi)
> exten => _X.,100,Dial(IAX2/asterisk1/${EXTEN})
> exten => _X.,200,Dial(IAX2/asterisk2/${EXTEN})
> exten => _X.,300,Dial(IAX2/asterisk3/${EXTEN})
> exten => _X.,400,Dial(IAX2/asterisk4/${EXTEN})
> exten => _X.,500,Dial(IAX2/asterisk5/${EXTEN})
> ----------- Snippet -----------
>
> This works fine for a few calls. I'm using the SIPp package to generate a
> 10-25 simultaneous call load. Every once in a while I starting seeing
> loads
> of error messages on AsteriskM's console:
>
> chan_iax2.c:7054 socket_process: Peer 'asterisk4' is now UNREACHABLE!
> Time:
> 2
> chan_iax2.c:6216 socket_read: Out of idle IAX2 threads for I/O, pausing!
> chan_iax2.c:909 __schedule_action: Out of idle IAX2 threads for
> scheduling!
> chan_iax2.c:7054 socket_process: Peer 'asterisk4' is now REACHABLE! Time:
> 134
> chan_iax2.c:6216 socket_read: Out of idle IAX2 threads for I/O, pausing!
>
> That is just a small example, I may have 50-100 of these type of messages
> scroll very quickly. If I give the system a minute everything goes back to
> normal.
>
> I would like some one who is very knowledgeable about IAX to assist me
> with
> this problem. If someone knows a lot about IAX optimization and is willing
> to work with me I would be willing to pay for their time.
>
> Thanks,
>
> David Ruggles
> CCNA MCSE (NT) CNA A+
> Network Engineer        Safe Data, Inc.
> (910) 285-7200  david at safedatausa.com
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/3f90eb64/attachment-0001.htm


More information about the asterisk-users mailing list