[Spce-user] Please let meknowwhyIfaced401/403(Unauthorized/Invalid To-URI Detected).
David Ho
rea1ity at kaist.ac.kr
Fri Mar 22 00:55:39 EDT 2013
Jon,
I was succeed to register with my PSTN gateway last night.
The reason I couldn't register to my PSTN gateway was have no peer about incorrectly ID/PW because my PSTN gateway ID only gets number(i.e. 0 to 9).
And my PSTN GW required three kinds of values it is 'Represent telephone number', 'ID','PW'.
So I'm put in the values to there that I set on SIPWISE peer same as ID and PW.
But the one of value as 'Represent telephone number' used at ID on SIPWISE.(It caused confused me.)
So when I tried input a same value as 'Represent TEL No' and 'ID', The PSTN GW as well registered on SIPWISE server. (hooray!!)
It so hard time for me because its a first time to set VoIP system it configured SIP server and registering with third party PSTN GW.
But It is alright. thank you for your support.
Registered problem was cleared.
And it is another one of the log capacities.
As you mentioned the log files capacity can increased over the several GB.
If I want to modified the log files capacity has limited as several MB, how can I do that?
I didn't want to it would be problemed that SIP server hard drive capacity was full of log file so it occurred system error.
David
-----------------------원본메일-----------------------
보낸사람 : "Jon Bonilla (Manwe)" <jbonilla at sipwise.com>
받는사람: "spce-user at lists.sipwise.com" <spce-user at lists.sipwise.com>
참 조: David Ho <rea1ity at kaist.ac.kr>
보낸날짜: 2013-03-21 19:24:36 GMT +0900 (Asia/Seoul)
제목: Re: [Spce-user] Please let meknowwhyIfaced401/403(Unauthorized/Invalid To-URI Detected).
El Thu, 21 Mar 2013 12:24:34 +0900 (KST)
David Ho<rea1ity at kaist.ac.kr> escribió:
>
>
> Jon,
>
> I've already followed up the document that you provide "The sip:provider CE
> Handbook 2.7" so I'm followed setup 1 to 6 chapter and almost setting same
> like the document. And now I'm tried to modify values of Peering Servers
> several times and you could know where I'm modified the values at "6.4.4.
> Authenticating and Registering against Peering Servers". the URL following;
> http://www.sipwise.com/doc/2.7/spce/ar01s06.html#_authenticating_and_registering_against_peering_servers
> So manytimes, SIPWISE server denied my PSTN gateway caused by
> Unauthorized(401). And I found what is problemed via sems log
> file("/var/log/ngcp/sem/sems.log") it appeared error message before I
> mentioned same like following;
So you already created two subscribers and you ca call from one to the other?
If so, send us what you did to register against your peer server and all the
related information, network capture and configuration files. We cannot guess
what's going on without information.
> -----------------------------------------------------------------------------------------------------------------
> Mar 20 08:44:14 spce sems[2164]: [#7f601e77d700] [doRegistration,
> AmSipRegistration.cpp:139] ERROR: failed to send registration.
> -----------------------------------------------------------------------------------------------------------------
> So 'doRegistration function in AmSipRegistration.cpp file occurred ERROR
> message. If you were me, how could solve the error occurred? And it is
> another one that I afraid thing. the log files in SIPWISE as kamailio-lb.log
> and kamailio-options-proxy.log increased capacity too much. my
> kamailio-lb.log file capacity is over than 28MB and
> kamailio-options-proxy.log file capacity is more than 7MB. The reason of the
> log too much increased capacity caused by stacked approax. four to five log
> messages per a second! Is it alright to leave it even though it will be huge
> capacity log file after than this log file could occurr system error for leak
> of hard disk capacity. David
You can expect several GB of logs per day in a production system. 28MB is a
very small log. THe spce logs a lot of information for each request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130322/06fa8722/attachment-0001.html>
More information about the Spce-user
mailing list