[pjsip] PJMEDIA_EINVALIMEDIATYPE (similar to ticket #448

tloginbr-pjsip at yahoo.com.br tloginbr-pjsip at yahoo.com.br
Fri Feb 15 10:50:32 EST 2008


Thanks a lot! Just tested and it works fine!

Now, just a question: In ticked 480 there is the patch available for
download, is there any intention in adding this to the trunk version?
I don't know for sure if this would be useful for others, but I guess
it could be... anyway, thanks again.

Thiago



> Hi Thiago,
> 
> This has been added to ticket #480:
> http://trac.pjsip.org/repos/ticket/480
> 
> Thanks for the report.
> 
> nanang
> 
> 
> On 11/02/2008, tloginbr-pjsip at yahoo.com.br
> <tloginbr-pjsip at yahoo.com.br> wrote:
> > Hi all,
> >
> >  I've read ticket #448 (http://trac.pjsip.org/repos/ticket/448)
> and I
> >  think I have a similar problem, but the media type is "image"
> and not
> >  "video". Bellow is the invite message:
> >
> >  2008-02 11 17:57:11.655   pjsua_core.c RX 1033 bytes Request msg
> >  INVITE/cseq=1 (rdata0x821b184) from UDP 10.160.65.16:5060:
> >  INVITE
> sip:3135287600 at 10.233.136.66:5060;transport=UDP;user=phone
> >  SIP/2.0
> >  f:
> > 
>
<sip:3192980553 at 10.160.65.16:5060;user=phone>;tag=00a-13c4-448067-392744b1-448067
> >  t: <sip:3135287600 at 10.233.136.66:5060;user=phone>
> >  i: 859cf0401041a00a13c4448067b9594ae312264cdc0d3018-0460-6658
> >  CSeq: 1 INVITE
> >  User-agent: CS2000_NGSS/9.0
> >  P-Asserted-Identity: <sip:3192980553 at 10.160.65.16;user=phone>
> >  Max-Forwards: 140
> >  k: 100rel
> >  Allow:
> >  ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK
> >  v: SIP/2.0/UDP
> > 
>
BSA1CS2K:5060;maddr=10.160.65.16;branch=z9hG4bK-448067-b9594ae-205293e6
> >  m: <sip:10.160.65.16:5060;transport=UDP>
> >  c: application/SDP
> >  l: 388
> >
> >  v=0
> >  o=PVG 0 0 IN IP4 10.162.0.4
> >  s=-
> >  p=+1 6135555555
> >  c=IN IP4 10.162.0.4
> >  t=0 0
> >  m=audio 51498 RTP/AVP 18 8 101
> >  a=rtpmap:101 telephone-event/8000
> >  a=fmtp:101 0-15
> >  a=ptime:20
> >  a=fmtp:18 annexb=no
> >  m=image 59690 udptl t38
> >  a=T38FaxVersion:0
> >  a=T38FaxMaxBuffer:1100
> >  a=T38FaxMaxDatagram:612
> >  a=T38MaxBitRate:14400
> >  a=T38FaxRateManagement:transferredTCF
> >  a=T38FaxUdpEC:t38UDPRedundancy
> >
> >
> >  and just after this my application rejects the call and the
> following
> >  messages comes in the log:
> >
> >  2008-02 11 17:57:11.671   pjsua_call.c Unable to create media
> >  session: Invalid media type (PJMEDIA_EINVALIMEDIATYPE)
> >  [status=220104]
> >   2008-02 11 17:57:11.672   pjsua_core.c TX 827 bytes Response
> msg
> >  488/INVITE/cseq=1 (tdta0x8230b58) to UDP
> 10.160.65.16:5060:SIP/2.0
> >  488 Not Acceptable Here
> >
> >  So pjsua (or pjsip, not sure) rejects the call with 488 - Not
> >  Acceptable Here. I think this is a similar case as the one shown
> in
> >  ticket 448, since we have the audio available. The call gets
> answered
> >  with no problem if I use x-lite to receive it.
> >
> >
> >  Thanks in advance,
> >
> >  Thiago
> >
> >


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/




More information about the pjsip mailing list