<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I&nbsp;want to send an invite request to ser's fifo 
using t_uac_dlg command and exec_msg,<BR>my pb is that i can't construct a valid 
invite header , <BR>when i check the log of ser, i see that there is errors in 
parsing headers.</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>i'm trying to send something like this : </DIV>
<DIV>&nbsp;</DIV>
<DIV>cat &gt; /tmp/ser_fifo &lt;&lt; EOF<BR>:t_uac_dlg:hh<BR>INVITE<BR>sip: <A 
href="mailto:user2@sip.server.net">user2@sip.server.net</A><BR>.<BR>From: 
sip:user1@sip.server.net<BR>To: sip:user2@sip.server.net<BR>.<BR>Content-Type: 
application/sdp<BR>EOF</DIV>
<DIV>&nbsp;</DIV>
<DIV>please can someone correct it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>PS : the valid header is the following :</DIV>
<DIV>&nbsp;</DIV>
<DIV>Session Initiation Protocol<BR>&nbsp;&nbsp;&nbsp; Request-Line: INVITE 
sip:5001@sip.softiphone.net SIP/2.0<BR>&nbsp;&nbsp;&nbsp; Message 
Header<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Via: SIP/2.0/UDP 
192.168.1.100;branch=z9hG4bK52ffa6c1cda5b285<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
From: "5003" 
&lt;sip:5003@sip.softiphone.net&gt;;tag=81ee9e99dc30cc34<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SIP Display info: "5003" 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP from 
address: 
sip:5003@sip.softiphone.net<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SIP tag: 81ee9e99dc30cc34<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: 
&lt;sip:5001@sip.softiphone.net&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SIP to address: 
sip:5001@sip.softiphone.net<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Contact: 
&lt;sip:5003@192.168.1.100&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Supported: replaces, timer<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Call-ID: <A 
href="mailto:b2d776f6e99851a4@192.168.1.100">b2d776f6e99851a4@192.168.1.100</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
CSeq: 44559 INVITE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Agent: 
Grandstream GXP2000 1.0.1.9<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Max-Forwards: 70<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow: 
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Content-Type: application/sdp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Content-Length: 310<BR>&nbsp;&nbsp;&nbsp; Message 
body<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Session Description 
Protocol<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Session Description Protocol Version (v): 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Owner/Creator, Session Id (o): 5003 8000 8000 IN IP4 
192.168.1.100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Session Name (s): SIP 
Call<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Connection Information (c): IN IP4 
192.168.1.100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Time Description, active time (t): 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media 
Description, name and address (m): audio 5004 RTP/AVP 0 8 18 3 4 
101<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media 
Attribute (a): 
sendrecv<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:0 
PCMU/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:8 
PCMA/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:18 
G729/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:3 
GSM/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:4 
G723/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): 
ptime:20<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): rtpmap:101 
telephone-event/8000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Media Attribute (a): fmtp:101 0-11</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR></FONT>&nbsp;</DIV></BODY></HTML>