Yes, here is the code in dialplan.findtonumber static public String findtonumber(String[] arg, com.brekeke.net.sip.SIPpacket sippacket, Properties pr) throws Exception { String strSIPto = stripCalleeURL(sippacket.getValue("To")); int iCallPatternID = Integer.parseInt(sippacket.getValue("X ...
Hi Add the following in your source code.. public void procINVITE( ClientStat cs, SIPpacket sippacket, boolean bRequest ) { //java code here } Please read the Developer's Guide for more details. http://www.brekeke-sip.com/download/bss/bss_accountplugin_en.txt Thanks. But I want the SIPpacket to be ...
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 static public String findtonumber(String[] arg, com.brekeke.net ...
1. Brekeke Product Name and version: 2.0.7 2. Java version:Latest 3. OS type and the version:WIN2K3 R2 4. Your problem: I know that this problem is discussed in another topic, but it seems to be a dead topic, and no solution has been found http://www.brekeke-sip.com/bbs/viewtopic.php?t=5527 ...
String originalTo = sippacket.getValue( "X-Original-To" ) ; But is the sippacket object passed on to the session plugin? My session plugin looks like this: public class adpfordialplan extends AccountingBase { String connectionUrl = "myConnectionURL"; String jdbcPath = "com.microsoft.sqlserver.jdbc ...
1. Brekeke Product Name and version: 2.0.7.2 2. Java version:Latest 3. OS type and the version: Win2k3 Server 4. Your problem: I have the following dialplan (in this specific order): Matching: $request=^INVITE Deploy: To=(.+) $session=com.test.dialplan.plugin.adpfordialplan $continue=true Matching ...
1. Brekeke Product Name and version: SIP 2.0 2. Java version: latest 3. OS type and the version: Win2k3 4. UA (phone), gateway or other hardware/software involved: 5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : 6. Your problem: I would like to be ...