[Spce-user] Voicemail FAIL 3.5.1- RTPENGINE Error

Anibal Cañada anibal at hercom.es
Tue Nov 4 03:30:15 EST 2014


Hi, 
the easy patch is add 

modparam("rtpengine", "rtpengine_sock", "udp:localhost:2223") 

below this line: 
modparam("rtpengine", "rtpengine_disable_tout", -1) 

to 

/etc/ngcp-config/templates/etc/kamailio/proxy/kamailio.cfg.tt2 

For any reason : 
[% FOREACH rtp IN rtp_cluster_set -%] 
modparam("rtpengine", "rtpengine_sock", "[% rtp.dispatcher_id %] == [% FOREACH ip IN rtp.ips %]udp:[% ip %]:2223[% UNLESS loop.last %] [% END %][% END %]") 
[% END -%] 

this line is not making its work. 

Best regards. 


De: "EPI- Juan Monteagudo Medina" <juan at epi-soft.com> 
Para: spce-user at lists.sipwise.com 
Enviados: Martes, 4 de Noviembre 2014 8:55:33 
Asunto: Re: [Spce-user] Voicemail FAIL 3.5.1- RTPENGINE Error 



Hi, SPCE Team. 

I’ve the same issue with a test clean install mr3.5.1, on every call: 



Nov 4 08:32:52 spce proxy[632]: ERROR: rtpengine [rtpengine.c:1686]: select_rtpp_set(): no rtp_proxy configured 

Nov 4 08:32:52 spce proxy[632]: ERROR: rtpengine [rtpengine.c:1898]: set_rtpengine_set_n(): could not locate rtpengine set 50 

Nov 4 08:32:52 spce proxy[632]: ERROR: rtpengine [rtpengine.c:1712]: select_rtpp_node(): script error -no valid set selected 

Nov 4 08:32:52 spce proxy[632]: ERROR: rtpengine [rtpengine.c:1445]: rtpp_function_call(): no available proxies 



And voice is one-way only, because provider block direct communications with client. 

Use_rtpproxy is set to “ always with plain SDP” 



Thank you in advance foryour help. 



Juan 





De: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] En nombre de Raúl Alexis Betancor Santana 
Enviado el: domingo, 02 de noviembre de 2014 19:47 
Para: spce-user at lists.sipwise.com 
Asunto: Re: [Spce-user] Voicemail FAIL 3.5.1 





Did you ask because of this logs? : 





Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1686]: select_rtpp_set(): no rtp_proxy configured 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1898]: set_rtpengine_set_n(): could not locate rtpengine set 50 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1712]: select_rtpp_node(): script error -no valid set selected 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1445]: rtpp_function_call(): no available proxies 









Because I also have a mr3.5.1 testing system ... and they apears on every call ... and rtpengine it's running: 







sipapp01:~# ps ax | grep rtp 
18059 ? Sl 0:47 /usr/sbin/rtpengine --interface=XX.XX.XX.3 --listen-udp=XX.XX.XX.2:2222 --listen-ng=XX.XX.XX.2:2223 --timeout=60 --silent-timeout=3600 --pidfile=/var/run/ngcp-rtpengine-daemon.pid --tos=184 --port-min=10000 --port-max=20000 --b2b-url=http://XX.XX.XX.2:8090/ --table=0 



And rtp.log it's just empty. 






De: "Daniel Grotti" <dgrotti at sipwise.com> 
Para: "Aziz Palmer" <Aziz.Palmer at AirFIBER.com> 
CC: spce-user at lists.sipwise.com 
Enviados: Domingo, 2 de Noviembre 2014 18:21:12 
Asunto: Re: [Spce-user] Voicemail FAIL 3.5.1 





Is rtpengine running? It seems its not well configured somehow. 
What does rtp.log say ? 

Please try to run /etc/init.d/rtpengine restart and check the log. 

Daniel 


On 2 Nov 2014 18:48, Aziz Palmer <Aziz.Palmer at AirFIBER.com> wrote: 


***** I setup a sipwise 3.5.1 for testing – clean install with CD-ISO download***** 






----------RTP issue-------- 


Current configuration: 


Cisco-SBC =72.87.252.203 


Sipwise 3.5.1 = 104.152.247.232 


Soft client =104.34.42.10 


Softphone registered with Sipwise 3.5.1 


Sipwise Domain ---> Use_rtpproxy = always with plain SDP 


Sipwise subscriber ---> User_rtpproxy = use domain default 






Current RTP flow 


Cisco-sbc---> Soft client 






Desired RTP Flow (most cases) 


Cisco-sbc---> Sipwise3.5.1----> softphone 






Desired RTP Flow (unique cases) 


Cisco-sbc----> softphone 










Cisco-SBC RTP connection (undesired) 


72.87.252.203 is the cisco sbc 


104.34.42.10 is the soft client 






No. CallId dstCallId LocalRTP RmtRTP LocalIP RemoteIP 


6 9237567 9237566 17180 8000 72.87.252.203 104.34.42.10 






------------------------ RTP------------------------- 






-----------------------VOICEMAIL ISSUE-------------------- 






kamailio-proxy.log output 






Nov 2 18:03:20 spce proxy[6061]: NOTICE: <script>: New request on proxy - M=PUBLISH R=sip:aziz at 104.152.247.232;transport=TCP F=sip:aziz at 104.152.247.232;transport=TCP T=sip:aziz at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=ZGE4YzkyZmU2MGFmZDhiZTQxOWMyNjUyOGNjZDlhYmM. 


Nov 2 18:03:20 spce proxy[6061]: NOTICE: <script>: Handling publish request - R=sip:aziz at 104.152.247.232;transport=TCP ID=ZGE4YzkyZmU2MGFmZDhiZTQxOWMyNjUyOGNjZDlhYmM. 


Nov 2 18:03:20 spce proxy[6054]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:2000 at 104.152.247.232;transport=TCP F=sip:aziz at 104.152.247.232;transport=TCP T=sip:2000 at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:20 spce proxy[6054]: WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting 


Nov 2 18:03:20 spce proxy[6054]: NOTICE: <script>: Authentication failed, no credentials - R=sip:2000 at 104.152.247.232;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:2000 at 104.152.247.232;transport=TCP F=sip:aziz at 104.152.247.232;transport=TCP T=sip:2000 at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: User-Provided CLI 'aziz' taken from From-User - R=sip:2000 at 104.152.247.232;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: User-provided CLI 'aziz' rejected, using network-provided CLI '12136319707' - R=sip:2000 at 104.152.247.232;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Setting '12136319707 at 104.152.247.232' as initiating user-provided CLI - R=sip:2000 at 104.152.247.232;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Setting '12136319707 at 104.152.247.232' as initiating network-provided CLI - R=sip:2000 at 104.152.247.232;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Call to VoiceBox - R=sip:abc12136319707 at voicebox.local;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Setting acc source-leg for uuid '5e21a45e-b07e-4924-aa33-fd44de92f808': '5e21a45e-b07e-4924-aa33-fd44de92f808|aziz|104.152.247.232|12136319707|||2|||0|call|104.34.42.10|1414947801.113567' - R=sip:abc12136319707 at voicebox.local;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Setting acc destination-leg for uuid '5e21a45e-b07e-4924-aa33-fd44de92f808': '0|||0|2000|5e21a45e-b07e-4924-aa33-fd44de92f808|abc12136319707|voicebox.local|abc12136319707|voicebox.local|0' - R=sip:abc12136319707 at voicebox.local;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1686]: select_rtpp_set(): no rtp_proxy configured 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1898]: set_rtpengine_set_n(): could not locate rtpengine set 50 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1712]: select_rtpp_node(): script error -no valid set selected 


Nov 2 18:03:21 spce proxy[6057]: ERROR: rtpengine [rtpengine.c:1445]: rtpp_function_call(): no available proxies 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Setting From to '<sip:12136319707 at 104.152.247.232>' - R=sip:abc12136319707 at voicebox.local;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6057]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5070' - R=sip:abc12136319707 at voicebox.local;transport=TCP ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6058]: NOTICE: <script>: NAT-Reply - S=100 - Trying M=INVITE IP=104.34.42.10:55323 (127.0.0.1:5070) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6059]: NOTICE: <script>: NAT-Reply - S=200 - OK M=INVITE IP=104.34.42.10:55323 (127.0.0.1:5070) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:21 spce proxy[6059]: ERROR: rtpengine [rtpengine.c:1686]: select_rtpp_set(): no rtp_proxy configured 


Nov 2 18:03:21 spce proxy[6059]: ERROR: rtpengine [rtpengine.c:1898]: set_rtpengine_set_n(): could not locate rtpengine set 50 


Nov 2 18:03:21 spce proxy[6059]: ERROR: rtpengine [rtpengine.c:1712]: select_rtpp_node(): script error -no valid set selected 


Nov 2 18:03:21 spce proxy[6059]: ERROR: rtpengine [rtpengine.c:1445]: rtpp_function_call(): no available proxies 


Nov 2 18:03:21 spce proxy[6055]: NOTICE: <script>: New request on proxy - M=ACK R=sip:127.0.0.1:5070;prxroute=1 F=sip:aziz at 104.152.247.232;transport=TCP T=sip:2000 at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:28 spce proxy[6061]: NOTICE: <script>: New request on proxy - M=BYE R=sip:127.0.0.1:5070;prxroute=1 F=sip:aziz at 104.152.247.232;transport=TCP T=sip:2000 at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:28 spce proxy[6061]: ERROR: rtpengine [rtpengine.c:1686]: select_rtpp_set(): no rtp_proxy configured 


Nov 2 18:03:28 spce proxy[6061]: ERROR: rtpengine [rtpengine.c:1898]: set_rtpengine_set_n(): could not locate rtpengine set 50 


Nov 2 18:03:28 spce proxy[6061]: ERROR: rtpengine [rtpengine.c:1712]: select_rtpp_node(): script error -no valid set selected 


Nov 2 18:03:28 spce proxy[6061]: ERROR: rtpengine [rtpengine.c:1445]: rtpp_function_call(): no available proxies 


Nov 2 18:03:28 spce proxy[6060]: NOTICE: <script>: NAT-Reply - S=200 - OK M=BYE IP=104.34.42.10:55323 (127.0.0.1:5070) ID=YjE2NjhjNTA0NGMzZGNhMWU2ZjQyZmJmOWVmNDIwNDg. 


Nov 2 18:03:28 spce proxy[6054]: NOTICE: <script>: New request on proxy - M=NOTIFY R=sip:12136319707 at 127.0.0.1:5062;transport=UDP F=sip:voicebox at voicebox.sipwise.local T=sip:12136319707 at 127.0.0.1:5062 IP=127.0.0.1:5081 (127.0.0.1:5081) ID=430ea8d7-c77d-4db2-b93a-f69fb6bbea69 at voip.sipwise.local 


Nov 2 18:03:28 spce proxy[6054]: NOTICE: <script>: Route MWI - R=sip:12136319707 at 127.0.0.1:5062;transport=UDP ID=430ea8d7-c77d-4db2-b93a-f69fb6bbea69 at voip.sipwise.local 


Nov 2 18:03:28 spce proxy[6054]: NOTICE: <script>: Callee is local, uuid='5e21a45e-b07e-4924-aa33-fd44de92f808' - R=sip:aziz at 104.152.247.232:5062;transport=UDP ID=430ea8d7-c77d-4db2-b93a-f69fb6bbea69 at voip.sipwise.local 


Nov 2 18:03:28 spce proxy[6056]: NOTICE: <script>: New request on proxy - M=PUBLISH R=sip:aziz at 104.152.247.232;transport=TCP F=sip:aziz at 104.152.247.232;transport=TCP T=sip:aziz at 104.152.247.232;transport=TCP IP=104.34.42.10:55323 (127.0.0.1:5060) ID=ZGE4YzkyZmU2MGFmZDhiZTQxOWMyNjUyOGNjZDlhYmM. 


Nov 2 18:03:28 spce proxy[6056]: NOTICE: <script>: Handling publish request - R=sip:aziz at 104.152.247.232;transport=TCP ID=ZGE4YzkyZmU2MGFmZDhiZTQxOWMyNjUyOGNjZDlhYmM. 


Nov 2 18:03:28 spce proxy[6058]: NOTICE: <script>: NAT-Reply - S=200 - OK M=NOTIFY IP=127.0.0.1:5081 (127.0.0.1:5060) ID=430ea8d7-c77d-4db2-b93a-f69fb6bbea69 at voip.sipwise.local 


--------------------------------------------------------- VOICEMAIL------------------------------ 






------------------------------------RATE-O-MAT---------------------------- 


Nov 2 18:39:56 spce rate-o-mat[26015]: Shutting down. 


Nov 2 18:39:56 spce rate-o-mat: Can't call method "disconnect" on an undefined value at /usr/sbin/rate-o-mat line 1501. 


Nov 2 18:39:56 spce rate-o-mat[26050]: Trying to connect to billing db... 


Nov 2 18:39:57 spce rate-o-mat[26050]: Successfully connected to billing db... 


Nov 2 18:39:57 spce rate-o-mat[26050]: Trying to connect to accounting db... 


Nov 2 18:39:57 spce rate-o-mat[26050]: Successfully connected to accounting db... 


Nov 2 18:39:57 spce rate-o-mat[26050]: Up and running. 


Nov 2 18:39:57 spce rate-o-mat[26050]: No new CDRs to rate, sleep 10 


-----------------------------------------RATE-O-MAT--------------------------------------------- 






From: Daniel Grotti [mailto:dgrotti at sipwise.com] 


Sent: Sunday, November 02, 2014 1:47 AM 


To: Aziz Palmer 


Cc: spce-user at lists.sipwise.com 


Subject: Re: [Spce-user] Voicemail FAIL 3.5.1 






Hi, 


can you provide the kamailio-proxy.log related to the Voicemail calls and conference ? 


Maybe you have some Rewrite rules that fetch 2000 and rewrite it in something else. 


For the conference, you just need to configure a CF to the "conference". 






For the RTP, you have to change the Domain preferences use_rtpproxy to "always". 






Please paste here all the rate-o-mat error log related to that only line you have pasted. 






Daniel 













________________________________________ 


From: "Aziz Palmer" <Aziz.Palmer at AirFIBER.com> 


To: spce-user at lists.sipwise.com 


Sent: Sunday, November 2, 2014 12:07:50 AM 


Subject: [Spce-user] Voicemail FAIL 3.5.1 






Good Morning SPCE Team, 


I’m very impressed with the new features 3.5.1 has to offer but it seems that a few features aren't working properly 


1. 


Voicemail 


---- dialing voicebox or 2000, there is no audio - typically on my older sipwise installation I hear "comedian mail, mailbox" 


---- When forwarding call into voicemail – call disconnects as soon as it connects with sipwise 






Conference Calling 


----Same as Voicemail (no audio) 






RTP 


---When looking at the RTP IP addresses from the subscriber's phone to sipwise all RTP data bypasses sipwise (RTP connects from my provider to subscriber's phone ) - I would like to turn that off at the domain level but be able to apply it to some subscribers. I use to be able to do that on my older version of sipwise. 






Inbound call billing cost does not appear in the GUI call history but outbound works perfectly 


--- It does appear in the CDR (inbound and outbound cost) 






5. [....] Restarting rate-o-mat: rate-o-matrate-o-mat: Can't call method "disconnect" on an undefined value at /usr/sbin/rate-o-mat line 1501. Active node or transition. 








Thank you for your help – Warmest Regards 





Aziz 










_______________________________________________ 


Spce-user mailing list 


Spce-user at lists.sipwise.com 


https://lists.sipwise.com/listinfo/spce-user 






_______________________________________________ 
Spce-user mailing list 
Spce-user at lists.sipwise.com 
https://lists.sipwise.com/listinfo/spce-user 




_______________________________________________ 
Spce-user mailing list 
Spce-user at lists.sipwise.com 
https://lists.sipwise.com/listinfo/spce-user 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20141104/66f0c041/attachment.html>


More information about the Spce-user mailing list