diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 1206669cc989266760f16bfef178c75312d0f28e..801c557f6c82af2ad2cde18dc0adcd8e40dd6614 100755
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -2122,6 +2122,8 @@ static int iax2_call(struct ast_channel *c, char *dest, int timeout)
 	if (!secret && strlen(storedsecret))
 		secret = storedsecret;
 	ast_mutex_lock(&iaxsl[callno]);
+	if (strlen(c->context))
+		strncpy(iaxs[callno]->context, c->context, sizeof(iaxs[callno]->context));
 	if (secret) {
 		if (secret[0] == '[') {
 			/* This is an RSA key, not a normal secret */