phuminsingla / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Parameters send to Event Listener Function #223

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Did any one know the parameter list(other than type and session) send to the 
event listener function when an event occurs.

Original issue reported on code.google.com by iju4u...@gmail.com on 24 Apr 2015 at 7:08

GoogleCodeExporter commented 8 years ago
Can i get who has terminated the call event?

Original comment by iju4u...@gmail.com on 24 Apr 2015 at 7:08

GoogleCodeExporter commented 8 years ago
Following event parameters and there values :
1) e.type => event type such as 
connected,started,i_new_call,I_new_message,terminated 
2) e.session => current event session 
3) e.getSipResponseCode() => event response code(-1,100,180,603,200,487) 
4) e.description => event description
5) e.getContentString() => vent content string(i think only for i_notify event) 
6) e.getContentType() => event content type(i think only for i_notify event)

Original comment by iju4u...@gmail.com on 24 Apr 2015 at 8:58