No matching peer found

Home » Asterisk Users » No matching peer found
Asterisk Users No Comments

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”
disallow=all
allow=ulaw

I’ve tried with and without defaultuser and secret.

sip show peer imsdroid:

* Name : imsdroid
Secret :
MD5Secret :
Remote Secret:
Context : cloud-out
Subscr.Cont. :
…………..
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 imsdroid@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:bob@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:bob@open-ims.test),
a tel URI (e.g. tel:+33100000) or any alphanumeric string (e.g.
bob@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::34778 —>
> REGISTER sip:asterisk SIP/2.0
> Via: SIP/2.0/UDP :34778;branch=z9hG4bK741407665;rport
> From: ;tag=629978444
> To:
> Contact: :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:
> Supported: path
>
> <------------->
> — (16 headers 0 lines) —
> Sending to :34778 (no NAT)
>
> <--- Transmitting (no NAT) to :34778 —>
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP :34778;branch=z9hG4bK741407665;received=;rport=34778
> From: ;tag=629978444
> To:
> 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 :34778 —>
> SIP/2.0 403 Forbidden (Bad auth)
> Via: SIP/2.0/UDP :34778;branch=z9hG4bK741407665;received=;rport=34778
> From: ;tag=629978444
> To: ;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 ‘‘ failed for ‘:34778′ – No matching peer found

I must be missing something glaringly obvious. Any help appreciated.

sean