[Spce-user] Subscriber upper registration

Isaac McDonald voiplists at gmail.com
Tue Apr 24 14:00:27 EDT 2012


According to the log the username was numeric and failed.
"subscriber_preferences failed: 'peer_auth_user' must be a valid
username, not '603" After I changed the username to one beginning with
a letter I was able to save changes. It appears that the field
"peer_auth_user:" in the subscriber preferences is not sanitizing the
input. I beleive I am running version 2.5. How can I check the
version?

Now that I successfully entered credentials for the subscriber to
register to a peer, what peer is this user going to register to? What
peers will use these credentails when placing outbound calls?

Thanks for your help!



Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'billing::get_voip_account_subscriber_by_id'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::get_subscriber_preferences'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::get_preferences'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::check_E164_number'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::check_cc'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::check_ac'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov
calling 'voip::set_subscriber_preferences'
Apr 24 10:11:01 spce /usr/sbin/apache2: ***Provisioning::call_prov:
voip::set_subscriber_preferences failed: 'peer_auth_user' must be a
valid username, not '603'

On Mon, Apr 23, 2012 at 10:24 PM, Andrew Pogrebennyk
<apogrebennyk at sipwise.com> wrote:
> Hi Isaac, what does oss.log say? E.g. you can do tail -f
> /var/log/ngcp/oss.log, try to enter and save auth info, then paste the
> contents of log file. Also, I'd like to know what version of SPCE you
> are using.
> Regards,
> Andrew
>
> On 04/24/2012 02:25 AM, VoIPLists wrote:
>> Hello all,
>>
>> I've been evaluating SPCE as a possible alternative to Brekeke SIP
>> proxy. Currently Brekeke is sitting in front of our hosted Asterisk
>> servers providing NAT traversal for clients behind NAT.
>>
>> I would like SIP clients to register to SPCE and then have SPCE
>> register on their behalf  (upper registration)  to one of our asterisk
>> servers. (peer).
>>
>> I am trying to accomplish this by entering the relavant info on the
>> subsciber preferences tab: "peer_auth_user" "peer_auth_pass"
>> "peer_auth_realm": and then checking "peer_auth_register". Whenever I
>> try and submit the information, I get an error saying "Internal error,
>> please try again later."
>>
>> What am I doing wrong?
>>
>>
>> Thanks,
>>
>> Isaac
>>




More information about the Spce-user mailing list