[Spce-user] Problems with WebRTC

Andreas Granig agranig at sipwise.com
Fri Apr 18 03:03:56 EDT 2014


Hi,

Your log doesn't look correct altogether, with all the special chars and
entries like this:

«:»: "er-nWcCQWzYiGlbQWjxw55peo8gmXom-",

Andreas

On 04/18/2014 12:48 AM, Nikita Stashkov wrote:
> The first attempt was unsuccessful. In command send to rtpengine  2 symbols from call_id are striped. Result - no audio.
> rtpp_flags:
> $var(rtpp_flags) = "force trust-address symmetric replace-origin replace-session-connection via-branch=1»;
> Log:
> Apr 17 21:27:39 sip rtpengine[3399]: Got valid command from 127.0.0.1:45050: answer - { "sdp": "v=0#015#012o=root 3586 3586 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 17168 RTP/AVP 3 8 0 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#012", "flags": [ "force", "trust-address", "symmetric" ], "replace": [ "origin", "session-connection" ], «:»: "er-nWcCQWzYiGlbQWjxw55peo8gmXom-", "via-branch": "z9hG4bKb95.c4bbae736283f9f301075fe701d34a3d.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "AeqZKBLNHV2LUQtwdd25W1Whl2YE-lzY", "to-tag": "as67d63e5b", "command": "answer" }
> Apr 17 21:27:39 sip rtpengine[3399]: Protocol error in packet from 127.0.0.1:45050: Unknown call-id [d3:sdp279:v=0#015#012o=root 3586 3586 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 17168 RTP/AVP 3 8 0 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#0125:flagsl5:force13:trust-address9:symmetrice7:replacel6:origin18:session-connectione7:call-id32:er-nWcCQWzYiGlbQWjxw55peo8gmXom-10:via-branch45:z9hG4bKb95.c4bbae736283f9f301075fe701d34a3d.013:received-froml3:IP49:127.0.0.1e8:from-tag32:AeqZKBLNHV2LUQtwdd25W1Whl2YE-lzY6:to-tag10:as67d63e5b7:command6:answere]
> Apr 17 21:27:39 sip rtpengine[3399]: Returning to SIP proxy: d6:result5:error12:error-reason15:Unknown call-ide
> Apr 17 21:27:40 sip rtpengine[3399]: Got valid command from 127.0.0.1:55516: answer - { "sdp": "v=0#015#012o=root 3586 3587 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 17168 RTP/AVP 3 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#012", "flags": [ "force", "trust-address", "symmetric" ], "replace": [ "origin", "session-connection" ], "call-id": "er-nWcCQWzYiGlbQWjxw55peo8gmXom-", "via-branch": "z9hG4bK495.7dcfb78803cd02b1bd3ef7e27545bf28.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "AeqZKBLNHV2LUQtwdd25W1Whl2YE-lzY", "to-tag": "as67d63e5b", "command": "answer" }
> Apr 17 21:27:40 sip rtpengine[3399]: Protocol error in packet from 127.0.0.1:55516: Unknown call-id [d3:sdp231:v=0#015#012o=root 3586 3587 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 17168 RTP/AVP 3 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#0125:flagsl5:force13:trust-address9:symmetrice7:replacel6:origin18:session-connectione7:call-id32:er-nWcCQWzYiGlbQWjxw55peo8gmXom-10:via-branch45:z9hG4bK495.7dcfb78803cd02b1bd3ef7e27545bf28.013:received-froml3:IP49:127.0.0.1e8:from-tag32:AeqZKBLNHV2LUQtwdd25W1Whl2YE-lzY6:to-tag10:as67d63e5b7:command6:answere]
> Apr 17 21:27:40 sip rtpengine[3399]: Returning to SIP proxy:: d6:result5:error12:error-reason15:Unknown call-ide
> Apr 17 21:27:55 sip rtpengine[3399]: Got valid command from 127.0.0.1:34758: delete - { "call-id": "er-nWcCQWzYiGlbQWjxw55peo8gmXom-", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "AeqZKBLNHV2LUQtwdd25W1Whl2YE-lzY", "command": "delete" }
> Apr 17 21:27:55 sip rtpengine[3399]: [er-nWcCQWzYiGlbQWjxw55peo8gmXom-] Call-ID to delete not found
> Apr 17 21:27:55 sip rtpengine[3399]: Returning to SIP proxy: d7:warning38:Call-ID not found or tags didn't match6:result2:oke
> Apr 17 21:27:55 sip vmnotify[5851]: Arguments: default 9911001000 0
> Apr 17 21:29:50 sip rtpengine[3399]: Got valid command from 127.0.0.1:48733: answer - { "sdp": "v=0#015#012o=root 3586 3586 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 16138 RTP/AVP 3 8 0 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#012", "flags": [ "force", "trust-address", "symmetric" ], "replace": [ "origin", "session-connection" ], "call-id": "OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe", "via-branch": "z9hG4bK8ebc.50001f49cc9634e21835f96a3df05a07.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "fAvA.8c0U0.HA.qhN2ks04jmfcv1qGzL", "to-tag": "as5cd21d2e", "command": "answer" }
> Apr 17 21:29:50 sip rtpengine[3399]: Protocol error in packet from 127.0.0.1:48733: Unknown call-id [d3:sdp279:v=0#015#012o=root 3586 3586 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 16138 RTP/AVP 3 8 0 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#0125:flagsl5:force13:trust-address9:symmetrice7:replacel6:origin18:session-connectione7:call-id32:OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe10:via-branch46:z9hG4bK8ebc.50001f49cc9634e21835f96a3df05a07.013:received-froml3:IP49:127.0.0.1e8:from-tag32:fAvA.8c0U0.HA.qhN2ks04jmfcv1qGzL6:to-tag10:as5cd21d2e7:command6:answere]
> Apr 17 21:29:50 sip rtpengine[3399]: Returning to SIP proxy: d6:result5:error12:error-reason15:Unknown call-ide
> Apr 17 21:29:50 sip rtpengine[3399]: Got valid command from 127.0.0.1:41964: answer - { "sdp": "v=0#015#012o=root 3586 3587 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 16138 RTP/AVP 3 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#012", "flags": [ "force", "trust-address", "symmetric" ], "replace": [ "origin", "session-connection" ], "call-id": "OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe", "via-branch": "z9hG4bKddbc.01453f3a22a81dccc4b6830d1ce12551.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "fAvA.8c0U0.HA.qhN2ks04jmfcv1qGzL", "to-tag": "as5cd21d2e", "command": "answer" }
> Apr 17 21:29:50 sip rtpengine[3399]: Protocol error in packet from 127.0.0.1:41964: Unknown call-id [d3:sdp231:v=0#015#012o=root 3586 3587 IN IP4 127.0.0.1#015#012s=session#015#012c=IN IP4 127.0.0.1#015#012t=0 0#015#012m=audio 16138 RTP/AVP 3 101#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-16#015#012a=silenceSupp:off - - - -#015#012a=ptime:20#015#012a=sendrecv#015#0125:flagsl5:force13:trust-address9:symmetrice7:replacel6:origin18:session-connectione7:call-id32:OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe10:via-branch46:z9hG4bKddbc.01453f3a22a81dccc4b6830d1ce12551.013:received-froml3:IP49:127.0.0.1e8:from-tag32:fAvA.8c0U0.HA.qhN2ks04jmfcv1qGzL6:to-tag10:as5cd21d2e7:command6:answere]
> Apr 17 21:29:50 sip rtpengine[3399]: Returning to SIP proxy: d6:result5:error12:error-reason15:Unknown call-ide
> Apr 17 21:29:58 sip rtpengine[3399]: Got valid command from 127.0.0.1:34758: delete - { "call-id": "OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "fAvA.8c0U0.HA.qhN2ks04jmfcv1qGzL", "command": "delete" }
> Apr 17 21:29:58 sip rtpengine[3399]: [OTB2eH.0.gf9gYvyvplr2mkc0gz6uiXe] Call-ID to delete not found
> Apr 17 21:29:58 sip rtpengine[3399]: Returning to SIP proxy: d7:warning38:Call-ID not found or tags didn't match6:result2:oke
> Apr 17 21:29:58 sip vmnotify[6662]: Arguments: default 9911001000 0
> Apr 17 21:30:16 sip rtpengine[3399]: Got valid command from 127.0.0.1:42441: delete - { "call-id": "7gMglYVEYC7SeBU6rSPe4nYsOxpTzgKI", "via-branch": "z9hG4bK1a2e.76a158db699ddf387f8855123c22c360.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "FJQFd2zNqCKDCGHPJh6KPjBZnTGjxk9p", "command": "delete" }
> Apr 17 21:30:16 sip rtpengine[3399]: [7gMglYVEYC7SeBU6rSPe4nYsOxpTzgKI] Call-ID to delete not found
> Apr 17 21:30:16 sip rtpengine[3399]: Returning to SIP proxy: d7:warning38:Call-ID not found or tags didn't match6:result2:ole
> 
> Regards,
> Nikita Stashkov  
> 
> 17 апр. 2014 г., в 14:07, Andreas Granig <agranig at sipwise.com> написал(а):
> 
>> Just "/etc/init.d/ngcp-mediaproxy-ng stop" or "service
>> ngcp-mediaproxy-ng stop" or killing it or whatever. Just make sure to
>> remove it from /etc/rc2.d to not have it started automatically, or you
>> can even disable it in
>> /etc/ngcp-config/templates/etc/default/ngcp-mediaproxy-ng, or something
>> along these lines.
>>
>> In the end, it's just another linux daemon getting started by init.
>>
>> Andreas
>>
>> On 04/17/2014 01:59 PM, Nikita Stashkov wrote:
>>> And how to stop media proxy?
>>>
>>> 17 апр. 2014 г., в 13:57, Andreas Granig <agranig at sipwise.com> написал(а):
>>>
>>>> Hi,
>>>>
>>>> On 04/17/2014 01:54 PM, Nikita Stashkov wrote:
>>>>> Can’t replace package ngcp-mediaproxy-ng with ngcp-rtpengine. Depends on ngcp-services-ce. Any solutions?
>>>>> Can i remove ngcp-services-ce?
>>>>
>>>> You better not :)
>>>>
>>>> Try installing rtpengine from source onto your CE.
>>>>
>>>> Andreas
>>>
> 
> 




More information about the Spce-user mailing list