py_pjsua error when registering an account

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

It seems there's a problem when adding a new SIP account.  The code
snippet (from "pjsua_app.py", which is pretty much what I use as a
template for registration purposes) is:

 

# Configure account configuration

acc_cfg = py_pjsua.acc_config_default()

acc_cfg.id = "sip:" + acc_username + "@" + acc_domain

acc_cfg.reg_uri = "sip:" + acc_domain

acc_cfg.cred_count = 1

 

This gives the following error:

 

            AttributeError: 'py_pjsua.Acc_Config' object has no
attribute 'cred_count'

 

My code follows pretty much the same layout as "pjsua_app.py", which
gives the above error.  Is this a bug in the "py_pjsua" module, or does
"pjsua_app.py" just not reflect some change in the source?

 

Thanks in advance,

 

 

_____________ 
Gideon Klompje
Engineer
BizCall 
Subsidiary of Vox Telecom Limited
Block B, Rutherford Estate
1 Scott Street
Waverley
tel: +27 800 BIZCALL
direct: +27 11 809 1656
mobile: +27 84 560 0200
fax: +27 86 524 2014
email: gideonk at bizcall.co.za <mailto:gideonk at bizcall.co.za> 
http://www.bizcall.co.za <http://www.bizcall.co.za/>  

Disclaimer: BizCall does not accept responsibility or liability for the
unauthorised use of its e-mail facility and/or opinions relating to bona
fide company matters.  Save for statements and/or opinions relating to
bona fide company matters, Bizcall denies responsibility or liability
for the contents of this communication.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20070917/df79592b/attachment-0001.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux