notifies are generated by the presence module, based on the subscription. So, there is nothing you have to do with NOTIFY. Also PUBLISHs are created internally. Depending on your concrete setup (e.g. format of the SIP user names) it should work out of the box.
klaus
dlublink schrieb:
What about the notifies?
Klaus Darilion wrote:
dlublink wrote:
Hello,
I have three different groups of extensions on my kamailio I want to be able to separate them, so I prefixed a name to the extensions, so I have :
- group1.101
- group1.102
- group2.101
- group2.102
- group3.102
- group3.103.
The phones from different groups can not call each other, I found a pseudo variable that I use to rewrite the destination url, so if user group1.101 dials 102 I rewrite it to group1.102.
I want to do the same thing for presence_dialog info, how can I rewrite the subscribe, presence and and notify messages to append the appropriate prefix ?
Just apply the same rewrite you have already done for the INVITE also for the SUBSCRIBE
regards klaus
Thanks,
David
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users