[Asterisk-Dev] how can i auto answer a SiP call in myChannel?
Pere Sáez Garcia
peresaezgarcia at hotmail.com
Thu May 5 04:14:16 MST 2005
Hello,
I need notify to a SIP channel (caller) that the call is answered when
asterisk notify me the new call. I need that SIP channel change to state
connected. The scenario is:
SIP call Asterisk
MyChannel/myUser
1.MAKECALL----------------------------->DialPlan::Dial(
MyChannel/myUser)----------->.call (callback)
2.CONNECTED<--------------------------????<--------------------------------------------------
NewCallTreatment
3.STREAM SEND------------------------->
--------------------------------------------------->.write (callback)
..
..STREAM RECEIVED<-----------------
<--------------------------------------------------- .read (callback)
With "????" I expose the think that i know how do. How can do that SIP
channel was in CONNECTED state via Asterisk's Channel API?
Thank you
_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/
More information about the asterisk-dev
mailing list