[OpenSIPS-Users] presence_mwi Question.
David J.
david at styleflare.com
Tue Aug 31 13:58:26 CEST 2010
Thanks Anca,
I am not sure I understand your response well enough.
I am lost by this line.
"Publish messages from asterisk to OpenSIPS and the Subscribes from the
users to OpenSIPS."
By default if the phones are registered to Opensips, then they normally
send SUBSCRIBE to Opensips; I would then think the presence_address
should be set to the Asterisk server in which when we get a SUBSCRIBE it
forwards it to Asterisk, and then Asterisk will reply the MWI.
But now I am lost, because I dont know how Opensips will know about
Asterisk, and I am not sure I would know why Asterisk should even know
about Opensips, (Other than sending NOTIFY when a new message comes in)
My initial thought was that the server address parameter should point to
the Asterisk server, then when the SUBSCRIBE came we call
handle_subscribe which automatically routes to Asterisk and then
Asterisk responds.
But I guess I am wrong in my assumption.
Thanks.
David.
On 8/30/10 10:30 AM, Anca Vamanu wrote:
> On 08/30/2010 05:01 PM, David J. wrote:
>> I am not exactly sure how this module works.
>>
>> If I have Asterisk on the Same Box on Port 5070? Then is it just a
>> matter of
>>
>> Open sips 10.10.10.10:5060
>> Asterisk 10.10.10.10:5070
>>
>> Changing this line?
>> modparam("presence", "server_address","sip:10.10.10.10:5060")
>>
>>
>> modparam("presence", "server_address","sip:10.10.10.10:5070")
>>
>>
>>
>> Thanks in advance for any help.
>>
>> (I am thinking the easiest approach is just relaying those messages
>> to the Asterisk box, but that would be defeating)
>>
> Hi David,
>
> The 'server_address' parameter in presence module must really point to
> the IP:port were OpenSIPS is running.
> What you have to do is to send the Publish messages from asterisk to
> OpenSIPS and the Subscribes from the users to OpenSIPS.
>
> Regards,
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100831/8967d436/attachment.htm
More information about the Users
mailing list