[Asterisk-Users] Has anyone gotten SIP_CODEC= to work?

Dan Fernandez danfernandez00 at hotmail.com
Mon May 5 13:33:05 MST 2003


Basically, since I´d like to use g723 for sip communication between
endpoints and * does not support it, I need to change codecs when a user
wants to check voicemail, use a zap channel, etc.

I have configured sip.conf and extensions.conf as below but when I try it I
keep getting the following:

chan_sip.c ...(sip_answer):Changing codec to GSM for this call because of
${SIP_CODEC} variable
channel.c ..(ast_set_write_format): Unable to find a path from 2 to 1.

Any ideas?



sip.conf
disallow=all
allow=g723.1
allow=gsm


extensions.conf

exten => 1000,1,SetVar,SIP_CODEC=gsm
exten => 1000,2,VoiceMailMain




More information about the asterisk-users mailing list