[Freeswitch-users] Polycom auto answer on active call

Yehavi Bourvine yehavi.bourvine at gmail.com
Thu May 17 20:52:43 MSD 2012


You can call mod_limit by yourself or at the dialstring. Mod_limit counts
all calls to/from an extension, so it is quite accurate.

For example, we use:

      <action application="bridge" data="${cond(${limit_usage(max_calls
${destination_number})} > ${MaxLimit} ?  error/user_busy : ${RingAt})}" />
Which either returns "user busy" or calls the extension.

                             __Yehavi:

2012/5/17 Spencer Thomason <spencer at 5ninesolutions.com>

> Thanks that should work.  How did you keep track of the calls?  Calls from
> an extension are easy enough but an extension can be called many ways, i.e.
> hunts groups, transfers, etc that would need to be accounted using limit.
>  Could you do this by modifying the dial-string?
>
> Spencer
>
> On May 17, 2012, at 9:09 AM, Yehavi Bourvine wrote:
>
> Use the mod_limit to check whether there is already a call on his
> extension, and if so - do not try to bridge with auto answer.
>
>                          __Yehavi:
>
> 2012/5/17 Spencer Thomason <spencer at 5ninesolutions.com>
>
>> Hello, I'm having a problem with Polycom endpoints where the phone auto
>> answers a page even if another call is in progress.  My dialplan looks like
>> this:
>>
>>    <extension name="extension-intercom">
>>      <condition field="destination_number" expression="^\*80(\d{3,7})$">
>>        <action application="set" data="dialed_extension=$1"/>
>>        <action application="export" data="sip_auto_answer=true"/>
>>        <action application="bridge" data="user/${dialed_extension}@
>> ${domain_name}"/>
>>      </condition>
>>    </extension>
>>
>> Does anyone have any suggestions for an elegant way to solve this?
>>
>> Thanks,
>> Spencer
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120517/a8f17dc5/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list