Author |
Message |
Topic: Pass the Sippacket object on to the session plugin |
troelsmunch
Replies: 5
Views: 3542
|
Forum: Brekeke SIP Server Forum Posted: Fri Apr 25, 2008 5:42 am Subject: Pass the Sippacket object on to the session plugin |
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,
... |
Topic: Dialplan plugin executed twice |
troelsmunch
Replies: 7
Views: 4498
|
Forum: Brekeke SIP Server Forum Posted: Fri Apr 25, 2008 5:09 am Subject: Dialplan plugin executed twice |
Yes, here is the code in dialplan.findtonumber
static public String findtonumber(String[] arg, com.brekeke.net.sip.SIPpacket sippacket, Properties pr) throws Exception
... |
Topic: Pass the Sippacket object on to the session plugin |
troelsmunch
Replies: 5
Views: 3542
|
Forum: Brekeke SIP Server Forum Posted: Thu Apr 24, 2008 12:46 pm Subject: Pass the Sippacket object on to the session plugin |
Hi
Add the following in your source code..
public void procINVITE( ClientStat cs, SIPpacket sippacket, boolean bRequest )
{
//java code here
}
Please read the Dev ... |
Topic: Pass the Sippacket object on to the session plugin |
troelsmunch
Replies: 5
Views: 3542
|
Forum: Brekeke SIP Server Forum Posted: Wed Apr 23, 2008 5:04 am Subject: 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 heade ... |
Topic: Dialplan plugin executed twice |
troelsmunch
Replies: 7
Views: 4498
|
Forum: Brekeke SIP Server Forum Posted: Tue Apr 22, 2008 11:55 pm Subject: Dialplan plugin executed twice |
When you make a call to the SIP Server, how many sessions can you see in
One - only one. |
Topic: Dialplan plugin executed twice |
troelsmunch
Replies: 7
Views: 4498
|
Forum: Brekeke SIP Server Forum Posted: Tue Apr 22, 2008 10:57 am Subject: Dialplan plugin executed twice |
Do you have another DialPlan rule definition which calls $dialplan.findtonumber? If so, disable it.
No I do not - this is the only rule. |
Topic: Dialplan plugin executed twice |
troelsmunch
Replies: 7
Views: 4498
|
Forum: Brekeke SIP Server Forum Posted: Tue Apr 22, 2008 1:29 am Subject: 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 ... |
Topic: Isolating the session plugin - dialplan issues. |
troelsmunch
Replies: 6
Views: 4781
|
Forum: Brekeke SIP Server Forum Posted: Fri Apr 11, 2008 12:31 am Subject: Isolating the session plugin - dialplan issues. |
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! |
Topic: Isolating the session plugin - dialplan issues. |
troelsmunch
Replies: 6
Views: 4781
|
Forum: Brekeke SIP Server Forum Posted: Thu Apr 10, 2008 1:09 pm Subject: Isolating the session plugin - dialplan issues. |
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 ... |
Topic: Isolating the session plugin - dialplan issues. |
troelsmunch
Replies: 6
Views: 4781
|
Forum: Brekeke SIP Server Forum Posted: Thu Apr 10, 2008 11:07 am Subject: Isolating the session plugin - dialplan issues. |
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 ques ... |
Topic: Isolating the session plugin - dialplan issues. |
troelsmunch
Replies: 6
Views: 4781
|
Forum: Brekeke SIP Server Forum Posted: Thu Apr 10, 2008 2:01 am Subject: 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):
Ma ... |
Topic: Redirect call when receiving 503 from service provider |
troelsmunch
Replies: 1
Views: 2123
|
Forum: Brekeke SIP Server Forum Posted: Mon Apr 07, 2008 4:29 am Subject: 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 p ... |
|