[asterisk-users] how to configure for incoming message-summary SUBSCRIBE

Klaus Darilion klaus.mailinglists at pernau.at
Thu Mar 12 08:37:17 CDT 2009


answering myself ...

Klaus Darilion schrieb:
> Hi!
> 
> AFAIS the incoming SUBSCRIBE is handled in the same context as INVITE - 

This is a bug which is fixed in Asterisk 1.4 branch, thus probably will 
be fixed in 1.4.24

regards
klaus


> but how should I handle the SUBSCRIBE in the context?
> 
> thanks
> klaus
> 
> SUBSCRIBE sip:u+431234567 at foobar.at:5160 SIP/2.0
> Via: SIP/2.0/UDP 
> 192.168.2.82:39982;branch=z9hG4bK-d8754z-3116e1207913aa4e-1---d8754z-;rport
> Max-Forwards: 70
> Contact: <sip:u+431234567 at 11.111.11.11:39982>
> To: "schlopy"<sip:u+431234567 at foobar.at:5160>
> From: "schlopy"<sip:u+431234567 at foobar.at:5160>;tag=376b6b2e
> Call-ID: ZDY1MmExZDdlNGE0MGI0NzgxZGQxMjA5YWNmMTZiYzA.
> CSeq: 2 SUBSCRIBE
> Expires: 300
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, 
> SUBSCRIBE, INFO
> User-Agent: X-Lite release 1100l stamp 47546
> Authorization: Digest 
> username="u+431234567",realm="foobar.at",nonce="fdsfa709",uri="sip:u+431234567 at foobar.at:5160",response="foobar",algorithm=MD5
> Event: message-summary
> Content-Length: 0
> 
> <------------->
> --- (14 headers 0 lines) ---
> Creating new subscription
> Sending to 81.189.99.50 : 39982 (NAT)
> Found peer 'u+431234567'
> Looking for u+431234567 in fromSipPots (domain foobar.at)
> 
> <--- Transmitting (NAT) to 11.111.11.11:39982 --->
> SIP/2.0 404 Not Found
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list