[python] SystemError when trying to do a transfer

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

 



On Fri, Aug 15, 2008 at 7:37 PM, Sa?l Ibarra <saghul at gmail.com> wrote:

> Hi!
>
> I'm geting the following error when trying to blindtransfer a call:
>
>  File "/usr/lib/python2.5/site-packages/pjsua.py", line 1612, in transfer
>    Lib._create_msg_data(hdr_list))
> SystemError: error return without exception set
>
> I'm calling the transfer function with this argument:
> "sip:1235 at x.x.x.x". However, if I call the transfer function with just
> "1235", I don't get the error, but Asterisk complains:
>
> get_refer_info: Can't transfer to non-sip: URI.  (Refer-to: 1235)?
>
> I guess this is happening because "1235" is not a valid SIP URI, but
> when I call it with "sip:1235 at x.x.x.x", I get the obove error... Is
> this a bug?
>
>
I can't reproduce it with
  call.transfer("sip:localhost:5080")

Are you supplying non-None value for the second argument?

 -benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080818/58ab6125/attachment.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