[Asterisk-Dev] asterisk CVS HEAD + presence

harry gaillac gaillacharry at yahoo.fr
Thu Aug 18 09:41:44 MST 2005


Hello 

I patch asterisk sources with patch for presence 
However something is wrong when user send subscribe
messsage
status 489 bad event is sent to subscriber

I join a ethereal file. 

Harry


sip.conf:
[general]
context=default			
realm=nxs.yi.org
bindport=5060	
bindaddr=192.168.0.50		
srvlookup=yes
tos=lowdelay
maxexpirey=3600
defaultexpirey=120		
notifymimetype=text/plain
notifyringing=no       
checkmwi=10			
videosupport=yes		
recordhistory=yes		 
disallow=all			
allow=ulaw			
allow=ilbc			 
musicclass=default		
language=en	
relaxdtmf=yes
rtptimeout=60			
rtpholdtimeout=300
trustrpid = no			
progressinband=never		
useragent=Asterisk PBX
usereqphone = yes		
dtmfmode = rfc2833	
compactheaders = no
sipdebug = yes


[84]
type=friend			; Friends place calls and receive calls
context=default  		; Context for incoming calls from
this user
secret=84
host=dynamic			; This peer register with us
dtmfmode=rfc2833		; Choices are inband, rfc2833, or
info
username=alice			; Username to use in INVITE until
peer registers
disallow=all
allow=ulaw                     ; dtmfmode=inband only
works with ulaw or alaw!
progressinband=no		; Polycom phones don't work
properly with "never"

[85]
type=friend                     ; Friends place calls
and receive calls
context=default                 ; Context for incoming
calls from this user
secret=85
host=dynamic                    ; This peer register
with us
dtmfmode=rfc2833                ; Choices are inband,
rfc2833, or info
username=alice                  ; Username to use in
INVITE until peer registers
disallow=all
allow=ulaw                     ; dtmfmode=inband only
works with ulaw or alaw!
progressinband=no               ; Polycom phones don't
work properly with "never"



extension.conf:
;
; The "General" category is for certain variables.  
;
[general]
static=yes
writeprotect=no
[globals]


[default]
ignorepat => 0
exten => _0XXX.,1,Dial(Zap/g1/${EXTEN:1})
exten => 80,1,Dial(Zap/g2/)

exten => 84,hint,Dial(Sip/84)
exten => 84,1,Dial(Sip/84)

exten => 85,hint,Dial(Sip/85)
exten => 85,1,Dial(Sip/85)




	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip_subscription
Type: application/octet-stream
Size: 2357 bytes
Desc: 1156734228-sip_subscription
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050818/20cb9a59/sip_subscription.obj


More information about the asterisk-dev mailing list