well if im not wrong then 302 temporarily moved is an error response and REFER is a request method that is meant to be used for call transfer. can you please clarify what u meant? thanx.
30x aren’t really errors. 302 is a redirect before answer, which is better supported that redirect after answer, and can avoid the caller getting billed. 302 is typically how SIP phones handle divert on xxxx.
302 is actually a very comon response on the web; these numbers are based on the HTTP numbers.
If you use Transfer() before Answer, Asterisk will respond to the INVITE with a 302 response, telling it where to go.
thanx david… using Transfer in the first step does use 302 message. i didnt know that.
the problem is i need to answer the call first and pass some message before transferring the call. i kind of need to use the refer message… :-S… i successfully transferred the call using refer message, by ‘disabling the authentication policy’ of the user(7000) used in asterisk. can i do it by configuring the sip.conf?