 Snoopy1010
join:2005-10-26 San Gabriel, CA
2 edits | reply to im_chandave Re: [Other] HKBN 2b PAP2 config
I have problem connecting to 2b with Sipura SPA2002.
I can't register with the server.
The registration state is always "Not Registered".
I can get a dial tone if I change the LINE1>Proxy and Registration>Make Call Without Reg to "NO".
For proxy, I use s2hkbntel.net. For OB proxy, I use s21.hkbntel.net.
I did reset the SIP from the web, pa.2b.com.hk.
Same behavior...
Any one can help please? Thanks. ...... ..... |
|
 im_chandave
join:2005-07-28 Cleveland, OH
| If you are behind a NATing firewall/router, then you might need to turn on STUN or setup portforwarding.
Look at »www.voip-info.org/wiki/view/Sipu···+HKBN+2b for an example of the SPA's configuration.
See ya...
d.c. |
|
 Snoopy1010
join:2005-10-26 San Gabriel, CA
1 edit | Hello im_chandave,
Thanks for the reply.
I am behind a NATing firewall/router, and I did turn on STUN. Not sure about portforwarding.
Do you mean the port forwarding on the router? Or the SPA2002?
By the way, I can use the softphone without problem. Not even modifying any setting on my router.
Thanks. |
|
 im_chandave
join:2005-07-28 Cleveland, OH
| said by Snoopy1010 :I am behind a NATing firewall/router, and I did turn on STUN. Not sure about portforwarding. You should do one or the other.
said by Snoopy1010 :Do you mean the port forwarding on the router? Or the SPA2002? Portforwarding would always be done on the Firewall/router.
said by Snoopy1010 :By the way, I can use the softphone without problem. Not even modifying any setting on my router. The softphone provided by HKBN's "2b" service takes care of the NAT transversal.
said by Snoopy1010 :I can get a dial tone if I change the LINE1>Proxy and Registration>Make Call Without Reg to "NO". You get a dialtone because setting that parameter to "no" means to give you a dialtone regardless if you successfully register.
Make sure you don't have the softphone still running in the background of your computer. Check your taskbar. If you are sure the softphone is not running then reset your "2b" account and power-cycle your SPA.
See ya...
d.c. |
|
 Snoopy1010
join:2005-10-26 San Gabriel, CA
| Hi im_chandave,
I did turn on STUN so do I still need to configure the router to do port-forwarding? You said "You should do one or the other". So I guess it is not necessary to configure the router. Is it correct?
I did turn off the softphone while experimenting the SPA. I then reset my "2b" account and power-cycle my SPA.
I saw a lot of traffic between my SPA and the modem even I can't register. I guess if I can register, I should be able to use the phone, right?
Any other suggestion please?
Thanks in advance....
 |
|
 dannypang
join:2003-10-31 Fremont, CA
| reply to im_chandave I am able to login to the hkbn, but when I called the Hongkong number it give me busy dialtone... I have added the dialplan as suggested, but nothing seems to work.., I am using my Sipura 2000 to login. and I am able to connect to the proxy by giving the numerical ip address. |
|
 dannypang
join:2003-10-31 Fremont, CA | Also,
FYI, I grep the following from the Sipura syslog,
Calling:23456789@s2hkbntel.net:0 [0:0]AUD ALLOC CALL (port=16424) [0:0]RTP Rx Up [0:0]AUD Rel Call CC:Failed
Is it the domain not correct ?????? |
|
 im_chandave
join:2005-07-28 Cleveland, OH
| reply to helloagain I just found out that some "2b" subscribers have been moved to another SIP Proxy server. To see whether your account was moved to the other SIP Proxy, enable debugging and watch for the following in the logfile:
[192.168.1.102:5061]<<203.80.89.135:5060 [192.168.1.102:5061]<<203.80.89.135:5060 SIP/2.0 301 Moved Permanently t: <sip:359zzzzz@s2hkbntel.net>;tag=922074415 f: <sip:359zzzzz@s2hkbntel.net>;tag=ec3f4cef5aa1376bo1 i: 46ccadff-b8c4c99b@192.168.1.102 CSeq: 136 REGISTER v: SIP/2.0/UDP 169.129.0.3:5061;rport;branch=z9hG4bK-75923633 m: <sip:s2hkbntel.net:5060;maddr=203.80.89.139> k: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec l: 0
If you see the "301 Moved Permanently" SIP response, then that means HKBN has moved your account to another SIP Proxy besides s21.hkbntel.net. The new SIP Proxy you should use is listed in the "m:" line. The IP address after the "maddr=" is the new SIP Proxy. The IP address 203.80.89.139 corresponds to the hostname: s22.hkbntel.net. You can use this SIP Proxy for your Line 1 > Proxy and Registration > Outbound Proxy value.
See ya...
d.c. |
|
 NYCLau
join:2005-11-07 New Hyde Park, NY
| Hi im_chanedave,
I have followed the steps that you posted and have my 2b account running on a PAP2-NA (behind the Linksys BEFSX41). I can make out-going calls with no problem, but the line is drop when receving incoming calls. The syslog is attached. Please advice if you have any suggestions. Thanks. |
|
 VOIPnYC
join:2005-06-26 New York, NY | reply to helloagain I registered few weeks back, but never receive any follow up mail? anyone else got it without credit card info? thanks |
|
 NYCLau
join:2005-11-07 New Hyde Park, NY | I did receive the email from HKBN with the login information minutes after I had submitted the request. |
|
 im_chandave
join:2005-07-28 Cleveland, OH | reply to NYCLau A lot of people are having the same problem with incoming calls to PAP2/SPA devices. I hope to investigate this issue when I get my PAP2s within this week.
See ya...
d.c. |
|
 VOIPnYC
join:2005-06-26 New York, NY | reply to NYCLau just setup a new account and got the login info in 1 minute. now does anyone has setup info for dta-310? thanks |
|
  hoisme
@netvigator.com | reply to fortissimo I've just subsscribe 2b. I tried to config my BVA8051S to work with 2b but failed. Can you tell me the what the configuration should be? |
|
 dikyee
join:2005-10-31 Vancouver, BC
| reply to fortissimo I have exactly same problem when using PAP2.I thought it was affected by the dialplan setting,so I hang around 2 days with lots of trial.You said the DT-310 works with 2b, can you tell me how can you get that phone adaptor from Vancouver?Is it locked for specific VOIP provider like Vonage?Thanks! |
|
 im_chandave
join:2005-07-28 Cleveland, OH
| reply to helloagain (Sorry if I'm blanket bombing all the topics related to HKBN 2b service...this is a common problem for everyone and I can't remember who's tracking which thread...)
I figured out how to get incoming calls working with HKBN 2b.
You need to change the RTP size interval from 0.030 seconds to 0.020 seconds. This config can be found under the admin/advanced settings at "SIP > RTP Parameters > RTP Packet Size" = 0.020. After changing the value, power-cycle the PAP2.
Now, the detailed explanation. This might help others that have problems with immediately dropping connections.
It appears that the Nortel VoIP gateway used by HKBN is not happy when the RTP frame size specified by the Sipura/PAP2 Analog Telephone Adapter (ATA) is not the same as the one it offered.
When an incoming call is received by HKBN, it sends a SIP INVITE to the ATA. Within the INVITE is a Session Description Protocol/Packet (SDP) that describes the characteristics of the media (in this case the audio channel). One of the attributes inside the SDP from HKBN is: a=ptime:20 which means "I accept RTP audio frames sized at 20 milliseconds".
The Sipura/PAP2 responds to the SIP INVITE with its own SDP describing how large a frame it accepts. In the case of most Sipura/PAP2 configurations, it's 30 milliseconds. The ATA sends an SDP with the following attribute: a=ptime:30
HKBN's Nortel gateway doesn't like this asymmetric frame sizes and aborts the call.
So, setting the ATA's RTP frame size appears to appease the gateway and allows the incoming call's audio channel to passthru to your ATA.
Now that we understand the behavior, we can extrapolate on this. If you are using a VoIP Service Provider that seems to drop the call immediately upon answer by the callee, then check the frame size being offered. If they don't match, then adjust your side and try again.
See ya...
d.c. |
|
 NYCLau
join:2005-11-07 New Hyde Park, NY | im_chandave,
I have changed RTP size interval to 0.020 seconds, and I have no problem taking incoming calls now. Thanks for your great advice. |
|
 hkvalet Specialist
join:2004-10-18 Las Vegas, NV | Good job chanave, you helped a lot of other people to solve their problem!!! -- **Students are the CUSTOMERS of teachers** »RateMyProfessors.com |
|
 hkvalet Specialist
join:2004-10-18 Las Vegas, NV
| reply to im_chandave chandave, are you able to make conference calls and receive call-waiting calls?
I asked you this question before but I don't know if you found the solution or not.
Thanks!! -- **Students are the CUSTOMERS of teachers** »RateMyProfessors.com |
|
 im_chandave
join:2005-07-28 Cleveland, OH
| Have not been able to get this to work on my SPA or PAP2. The ATAs send the "hold" indication to HKBN. HKBN response back with OK. But, then the ATA sends a "BYE" to terminate the call.
I'll have to record what my asterisk box does and compare the SIP messages.
See ya...
d.c. |
|