[Serusers] second mediaproxy on another network, not working

Rosario Pingaro rpingar at italycom.it
Fri Jun 17 18:14:05 CEST 2005


I have successfully installed ser and mediaproxy on my network, it is a /27.
Now to load balance I installed a second mediaproxy server on a datacenter, so on another network.

I configure dns and the mediaproxy.ini (on the new server) to work with the new ip address.
I disbaled all firewall rules to test the proxy.

But it didn't work, the call is established but no rtp flow between the ua and mediaproxy.

This is the debug from the dispacher:
Jun 17 18:10:32 voip proxydispatcher[26275]: command request 493086ee-17262f1a at 10.254.0.42 10.254.0.42:16440:audio 213.178.216.33 voadsl.italycomnet.it local 213.178.208.130 remote Sipura/SPA2100-3.1.3 info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:
Jun 17 18:10:32 voip proxydispatcher[26275]: forwarding to mediaproxy on voicegw-mi.italycomnet.it:25060: got: '213.178.208.130 35006'
Jun 17 18:10:32 voip proxydispatcher[26275]: command execution time: 289.48 ms
Jun 17 18:10:32 voip proxydispatcher[26275]: command lookup 493086ee-17262f1a at 10.254.0.42 213.178.208.130:13308:audio 213.178.208.130 voadsl.italycomnet.it local voadsl.italycomnet.it unknown Asterisk=20Italycom=20Mix info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:as58d31ab2
Jun 17 18:10:33 voip proxydispatcher[26275]: forwarding to mediaproxy on voicegw-mi.italycomnet.it:25060: got: '213.178.208.130 35006'
Jun 17 18:10:33 voip proxydispatcher[26275]: command execution time: 183.21 ms
Jun 17 18:10:40 voip proxydispatcher[26275]: command lookup 493086ee-17262f1a at 10.254.0.42 213.178.208.130:13308:audio 213.178.208.130 voadsl.italycomnet.it local voadsl.italycomnet.it unknown Asterisk=20Italycom=20Mix info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:as58d31ab2
Jun 17 18:10:41 voip proxydispatcher[26275]: forwarding to mediaproxy on voicegw-mi.italycomnet.it:25060: got: '213.178.208.130 35006'
Jun 17 18:10:41 voip proxydispatcher[26275]: command execution time: 175.07 ms
Jun 17 18:10:46 voip proxydispatcher[26275]: command delete 493086ee-17262f1a at 10.254.0.42 info=
Jun 17 18:10:46 voip proxydispatcher[26275]: forwarding to mediaproxy on voicegw-mi.italycomnet.it:25060: got: ''
Jun 17 18:10:46 voip proxydispatcher[26275]: command execution time: 191.27 ms

this is the debug from the mediaproxy server: 
Jun 17 18:10:32 voicegw-mi mediaproxy[4213]: command request 493086ee-17262f1a at 10.254.0.42 10.254.0.42:16440:audio 213.178.216.33 voadsl.italycomnet.it local 213.178.208.130 remote Sipura/SPA2100-3.1.3 info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:,dispatcher
Jun 17 18:10:32 voicegw-mi mediaproxy[4213]: session 493086ee-17262f1a at 10.254.0.42: started. listening on 213.178.208.130:35006
Jun 17 18:10:32 voicegw-mi mediaproxy[4213]: command execution time:  1.61 ms
Jun 17 18:10:33 voicegw-mi mediaproxy[4213]: command lookup 493086ee-17262f1a at 10.254.0.42 213.178.208.130:13308:audio 213.178.208.130 voadsl.italycomnet.it local voadsl.italycomnet.it unknown Asterisk=20Italycom=20Mix info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:as58d31ab2,dispatcher
Jun 17 18:10:33 voicegw-mi mediaproxy[4213]: command execution time:  0.56 ms
Jun 17 18:10:33 voicegw-mi mediaproxy[4213]: session 493086ee-17262f1a at 10.254.0.42: called signed in from 213.178.208.130:13308 (RTP) (will return to 213.178.208.130:13308)
Jun 17 18:10:33 voicegw-mi mediaproxy[4213]: warning: Received packet from a third party: 213.178.216.2:16440
Jun 17 18:10:40 voicegw-mi mediaproxy[4213]: command lookup 493086ee-17262f1a at 10.254.0.42 213.178.208.130:13308:audio 213.178.208.130 voadsl.italycomnet.it local voadsl.italycomnet.it unknown Asterisk=20Italycom=20Mix info=from:prova at voadsl.italycomnet.it,to:0828720607 at voadsl.italycomnet.it,fromtag:56eac4de28c789eao0,totag:as58d31ab2,dispatcher
Jun 17 18:10:40 voicegw-mi mediaproxy[4213]: command execution time:  0.18 ms
Jun 17 18:10:46 voicegw-mi mediaproxy[4213]: command delete 493086ee-17262f1a at 10.254.0.42 info=dispatcher
Jun 17 18:10:46 voicegw-mi mediaproxy[4213]: session 493086ee-17262f1a at 10.254.0.42: 0/646/0 packets, 0/38760/0 bytes (caller/called/relayed)
Jun 17 18:10:46 voicegw-mi mediaproxy[4213]: session 493086ee-17262f1a at 10.254.0.42: ended.
Jun 17 18:10:46 voicegw-mi mediaproxy[4213]: command execution time:  0.42 ms
Jun 17 18:11:52 voicegw-mi sshd(pam_unix)[4228]: session opened for user root by root(uid=0)

Seems that is not able to find the right pubblic address of the ua....

Any help is appreciated.

Thanks
Rosario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050617/45789ea5/attachment.htm>


More information about the sr-users mailing list