Sip.conf Host!=dynamic Peer Specific Options (e.g. Directmedia=off, Transport=tcp) Not Working!?

Home » Asterisk Users » Sip.conf Host!=dynamic Peer Specific Options (e.g. Directmedia=off, Transport=tcp) Not Working!?
Asterisk Users 1 Comment

Hi, when using some non dynamic host eg. host2.168.111.153 in sip.conf asterisk is not considering specific peer options eg. directmedia=off, transport=tcp if I set host=dynamic and register the sip phone it works as expected. Is this a bug or feature – I wanna disable the usage of directmedia for some peers with fixed ip but wanna allow it in general. Same with transport=tcp.

[97]
type=peer host2.168.111.153
transport=udp context=extern dtmfmode=auto directmedia=off

cheers, Thomas

One thought on - Sip.conf Host!=dynamic Peer Specific Options (e.g. Directmedia=off, Transport=tcp) Not Working!?

  • Is this an incoming or outgoing call? Are you sure that entry is being used? What’s the console output?