How to disable authentication for invite?

galois
Posts: 4
Member Since:
2008-08-12

Hello, how are you?

I have Trixbox CE installed and I would like to disable the authentication for invite messages, and only to maintain authetication for register. I have tried to add the line "insecure=invite" in the file sip_additional.conf for all my extensions, but it is nor working (Trixbox continues with authentication request for invite messages). Any idea about?

Thanks and regards



SkykingOH
Posts: 9680
Member Since:
2007-12-17
If you are making changes to

If you are making changes to sip_additional they are probably being overwritten by FreePBX.

Have you read all the available Digium documentation on the behavior of channel_sip?

I would suggest starting with building a custom extension in extensions_custom.conf from scratch and get your application working then we can integrate that back into FreePBX.

You have to restart sip from the Asterisk CLI after any changes.

You may also consider telling us what you are trying to talk to and why you want to do this. We may be able to offer more suggestions.

Your other option is to use a trunk, which allows you to enter additional asterisk variables for the device. You can build a trunk and put it into the from-internal context. This makes it the same as an extension from an Asterisk/SIP peer perspective.

--

Scott

aka "Skyking"



galois
Posts: 4
Member Since:
2008-08-12
Hi Scott, First thanks a lot

Hi Scott,

First thanks a lot for your suggestion. I'll try it and I'll tell you about result.

Really the season for disable authentication on invite messages is that the voice gateway I am testing doesn't adjust to RFC 100%. I explain you with more details: VG sends the invite to Asterisk and Asterisk tell it that authentication is needed, so the VG send a new invite with username and password but with the same Cseq number (this is the VG wrong behavior), so Asterisk doesn't answer to VG. This is the season what I need to disable authentication on invite messages on Asterisk.
I know that the correct way is to put the VG in the garbage, but for now I have to work with it and try to mod Asterisk for working with it.

Best regars



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.