[Kamailio-Users] sems/openser13x/mi_datagram with quotes
Aymeric Moizard
jack at atosc.org
Sun Jun 28 17:35:11 CEST 2009
On Sun, 28 Jun 2009, Aymeric Moizard wrote:
>
> Hi,
>
> I have an old openser13x which is used only to
> control my sems voicemail and voice service.
I just checked with kamailio15x and the same error happens in mi_datagram.
tks
Aymeric
> Some may know that speex payload format was published
> as an rfc last week and the last change before publication
> was the addition of the "quote" for the mode parameter.
>
> a=fmtp:98 mode="6,any"
>
> It's pretty clear that the '"' character is messing up the mi_datagram
> exchange.
>
> Jun 28 15:12:14 ns26829 Sems[30885]: Debug:
> (AmUtils.cpp)(write_to_socket)(588): sending: <:t_reply: 200 OK
> 56471:1271880648 784D98C0-4A476C2E000F397\
> 7-B6C56BB0 "Contact: <sip:welcome at 91.121.81.212:5070>^M Content-Type:
> application/sdp^M " "v=0^M o=- 0 0 IN IP4 91.121.81.212^M s=session^M c=IN
> IP4 \
> 91.121.81.212^M t=0 0^M m=audio 11066 RTP/AVP 98 0 8 101^M a=rtpmap:98
> speex/8000^M a=fmtp:98 mode="6,any";cng=on^M a=rtpmap:0 PCMU/8000^M
> a=rtpmap:8\
> PCMA/8000^M a=rtpmap:101 telephone-event/8000^M a=fmtp:101 0-15^M " >
> Jun 28 15:12:14 ns26829 Sems[30885]: Debug:
> (AmUtils.cpp)(write_to_socket)(614): write to unix socket: completed
> Jun 28 15:12:15 ns26829 /home/jack/install13x/sbin/openser[3328]:
> ERROR:mi_datagram:mi_datagram_parse_node: didn't find newline case1
> Jun 28 15:12:15 ns26829 /home/jack/install13x/sbin/openser[3328]:
> ERROR:mi_datagram:mi_datagram_parse_node: parse error around 6
> Jun 28 15:12:15 ns26829 /home/jack/install13x/sbin/openser[3328]:
> ERROR:mi_datagram:mi_datagram_parse_tree: parse error!
> Jun 28 15:12:15 ns26829 /home/jack/install13x/sbin/openser[3328]:
> ERROR:mi_datagram:mi_datagram_server: failed to parse the MI tree
> Jun 28 15:12:15 ns26829 Sems[30885]: Debug:
> (UnixSocketAdapter.cpp)(cacheMsg)(90): recv-ed: <<400 parse error in
> command>>
> Jun 28 15:12:15 ns26829 Sems[30885]: Error:
> (UnixSocketAdapter.cpp)(send_msg)(531): SER answered: 400 parse error in
> command
> Jun 28 15:12:15 ns26829 Sems[30885]: Error: (AmSession.cpp)(onInvite)(695):
> 500 could not send response
>
>
> Question is: what's the best option for me to workaround
> this!
>
> Aymeric MOIZARD / ANTISIP
> amsip - http://www.antisip.com
> osip2 - http://www.osip.org
> eXosip2 - http://savannah.nongnu.org/projects/exosip/
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list