Hello List,
I wonder if there is a way to define synonyms. For example, I there is a
person by the name of John Smith with extention 5555 I would like to have a
user john_smith that will also be available if some INVITE 5555.
Thanks,
Nahum
Hi,
I am still struggling to get a prepaid system for my service.
After installing SIREMIS, I am able to get the CDRs updated. But even
after adding the cron settings, the call duration doesn't get updated.
And also in
http://lists.sip-router.org/pipermail/sr-users/2012-January/071517.html
it has been mentioned that
"If it is the case of 1 call per user at a time, then practically can
be done from kamailio config only. When call starts, compute the max
duration for that call based on caller/destination (e.g., call a
stored procedure via sqlops) and set the dialog timeout to that
duration. When call ends (BYE in main route or timeout route) update
the credit accordingly."
Can somebody let me know if my understanding is correct.
1) Add a field called "credits" in the database. And topup that field.
2) First compute max permitted duration for that user by multiplying
the cost for number prefix (say +91) and pulse.
3) And finally add this value to timeout of dialog. modparam("dialog",
"default_timeout", 100000)
$dlg_ctx(timeout_bye) = 1;
Will this work? Any help would be appreciated.
regards
Ganesh Kumar
Hello,
I have this scheme: SIP Carrier (external IP 22.203) < > (local ip 1.21)
mikrotik < > (local ip 1.21) Kamailio - (local ip 1.15) Asterisk.
Carrier does not know what is Route header. that is why Carrier send ACK
directly to 1.15 and fail.
I change Contact at Kamailio to 1.21 then ACK is coming to Kamailio.
But i think it's wrong way...
How can i get ACK from CArrier to Kamalio and route it in right way?
Thanks
Hello,
I have this scheme: SIP Carrier (external IP 22.203) < > (local ip 1.21)
mikrotik < > (local ip 1.21) Kamailio - (local ip 1.15) Asterisk.
Carrier does not know what is Route header. that is why Carrier send ACK
directly to 1.15 and fail.
I change Contact at Kamailio to 1.21 then ACK is coming to Kamailio.
But i think it's wrong way...
How can i get ACK from CArrier to Kamalio and route it in right way?
Thanks
Hello all
i'm having the same error on kam 4.4 when doing
set_body_multipart();
msg_apply_changes();
i see in the logs
5(17797) DEBUG: textops [textops.c:1577]: set_multibody_helper():
delimiter<17>:[unique-boundary-1]
5(17797) DEBUG: textops [textops.c:1486]: generate_boundary(): adding
final CRLF+CRLF
5(17797) DEBUG: textops [textops.c:1714]: set_multibody_helper():
content-type<44>:[multipart/mixed;boundary="unique-boundary-1"]
5(17797) DEBUG: textops [textops.c:1768]: set_multibody_helper(): set
flag FL_BODY_MULTIPART
5(17797) INFO: <core> [msg_translator.c:1692]: get_boundary():
Content-Type hdr has no params <application/sdp>
5(17797) WARNING: <core> [msg_translator.c:1958]:
build_req_buf_from_sip_req(): check_boundaries error
5(17797) DEBUG: <core> [msg_translator.c:422]: clen_builder():
content-length: 191 (191)
the original INVITE is like
....
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 104.
P-Asserted-Identity: "10707334" <sip:10707334@3.3.3.3>.
.
v=0.
o=user1 53655765 23536 IN IP4 79.170.68.171.
s=-.
c=IN IP4 2.2.2.2.
t=0 0.
m=audio 6001 RTP/AVP 8.
....
do you have any idea why these messages appear
thanks a lot and regards
david
Hello,
if you know the ip address associated with the network interfaces, you
can use keyword dst_ip to check which of the ip addresses was used to
receive the packet (or use $Ri instead of dst_ip).
Cheers,
Daniel
On 05/08/16 08:41, Marino Mileti wrote:
>
> Hi guys,
>
>
>
> I've my Kamailio box that works great J
>
>
>
> Now I would like to enable wifi on the board (in AP mode) in order to
> allow mobile devices to connect and receive and place calls.
>
> Is it possible? Is it possible to configure Kama like a "gateway"
> between two network cards?
>
>
>
> I've find a guide regarding gateway between IPv4 and IPV6 but i can't
> use "af" to discriminate message between eth0 or wlan0. Is there a
> command to detect if a message is received from a specific interface card?
>
>
>
> Any help or any cfg example is very appreciate J
>
>
>
> /Marino Maria Mileti///
>
> /marino.mileti(a)alice.it <mailto:marino.mileti@alice.it>/
>
> / /
>
> /cid:006a01cb6b0e$67eecdae$_CDOSYS2.0//Reduce your energy consumption
> and keep polar bears on ice!/
>
>
>
>
>
> ------------------------------------------------------------------------
> Avast logo
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai…>
>
>
> Questa e-mail è stata controllata per individuare virus con Avast
> antivirus.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai…>
>
>
>
>
>
> _______________________________________________
> 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://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hi guys,
I've my Kamailio box that works great J
Now I would like to enable wifi on the board (in AP mode) in order to allow
mobile devices to connect and receive and place calls.
Is it possible? Is it possible to configure Kama like a "gateway" between
two network cards?
I've find a guide regarding gateway between IPv4 and IPV6 but i can't use
"af" to discriminate message between eth0 or wlan0. Is there a command to
detect if a message is received from a specific interface card?
Any help or any cfg example is very appreciate J
Marino Maria Mileti
<mailto:marino.mileti@alice.it> marino.mileti(a)alice.it
cid:006a01cb6b0e$67eecdae$_CDOSYS2.0Reduce your energy consumption and keep
polar bears on ice!
---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
Hi Guys,
Looking for some help on configuring RTP Engine with Dispatcher on my Kamailio Box
Please see this paste for the kamailio configuration = http://pastebin.com/yZzSEJmK
When I run a call the dispatcher does it job perfectly but the rtpengine is not been used does anyone know why
--
CONFIDENTIAL EMAIL FROM NETCALL TELECOM LIMITED
This email, and any attachments, is intended only for the above addressee.
It may contain private and/or confidential information. If you have
received this email in error you are on notice of its status, please
immediately notify the sender by return email then delete this message and
any attachments. If you are not the addressee, except to notify the sender,
you must not use, disclose, copy or distribute this email and/or its
attachments. Netcall Telecom accepts no responsibility for any changes made
to this message after it has been sent by the original author. Opinions or
views expressed in this email may be those of the individual sender and not
Netcall Telecom. Nothing in this email shall bind Netcall Telecom in any
contract or obligation
Netcall Telecom Ltd Registered in England 2831215. Registered Office : 3rd
Floor, Hamilton House, 111 Marlowes, Hemel Hempstead, Herts, HP1 1BB
Hello
I installed/compiled version 4.4 on CentOS 7. When I start the server like this: "./kamctl start" it works but when I try to use the script: "/etc/init.d/kamailio" it fails
[root@ar-mia-proxy-01 sbin]# /etc/init.d/kamailio start
Starting kamailio (via systemctl): Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details.
[FAILED]
[root@ar-mia-proxy-01 sbin]#
when running the "status" I see this:
[root@ar-mia-proxy-01 sbin]# /etc/init.d/kamailio status
â kamailio.service - LSB: Kamailio (OpenSER) - the Open Source SIP Server
Loaded: loaded (/etc/rc.d/init.d/kamailio)
Active: failed (Result: exit-code) since Thu 2016-08-04 15:25:59 GMT; 14s ago
Docs: man:systemd-sysv-generator(8)
Process: 5556 ExecStart=/etc/rc.d/init.d/kamailio start (code=exited, status=1/FAILURE)
Aug 04 15:25:59 ar-mia-proxy-01.dom.com systemd[1]: Starting LSB: Kamailio (OpenSER) - the Open Source SIP Server...
Aug 04 15:25:59 ar-mia-proxy-01.dom.com kamailio[5556]: Starting kamailio:
Aug 04 15:25:59 ar-mia-proxy-01.dom.com systemd[1]: kamailio.service: control process exited, code=exited status=1
Aug 04 15:25:59 ar-mia-proxy-01.dom.com systemd[1]: Failed to start LSB: Kamailio (OpenSER) - the Open Source SIP Server.
Aug 04 15:25:59 ar-mia-proxy-01.dom.com systemd[1]: Unit kamailio.service entered failed state.
Aug 04 15:25:59 ar-mia-proxy-01.dom.com systemd[1]: kamailio.service failed.
[root@ar-mia-proxy-01 sbin]#
I welcome all ideas, thank you in advance