[asterisk-users] sip.conf host!=dynamic peer specific options (e.g. directmedia=off, transport=tcp) not working!?

Joshua C. Colp jcolp at sangoma.com
Tue Nov 12 07:43:20 CST 2019

On Tue, Nov 12, 2019 at 3:06 AM Thomas Roos <Thomas.Roos at industronic.de>

> Hi,
> when using some non dynamic  host eg. host= 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
> host=
> transport=udp
> context=extern
> dtmfmode=auto
> directmedia=off
> cheers, Thomas

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

Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.sangoma.com & www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191112/3c6ebd8b/attachment.html>

More information about the asterisk-users mailing list