Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 318547) +++ channels/chan_sip.c (working copy) @@ -8634,6 +8643,11 @@ ast_set_read_format(p->owner, p->owner->readformat); ast_set_write_format(p->owner, p->owner->writeformat); } + else + { + /* IVeS - restrict nativeformat to joincaps = formats natively supported by the chan */ + p->owner->nativeformats = p->jointcapability; + } if (ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD) && (!ast_sockaddr_isnull(sa) || !ast_sockaddr_isnull(vsa) || !ast_sockaddr_isnull(tsa) || !ast_sockaddr_isnull(isa)) && (!sendonly || sendonly == -1)) { ast_queue_control(p->owner, AST_CONTROL_UNHOLD);