Jarek Jarzebowski
2015-Sep-29 13:24 UTC
[asterisk-users] Asterisk sip.conf insecure=port, invite - doesn't work
Hi all. I have asterisk with sip registered accounts (realtime). Moreover I have SIP trunk defined as type=peer in sip.conf. When call is incoming from SIP trunk with CLID of one of sip friend defined in MySQL sippeers table asterisk refuses INVITE as not authorized. I tried to use insecure=port,invite options under SIP trunk definition in sip.conf but this not solves the problen. Could you point me what could be the solution? Thanks and regards Jarek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150929/c16d1fbb/attachment.html>
Rusty Newton
2015-Oct-01 11:32 UTC
[asterisk-users] Asterisk sip.conf insecure=port, invite - doesn't work
On Tue, Sep 29, 2015 at 8:24 AM, Jarek Jarzebowski <jarek.jarzebowski at gmail.com> wrote:> Hi all. > > I have asterisk with sip registered accounts (realtime). > Moreover I have SIP trunk defined as type=peer in sip.conf. > > When call is incoming from SIP trunk with CLID of one of sip friend defined > in MySQL sippeers table asterisk refuses INVITE as not authorized. > > I tried to use insecure=port,invite options under SIP trunk definition in > sip.conf but this not solves the problen. > > Could you point me what could be the solution?Is only a single SIP trunk behaving this way? Or does this happen with all of your trunks? What happens if you replicate the configuration in sip.conf instead of your database? Does it work there? Probably best to pastebin an Asterisk log including "sip set debug on" output so that we can see what is going on. https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information -- Rusty Newton Digium, Inc. | Community Support Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - US direct: +1 256 428 6200 Check us out at: http://digium.com & http://asterisk.org