[OpenSER-Devel] openserctl ping

Juha Heinanen jh at tutpro.com
Fri Aug 24 23:15:49 CEST 2007


Edson writes:

 > And run it:
 > 
 >       teste edson
 > 
 >  
 > 
 > I got this output:
 > 
 > 0000000   t   _   u   a   c   _   d   l   g       O   P   T   I   O   N
 > 
 > 0000010   S       "   e   d   s   o   n   @   c   l   i   e   n   t   .
 > 
 > 0000020   d   o   m   a   i   n   "       "   .   "       "   .   "
 > 
 > 0000030   "   F   r   o   m   :       s   i   p   :   d   a   e   m   o
 > 
 > 0000040   n   @   s   i   p   .   t   e   s   t   .   n   a   m   e   "
 > 
 > 0000050   $  \r  \n   "   T   o   :       <   e   d   s   o   n   @   c
 > 
 > 0000060   l   i   e   n   t   .   d   o   m   a   i   n   >   "   $  \r
 > 
 > 0000070  \n   "   C   o   n   t   a   c   t   :       s   i   p   :   d
 > 
 > 0000080   a   e   m   o   n   @   !   !   >   "   $  \r  \n
 > 
 > 000008d
 > 
 >  
 > 
 > ---------------------------
 > 
 >  
 > 
 > t_uac_dlg OPTIONS "edson at client.domain" "." "." "From:
 > sip:daemon at sip.test.name"$
 > 
 > "To: <edson at client.domain>"$
 > 
 > "Contact: sip:daemon@!!>"$
 > 
 >  
 > 
 > Is this the desired output? 

no it isn't, because in desired output there should be no 

"$\r\n"

but just

\r\n

also, output just end with \r\n" where " matches " preceding From, i.e.,
From/To/Contact headers should be a single parameter surrounded by "s.

-- juha



More information about the Devel mailing list