Max Call length not being enforced

Moderator: areski

Max Call length not being enforced

Postby aynema » Tue May 14, 2013 2:15 am

I've been running several survey campaigns and have the maximum call limit set to 10mins but we are finding several calls being over an hour with some going for longer than 5hrs.
I'm not sure why this is happening and if it's a freeswitch or newfies-dialer related issue.

On a possibly related note freeswitch seems to be hitting some sort of limit.
Code: Select all
[ERR] switch_cpp.cpp:48 Cannot queue any more events。


Apparently I can increase the EventConsumer limit somehow but I'm not sure where that setting is.
Code: Select all
EventConsumer("event_name", "", 100000)


I do know our SIP Trunks have a limit of 100 Concurrent calls and I'm assuming it's related to that but I'm not sure how to limit the system to that
aynema
 
Posts: 31
Joined: Tue Apr 09, 2013 5:49 am
Location: Mount Hawthorne

Re: Max Call length not being enforced

Postby aynema » Tue May 14, 2013 3:16 am

I'm thinking of setting the concurrent call limits in this manner.
Code: Select all
<extension name="Call_Limit" >
   <condition field="caller_id_number" expression="^$" />
   <condition field="destination_number" expression="^(61\d{7})$" >
       <action application="limit" data="hash fraud_protection calls_max_intl 100 !NORMAL_TEMPORARY_FAILURE" />
       <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}" />
       <action application="set" data="media_bug_answer_req=true" />
       <action application="set" data="recording_follow_transfer=true" />
       <action application="set" data="continue_on_fail=true" />
       <action application="set" data="hangup_after_bridge=true" />
       <action application="bridge" data="{codec_string='PCMA'}sofia/gateway/${distributor(distributor1)}/$1" loop="2" />
   </condition>
</extension>
aynema
 
Posts: 31
Joined: Tue Apr 09, 2013 5:49 am
Location: Mount Hawthorne


Return to Installation

Who is online

Users browsing this forum: No registered users and 22 guests

cron