I was wondering if changing codec priority and reInviting to the involved party is possible. My sip.conf is like this…
register => 1234:pass:firstname.lastname@example.org/1234
so when email@example.com call is established using gsm. Now in my dialplan —
exten => 1234,1,Answer()
exten => 1234,n,Playback(welcome)
exten => 1234,n,MyImaginaryApp(ulaw,gsm)
exten => 1234,n,Dial(SIPfirstname.lastname@example.org)
Before dialing can i set ulaw,gsm as the preferred codec? Is there any application to do that?