[asterisk-users] invite authentication error !?

Sam Govind govoiper at gmail.com
Fri Sep 30 02:36:05 CDT 2011


What Sip declaration are you using for the remote sip proxy in sip.conf?

On Fri, Sep 30, 2011 at 12:30 PM, Alex Balashov
<abalashov at evaristesys.com>wrote:

> This is just a speculative shot in the dark, but remember that the domain
> of the From URI is important, and that the authentication "realm" (domain)
> is part of the authentication credentials.  So, what you have in your
> 'fromdomain' and 'host' settings on the peer does matter.
>
> --
> This message was painstakingly thumbed out on my mobile, so apologies for
> brevity, errors, and general sloppiness.
>
> Alex Balashov - Principal
> Evariste Systems LLC
> 260 Peachtree Street NW
> Suite 2200
> Atlanta, GA 30303
> Tel: +1-678-954-0670
> Fax: +1-404-961-1892
> Web: <http://www.evaristesys.com/>http://www.evaristesys.com/
>
> On Sep 30, 2011, at 3:16 AM, "cnasterisk" <cnasterisk at 163.com> wrote:
>
> hi,
>    Dear all.
>    I setted a sip account on a sip trunk. when a  client call via this sip
> trunk, asterisk call failed on this trunk.
> I have captured the sip messages on the host where asterisk located, and
> found that:
>
> 1. asterisk send a INVITE message to remote sip proxy without
> "proxy-authorization" field.
> 2. the remote sip proxy send back a
> " SIP/2.0 407 Proxy Authentication Required" message.
> 3. asterisk send a INVITE message with  "proxy-authorization" field.
> 4. remote proxy send back a "403(Forbidden)" message, that is mean "wrong
> password"
>
> I also tested the sip account on a softphone, it works normal!
>
> why this happed? and how can i solve it?
>
>
>
> 2011-09-30
> ------------------------------
> kevin
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                <http://www.asterisk.org/hello>
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    <http://lists.digium.com/mailman/listinfo/asterisk-users>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110930/bb485e14/attachment.htm>


More information about the asterisk-users mailing list