[Spce-user] Comunication - Asterisk Trunk Dial (sipwise reject call)

Jon Bonilla (Manwe) manwe at sipdoc.net
Fri Apr 1 10:28:52 EDT 2016


El Fri, 1 Apr 2016 11:00:56 -0300
Diego Ramos <diego.ramos1 at gmail.com> escribió:

> Hello!
> 
> I performed the installation of sip: providerCE mr4.2 following the
> instructions in the guide successfully, made the setting without any
> problem.
> 
> IP 172.18.0.30 sipwise
> Asterisk IP 172.18.0.2
> 
> My problem: I created a Subscribers in 2022 and performed the test setting
> on a phone yealink run perfectly to perform esternas and between
> subscribers links, however to set up a trunk in Asterisk version 11 as a
> friend with the following configuration.
> 
> type = friend
> nat = no
> canreinvite = no
> host = 172.18.0.30
> context = from-pstn
> secret = xxxxxxx
> username = 2022
> fromuser = 2022
> defaultuser = 2022
> insecure = invite
> outboundproxy = 172.18.0.30
> 
>


the ngcp system won't authenticate against your asterisk unless you tell him to
do so and only in case it's a peer. 

Either put the credentials in the peer definition (in case it's a peer for pstn
access) or set "insecure=invite,port" in the asterisk config in case it's a
subscriber.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160401/05bbac3b/attachment-0001.sig>


More information about the Spce-user mailing list