[Freeswitch-users] Invalid authorization header

Michael Collins msc at freeswitch.org
Tue Jan 24 20:35:06 MSK 2012


You are better off enabling sip trace in the freeswitch console and getting
the sip trace and console logs together. From fs_cli:

sofia global siptrace on

Make the call, capturing the console output and then drop it into a
pastebin. Be sure to use "FreeSWITCH Log" as the syntax highlighting so
that we have pretty colors. :)

-MC

On Mon, Jan 23, 2012 at 3:12 PM, Ruslan <ruslan at symsol.com.au> wrote:

> yeah, thanks for that. I got that with ngrep
>
> http://pastebin.freeswitch.org/18211
>
> How do I set up the proxy credentials? I do have username, auth-user and
> password in my config.
>
> Thank you so much
>
>
>
>
> On Tue, Jan 24, 2012 at 9:15 AM, Puskás Zsolt <errotan at elder.hu> wrote:
>
>>  Hi.
>>
>> Please put your console log of a failed inbound call to pastebin so we
>> can help. Turn siptrace on for your external profile for additional
>> information.
>>
>> 2012-01-23 00:04 keltezéssel, Ruslan írta:
>>
>> Hi please somebody help me!! I have this message "Invalid authorization
>> header" on every inbound call I make. I couldn't find any reference (apart
>> from chunk of c code, which I can't comprehend).
>>
>> My sip config looks like that:
>>
>> <include>
>>     <gateway name="sip.clubtelco.com">
>>       <param name="username" value="09XXXXX"/>
>>       <param name="auth-username" value="09XXXXX"/>
>>       <param name="password" value="YYYYYYY"/>
>>       <param name="from-user" value="09XXXXX"/>
>>       <param name="proxy" value="sip.clubtelco.com"/>
>>       <param name="expire-seconds" value="600"/>
>>       <param name="register" value="true"/>
>>       <param name="register-transport" value="udp"/>
>>       <param name="retry-seconds" value="60"/>
>>       <param name="context" value="public"/>
>>       <param name="caller-id-in-from" value="true"/>
>>     </gateway>
>> </include>
>>
>> Thanks
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120124/d2fe7d2f/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list