[Asterisk-Dev] 302 Moved Temporarily: Uses and methodology

John Todd jtodd at loligo.com
Fri Jan 21 11:31:57 MST 2005


>John Todd wrote:
>
>>It strikes me that a somewhat inelegant but useful way of allowing 
>>Asterisk to be a clever program for large scale SIP services would 
>>be to utilize the "302 Temporarily Moved" feature of SIP in order 
>>to allow Asterisk to produce custom messages based on some set of 
>>dialplan or script results.
>>
[snip]


At 9:03 AM -0500 on 1/21/05, Sergey Kuznetsov wrote:
>Hi John,
>
>
>"302" message will be very useful if you are doing SIP cluster, in 
>this case one * box will only accept the calls and have some logic 
>to which * box in a cluster to redirect to complete the call,
>or make direct redirection based on dialplan directly to the SIP 
>phone. Therefore there is some possibility to off-load the box from 
>the hard work. The only issue here you can't keep the CDR for that 
>call.
>
>
>All the Best!
>  Sergey


A central "call router" is one reason one might want to use the 
application.  The other is in situations where each call has a "cost" 
associated with it, and simply forwarding a call via a re-INVITE may 
be insufficient to manage how costs are calculated.  Performing a 
re-INVITE may be the only way to make it happen correctly.

I have put a $200 bounty on it and announced it to the -biz list. 
Any takers should contact me off-list, and anyone that wants to 
increase the bounty should reply to the post on that list.  Unless 
there is specific commentary on code implementation, I think this 
conversation should move entirely to -biz at this point.

JT



More information about the asterisk-dev mailing list