Getting error 603 Declined (No dialog) when using REFER

Hi all…

I’m trying to setup call transfer via a script by sending SIP messages directly to asterisk with sipsak.

All works well, I get Asterisk to call the first destination with manually using SIP commands. But when I do the REFER command, Asterisk gives me 603 declined (No dialog).

Can anyone tell me how a valid dialog with Asterisk should be formed when doing a REFER? What commands do I have to send? (I do not need the exact SIP messages, just the call flow)

Cheers,
Benedikt

Well, for those who wonder: It was a missing Proxy-authentication header. Doh!

Cheers,
Benedikt