Roy Sigurd Karlsbakk wrote:


Change this into SetVar(_SIP_CODEC=g726) and it will work.


you sure?

sipgw1:/usr/src/asterisk # grep -r _SIP_CODEC .
sipgw1:/usr/src/asterisk #


I don't think the leading underscore is part of the source. . and it's defined in the channels dir:


/usr/src/asterisk/channels# grep SIP_CODEC *
chan_sip.c: codec=pbx_builtin_getvar_helper(p->owner,"SIP_CODEC");
chan_sip.c: ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC) variable\n",codec);
chan_sip.c: ast_log(LOG_NOTICE, "Ignoring ${SIP_CODEC} variable because it is not shared by both ends.\n");
chan_sip.c: } else ast_log(LOG_NOTICE, "Ignoring ${SIP_CODEC} variable because of unrecognized/not configured codec (check allow/disallow in sip.conf): %s\n",codec);


B.
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to