[Kamailio-Users] Generate INVITE from Openser

karhu yoannks at gmail.com
Mon Aug 10 17:21:57 CEST 2009


I will have to generate an INVITE later on so i am using this topic to ask
you something. I'm working on having in one side a sequence (BYE +
(re-INVITE+ newSDP)). The new SDP will have some more media parameters than
the initial one.  

I have been reading documentation, and it seems there is an issue to
generate a bye, by using : 

dlg_bye(side) function from dialog module or uac_req_send() from uac module. 
I've been trying to use these functions in Kamailio.cfg but it doesn't
generate any bye at all on wireshark trace !! 

Using dialog module : 
Informations about caller, callee, callid are well stored into the DB but
When i am calling : 
dlg_bye("callee") no BYE is send to the callee...

Using uac module : 
$uac_req(method)="BYE";
$uac_req(furi)="sip:bob at 10.10.10.2"
$uac_req(turi)="sip:alice at 10.10.10.2"
uac_req_send();

to execute one of these functions i puted them in route[66] with a xlog line
and using rtimer module to be sure it is well executed. xlog line is
executed but no BYE on wireshark :s 

About the INVITE+SDP : 

Is it possible to generate an INVITE from the cfg file ? will uac_req_send()
can have a body on his method? i guess no !! 
The only way i found to generate INVITE+SDP is to use MI commands from tm
module :  t_uac_dlg !! am i right ?

Best regards,

karhu
-- 
View this message in context: http://www.nabble.com/Generate-INVITE-from-Openser-tp24518157p24901732.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.




More information about the Users mailing list