zjzhang-cn / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

setup for asterisk #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.In asterisk, sip.conf:

[mydroid]
type=peer
context=droid-incoming
disallow=all
allow=g729
allow=gsm
allow=ulaw
dtmfmode=rfc2833
qualify=yes
insecure=port,invite
secret=mypassword
nat=yes
canreinvite=no
host=dynamic

2.imsdroid Identity on droid X 2.2:

public identity:
sip:mydroid@<ip.ad.dr.ess>
private identity:
mydroid@<ip.ad.dr.ess>
password:
mypassword
realm:
asterisk_home

3. Network on imsdroid:

Proxy-CSCF Host:
<ip.ad.dr.ess>
Proxy-CSCF Port:
5060 

What is the expected output? What do you see instead?
Nothing happens on asterisk. No failed registration. Nothing.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by seandar...@gmail.com on 29 Oct 2010 at 1:56

GoogleCodeExporter commented 9 years ago
Could you please send the log using "Log Collector" application.
My email address is diopmamadou(at)doubango(dot)org

Original comment by boss...@yahoo.fr on 29 Oct 2010 at 6:54

GoogleCodeExporter commented 9 years ago
It just started working this morning.

Maybe sunspots?? :-)

Original comment by seandar...@gmail.com on 29 Oct 2010 at 11:11

GoogleCodeExporter commented 9 years ago
My working demo config on asterisk

[imsdroid]
type=friend
auth=md5
username=imsdroid
secret=imsdroid
host=dynamic
nat=yes
canreinvite=nonat
context=default
qualify=1000
dtmfmode=auto
callerid="IMSDroid client" <imsdroid>
disallow=all
allow=ulaw
allow=h263

imsdroid Identity on IMSDroid:

public identity:
imsdroid
private identity:
imsdroid
password:
imsdroid
realm:
<asterisk.ip>

Proxy-CSCF Host:
<asterisk.ip>
Proxy-CSCF Port:
5060 

Try and see if it works for you.

Original comment by volkov.r...@gmail.com on 1 Nov 2010 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 1 Nov 2010 at 6:49