[SR-Users] kamailio with mediaproxy-ng, 488 Not Acceptable Here

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jan 29 12:31:29 CET 2014


Hi!

The problem is different SDP formats between normal SIP 
clients/gateways, and WebRTC clients.

You have to instruct mediaproxy-ng to rewrite the SDP and do the 
conversion (encryption, ...).

So either the rtpproxy_ng calls lack the commands for the "gatewaying", 
or the webrtc clients uses eg. an encryption which is not supported by 
mediaproxy-ng.

Please also post the kamailio.cfg snippets when calling rtpproxy_ng and 
give details about your environment (browser, SIP client ...)

regards
Klaus

On 27.01.2014 22:38, Mihai Marin wrote:
> Hello Sirs,
> I have a problem configuring kamailio with mediaproxy-ng and I'm asking
> for help.
>
> I managed to build everything, kamailio find support for mediaproxy-ng
> using rtpproxy-ng. When I'm trying to make a call from Web using my
> phone's internet provider to my computer's web I get 488 Not Acceptable
> Here. Swithing the caller I get no video.
>
> I have used the kamailio-advanced.cfg generated and added websocket
> support. The call in my network is working perfect.
>
> Can you help me with this?
>
> mediaproxy-ng log:
> mediaproxy-ng[14896]: Returning to SIP proxy:
> d7:createdi1390864117e7:streamslld3:tag10:trhh9viigs6:status34:known but
> unconfirmed peer
> address5:statsd3:rtpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer addressd6:family4:IPv47:address13:213.233.85.554:porti48279ee23:advertised
> peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48279ee10:local
> porti30008ee4:rtcpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48280ee23:advertised
> peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48280ee10:local
> porti30009eeeed3:tag0:6:status20:unknown peer
> address5:statsd3:rtpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer addressd6:family4:IPv67:address2:::4:porti0ee23:advertised
> peer addressd6:family4:IPv67:address2:::4:porti0ee10:local
> porti30010ee4:rtcpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer
> addressd6:family4:IPv67:address2:::4:porti0ee23:advertised peer
> addressd6:family4:IPv67:address2:::4:porti0ee10:local
> porti30011eeeeee6:totalsd5:inputd3:rtpd7:packetsi0e5:bytesi0e6:errorsi0ee4:rtcpd7:packetsi0e5:bytesi0e6:errorsi0eee6:outputd3:rtpd7:packetsi0e5:bytesi0e6:errorsi0ee4:rtcpd7:packetsi0e5:bytesi0e6:errorsi0eeee6:result2:oke
>
>
> kamailio:
>
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=860 a=24
> n=rtpproxy_manage
> 11(14926) DEBUG: rtpproxy-ng [rtpproxy.c:1333]: rtpp_function_call():
> proxy reply:
> d7:createdi1390864117e7:streamslld3:tag10:trhh9viigs6:status34:known but
> unconfirmed peer
> address5:statsd3:rtpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer addressd6:family4:IPv47:address13:213.233.85.554:porti48279ee23:advertised
> peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48279ee10:local
> porti30008ee4:rtcpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48280ee23:advertised
> peer
> addressd6:family4:IPv47:address13:213.233.85.554:porti48280ee10:local
> porti30009eeeed3:tag0:6:status20:unknown peer
> address5:statsd3:rtpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer addressd6:family4:IPv67:address2:::4:porti0ee23:advertised
> peer addressd6:family4:IPv67:address2:::4:porti0ee10:local
> porti30010ee4:rtcpd8:countersd7:packetsi0e5:bytesi0e6:errorsi0ee12:peer
> addressd6:family4:IPv67:address2:::4:porti0ee23:advertised peer
> addressd6:family4:IPv67:address2:::4:porti0ee10:local
> porti30011eeeeee6:totalsd5:inputd3:rtpd7:packetsi0e5:bytesi0e6:errorsi0ee4:rtcpd7:packetsi0e5:bytesi0e6:errorsi0eee6:outputd3:rtpd7:packetsi0e5:bytesi0e6:errorsi0ee4:rtcpd7:packetsi0e5:bytesi0e6:errorsi0eeee6:result2:oke
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=867 a=16 n=if
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=862 a=24 n=is_request
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=866 a=16 n=if
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=863 a=24 n=has_totag
> 11(14926) DEBUG: siputils [checks.c:103]: has_totag(): no totag
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=864 a=25 n=add_rr_param
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=873 a=16 n=if
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=867 a=24 n=is_reply
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=873 a=2 n=return
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=1009 a=16 n=if
> 11(14926) ERROR: *** cfgtrace:
> c=[/usr/local/etc/kamailio/kamailio-advanced.cfg] l=989 a=24 n=t_is_canceled
> 11(14926) DEBUG: tm [t_lookup.c:1071]: t_check_msg(): DEBUG:
> t_check_msg: msg id=2 global id=2 T start=0x7f62174df4e0
> 11(14926) DEBUG: tm [t_lookup.c:1143]: t_check_msg(): DEBUG:
> t_check_msg: T already found!
> 11(14926) DEBUG: tm [t_reply.c:1827]: relay_reply(): DEBUG: relay_reply:
> branch=0, save=0, relay=0 icode=0
> 11(14926) DEBUG: <core> [msg_translator.c:2007]:
> generate_res_buf_from_sip_res():  old size: 397, new size: 305
> 11(14926) DEBUG: <core> [msg_translator.c:2025]:
> generate_res_buf_from_sip_res(): copied size: orig:125, new: 33, rest:
> 272 msg=
> SIP/2.0 488 Not Acceptable Here
> Via: SIP/2.0/WS
> ebhg3v0qb6fm.invalid;rport=1034;received=213.233.85.55;branch=z9hG4bK8048296
> To: <sip:bob at 93.187.138.214
> <mailto:sip%3Abob at 93.187.138.214>>;tag=r6dc2287g9
> From: "Alice Test" <sip:alice at 93.187.138.214
> <mailto:sip%3Aalice at 93.187.138.214>>;tag=trhh9viigs
> Call-ID: fvgga4ikm8vrvuji0g0n
> CSeq: 6228 INVITE
> Content-Length: 0
>
>
> 11(14926) DEBUG: websocket [ws_frame.c:713]: ws_frame_transmit(): Tx
> message:
> SIP/2.0 488 Not Acceptable Here
> Via: SIP/2.0/WS
> ebhg3v0qb6fm.invalid;rport=1034;received=213.233.85.55;branch=z9hG4bK8048296
> To: <sip:bob at 93.187.138.214
> <mailto:sip%3Abob at 93.187.138.214>>;tag=r6dc2287g9
> From: "Alice Test" <sip:alice at 93.187.138.214
> <mailto:sip%3Aalice at 93.187.138.214>>;tag=trhh9viigs
> Call-ID: fvgga4ikm8vrvuji0g0n
> CSeq: 6228 INVITE
> Content-Length: 0
>
>
> Thank you.
>
> Best regards,
> Mihai M
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list