I just started using FS (FreeSWITCH). I am connecting to it through telnet as client and giving it originate command to make calls to some SIP phone. Its placing calls without any problems but FS does not send any info when a call completes so I am little confused on how to know that a call is completed. A typical session is shown down here. FS tells immediately that the call is picked up by the person on other side but no information on when a call is completed. Any idea on how to know that a call is completed so that I can free up my malloc()ed memory. [arnuld@dune ~]$ telnet 192.168.0.222 8021 Trying 192.168.0.222... Connected to cobra (192.168.0.222). Escape character is '^]'. Content-Type: auth/request auth **** Content-Type: command/reply Reply-Text: +OK accepted api originate sofia/internal/105@192.168.0.228:5060 1111 Content-Type: api/response Content-Length: 41 +OK 19d962e3-9fa1-4f26-ba8c-0b9ac6afadc1 exit Content-Type: command/reply Reply-Text: +OK bye Content-Type: text/disconnect-notice Content-Length: 67 Disconnected, goodbye. See you at ClueCon! http://www.cluecon.com/ Connection closed by foreign host. [arnuld@dune ~]$ -- http://uttre.wordpress.com/2008/05/14/the-lost-love-of-mine/
participants (1)
-
arnuld uttre