Let's try if I can help you... First of all, why don't you want to try the example script I gave in the first e-mail???? It worked with me and I did not try the command line option....
The HF unparseable error is produced because the callid header must be the string Call-ID (and not as I wrote before).
If you don't put Call-ID or Cseq headers, t_uac_dlg will add some default numbers. Depending on what you want to achieve, you must put the right values, for example: *to send an outside dialog request you can ommit Call-ID and Cseq (be carefull with Call-ID in REGISTER). *to send a within-dialog request (e.g. re-INVITE, BYE), you must get the Call-ID and Cseq someway (ethereal, SER logs, ngrep....) and insert it into the command line header.
Moreover, be carefull with the From: and To: tags. If you don't specify them, SER will add to the From: header field value the ;tag=xxxxx, which is OK for requests initiating dialogs but not for the rest. These latter must carry the right From: and To: tags.
t_uac_dlg does not parse properly the <>, so, do:
serctl fifo t_uac_dlg BYE sip:user@IP . To:sip:daemon@ipServer From:sip:user@ip . . ended with <space>.<space>.<space> (otherwise it will wait for the body)
This worked for me,
Samuel
Unclassified.
"michael p" mikep3000@hotmail.com 05/26/05 12:37PM >>>
thanks
serctl fifo t_uac_dlg BYE sip:1111@ip1 . "To:sip:222@here From:sip:1111@ip1 Callid:xxxx Cseq:xxxx" . .
i replaced sip:1111@ip1 by the URI of one user, "To:sip:222@here by "To:sip:daemon@ipserServer , From:sip:1111@ip1 by the URI of the user, and after i don't know what exactly i have to put on Callid and Cseq and i'm not sure that's obliged (for invite or options)
i tried with bye to put a Callid of a real session and to cut off it but the error message is :
400 fifo_uac: HFs unparseable
after i tried:
serctl fifo t_uac_dlg OPTIONS sip:michael@195.68.115.168:52786 . "To:sip:daemon@195.68.105.215 From:sip:michael@195.68.115.168:52786 . ..
and it gave me :
you know like it waits something
do you know more to help me?
thanks
From: "Samuel Osorio Calvo" samuel.osorio@nl.thalesgroup.com To: ladia6@centrum.cz, mikep3000@hotmail.com, serusers@lists.iptel.org, greger@teigre.com Subject: Re: [serusers] fifo Date: Thu, 26 May 2005 12:01:49 +0200
First of all: which error gives you serctl? Then, try something like:
serctl fifo t_uac_dlg BYE sip:1111@ip1 . "To:sip:222@here From:sip:1111@ip1 Callid:xxxx Cseq:xxxx" . .
Hope it works! Samuel
Unclassified.
serctl fifo t_uac_dlg BYE sip:1111 at xxx.xxx.xxx
'sip:from:1111 at xxx.xxx.xxx' 'sip:to:2222 at xxx.xxx.xxx' 'callid:xxxxxxxxxxxx' 'Cseq:xxxxxx' . .
"michael p" mikep3000@hotmail.com 05/26/05 11:19AM >>>
thank you very much
but it didn't work too
it's crazy ;)
if someone else already used what i'm looking fo (serctl fifo t_uac_dlg ....)
thanks
M.
From: "Samuel Osorio Calvo" samuel.osorio@nl.thalesgroup.com To: ladia6@centrum.cz, mikep3000@hotmail.com, serusers@lists.iptel.org, greger@teigre.com Subject: Re: [serusers] fifo Date: Thu, 26 May 2005 10:49:17 +0200
Hi!
I have never used the command line to use the t_uac_dlg fifo command, but just a script similar to the example present in the attached file
FIFO.txt
(it is from an older version of SER but the FIFO interface has not changed). I also attach another document containing the explanation found in the source code about the FIFO interface.
I hope with these two documents you will be able to send SIP requests
with
t_uac_dlg
Samuel.
Unclassified.
"michael p" mikep3000@hotmail.com 05/25/05 04:32PM >>>
i'm sorry but it didn't help me
i think it's different with serctl but thanks
i don't understand anybody never used this command line in serctl???
thanks
From: "Greger V. Teigre" greger@teigre.com To: "michael p" mikep3000@hotmail.com, ladia6@centrum.cz, serusers@lists.iptel.org Subject: Re: [serusers] fifo Date: Wed, 25 May 2005 16:26:44 +0200
Maybe this can help you in the right direction: http://www.onsip.org/modules/xoopsfaq/index.php?cat_id=3#q2 g-)
michael p wrote:
only in the third link ther is my question but there is no answer Does anyone know what correct format of a packet should be pushed into fifo buffer? For example,
serctl fifo t_uac_dlg BYE sip:1111 at xxx.xxx.xxx 'sip:from:1111 at xxx.xxx.xxx' 'sip:to:2222 at xxx.xxx.xxx' 'callid:xxxxxxxxxxxx' 'Cseq:xxxxxx' . . The above command I've tried,but got errors.
and i tried the format into the serctl too
thanks for replying
From: Ladislav Andel ladia6@centrum.cz Reply-To: Ladislav Andel ladia6@centrum.cz To: "michael p" mikep3000@hotmail.com Subject: Re: [serusers] fifo Date: Wed, 25 May 2005 15:39:07 +0200
I'm sorry, I think I've seen it in the list, but can't find it..
try the links below
http://lists.iptel.org/pipermail/serusers/2004-August/010850.html http://lists.iptel.org/pipermail/serusers/2004-August/010825.html http://lists.iptel.org/pipermail/serusers/2005-April/018897.html
mp> thanks but it didn't help me cause this topic not found in google in this mp> name maybe another one
mp> so if you know which line i have to write it will be more simple
mp> thanks
>From: Ladislav Andel ladia6@centrum.cz >Reply-To: Ladislav Andel ladia6@centrum.cz >To: "michael p" mikep3000@hotmail.com >CC: serusers@lists.iptel.org >Subject: Re: [serusers] fifo >Date: Wed, 25 May 2005 14:55:45 +0200 > >This topic was in the list recently. Try to google it out. >Lada > >mp> i already saw the different options but i want to know how to >use them to >mp> send a message like INVITE or OPTIONS i don't know how i have >to write the >mp> commande > >mp> thanks > >>>From: Llanos Serna GarcĂa-Conde llanosserna@hotmail.com >>>To: mikep3000@hotmail.com >>>CC: serusers@lists.iptel.org >>>Subject: RE: [serusers] fifo >>>Date: Wed, 25 May 2005 14:20:27 +0200 >>> > >
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
<< FIFO.txt >> << FIFO_source.txt >>