[SR-Users] Re: add a SIP custom header on a SIP response generated locally

2024-01-18 Thread mohsen khashei via sr-users
you can try to set ac_extra_hdrs from tm module and then use it it probably works. On Thu, Jan 18, 2024 at 9:01 PM frédéric Gaisnon via sr-users < sr-users@lists.kamailio.org> wrote: > Hi, > > Yes I've tried using append_to_reply() in several routes > (tm:branch-failure, sl:local-response,

[SR-Users] Re: How to change uri for db_mysql ?

2024-01-18 Thread mohsen khashei via sr-users
As you say your socket address is /var/lib/mysql/mysql.sock not /run /mysqld/mysql.sock On Thu, Jan 18, 2024, 15:23 iglov via sr-users wrote: > Hey Benoit! Thanx 4 attention! > > Yep, I thought so too and the first thing I did was check all my configs. > So, I have only one /etc/mysql/my.cnf in

[SR-Users] Re: where add contact header to ack for fail messages

2023-05-11 Thread mohsen khashei
r solution. > > > https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.evr.network_msg > > You may be able to write some code that manipulates the message to > manually add the Contact header. Maybe even the append_hf function may work > here, but it seems unlikely. &

[SR-Users] Re: where add contact header to ack for fail messages

2023-05-08 Thread mohsen khashei
something right by adding contact to > ACK message wichbasicaly confirmation of the final transaction and contact > here is meaningless. > > On Sun, 7 May 2023, 16:48 mohsen khashei, wrote: > >> Hi I want to know where kamailio sends ack messages to faiurel messages >> (st

[SR-Users] where add contact header to ack for fail messages

2023-05-07 Thread mohsen khashei
Hi I want to know where kamailio sends ack messages to faiurel messages (status >=400) so that I I add Contact header to the ack. I tried WITHINDLG with no luck. thanks __ Kamailio - Users Mailing List - Non Commercial Discussions To

[SR-Users] send messages from source ip in Linux anyIP list

2023-03-14 Thread mohsen khashei
Hi I have a kimailio box that receives messages from one interface and send it from another interface and I use dispatcher module successfully.Now I assigned an I range to Linux loopback interface through Linux kernel anyip feature. And I can ping the range. ip -4 route add local 192.168.0.0/24

[SR-Users] kemi equivalent config

2023-02-10 Thread mohsen khashei
Hi all I have some existing kamailio config and I want to migrate to KEMI framework.I want to know what is the equivalent of this config in kemi _javascript_ code: $avp(s:contact) = $hdr(Contact);$avp(s:contact_fix) = $hdr(Contact); avp_subst("$avp(s:contact_fix)",

[SR-Users] KEMI Equivalent of script

2023-02-10 Thread mohsen khashei
Hi I have an existing kamailio config and I want to migrate to kemi. I want to know what is the equivalent of this code in kemi javascript ? $avp(s:contact) = $hdr(Contact); $avp(s:contact_fix) = $hdr(Contact); avp_subst("$avp(s:contact_fix)",

[SR-Users] Re: rtp lost package in 300 concurrent calls and above

2023-01-16 Thread mohsen khashei
It's probably the matter of Number of Open Files Limit in Linux you can check it by : ulimit -Hn And ulimit -Sn And if the number are low you can increase it by: sysctl -w fs.file-max=50 And test it again. On Mon, Jan 16, 2023, 8:23 PM Mohammad Reza Keshavarzianpoor <

[SR-Users] kamailio + sems for early media

2022-06-18 Thread mohsen khashei
Hi I want to use kamailio with sems for early media generation. For that purpose I write a service route that when an invite received by kamailio  it triggers that route in that route I fork the call to the sems and continue to the calle when I receive 200 ok cancel all other branches. But no

Re: [SR-Users] Issues with TOPOS when not relaying an in-dialog request

2021-08-05 Thread mohsen khashei
Hi marrold can you share your config . I an trying to use kamailio as b2bua with no success may be seeing some config help me. Thanks On Thu, Aug 5, 2021, 4:55 PM Marrold wrote: > Hi Henning, > > I realised as soon as I sent the message I'd forgotten that important > detail. It's 5.5.1 on

Re: [SR-Users] topoh problem with bye from trunk

2020-08-02 Thread mohsen khashei
my customisations > back in, looking for what caused the issue. As you do with these things I > cleaned my code up as I went. All I can say is that when I’d added > everything back it was still working. > > Mark > > > > On 2 Aug 2020, at 11:46, mohsen khashei wrote: &

[SR-Users] topoh problem with bye from trunk

2020-08-02 Thread mohsen khashei
Hi all. I use topoh module for topology hiding and this is my config for topoh: modparam("topoh", "mask_key", "my key") modparam("topoh", "mask_callid", 1) modparam("topoh", "callid_prefix", "!!:") modparam("topoh", "sanity_checks", 1) modparam("topoh", "mask_ip", "x.x.x.x") modparam("topoh",

Re: [SR-Users] loose_route failing with topos ?

2020-07-10 Thread mohsen khashei
Hi can you share. Your config and how you implemented topology hiding? On Fri, Jul 10, 2020, 5:35 PM Mark Boyce wrote: > Hi all > > Just enabled topos with redis backend (topos/topos_redis/ndb_redis) > > The interesting bits of the calls are going from kamailio (5.3.5) to > Asterisk with topos

Re: [SR-Users] How do I test the Kamailio service ?

2020-06-20 Thread mohsen khashei
You can use something like zoiper or any soft phone for making calls and you can install some thing like sngrep to debug signalling and make sure that every thing works fine On Sat, Jun 20, 2020, 4:54 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Maybe download Zoiper, create a

Re: [SR-Users] R: R: R: R: R: acc time mode 2 wrong timestamp

2020-06-20 Thread mohsen khashei
Hi can you share your kamaili config. I want to add some extra columns to cdr table like what you did. Thanks. Sent from Mail for Windows 10 ___ Kamailio (SER) - Users Mailing List

Re: [SR-Users] R: R: R: R: R: acc time mode 2 wrong timestamp

2020-06-20 Thread mohsen khashei
Hi can you share your kamailio config I need to add some extra columns to cdr table like you did. And it helps a lotThanks a lot. Sent from Mail for Windows 10  ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] insert new timestamp value to cdr table

2020-06-05 Thread mohsen khashei
Hi I want to add a new column to acc table.I created a new column in the acc table of type timestamp and named it ring_time. in every call i put the ring time to a $dlg_var like this: $dlg_var(ringtime) = $Ts; then I add a extra column in config like this: modparam("acc", "log_extra",