[SR-Users] Re: Disable topos for a specific peering IP

2024-09-06 Thread Benoît Panizzon via sr-users
ot break the first existing call-leg still known to the kamailio registrar. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrass

[SR-Users] Re: Disable topos for a specific peering IP

2024-09-05 Thread Benoît Panizzon via sr-users
for a specific ip or for specific situations after it was engaged. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel

[SR-Users] Recommendation for a signaling B2BUA to work with Kamailio on Ubuntu

2024-06-07 Thread Benoît Panizzon via sr-users
7) it does not know to some 4XX default. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH

[SR-Users] Re: Parsing Error with SIP 607 Response

2024-05-31 Thread Benoît Panizzon via sr-users
Hi Mustafa > SIP/2.0 607. I didn't check the RFC. But doesnt a reply need to be in the format SIP/2.0 XXX AA Is the text missing after the numerical error code? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Benoît Panizzon via sr-users
ith limited memory which struggle with a long record-route list. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-05-31 Thread Benoît Panizzon via sr-users
k_number){s.substr,1,0}); } } And of course I have a corresponding TRANSLATE_TO_LOCAL to display numbers to the customer in a format they are used to in Switzerland. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leit

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Benoît Panizzon via sr-users
ur SBC and interconnection would be sent to the customer as the 2nd invocation of rtpengine would be ignored. I hope this makes sense. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Benoît Panizzon via sr-users
ot stuck when trying to nicely tell rtpengine to stop listening for callID-extraID on a CANCEL as I have not yet found a way to get hold of that extraID. rtpengine will eventually time out, but I try to tidy up correctly. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice u

[SR-Users] Race condition in dialog on 422 reply deletes variables.

2024-04-06 Thread Benoît Panizzon via sr-users
every reply status >= 300 is considered a failure in unconfirmed dialog state. Not sure if this is true for the 422 status, this does not terminate a call but causes the caller to re-issue the invite. => More testing ongoing. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und no

[SR-Users] Handling 422 Message (was: Re: dlg_vars of existing dialog not set after loose_route())

2024-04-05 Thread Benoît Panizzon via sr-users
ag causes a race condition in handling the dialog variables. I see there are two attempts by the dialog module to write a CDR with the same callID. After processing the 422 and when the call ends while processing BYE. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichb

[SR-Users] dlg_vars of existing dialog not set after loose_route()

2024-04-05 Thread Benoît Panizzon via sr-users
_var after loose_route() it is still null. Any idea what the cause could be? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 T

[SR-Users] How to keep SIP messages small, possibly below fragmentation limit?

2024-02-23 Thread Benoît Panizzon via sr-users
ssible? I would like to avoid using the topos module as I issues with this module completely failing in certain situations. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Comme

[SR-Users] How to query, if callid is handled by rtpengine module already?

2024-02-16 Thread Benoît Panizzon via sr-users
is already handling that callid? if(rtpengine_query_v("j", "$var(dummy)")) { rtpengine_manage(); } basically works, but generates a couple of ugly error messages in the log as rtpengine_query_v does not find the call. Is there a nicer way? -- Mit freundlichen Grüssen

[SR-Users] Re: What happens when using exit or return in branch route in parallel branching?

2024-01-30 Thread Benoît Panizzon via sr-users
irst one picks up the call. Is rtpengine stuck with IPv6 or will it listen to both protocols because it processed two offer for the same callid? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerc

[SR-Users] Re: usrloc database duplicate keys issue

2024-01-26 Thread Benoît Panizzon via sr-users
'0', `partition` int NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `ruid_idx` (`ruid`), KEY `account_contact_idx` (`username`,`domain`,`contact`), KEY `expires_idx` (`expires`), KEY `connection_idx` (`server_id`,`connection_id`), KEY `tcpcon_idx` (`c

[SR-Users] Passing variables to branches (Re: Re: How to correctly drop a branch?)

2024-01-26 Thread Benoît Panizzon via sr-users
append_branch works by adding at the end of the index and never inserting a branch in between. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zur

[SR-Users] Re: usrloc database duplicate keys issue

2024-01-26 Thread Benoît Panizzon via sr-users
7:27:45 dev-cpereg01 kamailio[2708456]: ERROR: usrloc [urecord.c:419]: wb_timer(): inserting contact into database failed (aor: somedudetp0216) -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Le

[SR-Users] Re: How to correctly drop a branch?

2024-01-26 Thread Benoît Panizzon via sr-users
into a branch route which is specific to a branch route like the user_agent associated with the registration to which the call is sent? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Co

[SR-Users] How to correctly drop a branch?

2024-01-26 Thread Benoît Panizzon via sr-users
_branch_idx]) = $null; } } I don't get this right! Call is still sent to that contact. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlin

[SR-Users] usrloc database duplicate keys issue

2024-01-25 Thread Benoît Panizzon via sr-users
t;dmq_usrloc", "enable", 1) # Do a full sync on start modparam("dmq_usrloc", "sync", 1) I assume, when kamailio is being restartet there are some expired entries still present in the database which kamailio tries to insert on a new registration. This leads to th

[SR-Users] Re: How to assign xavp array to htable?

2024-01-25 Thread Benoît Panizzon via sr-users
> } > > etc. Thank you. So there is no 'direct' way I missed. Ok, I'll find a way around ;-) -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden _

[SR-Users] Re: xavp_params_explode broken comma in value?

2024-01-12 Thread Benoît Panizzon via sr-users
ith variable injections via SQL. Immagine some use sets a password ";var=value" this would lead to this var being overwritten I guess. We are moving towards storing ha1 hashed passwords, so that would solve my issue I guess. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und n

[SR-Users] xavp_params_explode broken comma in value?

2024-01-12 Thread Benoît Panizzon via sr-users
t;e are null Am I right to assume the issue being caused by the comma? Is there a way to allow a comma? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __

[SR-Users] is_method_f(): cannot parse cseq header in xhttp:request event route?

2023-12-12 Thread Benoît Panizzon via sr-users
terminated? With 'return' or with 'exit'? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41

[SR-Users] Re: Dialog + DMQ: dlg_ontimeout() triggered on wrong node!

2023-11-21 Thread Benoît Panizzon via sr-users
wrong node. So is this a bug? Shall I report an issue on github? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29

[SR-Users] Re: Dialog + DMQ: dlg_ontimeout() triggered on wrong node!

2023-11-20 Thread Benoît Panizzon via sr-users
) = 3 } => Still timing out after 5 seconds, same issue. Ping Olle and Alex. Any idea how to fix this issue? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden _

[SR-Users] Dialog + DMQ: dlg_ontimeout() triggered on wrong node!

2023-11-20 Thread Benoît Panizzon via sr-users
on restarting kamailio, the dialog suddenly is back and after timing out again, a CDR is then written with a way too long duration. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden

[SR-Users] Dispatcher list reloading itself from file?!?

2023-11-10 Thread Benoît Panizzon via sr-users
denly being back? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln

[SR-Users] Re: How to filter out xhttp request in event_route[siptrace:msg]

2023-10-24 Thread Benoît Panizzon via sr-users
ng if that also occurs on 5.6 -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln

[SR-Users] Re: Kamailio 5.7 still segfaulting on TLS with Ubuntu Jammy

2023-10-20 Thread Benoît Panizzon via sr-users
so. Usually the crashes occur after restarting. At the moment all 4 dev registrars have restarted without crashing in the first 2 or so minute. So this somehow looks promising! -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m

[SR-Users] Kamailio 5.7 still segfaulting on TLS with Ubuntu Jammy

2023-10-20 Thread Benoît Panizzon via sr-users
09:45:11 dev-cpereg01 kamailio[11905]: ALERT: [main.c:779]: handle_sigs(): core was generated Could anyone point me the correct direction on how to fix this issue? Am I the only one seeing this issue? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p

[SR-Users] Re: RTP traffic through kamailio

2023-09-22 Thread Benoît Panizzon
rg/docs/modules/stable/modules/rtpengine.html -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 C

[SR-Users] insert_dlg_timer(): Trying to insert a bogus dlg

2023-09-22 Thread Benoît Panizzon
b0 tl->next=0x7f9618e11198 tl->prev=0x7f9617e20548 Sep 22 07:32:29 dev-core02 kamailio[915066]: CRITICAL: dialog [dlg_dmq.c:314]: dlg_dmq_handle_msg(): Unable to insert dlg timer 0x7f9617d96750 [1598:12168] Are the numbers in brackets [hash_id:hash_entry] ? -- Mit freundlichen Grüssen -Beno

[SR-Users] Dialog: bogus event 2 in state 3

2023-09-21 Thread Benoît Panizzon
fix for opensips to kamailio. Indeed, I see this message occur occasionally after managing the 200 OK reply and routing the ACK. Does anyone know, if this is still a open bug with Kamailio 5.5? Or what else could be the cause of this message? -- Mit freundlichen Grüssen -Benoît Panizzon- @ Home

[SR-Users] Orphan Dialog Vars: Probable cause found!

2023-09-15 Thread Benoît Panizzon
e1, but NOT on Node2 What I fear happens next: They dialog_vars remaining on the Database of Node 2 accumulate more and more, making the database slower. When a call happens to re use the same hash id and entry, things start going really badly. Could I be right? -- Mit freundlichen Grüssen

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
isting TCP connection. Do I have to set $fs? But how do I set this only for a specific branch? Assume I have multiple contacts, some using TCP other UDP or TLS. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
only add the ones having a socket set. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
d, all 4 get traffic. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pr

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
1? And, what happens if I set: $branch(uri) = $null will $(branch(uri)[0]) become $branch(uri) and eveything shift one index down? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
27; loop did not output the contact registered on the other registrar. So WHY is there still the INVITE being sent to the fourth, non local contact? => Confused! -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
} Result: * Call is still branched to CPE * $(branch(uri)[$T_branch_idx]) is null on all subsequent branches after the first one. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-

[SR-Users] Skip/discard branch in branch route?

2023-09-08 Thread Benoît Panizzon
in case of UDP and NAT via correct know ip for ALG port-forwarding). -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel

[SR-Users] Re: Finding a way to gracefully restart kamailio with dialog module enabled and DMQ sync

2023-07-05 Thread Benoît Panizzon
other TSP and Carriers, I would have to check, at the moment, they are all connected via a commercial vendor SBC so if that SBC can handle 305 on Invites (it can in register) that would work. But one of our goals is to eventually also get rid of that SBC

[SR-Users] Finding a way to gracefully restart kamailio with dialog module enabled and DMQ sync

2023-07-05 Thread Benoît Panizzon
ly have a stable config which will last for several months, but at the moment this is the situation. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __

[SR-Users] Re: Dialog DMQ state after restart

2023-06-09 Thread Benoît Panizzon
Hi Alex > If profile membership is synchronised, does that mean it is possible > to get a count of dialogs in a given profile on any node? Correct. I'm using this to implement a channel limit per trunk or per customer on two dialog DMQ synced nodes. -- Mit freundlichen Grüss

[SR-Users] http_client using JWT?

2023-05-26 Thread Benoît Panizzon
-- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41

[SR-Users] How to prevent run-away dialogues?

2023-05-12 Thread Benoît Panizzon
x27;3891401256-2097511021' acc [acc_cdr.c:229]: db_write_cdr(): fallback to dlg_only search because of message doesn't exist. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e

[SR-Users] Re: kamcmd ul.db_contacts how to specify table name?

2023-05-12 Thread Benoît Panizzon
> Kamcmd complains the table is not found. What would be the correct > syntax to provide the table name? Sigh, once more, answering myself: db_mode=3 only! -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Co

[SR-Users] kamcmd ul.db_contacts how to specify table name?

2023-05-12 Thread Benoît Panizzon
ul.db_contacts s:database.location Kamcmd complains the table is not found. What would be the correct syntax to provide the table name? Attempted with Kamailio 5.5 and 5.6 -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter

[SR-Users] Upgrade to 5.6.4 => [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer

2023-05-05 Thread Benoît Panizzon
-cpereg01 kamailio[36143]: INFO: [main.c:799]: handle_sigs(): terminating due to SIGCHLD Has there been a fundamental change in TLS? Or did I miss something important to do on a 5.5 => 5.6 upgrade? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a

[SR-Users] Re: rtpengine module: sdp offer in message reply, ip protocol version not passed to rtpengine?

2023-05-02 Thread Benoît Panizzon
se. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41 61 826 9

[SR-Users] Re: rtpengine module: Actions caused by rtpengine_manage() on reply-codes?

2023-04-21 Thread Benoît Panizzon
us code 488 to allow fall-back on a failed re-negotiation. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826

[SR-Users] Dialog DMQ Sync not updating expire timer Re: How to log expiring dialogue?)

2023-04-21 Thread Benoît Panizzon
ng. But now I had a look on core2 and this is where the call is expiring. So I guess the refreshing of the session timer via AVP is not DMQ synced to the other node? Should I replace the AVP by a DLG var? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m

[SR-Users] rtpengine module: Actions caused by rtpengine_manage() on reply-codes?

2023-04-21 Thread Benoît Panizzon
turn is passed through rtpengine_manage() the existing RTP stream is deleted from rtpengine instead of being left running with the previously agreed codec? Has anyone already figured out a list of what reply codes should be exempt from calling rtpengine_manage()? -- Mit freundlichen Grüssen -Benoît

[SR-Users] How to log expiring dialogue?

2023-04-21 Thread Benoît Panizzon
orphan database entry. I would like to digg deeper into this. Is there a way to log more details from the dialogue module like when it triggers dialogue expiry? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce

[SR-Users] How to correctly use the SST module?

2023-04-11 Thread Benoît Panizzon
n-Expires){s.int}); } On an INVITE containing those header: Session-Expires: 3600;refresher=uac Min-SE: 600 Supported: 100rel,timer Expires: 330 Now Kamailio replies: SIP/2.0 422 Session Timer Too Small Min-SE: 300 What am I doing wrong? -- Mit freundlichen G

[SR-Users] Dialog timeout not update from session-timer (was: dlg_onroute(): unable to find dialog for INVITE with route param)

2023-04-10 Thread Benoît Panizzon
g", 6) But when reading the docs to the dialog modules, I understood that the dlg_flag is purely optional and does not need to be set when using dlg_manage as I do. Maybe it's not optional when using dialog AND sst together? Also I wonder why no BYE is being sent, when the dialogue times

[SR-Users] Re: dlg_onroute(): unable to find dialog for INVITE with route param

2023-04-09 Thread Benoît Panizzon
MD htable.reload spithash $KAMCMD mtree.reload rules $KAMCMD mtree.reload prefix $KAMCMD mtree.reload antispoof Could this cause kamailio to forget about running dialogues? That could also explain, why I keep seeing the dialogue tables filling up with stale dialogues over time. -- Mit freundlichen

[SR-Users] dlg_onroute(): unable to find dialog for INVITE with route param

2023-04-09 Thread Benoît Panizzon
ilio not to find the corresponding dialogue on this re-invite? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel

[SR-Users] How to check, if call is already handled by rtpengine module?

2023-04-01 Thread Benoît Panizzon
ng the call and if so, call rtpengine_manage() to keep backhauling traffic on the Re-Invites refrreshing the session. Unfortunately, I found no way to check if rtpengine_query finds the call. Did I miss something? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -

[SR-Users] Re: How to get top-most outbound via branch attribute from branched call?

2023-03-31 Thread Benoît Panizzon
I guess I figured it out... don't use via-branch=auto, but via-branch=auto-next then it works by magic :-) -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce K

[SR-Users] How to get top-most outbound via branch attribute from branched call?

2023-03-31 Thread Benoît Panizzon
inbound via, not the one generated on the branched call. How can this be accomplished with kamailio 5.4? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden

[SR-Users] Re: Route: comma separated HOP list

2023-03-24 Thread Benoît Panizzon
unicate via SIP IPv6. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln

[SR-Users] Route: comma separated HOP list

2023-03-24 Thread Benoît Panizzon
freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41 61 826 93 01

[SR-Users] Re: json RPC syntax

2023-03-17 Thread Benoît Panizzon
var(i) = $var(i) + 1; } jansson_set("array","result","$var(aor_a)","$var(json_reply)"); sql_result_free("sql_res"); } else { jansson_set

[SR-Users] Calling uac_replace multiple times?

2023-02-17 Thread Benoît Panizzon
ost})); But then uac complains: replace_uri(): Already called uac_replace for this dialog Why isn't just the most from version kept and used? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden ___

[SR-Users] Re: topos breaking route set on hairpin calls?

2023-02-02 Thread Benoît Panizzon
getting full route set being passed on. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH

[SR-Users] topos breaking route set on hairpin calls?

2023-02-02 Thread Benoît Panizzon
headers, but failed. Is this a known limitation of using topos? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41

[SR-Users] Re: PRACK / ACK issue with topos (was: topos vs topoh, any reason for putting a private IP in the Contact header?)

2023-01-27 Thread Benoît Panizzon
# True route(RELAY); } else { # discard ACK not matching transaction exit; } } Ack is routed. Any explanation why topos causes t_check_trans() to return false on ACK and PRACK? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeO

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Benoît Panizzon
nfigured correctly for > this expectation? > > https://kamailio.org/docs/modules/5.6.x/modules/dialog.html#dialog.p.update_period > > https://kamailio.org/docs/modules/5.6.x/modules/dialog.html#dialog.p.db_mode I will give it another try :-) -- Mit freundliche

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Benoît Panizzon
t entries kept accumulating with each restart in the 'dialog' and 'dialog_vars' tables, never expiring even the next day, when the dialog timeout we set to 12 hours should have made sure they got expired. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice un

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Benoît Panizzon
th the authentication username (equal to the AOR in our case) of the customer to which the dialogue belongs to. As I kept running into DMQ sync issues with storing dialogue information in database, I switched off database support for dialogue. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffi

[SR-Users] [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Benoît Panizzon
tcp write queue overflows up at shy over 1MB reply no matter what I change. Any ideas what else to toggle? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __

[SR-Users] Re: Remove all Via Header or create custome Via Header

2022-12-22 Thread Benoît Panizzon
Master-Master registrar scenario, the INVITE towards a CPE might originate from the IP of the registrar that CPE did not register to and therefore the SIP ALG not knowing about and never make it through NAT. PS: Still looking for ideas, how this could be solved. -- Mit freundlichen Grüssen -Benoît

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-20 Thread Benoît Panizzon
Hi > Try quoting the pseudovariable? > >t_on_branch("$avp(broute_trigger)"); Does this make he variable more 'constant'? :-) I already built a switch/case contruct around it on a REARM_B_TRIGGER route which I now call in every failure route. -- Mit freundlic

[SR-Users] Re: How to unset_dlg_profile in request_route or react more quickly to CANCEL?

2022-12-20 Thread Benoît Panizzon
not a situation which occurs often so having the CANCEL to time out and only then removing the dialogue is probably acceptable. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-16 Thread Benoît Panizzon
t_on_branch($avp(broute_trigger)); route(RELAY); exit; } But no... function t_on_branch: parameter 1 is not constant Any 'tricks'? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e

[SR-Users] How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-16 Thread Benoît Panizzon
is routed after the first path failed (marked with RIGHT HERE!) then the appropriate branch route is not triggered again and the headers are wrong. But I can not set t_on_branch within route[DISPATCHCALL] or route[DISPATCH_FAILURE] because this is called with a different pre-set branch trigger, d

Re: [SR-Users] ds_is_from_list not matching dispatcher listed with hostname

2022-12-02 Thread Benoît Panizzon
> What else could cause this not to match? Nevermind... being blind... There was an inactivating #!ifdef around the part matching the dispatcher in question. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Comme

[SR-Users] ds_is_from_list not matching dispatcher listed with hostname

2022-12-02 Thread Benoît Panizzon
_is_from_list() returns nothing. I have also sniffed the connection. The ip addresses in the packets are the ones I expect. modparam("dispatcher", "ds_ping_from", "sip:survivabil...@sip.example.com") pings the machines and is getting answers. What else could ca

[SR-Users] kamcmd dlg.list => ERROR: reply too big

2022-11-11 Thread Benoît Panizzon
replicated via DMQ between two instances which I too care never to restart at the same time. Will completely stop and then restart the two affected instances and clear the dialog and dialog_vars tables to see if this issue is manifesting itself again. -- Mit freundlichen Grüssen -Benoît Panizzon

[SR-Users] acc module => account register messages?

2022-11-11 Thread Benoît Panizzon
Hi Is there a way to get register messages into accounting? This could come in handy while helping figure out if clients were not registered while calls attemted to reach them. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G

Re: [SR-Users] dialog_vars accumulating in database?

2022-11-11 Thread Benoît Panizzon
ile calls-tests are running. I just wanted to make sure there is not need to specifically clear dialog variables at the end of a dialogue. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commer

Re: [SR-Users] Dialog Module: How to get two different dialogues if a call is looped through kamailo (call forwarding scenario)

2022-10-21 Thread Benoît Panizzon
rst facing that requirement. So my hope was that I missed some module or way to accomplish this. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden _

[SR-Users] MANAGE_REPLY not getting replies to PRACK?

2022-09-23 Thread Benoît Panizzon
PRACK with t_on_reply. It looks like they somehow pass completely unprocessed through Kamailio (not completely Via Header are removed accordingly) Am I missing something? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter

[SR-Users] TM Module, avp not present during handling of ack, prack and cancel?

2022-09-09 Thread Benoît Panizzon
ler way to achieve this) -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln

Re: [SR-Users] MANAGE_REPLY: do_action(): bad uri: How to mirror username changes from the invite to all replies?

2022-09-09 Thread Benoît Panizzon
> $fU,$rU,$tU within MANAGE_REPLY > > I get: do_action(): bad uri Ok, it took me some time to realize, that REPLIES to INVITE do not have an $rU. Still wondering, if there is a more elegant way to achieve this. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal e

[SR-Users] MANAGE_REPLY: do_action(): bad uri: How to mirror username changes from the invite to all replies?

2022-09-09 Thread Benoît Panizzon
rks fine it looks as it's only changing the usernames that causes this issue. What would be the proper was to change usernames in replies? Is there any module which would apply the same user translations as done with the invite to all replies and re-invites? -- Mit freundlichen

[SR-Users] Need help with multi mtree

2022-08-12 Thread Benoît Panizzon
t I may be do wrong? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Benoît Panizzon
atter if I do this on a failure route or a branch route. Or did I miss a trick? :-) Would I need to also use branch_route to send the initial call towards the customer CPE and set the 'localized' $fU there? Is this message being dropped and the original one used again when triggering fa

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Benoît Panizzon
p with the original destination and new destination concatenated. Is there a way to 'reset' the $tU and $fU after setting them once, so that they can be set again? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leit

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Benoît Panizzon
notice, that $ct contains the value of the INVITE contact header sent to the customer, not of the 302 reply contact header. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden _

Re: [SR-Users] Append (not replace) line to SDP body

2022-06-24 Thread Benoît Panizzon
Hi Tim > set_body($rb+"\r\na=prime:20", $cT); set_body($rb+"a=prime:20\r\n", $cT); works fine! Thanks a lot! -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-

Re: [SR-Users] How to handle a 301 redirect request from a client?

2022-06-24 Thread Benoît Panizzon
Hi Patrick > You can check the uac_redirect module. > > Not sure it handle Diversion header but its a good starting point. Merci! That sounds promising I'll try. The ability to add a 'reason' let's me hope it might create a Diversion header. -- Mit freundlic

[SR-Users] Append (not replace) line to SDP body

2022-06-24 Thread Benoît Panizzon
27;replace' a body line. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 C

[SR-Users] How to handle a 301 redirect request from a client?

2022-06-23 Thread Benoît Panizzon
on. But I wonder, is there maybe a module which handles all of this out of the box? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden

Re: [SR-Users] Dispatcher Usage and change of $rU

2022-04-29 Thread Benoît Panizzon
nd when ds_select_domain ? Could ds_select_domain be safely used for any situation? -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29

[SR-Users] Dispatcher Usage and change of $rU

2022-04-29 Thread Benoît Panizzon
_select_dst I can not figure out, why I see this difference. -- Mit freundlichen Grüssen -Benoît Panizzon- @ HomeOffice und normal erreichbar -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel

Re: [SR-Users] t_on_failure => what variables being reset to which values?

2022-02-28 Thread Benoît Panizzon
s by reading header from an 'input buffer' and writing to an 'output buffer'. I guess in case of t_on_failure the complete output buffer with corrected $ru and additional header is being discarded so I have to do all changes again? -- Mit freundlichen Grüssen -Benoît Pani

[SR-Users] t_on_failure => what variables being reset to which values?

2022-02-28 Thread Benoît Panizzon
URI is reset to the value it had on 'relaying'. Is this on 'inbound replaying' or on 'outbound relaying' when route(RELAY) was called to send the call TO the first annoucement server? Is there a bit more specific information on that behaviour? -- Mit freundlichen Grüs

  1   2   >