Search found 12 matches

by troelsmunch
Fri Apr 25, 2008 5:42 am
Forum: Brekeke SIP Server Forum
Topic: Pass the Sippacket object on to the session plugin
Replies: 5
Views: 4780

lakeview wrote:procINVITE is called just after SessionStart is called.
Thanks.

But I really need to access the SIPpacket object from the SessionStart method...

Do you know if that is possible?

Regards,
Troels
by troelsmunch
Fri Apr 25, 2008 5:09 am
Forum: Brekeke SIP Server Forum
Topic: Dialplan plugin executed twice
Replies: 7
Views: 6137

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 ...
by troelsmunch
Thu Apr 24, 2008 12:46 pm
Forum: Brekeke SIP Server Forum
Topic: Pass the Sippacket object on to the session plugin
Replies: 5
Views: 4780

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 ...
by troelsmunch
Wed Apr 23, 2008 5:04 am
Forum: Brekeke SIP Server Forum
Topic: Pass the Sippacket object on to the session plugin
Replies: 5
Views: 4780

Pass the Sippacket object on to the session plugin

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 ...
by troelsmunch
Tue Apr 22, 2008 11:55 pm
Forum: Brekeke SIP Server Forum
Topic: Dialplan plugin executed twice
Replies: 7
Views: 6137

lakeview wrote:When you make a call to the SIP Server, how many sessions can you see in [Active Sessions] page?
One - only one.
by troelsmunch
Tue Apr 22, 2008 10:57 am
Forum: Brekeke SIP Server Forum
Topic: Dialplan plugin executed twice
Replies: 7
Views: 6137

lakeview wrote:Do you have another DialPlan rule definition which calls $dialplan.findtonumber? If so, disable it.
No I do not - this is the only rule.
by troelsmunch
Tue Apr 22, 2008 1:29 am
Forum: Brekeke SIP Server Forum
Topic: Dialplan plugin executed twice
Replies: 7
Views: 6137

Dialplan plugin executed twice

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 ...
by troelsmunch
Fri Apr 11, 2008 12:31 am
Forum: Brekeke SIP Server Forum
Topic: Isolating the session plugin - dialplan issues.
Replies: 6
Views: 6269

Thank you so very much. I've not tried it yet, but I will a bit later today. I really appreciate you taking the time to help out!

Thanks!
by troelsmunch
Thu Apr 10, 2008 1:09 pm
Forum: Brekeke SIP Server Forum
Topic: Isolating the session plugin - dialplan issues.
Replies: 6
Views: 6269

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 ...
by troelsmunch
Thu Apr 10, 2008 11:07 am
Forum: Brekeke SIP Server Forum
Topic: Isolating the session plugin - dialplan issues.
Replies: 6
Views: 6269

lakeview wrote: So you can obtain original To's information by "X-Original-To" in the session plugin even if the DialPlan plugin changes To header.
Hi Lakeview,

That sure look interesting.
One question... how do I obtain the "X-Original-To" in my session plugin?

Thanks a lot!
by troelsmunch
Thu Apr 10, 2008 2:01 am
Forum: Brekeke SIP Server Forum
Topic: Isolating the session plugin - dialplan issues.
Replies: 6
Views: 6269

Isolating the session plugin - dialplan issues.

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 ...
by troelsmunch
Mon Apr 07, 2008 4:29 am
Forum: Brekeke SIP Server Forum
Topic: Redirect call when receiving 503 from service provider
Replies: 1
Views: 2863

Redirect call when receiving 503 from service provider

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 ...