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: Select all
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