[asterisk-users] [OT] Nokia E60/61/70 and SIP

Enrico Pasqualotto pasqu at linux.it
Wed Oct 18 02:25:44 MST 2006


Martin Joseph wrote:
>
>
> For all of us using these devices, I have some good news.  There is a 
> self installable firmware update available from Nokia here (requires 
> windows box to install):
>
> http://www.nokia.co.uk/nokia/0,1522,,00.html?orig=/softwareupdate
>
> This seems to radically improve the behavior of the SIP client on my 
> E60.  It seems to have resolved several of the MANY bugs that were 
> outstanding on this product.
>
> The update does erase all your setups and info though. You are warned.
>
> Marty

Hi, there are differences for the lang? I have the E60 in italian lang 
and the software update says that I have the last firmware (I don't 
think is the last firmware).

I have a problem with this phone and Asterisk, my sip.conf is:

############################################
[208]
username=208
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes (I have try with neven too)
notransfer=yes
mailbox=208 at device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=Pasqu <208>
disallow=all
allow=alaw

##########################################

I have set my phone with this conf:

##########################################


Public user name: sip:[PhoneNumber]@:[youre asterisks servers ip] or 
sip:[PhoneNumber]@[youre_asterisk_servers_hostname]
Use Compression: No
Registration: "Always on" or "When Needed"
Use Security: No
-- 
Proxy Server: sip:[youre asterisks servers ip]
Realm: asterisk
User Name: PhoneNumber
Password: PIN
Allow loose routing: Yes
Transport Type: UDP
Port: 5060
-- 
Registrar Server: sip:[youre asterisks servers ip]
Realm: asterisk
User Name: PhoneNumber
Password: PIN
Transport Type: UDP
Port: 5060

#############################################################3

but the phone not work.

In the log I read this:

########### with nat = never ########################

<-- SIP read from 151.38.43.46:19834:
REGISTER sip:192.168.1.200 SIP/2.0
Route: <sip:192.168.1.200;lr>
Via: SIP/2.0/UDP 192.168.1.99:5060;branch=z9hG4bKoshj5kfbp1hc74qm0ackh80
From: <sip:208 at my_ip>;tag=jmtj5k9nadhc7fim0ack
To: <sip:208 at my_ip>
Contact: <sip:208 at 192.168.1.99>;expires=3600
CSeq: 1126 REGISTER
Call-ID: vfQOQl--oIeXj0api9F6nimvnTwG0T
Supported: sec-agree
Max-Forwards: 70
Content-Length: 0


--- (11 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.1.99 : 5060 (NAT)
Transmitting (no NAT) to 192.168.1.99:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 
192.168.1.99:5060;branch=z9hG4bKoshj5kfbp1hc74qm0ackh80;received=151.38.43.46 

From: <sip:208 at my_ip>;tag=jmtj5k9nadhc7fim0ack
To: <sip:208 at my_ip>
Call-ID: vfQOQl--oIeXj0api9F6nimvnTwG0T
CSeq: 1126 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:208 at 192.168.1.200>
Content-Length: 0


---
Transmitting (no NAT) to 192.168.1.99:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
192.168.1.99:5060;branch=z9hG4bKoshj5kfbp1hc74qm0ackh80;received=151.38.43.46 

From: <sip:208 at my_ip>;tag=jmtj5k9nadhc7fim0ack
To: <sip:208 at my_ip>;tag=as29a9cc9f
Call-ID: vfQOQl--oIeXj0api9F6nimvnTwG0T
CSeq: 1126 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:208 at 192.168.1.200>
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2495e6cb"
Content-Length: 0

###########################################################

######## with nat = yes #################################

-- (11 headers 0 lines)---
Destroying call '08e0cde70bda25a526f32d5a50727f33 at 192.168.1.200'
asterisk1*CLI>
<-- SIP read from 151.38.43.46:20300:
REGISTER sip:192.168.1.200 SIP/2.0
Route: <sip:pasqu.zapto.org;lr>
Via: SIP/2.0/UDP 192.168.1.99:5060;branch=z9hG4bKegpl50ntmlhc69ar0ackhhd
From: <sip:208 at my_ip>;tag=5vk550gjc5hc7o4v0ack
To: <sip:208 at my_ip>
Contact: <sip:208 at 192.168.1.99>;expires=3600
CSeq: 1133 REGISTER
Call-ID: 5hdiwAD3oIdgxgapi3CfvgbWvzQ0PU
Supported: sec-agree
Max-Forwards: 70
Content-Length: 0


--- (11 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.1.99 : 5060 (NAT)
Transmitting (NAT) to 151.38.43.46:20300:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 
192.168.1.99:5060;branch=z9hG4bKegpl50ntmlhc69ar0ackhhd;received=151.38.43.46 

From: <sip:208 at my_ip>;tag=5vk550gjc5hc7o4v0ack
To: <sip:208 at my_ip>
Call-ID: 5hdiwAD3oIdgxgapi3CfvgbWvzQ0PU
CSeq: 1133 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:208 at 192.168.1.200>
Content-Length: 0


---
Transmitting (NAT) to 151.38.43.46:20300:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
192.168.1.99:5060;branch=z9hG4bKegpl50ntmlhc69ar0ackhhd;received=151.38.43.46 

From: <sip:208 at my_ip>;tag=5vk550gjc5hc7o4v0ack
To: <sip:208 at my_ip>;tag=as6985bfa3
Call-ID: 5hdiwAD3oIdgxgapi3CfvgbWvzQ0PU
CSeq: 1133 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:208 at 192.168.1.200>
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="177af280"
Content-Length: 0

#######################################################

Anyone can say what is the problem?

P.S. the secret is correct!

Thanks Pasqu.

-- 
Pasqualotto 'Pasqu' Enrico
enrico AT pasqualotto DOT org
web: http://www.pasqualotto.org
skype: epasqualotto



More information about the asterisk-users mailing list