[asterisk-dev] [Code Review] chan_misdn has a most broken round robin routiune

irroot reviewboard at asterisk.org
Sun Sep 4 06:58:29 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1410/
-----------------------------------------------------------

(Updated Sept. 4, 2011, 6:58 a.m.)


Review request for Asterisk Developers.


Changes
-------

Done some more testing and im happy it works the way it should.


Summary
-------

It seems that only one channel per port is allowed to be used in round robin. this is wrong
it should go from port to port and all channels in the port.

on single port devices round robin would never work it now does.

it needs to remember what port / channel to use next.

i have redone the whole section


Diffs
-----

  /branches/1.8/channels/chan_misdn.c 334220 

Diff: https://reviewboard.asterisk.org/r/1410/diff


Testing (updated)
-------

I have now tested this more extensivly with single HFC dongle and digium 4 port card.

the last port / channel is retained and the routine rotates both channels and ports as expected.

previously only one channel per port was taken into account for routing calls.


Thanks,

irroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110904/03ef8a73/attachment.htm>


More information about the asterisk-dev mailing list