Hm, my problem escalated a bit... Apparently... If I do this in my .cfg if (has_body()){ xlog("L_INFO","- body found"); };
It will only catch the INVITE. It won't catch the 200 OK message that comes back from the gateway which contains the lines I need to alter... I was thinking of simply doing a replace_body_all("a=cdsc","i=cdsc"); To keep the same length etc of the SDP... However, I'm not getting that option :-/ Any ideas?! // sip:[EMAIL PROTECTED] | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Geir O. Jensen > Sent: Thursday, June 28, 2007 11:19 AM > To: users@openser.org > Subject: RE: [OpenSER-Users] Editing of SDP's? > > Well, certainly I was looking at the textops module since I > referenced remove_hf... However, I see no specific mention of > it being able to remove lines from the SDP. It has substs, > but no remove? > > I can't just make up stuff to put in there, as there already > is junk in there that breaks our UA. > > (Specifically it sends; > A=T38FaxUdpEC:t38UDPRedundancy > A=cdsc: 1 audio RTP/AVP 8 > A=cdsc: 2 image udptl t38 > A=sqn: 254 > > Appart from this breaking RFC3407 (A=sqn must be before the > first A=cdsc) any of these 4 lines is probably why my UA > decides to hangup... So I would like to have those removed > for testing/verification purposes...) > > // sip:[EMAIL PROTECTED] | h323: 004710012 > pstn: +47 73 55 79 23 | fax: +47 73 55 79 01 > > > -----Original Message----- > > From: Edson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 27, 2007 5:50 PM > > To: 'Klaus Darilion'; 'Geir O. Jensen' > > Cc: users@openser.org > > Subject: RE: [OpenSER-Users] Editing of SDP's? > > > > But tweaking SDP with textops functions, wouldn't break RFCs? > > > > Edson > > > > >-----Original Message----- > > >From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > >Behalf Of Klaus Darilion > > >Sent: quarta-feira, 27 de junho de 2007 10:34 > > >To: Geir O. Jensen > > >Cc: users@openser.org > > >Subject: Re: [OpenSER-Users] Editing of SDP's? > > > > > >take a look at the functions in textops module. > > > > > >regards > > >klaus > > > > > >Geir O. Jensen wrote: > > >> Our GW is sending some "junk" in the 200 OK SDP's that > > makes some of > > >> our clients "hickup" and disconnect. > > >> > > >> Is there a function similar to remove_hf() that can be > > used to remove > > >data > > >> from the SDP? > > >> > > >> Thanks! > > >> // sip:[EMAIL PROTECTED] | h323: 004710012 > > >> pstn: +47 73 55 79 23 | fax: +47 73 55 79 01 > > >> > > >> > > >> _______________________________________________ > > >> Users mailing list > > >> Users@openser.org > > >> http://openser.org/cgi-bin/mailman/listinfo/users > > > > > >_______________________________________________ > > >Users mailing list > > >Users@openser.org > > >http://openser.org/cgi-bin/mailman/listinfo/users > > > > > > > _______________________________________________ > Users mailing list > Users@openser.org > http://openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users