Schneur,
There is a bit of a confusion in what you are saying. In your original
post you mentioned " but on incoming calls the PUBLISH is sent to the
internal IP address of the subscribers " . Maybe you meant NOTIFYes ?
these are the only requests sent back by OpenSIPS to the subscriber.
PUBLISH requests are generated by the pua_xxxx (like pua_dialoginfo)
modules and consumed by the presence module (via the handle_publish).
And when handling the publish, OpenSIPS is generating and sending out
the NOTIFYes.
So which ones are you complaining about ?
Just for the fact, the PUBLISHes generated by pua_dialoginfo are sent to
the fix destination give by the "presence_server" module parameter.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 01/03/2019 03:04 PM, Schneur Rosenberg wrote:
The publish goes to the internal address of the subscribers, instead
of going to itself, it goes nowhere and no NOTIFY is ever sent, here
is a sample PUBLISH
PUBLISH sip:mysipuser@192.168.1.2:5060
<http://sip:mysipuser@192.168.1.2:5060> SIP/2.0
Via: SIP/2.0/UDP 81.18.5.78:5060;branch=z9hG4bKf248.d893da14.0
To: sip:mysipuser@192.168.1.2:5060 <http://sip:mysipuser@192.168.1.2:5060>
From: <sip:mysipuser@192.168.1.2:5060
<http://sip:mysipuser@192.168.1.2:5060>>;tag=fcab47ce4481840ab954c8dc7f9d517f-9b26
CSeq: 10 PUBLISH
Call-ID: 68b929aa6f905336-24591@81.18.5.78
<mailto:68b929aa6f905336-24591@81.18.5.78>
Max-Forwards: 70
Content-Length: 592
User-Agent: OpenSIPS (2.4.1 (x86_64/linux))
Event: dialog
Expires: 43201
Content-Type: application/dialog-info+xml
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
state="partial" entity="sip:mysipuser@192.168.1.2:5060
<http://sip:mysipuser@192.168.1.2:5060>"><dialog
id="532c2f370f16667850aa092440c55325@66.36.230.75
<mailto:532c2f370f16667850aa092440c55325@66.36.230.75>
060" call-id="532c2f370f16667850aa092440c55325@81.18.5.80:5060
<http://532c2f370f16667850aa092440c55325@81.18.5.80:5060>"
local-tag="425302105" remote-tag="as4b8896ec"
direction="recipient"><state>early</state><remote><ident
y>sip:2125551010@81.18.5.80
<mailto:sip%3A2125551010@81.18.5.80></identity><target
uri="sip:2125551010@81.18.5.80
<mailto:sip%3A2125551010@81.18.5.80>"/></remote><local><identity>sip:mysipuser@192.168.1.2:5060
<http://sip:mysipuser@192.168.1.2:5060></identity><target uri="si
mysipuser@192.168.1.2:5060
<http://mysipuser@192.168.1.2:5060>"/></local></dialog></dialog-info>
On Thu, Jan 3, 2019, 1:58 PM Bogdan-Andrei Iancu <bog...@opensips.org
<mailto:bog...@opensips.org> wrote:
Hi Schneur,
For the incoming calls, the PUBLISH is sent to the internal IP
address
or the NOTIFYes ??
Regards and A Happy New Year,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 12/23/2018 08:37 AM, Schneur Rosenberg wrote:
> HI, my presence was working properly and now I realized that its not
> working anymore for incoming calls, I dont have a external presence
> server, I use the pua_dialoginfo, I did a trace and I saw that for
> outgoing calls the system sends a PUBLISH to itself and then
properly
> sends a NOTIFY to the subscribers, but on incoming calls the PUBLISH
> is sent to the internal IP address of the subscribers and of course
> does not get anywhere, what am I doing wrong?
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org <mailto:Users@lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users