Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How do I get a 180 ringing to be sent to an in bound call ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Richard.Lamkin at mett...
Guest





PostPosted: Tue Jun 16, 2009 11:44 am    Post subject: [Freeswitch-users] How do I get a 180 ringing to be sent to Reply with quote

Brian,

Thank you for putting me on the right track. I thought I would share my results so after a bit of trial and error testing I came up with the follow DP rule, which lives in dialplan/public/<my_public_dp.xml>.

When an incoming call arrives for DDI 012345678 it is ack’ed with a “180 Ringing” and then the call is held up while the rule goes to sleep. On sleep expiry the call is cleared (from Ron McLeod’s comment). This means any incoming call that is not processed using an API method will be automatically cleared after 3 mins.

This makes a nice neat way of holing incoming calls ringing.

Best Regards

Richard Lamkin
Richard.lamkin@mettonigroup.com (Richard.lamkin@mettonigroup.com)


<extension name="DP_name">
<condition field="destination_number" expression="^012345678$">
<action application="set" data="domain_name=$${domain}"/>
<action application="ring_ready" />
<!-- Remain in the ringing state for a max of 3 minutes (time in milliseconds)-->
<action application="sleep" data="1800000"/>

<!-- #########################################################
Alternative actions can be automatically performed when the sleep duration is exceeded
Simply comment out the unwanted actions;
if no actions are specified then the call hangs up anyway
#########################################################
-->

<!-- EITHER ======> hang up the call if this is required action on no answer
refer to http://wiki.freeswitch.org/wiki/Hangup_causes for the cause code data.
-->

<!--<action application="hangup" data="NO_ANSWER"/>-->

<!-- OR ======> Redirect if this is required action on no answer -->
<!--<action application="redirect" data="sip:foo@bar.com "/>-->

<!-- OR ======> Reject the call if this is required action on no answer (use the correct cause code) -->
<action application="respond" data="reponse_info" data="407"/>

</condition>
</extension>



From: Brian West [mailto:brian@freeswitch.org]
Sent: 15 June 2009 21:24
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] How do I get a 180 ringing to be sent toaninbound call ?



Survey says ... "execute the ring_ready application"


/b


On Jun 15, 2009, at 2:50 PM, Ron McLeod wrote:




Something to consider is how long will be PSTN allow the call to remain un-answered.




From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Richard Lamkin
Sent: Monday, June 15, 2009 11:28 AM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] How do I get a 180 ringing to be sent to aninbound call ?




I have a setup where I have a variety of SIP inbound calls (originated from PSTN) coming from a SIP provider. The SIP lines are single lines registered with the provider. The provider is running with a Nortel CS2K.



I am putting together a simple event driven operator attendant console and I would like to set up a call queuing system where the incoming calls are not answered until an operator is ready to accept a call. I want the operator to know that a call is in the ringing Q and who it is from. I do not want to auto answer the call and put them in a MOH Q because the originator will be charged as soon as the call is answered.



My question is how do I get a SIP 180 ringing to be sent to an inbound call and put that call in a Q? The CS2k does convert ringing on inbound calls to media towards the originator. I’ve looked through the wiki for examples but not found what I need in either in dial plan or fifo operations.



Any help would be gratefully appreciated.



Regards



Richard Lamkin

Richard.lamkin@mettonigroup.com (Richard.lamkin@mettonigroup.com)


Quote:
*************************************************************************Please consider the environment before printing this e-mail*************************************************************************This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager.  http://www.mettoni.com Mettoni LtdRegistered in England and Wales: 4485956Please consider the environment before printing this e-mail
0
Quote:
Please consider the environment before printing this e-mail
1


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






************************************************************************* Please consider the environment before printing this e-mail ************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.mettoni.com Mettoni Ltd Registered in England and Wales: 4485956 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN *************************************************************************
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services