[Freeswitch-users] Call disconnect response from FreeSWITCH

arnuld uttre arnuld.mizong at gmail.com
Wed Jun 16 03:03:59 PDT 2010


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 at 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 at 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 at dune ~]$



--
http://uttre.wordpress.com/2008/05/14/the-lost-love-of-mine/



More information about the FreeSWITCH-users mailing list