[Spce-user] Asterisk subscriber
Jon Bonilla (Manwe)
jbonilla at sipwise.com
Mon Feb 25 08:55:38 EST 2013
El Tue, 26 Feb 2013 00:35:30 +1100
Andrew Yager <andrew at rwts.com.au> escribió:
> Hi Jon,
>
> On 26/02/2013, at 12:25 AM, Jon Bonilla (Manwe) <jbonilla at sipwise.com> wrote:
>
> > El Tue, 26 Feb 2013 00:11:17 +1100
> > Andrew Yager <andrew at rwts.com.au> escribió:
> >
> >> Hi,
> >>
> >> I'm having issues with an Asterisk subscriber who is receiving a
> >>
> >> SIP/2.0 407 Proxy Authentication Required
> >
> >>
> >> I read in an earlier post a suggestion to move the asterisk host to be a
> >> peer rather than a subscriber, but in this case they really are a
> >> subscriber not a peer, and so am really hoping I can get either a working
> >> outbound asterisk config or set of settings in SPCE to make this work.
> >>
> >
> > Subscribers should always be subscribers. Moving it to a peer has no sense.
> > Even if you don't want authentication or registration you can achieve it
> > while keeping it as subscriber.
> >
> > is your domain ""10.211.55.6""?
>
> No, that's the client's IP (it's a test VM on my laptop behind NAT)
>
> >
> > what's the provisioned user at domain?
> >
> > What's the asterisk configuration? Do you have the "fromdomain" setting in
> > your sip.conf?
>
> This was the missing setting. I'm assuming that makes the recommended stanza
> for Asterisk:
>
> [peer]
> host=[spce server]
> username=[username]
> secret=[password]
> type=peer
> insecure=port,invite
> context=[context e.g. from-trunk]
> fromdomain=[domain]
>
Depending on the version, I'd also add 'fromuser' and 'defaultuser' too.
More information about the Spce-user
mailing list