Hello ppl,
At initial level i configure asterisk woth only soft phones ,in which
one at windows machine and other is linux i am using windows messenger
and linphone respectively both phones registered with asterisk
respectively problem is that they bypass asterisk on call when i send
request from linphone to messenger request shown on messenger but on
asterisk console nothing to and also if i send request from messenger
to linphone it doesn't recognized at all my config are:
extensions.conf:
[general]
static=yes
writeprotect=no


[sip]
exten => 101,1,Dial(SIP/101,20) -------->msn
exten => 922,2,Dial(SIP/102,20) --------->linphone

sip.conf:
[general]
context=sip                     
port=5060                       
bindaddr=192.168.0.50   (asterisk server ip)    
maxexpirey=3600         
defaultexpirey=120      
disallow=all                    
allow=ulaw                      
allow=alaw
allow=gsm
relaxdtmf=yes                   
rtptimeout=60                   
rtpholdtimeout=300              
;useragent=Asterisk PBX         
;nat=no                         


[911]
username=101
type=friend
callerid=101
context=sip
qualify=no
host=dynamic
nat=no
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
;allow=gsm
defaultip=192.168.0.60


[912]
username=102
type=friend
host=dynamic
dtmfmode=inband
context=sip
disallow=all
allow=alaw
allow=ulaw
;allow=gsm
nat=no
defaultip=192.168.0.51
canreinvite=yes

what i want when asterisk registers it can only make calls otherwise refuse it .
Don't bother with my question.
Thank You.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to