Re: [SR-Users] Modifying NOTIFY of presence_dialoginfo

2019-03-24 Thread Kevin Olbrich
Hello!

I did a quick is_method("NOTIFY") with xlog and it seems to work!
Thank you very much!

Kevin

Am So., 24. März 2019 um 03:03 Uhr schrieb Daniel-Constantin Mierla
:
>
> Hello,
>
> you can get the requests generated by kamailio various modules via tm
> module (like those for presence dialog info) inside
> event_route[tm:local-request] { ... }. It should be possible to do a
> bunch of operations there to update that requests.
>
> Cheers,
> Daniel
>
> On 24.03.19 00:26, Kevin Olbrich wrote:
> > Hi!
> >
> > I need to customize the content of the NOTIFY sent by presence_dialoginfo.
> > How can I change the message before it is sent?
> >
> > Kind regards
> > Kevin
> >
> > ___
> > Kamailio (SER) - Users Mailing List
> > sr-users@lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
> Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- 
> www.asipto.com
>

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Default port interference in TLS conneciton

2019-03-24 Thread Dalibor Zeman
Hello,
I am running Kamailio v. 5.1.2 with typical configuration for wss connections 
(default config + tls, websocket, nathelper modules), quite everything is 
running as should, but I am quite concerned about what I got on Homer server. 
My Kamailio is listening on port 4443 for TLS. Opening dialog runs as should, 
then UPDATE and BYE messages are received on 4443, but sent out on 5060. When I 
don't set up default port, 403 reply comes on a call. I'd like to know whether 
it is something defined by standard or it has a meaning and I should leave it 
as it is, or I should correct it somehow and then how. Also, if it has a 
meaning, then what it is.

Thanks for your answer,
Dalibor Zeman.
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Disable Dispatcher GW from DB

2019-03-24 Thread Patrick Wakano
Hello list,
Hope you are all well!

I just saw a related situation regarding a disabled GW in dispatcher module.
In case I have a disabled GW the function ds_is_from_list() still matches
and returns true.
Is that expected? If so, maybe it could have an option to match only the
non-disabled GWs. Would that be reasonable?

Cheers,
Patrick Wakano

On Wed, 6 Mar 2019 at 10:01, Patrick Wakano  wrote:

> Thanks Dmitri!
> It worked like a charm!
> Cheers,
> Patrick Wakano
>
> On Tue, 5 Mar. 2019, 18:42 Dmitri Savolainen, 
> wrote:
>
>> hi Patrick
>> You may set flag=4 in "dispatcher" table for appropriate GW
>>
>> On Tue, 5 Mar 2019 at 04:57, Patrick Wakano  wrote:
>>
>>> Hello list,
>>> Hope you are all doing well!
>>>
>>> I am looking for a way to disable a Dispatcher GW from the DB. I know I
>>> can disable it using the "kamcmd dispatcher.set_state d ..."command, but in
>>> case I do a reload or restart after that, the disabled GW will be back as
>>> active.
>>> Of course I could also delete the GW from DB, but for CDR purposes I
>>> want to keep the entry but mark as permanently disabled, so Kamailio won't
>>> try to use it nor ping it anymore. Does anyone how can I do that in the DB?
>>> I am looking for the exact same behavior the "kamcmd dispatcher.set_state
>>> d" does but from some change in the DB.
>>>
>>> Thanks,
>>> Kind regards,
>>> Patrick Wakano
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>> Savolainen Dmitri
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users