sip.conf:
[imsdroid]
type=friend
;;auth=md5
;;defaultuser=imsdroid
secret=mysecret
host=dynamic
context=cloud-out
qualify=60
dtmfmode=auto
insecure=port,invite
callerid="IMSDroid client" <imsdroid>
disallow=all
allow=ulaw
I've tried with and without defaultuser and secret.
sip show peer imsdroid:
* Name : imsdroid
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : cloud-out
Subscr.Cont. : <Not set>
..............
Def. Username: imsdroid
..............
On the Droid X, imsdroid:
Public Identity: imsdroid
Private Identity: imsdroid
Password: mysecret
Realm: asterisk
I've also tried identity in form imsdr...@asterisk.ip.addr.
From the imsdroid Quick Start:
Public Identity: The public visible identifier where you are willing to
receive calls or any demands, either a SIP or tel URI (e.g.
tel:+33100000 or sip:b...@open-ims.test).
For a basic SIP client, this should be a SIP URI (a.k.a SIP address).
Private Identity: A unique identifier assigned to a user (or UE) by the
home network. It could be either a SIP URI (e.g. sip:b...@open-ims.test),
a tel URI (e.g. tel:+33100000) or any alphanumeric string (e.g.
b...@open-ims.test or bob).
For a basic SIP client, the IMPI should coincide with their
authentication name.
Password: Your password.
Realm: The realm is the name of the domain to authenticate to. It should
be a valid SIP URI (e.g. sip:open-ims.test).
sip debug:
<--- SIP read from UDP:<my.ip.addr>:34778 --->
REGISTER sip:asterisk SIP/2.0
Via: SIP/2.0/UDP <my.ip.addr>:34778;branch=z9hG4bK741407665;rport
From: <sip:imsdroid>;tag=629978444
To: <sip:imsdroid>
Contact:
<sip:(null)@<my.ip.addr>:34778;transport=udp>;expires=600000;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
Call-ID: 3e130372-8de8-a6b4-6250-36307973a88f
CSeq: 2010551627 REGISTER
ontent-Length: 0
Max-Forwards: 70
Authorization: Digest
username="imsdroid",realm="asterisk",nonce="39f59329",uri="sip:asterisk",response="2ba48ca360d592ca183ba6706e6feae9",algorithm=MD5
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: IM-client/OMA1.0 IMSDroid/v1.2.366 (doubango r550)
P-Preferred-Identity: <sip:imsdroid>
Supported: path
<------------->
--- (16 headers 0 lines) ---
Sending to <my.ip.addr>:34778 (no NAT)
<--- Transmitting (no NAT) to <my.ip.addr>:34778 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
<my.ip.addr>:34778;branch=z9hG4bK741407665;received=<my.ip.addr>;rport=34778
From: <sip:imsdroid>;tag=629978444
To: <sip:imsdroid>
Call-ID: 3e130372-8de8-a6b4-6250-36307973a88f
CSeq: 2010551627 REGISTER
Server: Asterisk PBX 1.8.3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
<--- Transmitting (no NAT) to <my.ip.addr>:34778 --->
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP
<my.ip.addr>:34778;branch=z9hG4bK741407665;received=<my.ip.addr>;rport=34778
From: <sip:imsdroid>;tag=629978444
To: <sip:imsdroid>;tag=as44c80a4c
Call-ID: 3e130372-8de8-a6b4-6250-36307973a88f
CSeq: 2010551627 REGISTER
Server: Asterisk PBX 1.8.3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
[Mar 6 03:38:28] NOTICE[7794]: chan_sip.c:23511 handle_request_register: Registration from
'<sip:imsdroid>' failed for '<my.ip.addr>:34778' - No matching peer found
I must be missing something glaringly obvious. Any help appreciated.
sean
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users