Doubs building the ADD package
mwilligs@REDACTED
mwilligs@REDACTED
Wed Oct 29 22:01:45 CET 2003
I wanna do this
...
Local {
v=0
c=in IP4 $
m=audio $ RTP/AVP 4
}
...
what wrong in de line "PropGrps1=cre_PropertyParm(v,"0")" because in this
line the error jump
cre_PropertyParm(Name,Value)->
#'PropertyParm'{name=Name,value=Value}.
...
PropGrps3=cre_PropertyParm(m,"audio $ RTP/AVP"),
PropGrps2=cre_PropertyParm(c,"IN IP4 $"),
PropGrps1=cre_PropertyParm(v,"0"),
LRD1 = cre_LocalRemoteDescriptor([PropGrps1]),%%%here fail, I proved with
0 insteaded of "0"
%
%for introducing more propgrps it's like this :
% LRD1 =
cre_LocalRemoteDescriptor([PropGrps1,PropGrps2,PropGrps3]),%%%here fail
%LRD1 = cre_LocalRemoteDescriptor([]),%that work
%that work
LCD1 = cre_LocalControlDescriptor(sendRecv),
SP3 = cre_StreamParms({remoteDescriptor, LRD1}),
SP2 = cre_StreamParms({localDescriptor, LRD1}),
SP1 = cre_StreamParms({localControlDescriptor, LCD1}),
MEDIA1 = cre_MediaDescriptor(oneStream,SP3),
ADD1 = cre_Ammrequest(?A4444, mediaDescriptor, MEDIA1),
CR1 = cre_commandReq({addReq, ADD1}),
AR = cre_actionReq(?megaco_choose, [CR1]).
...
More information about the erlang-questions
mailing list