Presence subscription from other pbx systems

Home » Asterisk Users » Presence subscription from other pbx systems
Asterisk Users No Comments

Hi members,

I have a question regarding presence in asterisk.

I have two PBX systems and would like to connect them. After configuring
each other as sip providers calls between users of the pbx systems are
possible.

Now I’m trying to implement presence between the systems. PBX1 sends
dialog-event SUBSCRIBE messages to PBX2. Asterisk just answers 404 not found
although user 410 exists. I think this is for security reasons. Is there an
option to allow presence subscription from configured providers?

Sincerely

Jan

PS: Here are sample sip messages:

< --- SIP read from UDP:10.99.10.2:5060 --->

SUBSCRIBE sip:410@10.99.10.14;sipx-noroute=VoiceMail;sipx-userforward=false
SIP/2.0

Record-Route:
e9d680ffaa83f6db4234704>

From: ;tag=XHK1Gy

To:

Call-Id: eZwhSebwLCc187

Cseq: 2 SUBSCRIBE

Contact:

Event: dialog

Accept: application/dialog-info+xml

Expires: 3153

Date: Mon, 13 Feb 2012 09:45:50 GMT

Max-Forwards: 19

User-Agent: sipXecs/4.4.0 sipXecs/rls (Linux)

Accept-Language: en

Proxy-Authorization: Digest username=”~~id~sipXrls”,
realm=”voip.mydomain.local”,
nonce=”3998fbca7da46e21895d383a16356f424f38dbce”,
uri=”sip:410@10.99.10.14;sipx-noroute=VoiceMail;sipx-userforward=false”,
response=”53ae73a9ce6a3a6acbe35deda3f731be”, cnonce=”a42sMg”, qop=auth,
nc=00000001

Via: SIP/2.0/UDP 10.99.10.2;branch=z9hG4bK-XX-18ddpkccVUQr6IO02D7a9Q5x0A

Via: SIP/2.0/UDP
10.99.10.1:51829;branch=z9hG4bK-XX-f75bT2Zlly8RPJBMDcOw5dyOxw

Content-Length: 0

< ------------->