> [extensions.conf]
> exten => 123456,1,SetVar,SIP_CODEC=ulaw
> exten => 123456,2,Dial(${TRUNK}/${EXTEN})
>
>       The problem is with the SetVar function, the debug shows that the
> function is executed, but after that, * sends the media capability to
> the phone with g729 as preferred codec.
SIP_CODEC is was supposed to only change the codec of the incoming call,
eg: asterisk responds with ANSWER with ulaw codec ...

But it won't change anything with the 2nd call.

regards
Martin

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to