[Freeswitch-users] mod_limit fall through
Brian West
brian.west at mac.com
Thu Mar 20 08:17:57 PDT 2008
Move the limits per user into the directory vars too.. then you can
raise the limit for the receptionist.
/b
On Mar 20, 2008, at 10:12 AM, bsnipes wrote:
>
>
>
> Brian West wrote:
>>
>> Post your configs... I think I can provide an example of how to
>> handle
>> this one error condition. I think the fail over extension shouldn't
>> have a limit set on it so they can fail over to the receptionist
>> since
>> she'll have either a sidecar or a better ability to take multiple
>> calls at once.
>>
>
> I think it would be best if it went to voicemail of the original
> dialed
> extension if possible.
>
> Thanks,
> Brian
> --- directory/default/317.xml
> <include>
> <user id="317" mailbox="317">
> <params>
>
>
> </params>
> <variables>
> <variable name="accountcode" value="317"/>
> <variable name="user_context" value="default"/>
> <variable name="failover_ext" value="417"/>
> </variables>
> </user>
> </include>
>
> --- directory/default/417.xml
> <include>
> <user id="417" mailbox="317">
> <params>
>
>
> </params>
> <variables>
> <variable name="accountcode" value="317"/>
> <variable name="user_context" value="default"/>
> <variable name="failover_ext" value="317"/>
> </variables>
> </user>
> </include>
>
> --- dialplan/default.xml
> <extension name="limit" continue="true">
> <condition>
> <action application="limit" data="inbound $
> {destination_number}
> 1"/>
> </condition>
> </extension>
>
> <extension name="limit_exceeded">
> <condition field="destination_number"
> expression="^limit_exceeded$">
> <action application="eval" data="Limit exceeded!!!!"/>
> <action application="set_user" data="${rdnis}@$${domain}"/>
> <action application="eval" data="[${failover_ext}]"/>
> <action application="eval" data="[${rdnis}]"/>
> <application="set" data="transfer_ringback=${uk-ring}"/>
> <action application="transfer" data="${failover_ext} XML
> default"/>
> </condition>
> </extension>
>
>
> --
> View this message in context: http://www.nabble.com/mod_limit-fall-through-tp16128842p16180941.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> 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
More information about the FreeSWITCH-users
mailing list