[SR-Users] Pause a Transaction for a short while

2016-05-05 Thread Sirvan Paraste
Hello all, is there anyway to pause a transaction for a short while (1 second) ? I have implemented the push notification, when the callee get register I need a short time to be sure that the app is completely start and can do its duty. otherwise it missed the call. so I want to pause the transact

Re: [SR-Users] Pause a Transaction for a short while

2016-05-05 Thread Daniel-Constantin Mierla
Hello, async_route() might be better, from the same module, given it makes it clear that the context is switched to another routing block later. The async_sleep() is also ok, just be aware of its side effects. Cheers, Daniel On 05/05/16 10:03, Sirvan Paraste wrote: > > Hello all, > > is there

[SR-Users] Kamailio - Sip_capture Module

2016-05-05 Thread Ali Taher
Hello, We are currently using kamailio sip_capture module, and then we need to create a Wireshark file (pcap format)from fields in the database. As we noticed in sip_capture table there is msg fields that contains only the sip content. And in order to create our file we need to have the enti

[SR-Users] Getting sip.instance in INVITE

2016-05-05 Thread Cibin Paul
Hi, How can I get sip.instance value in the sip header of INVITE? I do get this value during REGISTER Thanks & Regards Cibin ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-

Re: [SR-Users] Kamailio - Sip_capture Module

2016-05-05 Thread Alberto Sagredo
Someone answered your partner Zainab about a question quite similar to yours. Take a look Thanks 2016-05-05 11:35 GMT+02:00 Ali Taher : > Hello, > > > > We are currently using kamailio sip_capture module, and then we need to > create a Wireshark file (pcap format)from fields in the database. >

Re: [SR-Users] Kamailio - Sip_capture Module

2016-05-05 Thread Ali Taher
Hi Alberto, Thanks for your reply , but neither I nor my partner Zainab received the email you’re talking about. Can you please share the reply with us. Regards, Ali From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alberto Sagredo Sent: Thursday, May 05, 20

Re: [SR-Users] Kamailio - Sip_capture Module

2016-05-05 Thread Alberto Sagredo
Sure. Take a look to sip capture.org project. ITs what you need. osé Seabra joseseab...@gmail.com a través de lists.sip-router.org 4 may. (hace 1 día) para Kamailio Hi Zeinab, I think that this project (http://sipcapture.org/) already does wh

[SR-Users] Third party registration help

2016-05-05 Thread Code Developer
Hello, I'm after some help on third-party SIP registration in Kamailio - specifically, how to perform registration of user agents that don't register themselves, but only send out occasional messages. The UAs not registering themselves are devices on a GSM network that try to save band-width by

Re: [SR-Users] making rtpengine gives error on centos

2016-05-05 Thread Sergey Basov
Hi. You can build rtpengine on another physical/virtual machine with libevent2-devel installed or try to build "relocated' libevent2 rpm with --prefix=/usr/local or build and install libevent2 by yourself with --prefix=/usr/local... devel packages you need only for building from source. You does

Re: [SR-Users] making rtpengine gives error on centos

2016-05-05 Thread ycaner
Hello;     i removed libevent-devel and install libevent2-devel.kamailio doesnt affect it that i was thought about it     last time i installed rtpengine that there wasnt any problem about it so i thought it is bug. anyway really thanks for help.

[SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello, I use kamailio set up an IMS on a cloud server in a public network, and have alice and bob registered on the server using ImsDroid in a private network. When I use alice to call bob, I got "User offline" error. Below are .pcap file captured from 4060 port and pcscf.log/icscf.log/scscf.lo

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(alice) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS) reply a

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(company ip) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(company ip) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS

Re: [SR-Users] User offline

2016-05-05 Thread ycaner
hello; try to open nat_travesal module on registrar server. your analyz is right in my view. INVITE packets never reach to BOB. cheers. -- View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148175.html Sent from the Users mailing list archive at Nabble.

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Thanks for your reply! I found nat_traversal.so in /usr/local/lib64/kamailio/modules/ directory. But didn't find a switch in pcscf.cfg or kamailio.cfg. So how can I open nat_travesal module? -- View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148176

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello,ycaner! Thanks for your advice! I searched nat_traversal in kamailio.cfg in PCSCF module, and found that I should define WITH_NATPING. After doing this, a new problem came. What does this line mean? What should I configure to replace "sip:keepalive@HOSTNAME" ? Is this HOSTNAME a turn/stun

Re: [SR-Users] User offline

2016-05-05 Thread ycaner
Hello; at registration route , you can use nat traversal function , there is a sample on kamailio.cfg that parameter is just adding from and request header for information on OPTIONS packet. you can add your 120.XXX.XXX.XXX Cheers.

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello ycaner! I did as you told me and finally it worked! Here are my finall config files. hss_config.zip kamailio.zip Thank you very much!!! -- View

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello,ycaner! Now I use a real IMS user data to register this user(for example 18616278715) to China Unicom's IMS through kamailio. I can register successsfully, and can make call using this number, the callee can pick up phone. However neither party can hear counter part. So, this should be rtp