Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: Sip Register Server Support Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kkttv
Intermediate
Intermediate


Joined: September 15 2008
Location: China
Posts: 1
Posted: September 15 2008 at 5:58am | IP Logged Quote kkttv

Dear Support,

I read the media engine developer reference. EnableSipRegisterServer can help user to register the phone lines to a sip register server. Do you support to register the selected phone lines to the sip register server only? Eg. register line 4, 7, 9 to the register server.
Back to Top View kkttv's Profile Search for other posts by kkttv
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: September 15 2008 at 11:51am | IP Logged Quote support

Hi kkttv,

Thanks for posting your question.


You >>>
Do you support to register the selected phone lines to the sip register server only? Eg. register line 4, 7, 9 to the register server.

Support >>>
Yes, all of the individual phone lines of the media engine can be registered individually. In other words, any phone line can be associated with a registration name/extension.

Note however that if your VOIP app calls the EnableSipRegisterServer() API proc to register named for individual phone lines, make sure you specify a bogus registration name for the lines that you do not want to receive incoming calls.

For example: Assume we have a 16 line media engine, we could register valid extensions for phone lines 4, 6 and 9 using the following code:

Code:

.
.
.
TELEPHONY_RETURN_VALUE satus;

Status = EnableSipRegisterServer(
                    hStateMachine, 

                    // the registration names for each phone line 0 trough 15.
                    “bogus, bogus, bogus, bogus,444, bogus,666, bogus, bogus,999, bogus, bogus, bogus, bogus, bogus, bogus”,

                    TRUE,                 // register individual phone line names.
                    TRUE,                 // registrar is the same as your proxy.
                    “MyProxy.com”  // your registrar’s host address.
                    5060,                   // your registrar’s UDP server port.
                    3600,                   // reregister period in seconds.
                    3600,                   // registration expire time – seconds. 
                    4000,                   // register response time out Ms.
                    FALSE                // do not detect NAT via registration cycles.
                    );

.
.
.



The code above will instruct the media engine to perform 4 registration cycles. One for the registration name “bogus”, on for the name “444”, one for the name “666” and one for the name “999”. Note that the order of the registration names specified map directly to line 0 through line 15 (16 total lines).

If your media engine receives a call for extension 444 (receives an INVITE request for extension 444), the media engine will only present the incoming call to lines having been registered using the name “444”. In this case, the incoming call would be mapped to the single line 4.

Note that if you specified extension “444” to be mapped to more than on line using the above API procedure, then the media engine could present the incoming call to any of the lines having the “444” extension.

Hope this helps. Repost if you want further info.

Thanks,


Support


Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights