[asterisk-users] Re: Asterisk SIP problems with Nokia E61

Devraj Mukherjee devraj at gmail.com
Mon Jul 31 22:57:45 MST 2006


Further to the problem I reported earlier, I changed my sip.conf to
have the value 1000 for the property qualify and the phone seems to be
connected longer

monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (162 ms)
1 sip peers [1 online , 0 offline]
    -- Got SIP response 400 "Bad Request" back from 192.168.1.80
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (305 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (209 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (314 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (307 ms)
1 sip peers [1 online , 0 offline]
Aug  1 05:12:53 NOTICE[30603]: chan_sip.c:9727
handle_response_peerpoke: Peer '111' is now TOO LAGGED! (1330ms /
1000ms)
Aug  1 05:13:03 NOTICE[30603]: chan_sip.c:9721
handle_response_peerpoke: Peer '111' is now REACHABLE! (240ms /
1000ms)
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (303 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (334 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (305 ms)
1 sip peers [1 online , 0 offline]
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (305 ms)
1 sip peers [1 online , 0 offline]
    -- Got SIP response 400 "Bad Request" back from 192.168.1.80
Aug  1 05:46:56 NOTICE[30605]: chan_iax2.c:7787 iax2_poke_noanswer:
Peer 'ifone' is now UNREACHABLE! Time: 39
Aug  1 05:47:06 NOTICE[30605]: chan_iax2.c:7119 socket_read: Peer
'ifone' is now REACHABLE! Time: 39
monk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
111/111                    192.168.1.80     D   N      5060     OK (304 ms)
1 sip peers [1 online , 0 offline]


On 8/1/06, Devraj Mukherjee <devraj at gmail.com> wrote:
> Hi everyone,
>
> I am trying to get my Nokia E61 working with Asterisk, all is well it
> registers but every now and then the registration drops out. I can
> still ping the Wi-fi adapter, and qualify in the sip.conf is set to
> yes. Also the phone claims that it is still registered with the SIP
> server.
>
> This is the first Wifi phone I am trying to get working. Any pointers
> will be really appreciated.
>
> SIP conf for E61:
>
> [111]
> type=friend
> callerid=("Devraj Mukherjee" <111>)
> username=111
> host=dynamic
> secret=password
> regcontext=default
> regexten=111
> dtmfmode=rfc2833
> insecure=very
> canreinvite=yes
> nat=yes
> context=default
> ;pickupgroup=1
> ;callgroup=1
> mailbox=111 at default
> allow=ulaw
> qualify=yes
>
>
> Output from Asterisk console:
>
> monk*CLI> sip show peers
> Name/username              Host            Dyn Nat ACL Port     Status
> 111/111                    192.168.1.80     D   N      5060     OK (181 ms)
> 1 sip peers [1 online , 0 offline]
>     -- Got SIP response 400 "Bad Request" back from 192.168.1.80
> monk*CLI> sip show peers
> Name/username              Host            Dyn Nat ACL Port     Status
> 111/111                    192.168.1.80     D   N      5060     OK (306 ms)
> 1 sip peers [1 online , 0 offline]
> Aug  1 02:05:41 NOTICE[30603]: chan_sip.c:11396 sip_poke_noanswer:
> Peer '111' is now UNREACHABLE!  Last qualify: 203
> Aug  1 02:06:19 NOTICE[30603]: chan_sip.c:9721
> handle_response_peerpoke: Peer '111' is now REACHABLE! (233ms /
> 2000ms)
> monk*CLI> sip show peers
> Name/username              Host            Dyn Nat ACL Port     Status
> 111/111                    192.168.1.80     D   N      5060     OK (233 ms)
> 1 sip peers [1 online , 0 offline]
>
> Finally ping report:
>
>
> --- 192.168.1.80 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1002ms
> rtt min/avg/max/mdev = 97.654/156.043/214.433/58.390 ms, pipe 2
> [root at monk asterisk]# ping 192.168.1.80
> PING 192.168.1.80 (192.168.1.80) 56(84) bytes of data.
> 64 bytes from 192.168.1.80: icmp_seq=0 ttl=69 time=221 ms
> 64 bytes from 192.168.1.80: icmp_seq=1 ttl=69 time=140 ms
>
> --- 192.168.1.80 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
> rtt min/avg/max/mdev = 140.624/181.153/221.682/40.529 ms, pipe 2
> [root at monk asterisk]# ping 192.168.1.80
> PING 192.168.1.80 (192.168.1.80) 56(84) bytes of data.
> 64 bytes from 192.168.1.80: icmp_seq=0 ttl=69 time=32.6 ms
> 64 bytes from 192.168.1.80: icmp_seq=1 ttl=69 time=157 ms
>
> --- 192.168.1.80 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
> rtt min/avg/max/mdev = 32.646/95.308/157.970/62.662 ms, pipe 2
>



More information about the asterisk-users mailing list