1. Brekeke Product Name and version: 2.0.7
2. Java version: Latest
3. OS type and the version: Win2K3 R2
6. Your problem:
When making a dialplan plugin it is possible to retrieve SIP headers from the sippacket thru the sippacket object
Is there any way that I can have that sippacket object in my session plugin?
I mean when I call my session plugin in the dialplan like this
$session=com.session.plugin.mySessionPlugin
is it then possible, either by passing the sippacket object on in the dialplan or do some "magic" inside the code in the sessionStart function, to be able to have the sippacket in the sessionStart function?
Thanks
2. Java version: Latest
3. OS type and the version: Win2K3 R2
6. Your problem:
When making a dialplan plugin it is possible to retrieve SIP headers from the sippacket thru the sippacket object
Code:
static public String findtonumber(String[] arg, com.brekeke.net.sip.SIPpacket sippacket, Properties pr) throws Exception
{
//java code here
}
I mean when I call my session plugin in the dialplan like this
$session=com.session.plugin.mySessionPlugin
is it then possible, either by passing the sippacket object on in the dialplan or do some "magic" inside the code in the sessionStart function, to be able to have the sippacket in the sessionStart function?
Thanks