On Fri, Aug 16, 2013 at 2:22 AM, Olivier <[email protected]> wrote: > Hi, > > After Googling, I found information on how you can read the status of an > outgoing call but I didn't find anything on tunning reply to incoming calls. > > My question is : > > I've got a system receiving SIP calls from different callers. > I would like to end some calls with a "480 Temporarily Unavailable (Call > limit)" reply > Is it possible ?
Should be! Take a look at https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause+Mappings Then try using the Hangup() application and passing the appropriately mapped cause code. Sounds like 19 in this case. So using Hangup(19) in your dialplan may send out the 480 at least. -- Rusty Newton Digium, Inc. | Community Support Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: http://digium.com & http://asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
