SIP provider authenticates by IP - configuration help

lsds-si
Posts: 3
Member Since:
2009-10-27

Hi,

I have looked through the forums but i cant find the answer to this one..

I have a Trixbox 1.6 and a new Outbound Sip Provider. This provider (Teleware) authenticates by IP address not by a registration string. I have applied all of the settings they have given me in the following configuration:
They sent:
'Here are your SIP trunk configuration details.

SIP Trunk Number - 11xxxxxxxx
Our IP Address – xxx.95.xxx.27

The new DDI is 01xxx 2xx xx3 and the presentation CLI has been set up as the existing number 01xxx x2x x7x as per your request.'

I have configured a SIP trunk with the following config:

username=11xxxxxxxx
host=xxx.95.xxx.27
type=friend (tried peer also)
fromuser=11xxxxxxxx (tried with and without this)
dtmfmode=rfc2833 (tried with and without this)
insecure=very (tried with and without this)

The provider doesnt offer a password with the username therefore the SIP wont register and when calls are attempted trixbox immediatly responds with Channel unavailable.

If i enter information into the register string like username:pw@IP_ADDRESS/DID or DDI it just produces Authentication errors which is correct as there is no system to respond to it from the providers end.

Please help..

Thanks
Si.



lsds-si
Posts: 3
Member Since:
2009-10-27
I fixed this

the fix for this is quite simple when you know how.

The SIP trunk config /peer details require only these lines:

host=xxx.95.xxx.27
dtmfmode=rfc2833 (tried with and without this)
disallow=all
allow=g729

Thats it! if you specify any more detail then it will not work.

Also found out that if you specify a 2nd trunk for the outbound route it will always dial through that rather than this SIP.

Si



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I am surprised this

I am surprised this worked.

You should also have

type=friend
insecure=very

--

Scott

aka "Skyking"



lsds-si
Posts: 3
Member Since:
2009-10-27
You would be surprised..

Im surprised.

Teleware authenticate by IP alone. Is you send their SIP server any other info that what i put above it drops the connection instantly.

They ( Teleware), sell more full solution VOIP products but im only really into trix, asterisk and PIAF.. ( Im really a MS engineer but i like to play)

Thanks for the input/

Si.



Comment viewing options

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