[Spce-user] Fail to register my first device :(

African Axess African Axess axessofficetheo at gmail.com
Wed Feb 13 07:26:30 EST 2013


Hi

Yes, I had seen that before already. Just didn't think it would apply as
the manual says that when using 1 interface only and ipv4 there should be
 no need for it. It's all good now though, but I just thought that the
manual may want to state that it's something to try anyhow.

Cheers

On Wed, Feb 13, 2013 at 10:07 AM, Daniel Grotti <dgrotti at sipwise.com> wrote:

>  Hi,
> you could find something inside te SPCE 2.7 Handbook:
>
> http://www.sipwise.com/doc/2.7/spce/ar01s05.html#_network_configuration
>
>
> Daniel
>
>
>
>
> On 02/12/2013 08:08 PM, African Axess African Axess wrote:
>
> Hi
>
>  I hadn't issues those commands because the manual said I wouldn't have
> to if I only have one interface. I've done it now though and after the
> server rebooted - Eureka, device registered.
>
>  Thank you so much for all the advice guys, picked up some debugging
> skills in the process.
>
>  If the sipwise people are seeing this: good tip to change this in the
> manual? or did I misunderstand it to start off with?
>
>  Time to call it a day now - will start playing tomorrow.
>
>  Cheers
>
> On Tue, Feb 12, 2013 at 8:53 PM, Douglas Ugalde <dugalde300 at gmail.com>wrote:
>
>> Hi,
>>
>> I'm not an expert but maybe I can help.
>>
>> Use this command to check if your user is trying to register, you can see
>> this in realtime    (ngrep -d eth0 -qt -W byline port 5060), and did you
>> set the interface for SPCE can listen properly?
>>
>> ngcp-netwo
>
>
>   rk --set-interface=eth0 --ip=auto --netmask=auto
>> ngcp-network --move-from=lo --move-to=eth0 --type=web_ext --type=sip_ext
>> --type=rtp_ext --type=ssh_ext
>>
>> ngcpcfg apply
>>
>> This is because in my case the SPCE begin listening by the interface lo
>> and not for the eth0 or eth1 interface.
>>
>> Note:
>> For me this worked after the server reboot, *sorry for my english.
>> *
>> Regards
>>
>>
>>
>>  On Tue, Feb 12, 2013 at 12:09 PM, African Axess African Axess <
>> axessofficetheo at gmail.com> wrote:
>>
>>>  Hi
>>>
>>>  ---
>>> hosts:
>>>   self:
>>>     eth0:
>>>       ip: 196.41.123.113
>>>       netmask: 255.255.255.0
>>>       type:
>>>         - web_ext
>>>         - sip_ext
>>>         - rtp_ext
>>>         - ssh_ext
>>>     interfaces:
>>>       - lo
>>>       - eth0
>>>     lo:
>>>       ip: 127.0.0.1
>>>       netmask: 255.255.255.0
>>>       shared_ip: []
>>>       shared_v6ip: []
>>>       type:
>>>         - sip_int
>>>         - ha_int
>>>         - web_int
>>>       v6ip: '::1'
>>>     role:
>>>       - proxy
>>>        - lb
>>>       - mgmt
>>>
>>>
>>> On Tue, Feb 12, 2013 at 8:06 PM, Daniel Grotti <dgrotti at sipwise.com>wrote:
>>>
>>>> Please provide us with your /etc/ngcp-config/network.yml
>>>>
>>>>  thx
>>>>
>>>>
>>>>
>>>> Sent from Samsung Mobile
>>>>
>>>>
>>>>
>>>> African Axess African Axess <axessofficetheo at gmail.com> wrote:
>>>>
>>>>
>>>> kamailio  2456     1  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2495  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2496  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2497  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2498  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2499  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2500  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2501  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2502  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2503  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2504  2456  0 17:58 ?        00:00:01 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2505  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2506  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2507  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2508  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2509  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2510  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2511  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2512  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2513  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2514  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2515  2456  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid -m 125
>>>> -M 16 -u kamailio -g kamailio
>>>> kamailio  2925     1  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2991  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2992  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2993  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2995  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2996  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  2999  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3001  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3002  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3004  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3006  2925  0 17:58 ?        00:00:01 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3010  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3012  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3014  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3015  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3018  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3020  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> kamailio  3022  2925  0 17:58 ?        00:00:00 /usr/sbin/kamailio -f
>>>> /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m
>>>> 125 -M 16 -u kamailio -g kamailio
>>>> root      3029     1  0 17:58 ?        00:00:00 /usr/bin/mediator -D
>>>> /var/run/mediator.pid -i 10 -h localhost -o 3306 -u kamailio -p
>>>> fmepWPtkisz7WvvoEouR -b kamailio -H localhost -O 3306 -U mediator -P
>>>> wFTN34Xnoeyzae3yEzyv -B accounting -S localhost -T 3306 -R mediator -A
>>>> wFTN34Xnoeyzae3yEzyv -N provisioning -d
>>>>
>>>>
>>>>  AND
>>>>
>>>>
>>>>  tcp        0      0 127.0.0.1:5060          0.0.0.0:*
>>>> LISTEN      2515/kamailio
>>>>  udp        0      0 127.0.0.1:5060          0.0.0.0:*
>>>>           2456/kamailio
>>>>
>>>>
>>>> On Tue, Feb 12, 2013 at 7:52 PM, Daniel Grotti <dgrotti at sipwise.com>wrote:
>>>>
>>>>> Are you kamailio istances listening properly?
>>>>>
>>>>>  Try
>>>>> ps -ef | grep kamailio
>>>>>  Netstat -anp | grep 5060
>>>>>
>>>>>  thanks
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Sent from Samsung Mobile
>>>>>
>>>>>
>>>>>
>>>>> African Axess African Axess <axessofficetheo at gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi
>>>>>
>>>>>  Thanks so much for the quick replies. I have literally just
>>>>> installed this and am not at all familiar with it yet - for example I was
>>>>> lost as to which logfile to check :-( - now I know. I see no attempt coming
>>>>> through for my registration in those logs.
>>>>>
>>>>>  It is making it to the server - as per the tcpdump output I gave.
>>>>> Not blacklisted. It's running as a full installation (not a template) on a
>>>>> virtual server.
>>>>>
>>>>>  I created a domain. Then created a subsriber, called it user10, and
>>>>> pass. Putting those details in my softphone or my SNOM 300 gets me nowhere
>>>>> - as I said it gets to the server. IPtables -L - looks right I think?
>>>>>
>>>>>  Chain INPUT (policy ACCEPT)
>>>>> target     prot opt source               destination
>>>>> MEDIAPROXY  udp  --  anywhere             anywhere            id 0
>>>>>
>>>>>  Chain FORWARD (policy ACCEPT)
>>>>> target     prot opt source               destination
>>>>>
>>>>>  Chain OUTPUT (policy ACCEPT)
>>>>> target     prot opt source               destination
>>>>>
>>>>>
>>>>>  On Tue, Feb 12, 2013 at 6:16 PM, Kevin Masse <kmasse at questblue.com>wrote:
>>>>>
>>>>>>  Good morning, have you tried watching ngrep-sip from a command line
>>>>>> to see if the registration request are actually making it to the server?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Also it would be helpful to know and understand what your setup is
>>>>>> like.  For example what is the environment, Dedicated? Virtual System?
>>>>>>
>>>>>> Are you blacklisted in the Admin portal with the IP of the device you
>>>>>> are trying to register?  What steps have you done in the Subscriber
>>>>>> process, Etc?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Kevin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* spce-user-bounces at lists.sipwise.com [mailto:
>>>>>> spce-user-bounces at lists.sipwise.com] *On Behalf Of *African Axess
>>>>>> African Axess
>>>>>> *Sent:* Tuesday, February 12, 2013 11:12 AM
>>>>>> *To:* spce-user at lists.sipwise.com
>>>>>> *Subject:* [Spce-user] Fail to register my first device :(
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have installed sipwise ce as a test box. All "appears" to be
>>>>>> running fine but I cannot register a device no matter what I try. I'm a bit
>>>>>> lost as to where to start looking, but did to a tcpdump which gives me:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Ip-of-sipwise-server > public-ip-of-adsl: ICMP ip-of-sipwise-server
>>>>>> udp port sip unreachable
>>>>>>
>>>>>>
>>>>>>
>>>>>> Any words of wisdom where to start?
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>  _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130213/40712511/attachment-0001.html>


More information about the Spce-user mailing list