Dear Team, I am glad to work with kamailio Team, I am using kamailio freeswitch integration. I want to work like this. My all subscriber register at kamailio. My application server is freeswitch.
MY first question: When subscriber kamuser1 and kamuser2 are talking then I want to transfer these two party in freeswitch conference. I am unable to generate re-invite these call . here I was also try with rewritehost(like) but not success. how can we achieve this. My second question : Even MOH not playing when any one party hold the call. I already setup KAMUser1==>Kamailio(RTPProxy)==>KAMUser2. I have completely setup the config of rtpproxy and mohqueues. log shows all signal handle by kamailio and RTPProxy but not getting moh. I am attaching my config file for reference. can we do this by mediaproxy with freeswitch ,all thing are configured as document but no success. My third question: Kamailio relay dtmf on sipinfo. How can we get dtmf in between the call and taking actions on it. I am highly thankful for your great support . Thanks Regards Neol
kamailio.cfg
Description: Binary data
Aug 15 16:47:09 secondary rtpproxy[15839]: DBUG:handle_command: received command "18758_8 Uc0,8,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 58914 c872423c;1" Aug 15 16:47:09 secondary rtpproxy[15839]: INFO:handle_command: new session 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI., tag c872423c;1 requested, type strong Aug 15 16:47:09 secondary rtpproxy[15839]: INFO:handle_command: new session on a port 59862 created, tag c872423c;1 Aug 15 16:47:09 secondary rtpproxy[15839]: INFO:handle_command: pre-filling caller's address with 192.168.20.254:58914 Aug 15 16:47:09 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18758_8 59862 192.168.20.79#012" Aug 15 16:47:14 secondary rtpproxy[15839]: DBUG:handle_command: received command "18766_8 Lc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 4000 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:14 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:14 secondary rtpproxy[15839]: INFO:handle_command: pre-filling callee's address with 192.168.20.254:4000 Aug 15 16:47:14 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18766_8 45288 192.168.20.79#012" Aug 15 16:47:14 secondary /usr/local/sbin/kamailio[18766]: NOTICE: {2 2 INVITE 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.} acc [acc.c:279]: acc_log_request(): ACC: transaction answered: timestamp=1597490234;method=INVITE;from_tag=c872423c;to_tag=7ab27cc1cf4c478fa017bec07fa98503;call_id=38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.;code=200;reason=OK;src_user=101;src_domain=192.168.20.79;src_ip=192.168.20.254;dst_ouser=102;dst_user=102;dst_domain=192.168.20.254 Aug 15 16:47:14 secondary /usr/local/sbin/kamailio[18768]: NOTICE: {1 2 ACK 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.} acc [acc.c:279]: acc_log_request(): ACC: request acknowledged: timestamp=1597490234;method=ACK;from_tag=c872423c;to_tag=7ab27cc1cf4c478fa017bec07fa98503;call_id=38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.;code=200;reason=OK;src_user=101;src_domain=192.168.20.79;src_ip=192.168.20.254;dst_ouser=102;dst_user=102;dst_domain=192.168.20.254 Aug 15 16:47:17 secondary rtpproxy[15839]: DBUG:handle_command: received command "18756_8 Uc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 58914 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:17 secondary rtpproxy[15839]: INFO:handle_command: adding strong flag to existing session, new=1/0/0 Aug 15 16:47:17 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:17 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18756_8 59862 192.168.20.79#012" Aug 15 16:47:17 secondary rtpproxy[15839]: DBUG:handle_command: received command "18758_9 Lc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 4000 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:17 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:17 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18758_9 45288 192.168.20.79#012" Aug 15 16:47:21 secondary rtpproxy[15839]: DBUG:handle_command: received command "18757_8 Uc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 58914 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:21 secondary rtpproxy[15839]: INFO:handle_command: adding strong flag to existing session, new=1/0/0 Aug 15 16:47:21 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:21 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18757_8 59862 192.168.20.79#012" Aug 15 16:47:21 secondary rtpproxy[15839]: DBUG:handle_command: received command "18760_8 Lc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 4000 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:21 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:21 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18760_8 45288 192.168.20.79#012" Aug 15 16:47:29 secondary rtpproxy[15839]: DBUG:handle_command: received command "18768_8 Uc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 58914 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:29 secondary rtpproxy[15839]: INFO:handle_command: adding strong flag to existing session, new=1/0/0 Aug 15 16:47:29 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:29 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18768_8 59862 192.168.20.79#012" Aug 15 16:47:29 secondary rtpproxy[15839]: DBUG:handle_command: received command "18756_9 Lc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 4000 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:29 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:29 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18756_9 45288 192.168.20.79#012" Aug 15 16:47:31 secondary snmpd[428]: error on subcontainer 'ia_addr' insert (-1) Aug 15 16:47:37 secondary rtpproxy[15839]: DBUG:handle_command: received command "18759_8 Uc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 58914 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:37 secondary rtpproxy[15839]: INFO:handle_command: adding strong flag to existing session, new=1/0/0 Aug 15 16:47:37 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:37 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18759_8 59862 192.168.20.79#012" Aug 15 16:47:37 secondary rtpproxy[15839]: DBUG:handle_command: received command "18757_9 Lc0,101 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. 192.168.20.254 4000 c872423c;1 7ab27cc1cf4c478fa017bec07fa98503;1" Aug 15 16:47:37 secondary rtpproxy[15839]: INFO:handle_command: lookup on ports 59862/45288, session timer restarted Aug 15 16:47:37 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18757_9 45288 192.168.20.79#012" Aug 15 16:47:42 secondary rtpproxy[15839]: DBUG:handle_command: received command "18768_9 D 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI. c872423c 7ab27cc1cf4c478fa017bec07fa98503" Aug 15 16:47:42 secondary rtpproxy[15839]: INFO:handle_delete: forcefully deleting session 1 on ports 59862/45288 Aug 15 16:47:42 secondary rtpproxy[15839]: INFO:remove_session: RTP stats: 834 in from callee, 824 in from caller, 1658 relayed, 0 dropped Aug 15 16:47:42 secondary rtpproxy[15839]: INFO:remove_session: RTCP stats: 19 in from callee, 12 in from caller, 31 relayed, 0 dropped Aug 15 16:47:42 secondary rtpproxy[15839]: INFO:remove_session: session on ports 59862/45288 is cleaned up Aug 15 16:47:42 secondary rtpproxy[15839]: DBUG:doreply: sending reply "18768_9 0#012" Aug 15 16:47:42 secondary /usr/local/sbin/kamailio[18756]: NOTICE: {2 7 BYE 38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.} acc [acc.c:279]: acc_log_request(): ACC: transaction answered: timestamp=1597490262;method=BYE;from_tag=c872423c;to_tag=7ab27cc1cf4c478fa017bec07fa98503;call_id=38105775556e1a59MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.;code=200;reason=OK;src_user=101;src_domain=192.168.20.79;src_ip=192.168.20.254;dst_ouser=102;dst_user=102;dst_domain=192.168.20.254
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users