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:[email protected]: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:[email protected]:39982> > To: "schlopy"<sip:[email protected]:5160> > From: "schlopy"<sip:[email protected]: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:[email protected]: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 _______________________________________________ -- 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
