You could use mod_limit for this...


From: Scott Ellis <[email protected]>
Reply-To: <[email protected]>
Date: Thu, 22 Jan 2009 17:14:15 +1100
To: <[email protected]>
Subject: [Freeswitch-users] Can I restrict a gateway to 1 call at a time?

I need to restrict the outbound calls to an SPA3000. Is there a way of
marking a gateway to only allow one call at a time?

Or, as the SPA3000 registers with FS, allowing the extension to only allow
one outbound call. (Problem here is I have not worked out how to send a call
to the FXS using the extension information, I have just been sending it as
sofia/internal/[email protected]:5061 )

If I do this  <action application="bridge"
data="user/lin...@${domain_name}"/>
I get a dial tone, but I can't figure how to send the number in this case.

Obviously my understanding of dial plans is less than what it could be!

This is all necessary, as if you send a second outbound call to the SPA3000,
it will then think that there is an inbound call 1min 30 seconds later.

Scott


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to