> If your job permits; it would be great if you could post your patch to the 
> list for others to use.

yeah :)

attached is the "T.38 patch" for sipp.3.1

you need to exec the pcap file with the play_pcap_video command!

cheers,

Patrick



> 
> Charles
> 
> [EMAIL PROTECTED] wrote on 08/19/2008 10:07:16 AM:
> 
> > hey,
> > 
> > > There is no support in SIPp right now.  To add it you'll need to 
> change 
> > > call.cpp to support m=image instead of m=audio and m=video.  Search 
> for 
> > > PAT_AUDIO and PAT_VIDEO in call.cpp.
> > 
> > 
> > that worked like a charm :)
> > 
> > THX,
> > 
> > Patrick.
> > 
> > 
> > > 
> > > Charles
> > > 
> > > 
> > > 
> > > 
> > > Patrick Miccio <[EMAIL PROTECTED]> 
> > > Sent by: [EMAIL PROTECTED]
> > > 08/19/2008 08:29 AM
> > > 
> > > To
> > > [email protected]
> > > cc
> > > 
> > > Subject
> > > [Sipp-users] T.38 media type  m=image
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Hello everyone,
> > > 
> > > I used google and searched the mailing list, but couldn't find any 
> answers 
> > > :(
> > > 
> > > I am trying to recreate a fax call with Sipp, unfortunately I get the 
> > > following error:
> > > 
> > > "media_port keyword with no audio or video on the current line 
> (m=image 
> > > )."
> > > 
> > > 
> > > Is there any workaround?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > here is the SDP information that causes the problem:
> > > 
> > > ...
> > > ...
> > > Content-Length: [len]
> > > 
> > > v=0
> > > o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
> > > s=SIP Call
> > > c=IN IP[media_ip_type] [media_ip]
> > > t=0 0
> > > m=image [media_port] udptl t38
> > > a=T38FaxFillBitRemoval:0
> > > a=T38FaxMaxBuffer:200
> > > a=T38FaxTranscodingJBIG:0
> > > a=T38FaxTranscodingMMR:0
> > > a=T38FaxUdpEC:t38UDPRedundancy
> > > a=T38MaxBitRate:14400
> > > a=T38FaxVersion:0
> > > a=T38FaxMaxDatagram:72
> > > a=T38FaxRateManagement:transferredTC
> > > 
> > > 
> -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great 
> 
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the 
> > > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > Sipp-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/sipp-users
> > > 
> > > 
> > 
> > 
> -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Sipp-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sipp-users
> 
--- sipp.svn/call.cpp	2008-04-09 16:50:37.000000000 +0200
+++ sipp.svn.modded/call.cpp	2008-08-19 15:18:58.000000000 +0200
@@ -182,7 +182,7 @@
     if (pattype == PAT_AUDIO) {
       pattern = "m=audio ";
     } else if (pattype == PAT_VIDEO) {
-      pattern = "m=video ";
+      pattern = "m=image ";
     } else {
 	ERROR("Internal error: Undefined media pattern %d\n", 3);
     }
@@ -1982,7 +1982,7 @@
 	  } else {
 	    (_RCAST(struct sockaddr_in *, &(play_args_a.from)))->sin_port = port;
 	  }
-	} else if (strstr(begin, "video")) {
+	} else if (strstr(begin, "image")) {
 	  if (media_ip_is_ipv6) {
 	    (_RCAST(struct sockaddr_in6 *, &(play_args_v.from)))->sin6_port = port;
 	  } else {

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to