attached the "final" patch for T.38 FoIP media type image

changed:
m=image capability in SDP with the play_pcap_video command instead of m=video

fixed:
RTP ports over 9999 are not an issue anymore, 5 digits ok ;)


cheers,

Patrick.






> 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
--- sipp.svn/call.cpp	2008-04-09 16:50:37.000000000 +0200
+++ sipp.svn.modded/call.cpp	2008-08-20 10:20:11.000000000 +0200
@@ -177,12 +177,12 @@
 {
     char *pattern;
     char *begin, *end;
-    char number[6];
+    char number[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