Re: [SR-Users] Sending SIP request from mi_fifo using TMX module

2011-12-16 Thread Sammy Govind
Great, Basically my goal is to create a hig performance Auto-Dialer sort of thing in which I plan to fetch values from DB and push those values to kamailio using any module TMX or Dialog(as u mentioned) and as soon the intended destinaion answers Bridge the call to Media-Server to play an announcem

Re: [SR-Users] Sending SIP request from mi_fifo using TMX module

2011-12-16 Thread Daniel-Constantin Mierla
Hello, if you look to do something like click to dial (ringing user A first, when answering, then refer it to user B (or media server)), then maybe you just use dialog module with dlg_bridge command: http://kamailio.org/docs/modules/stable/modules_k/dialog.html#id2554844 Cheers, Daniel On 1

Re: [SR-Users] Sending SIP request from mi_fifo using TMX module

2011-12-16 Thread Sammy Govind
Hi, Thanks alot, I found the same stuff inside the * kamailio-3.2/kamailio/examples/kamailio* folder and now trying to implement some changes. Do you think It'll be difficult to originate call using this script and then later once call is Answered bridge it to a Media-Server to do its part !? Than

Re: [SR-Users] Sending SIP request from mi_fifo using TMX module

2011-12-16 Thread Daniel-Constantin Mierla
Hello, the headers have to be terminated in \r\n. In a shell script for click to dial, here is the used form: cat > $FIFO <"`printf "${FIXED_DLG}To: <$URI>\r\nCSeq: $CSEQ INVITE\r\nContent-Type: application/sdp\r\n"` " "`printf "v=0\r\no=click-to-dial 0 0 IN IP4 0.0.0.0\r\ns=session\r\nc=IN