<!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 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> </DIV>
<DIV>cat > /tmp/ser_fifo << 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> </DIV>
<DIV>please can someone correct it.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV><BR>PS : the valid header is the following :</DIV>
<DIV> </DIV>
<DIV>Session Initiation Protocol<BR> Request-Line: INVITE
sip:5001@sip.softiphone.net SIP/2.0<BR> Message
Header<BR> Via: SIP/2.0/UDP
192.168.1.100;branch=z9hG4bK52ffa6c1cda5b285<BR>
From: "5003"
<sip:5003@sip.softiphone.net>;tag=81ee9e99dc30cc34<BR>
SIP Display info: "5003"
<BR> SIP from
address:
sip:5003@sip.softiphone.net<BR>
SIP tag: 81ee9e99dc30cc34<BR> To:
<sip:5001@sip.softiphone.net><BR>
SIP to address:
sip:5001@sip.softiphone.net<BR>
Contact:
<sip:5003@192.168.1.100><BR>
Supported: replaces, timer<BR>
Call-ID: <A
href="mailto:b2d776f6e99851a4@192.168.1.100">b2d776f6e99851a4@192.168.1.100</A><BR>
CSeq: 44559 INVITE<BR> User-Agent:
Grandstream GXP2000 1.0.1.9<BR>
Max-Forwards: 70<BR> Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK<BR>
Content-Type: application/sdp<BR>
Content-Length: 310<BR> Message
body<BR> Session Description
Protocol<BR>
Session Description Protocol Version (v):
0<BR>
Owner/Creator, Session Id (o): 5003 8000 8000 IN IP4
192.168.1.100<BR>
Session Name (s): SIP
Call<BR>
Connection Information (c): IN IP4
192.168.1.100<BR>
Time Description, active time (t): 0
0<BR> Media
Description, name and address (m): audio 5004 RTP/AVP 0 8 18 3 4
101<BR> Media
Attribute (a):
sendrecv<BR>
Media Attribute (a): rtpmap:0
PCMU/8000<BR>
Media Attribute (a): rtpmap:8
PCMA/8000<BR>
Media Attribute (a): rtpmap:18
G729/8000<BR>
Media Attribute (a): rtpmap:3
GSM/8000<BR>
Media Attribute (a): rtpmap:4
G723/8000<BR>
Media Attribute (a):
ptime:20<BR>
Media Attribute (a): rtpmap:101
telephone-event/8000<BR>
Media Attribute (a): fmtp:101 0-11</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR></FONT> </DIV></BODY></HTML>