git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46408
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ast_string_field_build(p, our_contact, "Transfer <sip:%s@%s%s%s>", extension, host, port ? ":" : "", port ? port : "");
transmit_response_reliable(p, "302 Moved Temporarily", &p->initreq);
- /* this is all that we want to send to that SIP device */
- ast_set_flag(&p->flags[0], SIP_ALREADYGONE);
+ sip_scheddestroy(p, 32000); /* Make sure we stop send this reply. */
/* hangup here */
return -1;