kishorekolluicse / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

sipdroid2.4 from android3.2 is nor connecting with local asterisk server any one help me #1008

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i am using asterisk 1.4.20 and sip client sipdroid 2.4 on android.
my sip.conf,extenction.conf is working perfect with x-lite on windows 
but when i am trying with android with sipdroid2.4 it not able to connect to my 
asterisk server...

my sip.conf and extenction.conf is:

[101]
username=101
type=friend
context=unsecured-line
secret=101
nat=yes
host=dynamic
canreinvite=no
qualify=no
bindport=5060
;disallow=all
;allow=gsm
;allow=ulaw
;auth=101
auth=101@101@172.16.5.5:5060

extenction.conf:

[user]
exten => 101,1,Dial(SIP/101,20)
exten => 101,2,Hangup()
exten => 102,1,Dial(SIP/102,20)
exten => 102,2,Hangup()

Original issue reported on code.google.com by ramana05...@gmail.com on 7 Jan 2012 at 10:04

GoogleCodeExporter commented 9 years ago
i worked out the asterisk interfacing with android sipdroid2.4 and x-lite on 
windows.

these are the my configuration data;

Asterisk configuration files:

etc/asterisk#vim Sip.conf:

[201] 
type=friend 
context=my-phones 
username=201 
secret=201 
host=dynamic 
nat=yes 
;auth=0@172.16.5.5 
;disallow=all 
;allow=alaw 

[202] 
type=friend 
context=my-phones 
secret=202 
username=202 
host=dynamic 
nat=yes 
;auth=0@172.16.5.5 
;disallow=all 
;allow=alaw 

etc/asterisk#vim exten.conf:
[others] 

[my-phones] 
exten => 201,1,Dial(SIP/201,20) 
exten => 201,2,VoiceMail(201,20) 
exten => 201,3,Answer() 
exten => 201,4,Playback(welcome) 
exten => 201,5,Hangup() 

exten => 202,1,Dial(SIP/202,20) 
exten => 202,2,VoiceMail(202,20) 
exten => 202,3,Answer() 
exten => 202,4,Playback(welcome) 
exten => 202,5,Hangup() 

exten => 2999,1,VoiceMailMain(${CALLERID(num)},s) 

etc/asterisk#vim voicemailbackup:

[general] 
format = wav 

[default] 
201 => 4711,Joe Bloggs,joeb@megacorp.biz 
202 => 0815,Darlene Doe,dard@megacorp.biz

Original comment by ramana05...@gmail.com on 11 Jan 2012 at 2:41

GoogleCodeExporter commented 9 years ago
after that configuration over in asterisk server configure the two soft phones 
sipdroid2.4 and x-lite with server ip address.we can make call between that two 
soft phones..

Original comment by ramana05...@gmail.com on 11 Jan 2012 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 13 Jan 2012 at 9:48