[pjsip] Can PJSIP register with hundreds of VoIP providers at one time?

Benny Prijono bennylp at teluu.com
Wed Oct 7 01:40:42 CDT 2009


On Tue, Oct 6, 2009 at 11:43 PM, Eric Chamberlain <eric at rf.com> wrote:
> Hello,
>
> We'd like to move registration to upstream VoIP providers off of Asterisk
> and on to something that can be updated dynamically and maintained in a
> database.  Could the python pjsip module be used to perform registrations on
> behalf of the Asterisk server (contact info would point to the Asterisk
> server)?

I think so; just create the account objects and manually set the
Contact URI for them (rather than to let PJSUA-LIB builds them).

> If so, can it scale up and handle hundreds or thousands of
> registrations at a time?
>

I don't think anyone has tried this, but I can't see why it can't, at
least to achieve hundred(s) of accounts. Best to just experiment it
and see how it goes, I don't suppose it'll be that hard to code. Some
compile time limits would need to be increased to accomodate that,
e.g. PJSUA_MAX_ACC (def: 4), and maybe PJSIP_MAX_TSX_COUNT (def: 1023)
too.

Cheers
 Benny



More information about the pjsip mailing list