SIP Trunk - problem to connect

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

SIP Trunk - problem to connect

Postby mmg_asterisk » Wed Aug 26, 2015 10:34 am

Hello! Thnxs for reading!
I've an IPLAN virtual PBX, that allows me to connect via zoiper or gigaset, for instance (and it works!)
Connection parameters are:

Authentication Name: Número 1199999999
Authentication password: 12345678
Username: 1199999999
Display name: 1199999999

Domain: hpbx.iplannetworks.net
Proxy serever address: 190.2.20.2
Proxy server port: 5060
Registrar server: 190.2.20.2
Registrar server port: 5060
Registration refresh time: 1800
Outbound proxy mode: Always
Outbound proxy: 190.2.20.2
Outbound proxy port: 5060

Can I add a trunk to my asteriskNOW having only this parameters?
I've tested some configurations, but I can find the correct one
Could you give me a clue or your point of view?
IPLAN tech support doesn't help with asterisk, only with phone config

One of the configs I tested without success:

register => username:password@hpbx.iplannetworks.net

[myprovidername]
host=hpbx.iplannetworks.net
outboundproxy=190.2.20.2
type=friend
fromuser=username
defaultuser=username
secret=password
context=from-trunk

Thanks a lot
Regards
mmg_asterisk
Newsterisk
 
Posts: 11
Joined: Thu Oct 02, 2014 11:57 am

Re: SIP Trunk - problem to connect

Postby surp » Fri Dec 04, 2015 10:26 am

If you need to use outboundproxy in a local trunk you reference the trunk in the register string. This is not documented anywhere as far as I know.

Code: Select all
register => username:password@myprovidername

[myprovidername]
host=hpbx.iplannetworks.net
outboundproxy=190.2.20.2
type=friend
fromuser=username
defaultuser=username
secret=password
context=from-trunk
surp
Newsterisk
 
Posts: 7
Joined: Mon Nov 30, 2015 9:52 am


Return to AsteriskNOW Support

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests