-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call Limit for Incoming #99
Comments
Call Limit is a configurable value since #94 This would be applicable even for INCOMING calls. Unless existing calls are terminated new call wouldn't be accepted as per pjsua docs. |
Sorry for the missing update and description. I will explain below:
Can I request for the limit call can reject in the first time like this
Thank a lot! |
As per pjsip documentation and even the code, additional call invites are rejected. PJ_DEF(pj_status_t) pjsua_call_answer2(pjsua_call_id call_id,
const pjsua_call_setting *opt,
unsigned code,
const pj_str_t *reason,
const pjsua_msg_data *msg_data)
{
pjsua_call *call;
pjsip_dialog *dlg = NULL;
pjsip_tx_data *tdata;
pj_status_t status;
PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls,
PJ_EINVAL); This line what you are referring is probably from your PBX call stack and not being generated by tinyphone.
Can you share the tinyphone logs (which has the sip exchange for this second call?) that would have what is exactly happening in the 2nd call from tinyphone point. |
Thank for your response, please check the log in the attached file |
What is the config that is being used ? Can you share output of Default config allows |
Sure, below is my config when login via address : localhost:6060/config?
|
Currently , the setting for Tiny phone only limit only 1 call for Manual Outbound only. Regarding Inbound or AMI call/3rd init call ( display as "INCOMING") not limit the number of call. Can we adding one more setting limit number of call for "INCOMING" call as well?
Thanks a lot!
The text was updated successfully, but these errors were encountered: