[Devel] CVS commitlog: sip-server/modules/tm mi.c

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Dec 14 15:57:08 CET 2006


Hi Juha,

Syntax of "t_uac_dlg" (as MI nodes is ):

method
RURI
NEXT_HOP?
socket?
new_headers?
[Body]

each MI node is an XMLRPC parameter.

so, you need to push the following XMLRPC request:

<methodCall>
    <methodName>t_uac_dlg</methodName>
    <params>
        <param>
            <value><string>INVITE</string></value>
        </param>
        <param>
            <value><string>sip:bogdan at domain.com</string></value>
        </param>
         <param>
            <value><string>sip:sip.domain.com:5060</string></value>
        </param>
        <param>
            <value><string>.</string></value>
        </param>
        <param>
            <value><string>X-Info: test
              To: bogdan at domain.com
              From: tester at test.com
              Callid: qwerty
              CSeq: 1 INVITE
            </string></value>
        </param>
   </params>
</methodCall>


regards,
Bogdan

Juha Heinanen wrote:

>Bogdan-Andrei Iancu writes:
>
> > Here is something working for me:
> > 
> > <quoted>
> > :t_uac_dlg:reply_fifo
> > INVITE
> > sip:bogdan at domain.com
> > sip:sip.domain.com:5060
> > .
> > "X-Info: test
> > To: bogdan at domain.com
> > From: tester at test.com
> > Callid: qwerty
> > CSeq: 1 INVITE
> > "
> > 
> > </quoted>
>
>the above is fifo example.  how does it look like when sent using
>xml-rpc?  i assume that methodName is t_uac_dlg, and the only string
>valued param is this:
>
>INVITE
>sip:bogdan at domain.com
>sip:sip.domain.com:5060
>.
>"X-Info: test
>To: bogdan at domain.com
>From: tester at test.com
>Callid: qwerty
>CSeq: 1 INVITE
>"
>where each line ends with newline char?
>
>-- juha
>  
>




More information about the Devel mailing list