Limit SIP channels

Hi,

I have tried

maxchannels=3
and
limit-calls=3

in order to limit the number of simultaneous outbound sip calls on my system.

Neither seem to work - any ideas?

thanks

seabro

In google: sip.conf limit asterisk

The FIRST result:

voip-info.org/wiki/view/Aste … t_id=14023

call-limit = number : Number of simultaneous calls through this user/peer.

not tooo hard.

sorry, i made a typo in my original post.

i have tried call-limit=2

it doesn’t seem to make any difference. (and yes i did a sip reload).

an ideas?

Try

exten => s,1, Set(GROUP()=OUTBOUND_GROUP) ;Set Group exten => s,n, GotoIf($[${GROUP_COUNT()} > 3]?103) ;Exceeded?

Works for me on outgoing trunks

Ian

Thanks Ian, I will give it a try!