[asterisk-bugs] [JIRA] (ASTERISK-24474) sip_to_pjsip.py lacks documentation and does not function

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:28:10 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-24474:
-------------------------------------

    Target Release Version/s: 14.0.0

> sip_to_pjsip.py lacks documentation and does not function
> ---------------------------------------------------------
>
>                 Key: ASTERISK-24474
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24474
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Contrib/General
>    Affects Versions: 13.0.0-beta3
>            Reporter: John Kiniston
>            Assignee: Scott Griepentrog
>            Severity: Trivial
>      Target Release: 13.2.0, 14.0.0
>
>
> This is actually an issue against 13.0.0 however it is not listed in the Version dropdown.
> I assume I run sip_to_pjsip.py from /etc/asterisk with the input and output file as arguments as there are no instructions for this tool.
> The tool also appears to not work, Despite what the below error states I do have a udpbindaddr set to 0.0.0.0  in my configuration.
> {noformat}
> root at kiniston01:/etc/asterisk# /usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py sip.conf pjsip.conf
> Traceback (most recent call last):
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 1158, in <module>
>     pjsip, non_mappings = convert(sip, pjsip_filename, dict(), False)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 1090, in convert
>     map_transports(sip, pjsip, nmapped)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 817, in map_transports
>     create_udp(sip, pjsip, nmapped)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 590, in create_udp
>     bind = sip.multi_get('general', ['udpbindaddr', 'bindaddr'])[0]
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/astconfigparser.py", line 407, in multi_get
>     (key_list, section))
> LookupError: keys ['udpbindaddr', 'bindaddr'] not found for section 'general'
> {noformat}
> I have tried it with the sip.conf.sample file and receive the same error:
> {noformat}
> www:/tmp# /usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py sip.conf pjsip.conf
> Traceback (most recent call last):
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 1158, in <module>
>     pjsip, non_mappings = convert(sip, pjsip_filename, dict(), False)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 1090, in convert
>     map_transports(sip, pjsip, nmapped)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 817, in map_transports
>     create_udp(sip, pjsip, nmapped)
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py", line 590, in create_udp
>     bind = sip.multi_get('general', ['udpbindaddr', 'bindaddr'])[0]
>   File "/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip/astconfigparser.py", line 407, in multi_get
>     (key_list, section))
> LookupError: keys ['udpbindaddr', 'bindaddr'] not found for section 'general'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list