Disable video and force ulaw over SIP trunk

Hi - Thanks for the coding tip, asterisk neophyte over here!

Your suggested change makes sense to me, but has no effect.

exten => _X.,3,NoOp()
 same => n,Set(PJSIP_MEDIA_OFFER(audio)=!all,ulaw)
 same => n,Set(PJSIP_MEDIA_OFFER(video)=!all)
 same => n,Answer()
 same => n,Set(PJSIP_SEND_SESSION_REFRESH()=update) ;send invite with variable

This connects to the trunk with a black video screen.

The only configuration that successfully removes the video is:

exten => _X.,3,NoOp()
 same => n,Answer()
 same => n,Set(PJSIP_MEDIA_OFFER(audio)=!all,ulaw)
 same => n,Set(PJSIP_MEDIA_OFFER(video)=!all)
 same => n,Set(PJSIP_SEND_SESSION_REFRESH()=update) ;send invite with variable

but the video screen flashes briefly, very annoying!

1 Like