I want to remove the transport=TLS from the contact header.
How can I do that inside Kamailio? The flow is an under:
Client --------> Kamailio -------------> FS
TLS UDP
Client <-------- Kamailio <------------- FS
TLS UDP
FS gets a request on udp but it complains about TLS profile as the contact
header has the transport=TLS. Since its receing traffic on UDP, if I only
get rid of the value from the Contact Header, it would be great.
Thanks,
Rizwan Khan
Hi all,
I need to modify the host part of a contact header. I'm trying
something like:
route {
.....
if (remove_hf("Contact")){
if
(insert_hf("Contact: rn", "Contact"))
xlog("Contact modified");
}
if (!t_relay("YYY.YYY.YYY.YYY","5060")) {
sl_reply_error();
}
......
}
When i look SIP DUMP on YYY.YYY.YYY.YYY side i see older
Contact field.
I try subst_hf with regexp, subst and simply remove
Contact, all this does not work.
What i am doing wrong?
--
С
уважением Зуев Михаил
Hello,
I have everything setup and installed... Does anyone have a good link or could tell me the steps of how to connect my trunks to phone provider and then another one would be how to route the calls to the internal PBX system.
Thank you
Hello,
the aggregation of replies for a parallel fork is done automatically and
negative responses are absorbed.
Can you send a ngrep trace of a call where you found that the negative
response of a branch is not absorbed in case a branch answered?
Cheers,
Daniel
On 05/11/15 16:41, Marino Mileti wrote:
> I'm playing with branch and i'm using this simple route (copied from kamailio website)
>
> route {
> seturi("sip:a@example.com");
> append_branch("sip:b@example.com");
> append_branch("sip:c@example.com");
> t_relay();
> break;
> }
>
> A B & C rings at the same time.
>
> If B or C aren't registered, and the caller send a CANCEL, it receives also a 404 messsage because for example B wasn't online.
>
> Is it possible that Kamailio "absorb" this 404? I don't want that my caller receive it :)
>
> Marino Maria Mileti
> marino.mileti(a)alice.it
>
>
> ---
> Questa e-mail è stata controllata per individuare virus con Avast antivirus.
> https://www.avast.com/antivirus
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat
Hello,
i hope not to be OT. However I noticed that latest release is 4.2.0 and
that this version is compatible with kamailio 4.2.x. Is it compatible
also with 4.3.x?
Another question is related to Siremis development: this great
webapplication is developed using PHPOpenBiz Framework. From several
days the PHPOpenBiz website is down. So will Siremis development
continue on PHPOpenBiz? Is there some release schedule?
Best Regards
Bruno
Hi,
I've got:
# define WITH_VENDOR_ROUTING_LNPOIP
at the top of my config. This is intended to mean that this constant is
commented out and disabled ('# define' vs. '#!define'), and tests
correctly in a given request route.
Later:
route[STAGE_3] {
...
#!ifdef WITH_VENDOR_ROUTING_LNPOIP
xlog("L_INFO", "LNPOIP ENABLED STAGE 3\n");
#!else
xlog("L_INFO", "LNPOIP NOT ENABLED STAGE 3\n");
#!endif
route(OUTBOUND_VENDOR_SELECT);
}
This tests correctly:
Nov 8 21:17:54 centosity6 /usr/local/sbin/kamailio[12296]: INFO: LNPOIP
NOT ENABLED STAGE 3
However, in route[OUTBOUND_VENDOR_SELECT]:
#!ifdef WITH_VENDOR_ROUTING_LNPOIP
xlog("L_INFO", "LNPOIP ENABLED\n");
#!else
xlog("L_INFO", "LNPOIP NOT ENABLED\n");
#!endif
This prints:
Nov 8 21:17:54 centosity6 /usr/local/sbin/kamailio[12296]: INFO: LNPOIP
ENABLED
Nov 8 21:17:54 centosity6 /usr/local/sbin/kamailio[12296]: INFO: LNPOIP
NOT ENABLED
... which I must admit is quite puzzling. Looks like it's both defined
and not defined.
Running 4.3:16be09c here.
Thanks!
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Daniel,
I'm currently running a kamailio 4.2.3 with htable enabled and i'm
trying to load data into a hash table using the
"event_route[htable:mod-init]". When i try to execute a sql_xquery
kamailio generates a core dump on startup.
Example event_route:
event_route[htable:mod-init] {
sql_xquery("kamailio", "SELECT id,number FROM blacklist_number",
"blacklist_number");
}
Log output when starting kamailio:
0(16905) INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to
import bind_ob
0(16905) INFO: rr [rr_mod.c:160]: mod_init(): outbound module not
available
0(16905) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size
1024
0(16905) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but
nonce-count (nc_enabled) support disabled
0(16905) INFO: permissions [parse_config.c:251]: parse_config_file():
file not found: //etc/kamailio/permissions.allow
0(16905) INFO: permissions [permissions.c:608]: mod_init(): default
allow file (//etc/kamailio/permissions.allow) not found => empty rule
set
0(16905) INFO: permissions [parse_config.c:251]: parse_config_file():
file not found: //etc/kamailio/permissions.deny
0(16905) INFO: permissions [permissions.c:617]: mod_init(): default
deny file (//etc/kamailio/permissions.deny) not found => empty rule set
0(16905) INFO: pike [pike.c:115]: pike_init(): PIKE - initializing
0(16905) INFO: pike [ip_tree.c:88]: init_lock_set(): probing 256 set
size
0(16905) INFO: <core> [udp_server.c:175]: probe_max_receive_buffer():
SO_RCVBUF is initially 124928
0(16905) INFO: <core> [udp_server.c:225]: probe_max_receive_buffer():
SO_RCVBUF is finally 249856
0(16905) INFO: rtpproxy [rtpproxy.c:1593]: rtpp_test(): rtp proxy
<udp:10.1.8.20:22000> found, support for it enabled
0(16905) NOTICE: <script>: Startup event route!
Segmentation fault (core dumped)
Could this be a bug? Or is there a better way to load data from a custom
table into a hashtable on startup.
Thanks,
Jan Hazenberg
Hi,
I’ve installed kamilio on mac, but when trying to run it i get the following error message:
[sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
[sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Can sctp flag be disabled ? It’s not required for my needs, and from what I found on the web, it’s very tricky to use sctp on Mac.
Thanks