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

2011-12-16 Thread Sammy Govind
Hello list, I'm using Kamailio 3.2 and am trying to send a SIP request from fifo to kamailio using below format. #kamctl fifo t_uac_dlg MESSAGE sip:103@ mydomain.org . . "From: 1...@mydomain.org To: 1...@mydomain.org Contact: mydomain.org Content-Type: text/plain; charset=UTF-8" "INVITE" But I

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

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-16 Thread Daniel-Constantin Mierla
Hello, On 12/15/11 4:17 PM, Mino Haluz wrote: Only this worked: sercmd -s unixs:/tmp/kamailio_ctl system.listMethods for 3.2.0, sercmd used a different default control socket, so the one used by kamailio has to be given as parameter. in 3.2.1 that is fixed. So, now if you do: sercmd -s unix

Re: [SR-Users] source port used for forwarded requests

2011-12-16 Thread Daniel-Constantin Mierla
On 12/16/11 5:17 AM, Alex Balashov wrote: Maybe, if I understand you correctly, the 'advertised_address' and/or 'advertised_port' settings are the thing for you? No, these parameters are not used for selection of socket, not even for routing. They are the values to be used to build Via header

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, 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
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] Bug: Dialog State=*Teminated* even when the call is active

2011-12-16 Thread Gnaneshwar Gatla
Hello Daniel, Please find the attached patch. This patch was already submitted to Kamailio 3.1.5 by Timo Reimann. The patch was designed that if "override_lifetime" is not used, the value of the expires is taken from dialog module. FS#159 - Default expires value in dialog-info. But still, I fee

[SR-Users] SERi - SIP Express Router setup file corrupted

2011-12-16 Thread Tirtha
Dear Sir, To configure a SIP server in windows platform, I have downloaded the setup file of SIP Express Router from your FTP server as mentioned in your web portal, but unfortunately when I am going to extract that file , a error is coming and showing that the specific file is corrupted. So re