Don't receive subscribed events
Moderator: Brekeke Support Team
Don't receive subscribed events
1. Brekeke Product Name and version:
Brekeke PBX, Version 2.4.9.0 , Pro Evaluation
Brekeke PAL, Version 2.4.4.11 Evaluation
2. Java version:
JRE 6 build 30
3. OS type and the version:
Win7-64
4. UA (phone), gateway or other hardware/software involved:
None
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 2
6. Your problem:
I'm building an sample application using the Evaluation version of the PBX and PAL. I'm succesfully connected to the PBX and wireshark traces indicates a '200 OK' status when subscribing to the events. However, I don't receive any events from my phones (a Snom and Tiptel hardphone).
The sample application won't receive any events either, so I guess that it has to be a setting on the pbx somewhere?
Any help would be appreciated.
TIA,
Rutger
Brekeke PBX, Version 2.4.9.0 , Pro Evaluation
Brekeke PAL, Version 2.4.4.11 Evaluation
2. Java version:
JRE 6 build 30
3. OS type and the version:
Win7-64
4. UA (phone), gateway or other hardware/software involved:
None
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 2
6. Your problem:
I'm building an sample application using the Evaluation version of the PBX and PAL. I'm succesfully connected to the PBX and wireshark traces indicates a '200 OK' status when subscribing to the events. However, I don't receive any events from my phones (a Snom and Tiptel hardphone).
The sample application won't receive any events either, so I guess that it has to be a setting on the pbx somewhere?
Any help would be appreciated.
TIA,
Rutger
can the registered phones call each other?
is the call showing from pbx/call status?
can pal app show phones registration status?
At pbx > [Options] > [PBX system settings] > [Valid client IP Pattern], enter a regular expression define the PAL Clients’ IP addresses pattern,
For example, “192\.168\..*” will allow all PAL clients whose IP addresses starting with “192.168”
is the call showing from pbx/call status?
can pal app show phones registration status?
At pbx > [Options] > [PBX system settings] > [Valid client IP Pattern], enter a regular expression define the PAL Clients’ IP addresses pattern,
For example, “192\.168\..*” will allow all PAL clients whose IP addresses starting with “192.168”
The phones can call each other, and I see calls in the Call Logs tab. However, I looks like only the missed calls are in there.
I've got a call between those 2 phone right now, and on the Call Status tab it says that 'There are no active calls', I don't know if it should show up there??
Must the regular expression in the address pattern be exactly with the quotes and dashes? I've got an expression like 192.168.* right now (so without the quotes as in the manual). Or should it include the quotes in the textbox like "192.168.*" or even with the slashes "192\.168\.*"?
I do get a registration event when I startup my application, but not when I reregister my phone when my application is already running.
I can provide a wireshark trace if necessary.[/b]
I've got a call between those 2 phone right now, and on the Call Status tab it says that 'There are no active calls', I don't know if it should show up there??
Must the regular expression in the address pattern be exactly with the quotes and dashes? I've got an expression like 192.168.* right now (so without the quotes as in the manual). Or should it include the quotes in the textbox like "192.168.*" or even with the slashes "192\.168\.*"?
I do get a registration event when I startup my application, but not when I reregister my phone when my application is already running.
I can provide a wireshark trace if necessary.[/b]
Regarding the call logs..
I was looking in the Call Logs on the Brekeke PBX, and there where no logs available from the calls between those 2 phones (1000 and 1001). However, they are in the Call Log from the SIP Server, and both clients are also in the list of registered Clients.
When I startup my program, I do a pal.pbxVersion() functioncall, and this returns 2.4.9.0, so looks okay. But when I do a getSipUriOther("1000"), I get no results, nor with a getDisplayOther("1000");
When I try to setup a call between 1000 and 1001 from my code (with threePPC("1000", "1001"); I see status events passing by. user 1000 on the notify_status handler and on the notify_talker handler
I was looking in the Call Logs on the Brekeke PBX, and there where no logs available from the calls between those 2 phones (1000 and 1001). However, they are in the Call Log from the SIP Server, and both clients are also in the list of registered Clients.
When I startup my program, I do a pal.pbxVersion() functioncall, and this returns 2.4.9.0, so looks okay. But when I do a getSipUriOther("1000"), I get no results, nor with a getDisplayOther("1000");
When I try to setup a call between 1000 and 1001 from my code (with threePPC("1000", "1001"); I see status events passing by. user 1000 on the notify_status handler and on the notify_talker handler
if there is no call shown from pbx side / call status page when making calls between two registered phones, there maybe no pbx users created for registered phones, check pbx quick start for pbx setting
http://www.brekeke.com/products/product ... simple.php
and also check dial plan rules applied for the call from sip server side/ active sessions page, then click on call details and check "rule" field name. the call may apply to some rule which bypass the pbx to make call doesnot go through pbx
if so, disable the dial plan rule and use pbx default dial plan rules only
192.168.* is correct no quotation marks needed
http://www.brekeke.com/products/product ... simple.php
and also check dial plan rules applied for the call from sip server side/ active sessions page, then click on call details and check "rule" field name. the call may apply to some rule which bypass the pbx to make call doesnot go through pbx
if so, disable the dial plan rule and use pbx default dial plan rules only
192.168.* is correct no quotation marks needed
Hi Hope,
thanks again! I double checked the call logs on PBX side when I have an active call, and there is indeed no call in the Call Status tab.
On SIP Server, there is an active session, and the rule gives an:
However, I don't see any rules from dialplan which could be applied here.
My active rules are:
The only rule I could imagine is rule 12, but disabling this rule doesn't change this behaviour.
For your information some more info:
thanks again! I double checked the call logs on PBX side when I have an active call, and there is indeed no call in the Call Status tab.
On SIP Server, there is an active session, and the rule gives an:
the IP is the IP of the phone (call was set up from 1000 to 1001).registered=sip:1001(sip:1001@192.168.50.174:2051)
However, I don't see any rules from dialplan which could be applied here.
My active rules are:
Code: Select all
Prio Name Matching Patterns Deploy Patterns
1 To Avaya $request=^INVITE $auth=false
$registered=false $transport=tcp
To=sip:9100@192.168.51.115 To=sip:66001@192.168.51.98
2 From Avaya $request=^INVITE $auth=false
$addr=192.168.51.98 To=sip:%1@127.0.0.1
To=sip:(.+)@
12 Register for PAL $request=^REGISTER $continue=true
$pal.register=^true
For your information some more info:
From-uri sip:1000@192.168.51.115
From-ip 192.168.50.115:5060 (UDP)
From-if 192.168.51.115:5060
To-uri sip:1001@192.168.51.115:5060
To-ip 192.168.50.174:2051 (UDP)
To-if 192.168.51.115:5060
the call didnot go through pbx side only sent to callee from pbx bundled SIP Server.
Have you disabled all default dial plan rules when install Brekeke PBX?
if so, enable all default dial plan rules, and put the Avaya rules on top of default rules
then create user 1000 and 1001 from pbx side / users as Step 3 in the pbx quickstart below
http://www.brekeke.com/products/product ... simple.php
then the call will go through pbx and pal will get user 1000 and 1001 status.
Have you disabled all default dial plan rules when install Brekeke PBX?
if so, enable all default dial plan rules, and put the Avaya rules on top of default rules
then create user 1000 and 1001 from pbx side / users as Step 3 in the pbx quickstart below
http://www.brekeke.com/products/product ... simple.php
then the call will go through pbx and pal will get user 1000 and 1001 status.
Sorry for my late response! I was busy with other projects last weeks and didn't have the time for the Brekkeke issues.
Enabling all default rules again did the trick. I don't know why those rules were disabled during install (wasn't me), but with all rules turned on I get my events and can even make calls from within my program.
Now we are going a step further, and as you could see in my posts above, we have also an Avaya PBX connected. I can receive calls from the Avaya on my Brekkeke phones, but than again I don't get the events from it. As learned from the situation earlier, the Avaya call isn't offered to the PBX, but what rules do I need to make/adjust to get those call events as well?
Enabling all default rules again did the trick. I don't know why those rules were disabled during install (wasn't me), but with all rules turned on I get my events and can even make calls from within my program.
Now we are going a step further, and as you could see in my posts above, we have also an Avaya PBX connected. I can receive calls from the Avaya on my Brekkeke phones, but than again I don't get the events from it. As learned from the situation earlier, the Avaya call isn't offered to the PBX, but what rules do I need to make/adjust to get those call events as well?
for show the status of the call from avaya to the user registered at Brekeke, change the dial plan rule "From Avaya" as below:
matching:
$request=^INVITE
$addr=192.168.51.98
deploy:
$target = 127.0.0.1:15060
$transport = udp
$b2bua = false
$auth = false
&net.sip.fixed.addrport.uac = true
create pbx user for the callee which avaya send call to
matching:
$request=^INVITE
$addr=192.168.51.98
deploy:
$target = 127.0.0.1:15060
$transport = udp
$b2bua = false
$auth = false
&net.sip.fixed.addrport.uac = true
create pbx user for the callee which avaya send call to