Hello.
I wish to reject all incoming calls with a busy tone if at least one trunk is in a call, this because the office is small and if a people is making a call, it is annoying that the other two extensions ring.
I placed call-limit=1 in incoming trunk but there is an hangup without caller receive a busy tone.
I have not modified nothing and it worked in the desired way… I don’t understand at all!
Log says:
chan_sip.c: Call from peer ‘SIP-XXXXX’ rejected due to usage limit of 1
chan_sip.c Failed to place call for device (phonenumber), too many calls
executing [h@ext-group:1] Macro (" SIP/SIP-XXXXXX-000008d9",“hangupcall,”) in new stack
I tried also to make a custom context and place a code for busy tone… but I don’t know if this code has been executed…
The context that I created is context=XXXXXX that I placed on Trunk web page
Thanks for your support