Hi guys,
is there any way to allow that the UAC module will make a REGISTER to another Kamailio with the parameters configured in uacreg table using the TLS protocol instead of UDP?
Marino
hello all
we have seen today something quite weird
having this line in the kamailio.cfg
(1) else if (status =~ "4" || status =~ "5" || status =~ "6") {
causes the process not to start hacing this error
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: ERROR:
<core> [io_wait.h:459]: io_watch_add(): epoll_ctl failed: Invalid
argument [22]
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL:
<core> [tcp_main.c:4432]: tcp_main_loop(): failed to add …
[View More]process 37 unix
socket to the fd list
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL:
<core> [tcp_main.c:4523]: tcp_main_loop(): exiting...
but placing
(2) } else if (status =~ "^[456]") {
instead, makes it work
this happens with kamailio 4.4.1 and the platform is running on
centos6.5
on the other hand we have the same line (1) on an ubuntu 10.0.4 makes
the kamailio also start properly
could you know why this is happening?
best regards
david
[View Less]
I have a TEXT call from cust1@somedomain to Kamailio. I have an agent who is logged in, but is not in any call yet.
I want now refer cust1@somedomain to talk to agent directly. How do I do that?
I tried - dlg_bridge("$dlg(from_contact)", "$var(agentSipAddress)","");
I get an "audio call" from "Kamailio" to customer, but nothing happens on the agent side.
I tried "dlg_refer" as well but nothing happens at all.
Should I handcraft "Refer" message using uac module and send to "customer" instead?…
[View More]
Please suggest.
Thanks
Pranathi Venkatayogi
System Developer II
(520) 745-9447 x4466
www.cyracom.com<http://www.cyracom.com/>
Join us: [cid:image001.gif@01D1C9C9.C4E8B6D0] <https://www.facebook.com/pages/CyraCom-LLC/134704783312720> [cid:image002.gif@01D1C9C9.C4E8B6D0] <https://twitter.com/cyracom> [cid:image003.gif@01D1C9C9.C4E8B6D0] <http://www.linkedin.com/company/cyracom> [cid:image004.gif@01D1C9C9.C4E8B6D0] <http://www.cyracom.com/blog/>
[cid:image005.png@01D1C9C9.C4E8B6D0]
DISCLAIMER: This e-mail and any attached content may contain confidential or privileged material delivered for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender immediately by reply e-mail and delete all copies of this message. It is the recipient's responsibility to scan this e-mail and any attachments for viruses. The content of this e-mail message, including any attachments, does not comprise a contract or a portion of a contract, and so does not bind CyraCom International, Inc. or any of its agents or subsidiaries. CyraCom, LLC and Voiance Language Services, LLC are wholly owned subsidiaries of CyraCom International, Inc.
[View Less]
Hi,
I see in the examples that KSR.pv.get("$rm") is frequently used rather than the more simple msg.Method.
Why is this preferred?
Kind regards,
Samuel F
Hello,
I'm new to using freeswitch. I'm using a client called SIPJS to communicate
with freeswitch.
The SIP message and it's response:
INVITE sip:1001@104.130.11.232 SIP/2.0
Via: SIP/2.0/WS CODE;branch=BRANCH
Max-Forwards: 70
To: <sip:1001@104.130.11.232>
From: "1000" <sip:1000@104.130.11.232>;tag=7b5phc9nhb
Call-ID: sun3fqjm7nb7rs06dbuu
CSeq: 3769 INVITE
Contact: <sip:k86b2npa@v9figramd1qs.invalid;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,…
[View More]REFER
Supported: outbound
User-Agent: SIP.js/0.7.7
Content-Type: application/sdp
Content-Length: 759
v=0
o=- 84832118975142245 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE data
a=msid-semantic: WMS
m=application 49422 DTLS/SCTP 5000
c=IN IP4 111.69.178.179
a=candidate:1520298561 1 udp 2113937151 192.168.178.32 49422 typ host
generation 0 network-cost 50
a=candidate:900384389 1 udp 2113939711 2406:e007:2f57:1:e951:8d6e:71bd:cff8
49423 typ host generation 0 network-cost 50
a=candidate:842163049 1 udp 1677729535 111.69.178.179 49422 typ srflx raddr
192.168.178.32 rport 49422 generation 0 network-cost 50
a=ice-ufrag:6Jk+
a=ice-pwd:XDsf8/lOfUpw8f3CQas5srLl
a=fingerprint:sha-256
23:DF:44:BC:1B:A5:B3:77:E0:ED:54:F9:A1:EE:CB:A1:99:FC:3A:0F:A2:2B:60:07:9A:F9:2D:12:BB:5B:60:49
a=setup:actpass
a=mid:data
a=sctpmap:5000 webrtc-datachannel 1024
SIP/2.0 403 Forbidden
Via: SIP/2.0/WS CODE;branch=BRANCH;received=111.69.178.179;rport=64431
From: "1000" <sip:1000@104.130.11.232>;tag=7b5phc9nhb
To: <sip:1001@104.130.11.232>;tag=gt0m2j3aa4m1K
Call-ID: sun3fqjm7nb7rs06dbuu
CSeq: 3769 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.9.0-380-c66a012~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog,
line-seize, call-info, sla, include-session-description, presence.winfo,
message-summary, refer
Content-Length: 0
I thought to try get the invite to happen after subscribe events had taken
place however the same messages are received back.
This leads me to think that it's something to do with my freeswitch
installation.
Register messages are going through fine. that tells me that the users are
being authenticated when talking to freeswitch.
Nathan
--
*Virtual Guard Ltd*
*info(a)virtualguard.co.nz <info(a)virtualguard.co.nz>*
[View Less]
I have TEXT call from cust1@somedomain to Kamailio. I have an agent who is logged in, but is not in any call yet.
I want now refer cust1@somedomain to talk to agent directly. How do I do that?
I tried - dlg_bridge("$dlg(from_contact)", "$var(agentSipAddress)","");
I get an "audio call" from "Kamailio" to customer, but nothing happens on the agent side.
I tried "dlg_refer" as well but nothing happens at all.
I am attaching Kamailio log / my config files for reference.
Should I handcraft "…
[View More]Refer" message using uac module and send to "customer" instead?
Please suggest.
Thanks
Pranathi Venkatayogi
System Developer II
(520) 745-9447 x4466
www.cyracom.com<http://www.cyracom.com/>
Join us: [cid:image001.gif@01D1C9C9.C4E8B6D0] <https://www.facebook.com/pages/CyraCom-LLC/134704783312720> [cid:image002.gif@01D1C9C9.C4E8B6D0] <https://twitter.com/cyracom> [cid:image003.gif@01D1C9C9.C4E8B6D0] <http://www.linkedin.com/company/cyracom> [cid:image004.gif@01D1C9C9.C4E8B6D0] <http://www.cyracom.com/blog/>
[cid:image005.png@01D1C9C9.C4E8B6D0]
DISCLAIMER: This e-mail and any attached content may contain confidential or privileged material delivered for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender immediately by reply e-mail and delete all copies of this message. It is the recipient's responsibility to scan this e-mail and any attachments for viruses. The content of this e-mail message, including any attachments, does not comprise a contract or a portion of a contract, and so does not bind CyraCom International, Inc. or any of its agents or subsidiaries. CyraCom, LLC and Voiance Language Services, LLC are wholly owned subsidiaries of CyraCom International, Inc.
[View Less]
I am encountering "500 I'm terribly sorry, server error occurred" . However I don't see this message in the Kamailio.log or anything related to find the root cause.
I am attaching herewith the packet capture and the entire Kamailio log and the config files.
Can someone please shed some light how do I go about debugging this?
Pranathi Venkatayogi
System Developer II
(520) 745-9447 x4466
www.cyracom.com<http://www.cyracom.com/>
Join us: [cid:image001.gif@01D1C9C9.C4E8B6D0] <https://…
[View More]www.facebook.com/pages/CyraCom-LLC/134704783312720> [cid:image002.gif@01D1C9C9.C4E8B6D0] <https://twitter.com/cyracom> [cid:image003.gif@01D1C9C9.C4E8B6D0] <http://www.linkedin.com/company/cyracom> [cid:image004.gif@01D1C9C9.C4E8B6D0] <http://www.cyracom.com/blog/>
[cid:image005.png@01D1C9C9.C4E8B6D0]
DISCLAIMER: This e-mail and any attached content may contain confidential or privileged material delivered for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender immediately by reply e-mail and delete all copies of this message. It is the recipient's responsibility to scan this e-mail and any attachments for viruses. The content of this e-mail message, including any attachments, does not comprise a contract or a portion of a contract, and so does not bind CyraCom International, Inc. or any of its agents or subsidiaries. CyraCom, LLC and Voiance Language Services, LLC are wholly owned subsidiaries of CyraCom International, Inc.
[View Less]
Hi guys,
I'm using rtpengine (compiled from source) and I see a lot of difference in
cpu usage comparing with rtpproxy. Is this normal?
With 600 calls:
cpu
*41.7%* rtpengine
#rtpengine threads
4
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
*CPU(s): 2*
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Vendor ID: …
[View More]GenuineIntel
CPU family: 6
Model: 26
Model name: Intel(R) Xeon(R) CPU X7560 @ 2.27GHz
Stepping: 4
CPU MHz: 2259.955
BogoMIPS: 4522.00
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 24576K
NUMA node0 CPU(s): 0,1
Calls established with a=rtpmap:0 PCMU/8000
Thanks in advance!
Diego.
[View Less]
hello all
we have seen today something quite weird
having this line in the kamailio.cfg
(1) else if (status =~ "4" || status =~ "5" || status =~ "6") {
causes the process not to start hacing this error
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: ERROR:
<core> [io_wait.h:459]: io_watch_add(): epoll_ctl failed: Invalid
argument [22]
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL:
<core> [tcp_main.c:4432]: tcp_main_loop(): failed to add …
[View More]process 37 unix
socket to the fd list
May 3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL:
<core> [tcp_main.c:4523]: tcp_main_loop(): exiting...
but placing
(2) } else if (status =~ "^[456]") {
instead, makes it work
this happens with kamailio 4.4.1 and the platform is running on
centos6.5
on the other hand we have the same line (1) on an ubuntu 10.0.4 makes
the kamailio also start properly
could you know why this is happening?
best regards
david
[View Less]
Hi, Daniel.
Seems I found how to fix PRACK handling.
It works for me.
please lock at https://github.com/kamailio/kamailio/pull/1097
Thank you.
--
Best regards,
Sergey Basov e-mail: sergey.v.basov(a)gmail.com
2017-04-27 13:04 GMT+03:00 Sergey Basov <sergey.v.basov(a)gmail.com>:
> Yes, you are right.
>
> But now before 200 OK there empty field b_contact.
>
> May be you does not populate it from contact in 183 Progress?
>
> I see that this field …
[View More]is not empty only after 200 OK with a Contact field.
> --
> Best regards,
> Sergey Basov e-mail: sergey.v.basov(a)gmail.com
>
>
> 2017-04-27 12:37 GMT+03:00 Daniel-Constantin Mierla <miconda(a)gmail.com>:
>> Hello,
>>
>> thanks for troubleshooting further. I haven't got the time to look at
>> the source code, but I expect that the b-leg attributes (contact, record
>> routes) to be set on 200ok for dialog (topos_d). I think for PRACK, the
>> routing information should be stored and taken from transaction (topos_t).
>>
>> Cheers,
>> Daniel
>>
>> On 27.04.17 11:29, Sergey Basov wrote:
>>> Hi, Daniel.
>>>
>>> I just done one more test topos with re-invite which comes from caller
>>> to callee, same direction as PRACK.
>>>
>>> And I found that, in case of prack, b_contact field is empty...
>>>
>>> Please find attached debug=3 part of re-invite message.
>>>
>>> Hope it helps.
>>> --
>>> Best regards,
>>> Sergey Basov e-mail: sergey.v.basov(a)gmail.com
>>>
>>>
>>> 2017-04-27 10:30 GMT+03:00 Sergey Basov <sergey.v.basov(a)gmail.com>:
>>>> Hi, Daniel
>>>>
>>>> Please look at attached part of debug=3 while receiving and parsing PRACK.
>>>> At line 208 seems rr module does not find correct part of record_route
>>>> which in DB consists from 2 parts.
>>>>
>>>> So at line 219 and later uac module cannot restore uris.
>>>>
>>>> Thank you.
>>>> --
>>>> Best regards,
>>>> Sergey Basov e-mail: sergey.v.basov(a)gmail.com
>>>>
>>>>
>>>> 2017-04-26 17:08 GMT+03:00 Sergey Basov <sergey.v.basov(a)gmail.com>:
>>>>> Thanks for workaround.
>>>>>
>>>>> But I will wait for you solution )
>>>>>
>>>>> I ready for testing )
>>>>>
>>>>> Thank you Daniel for your work!
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Sergey Basov e-mail: sergey.v.basov(a)gmail.com
>>>>>
>>>>>
>>>>> 2017-04-26 16:57 GMT+03:00 Daniel-Constantin Mierla <miconda(a)gmail.com>:
>>>>>> Hello,
>>>>>>
>>>>>>
>>>>>> On 26.04.17 14:53, Sergey Basov wrote:
>>>>>>> Hi All.
>>>>>>>
>>>>>>> I have just try to test topos with GW which requires PRACK.
>>>>>>>
>>>>>>> As you can see UA at packet 21 send PRACK to topos contact, but after
>>>>>>> topos, on other kamailio side in PRACK request line present not
>>>>>>> kontact but record-route header.
>>>>>>>
>>>>>>> Can you fix it?
>>>>>>>
>>>>>>>
>>>>>> probably needs to look into the code. If you need a quick workaround,
>>>>>> try to remove Supported header from INVITE so the callee should no
>>>>>> longer Require 100rel.
>>>>>>
>>>>>> Cheers,
>>>>>> Daniel
>>>>>>
>>>>>> --
>>>>>> Daniel-Constantin Mierla
>>>>>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>>>>>> Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
>>>>>> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users(a)lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
>> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>>
[View Less]