[asterisk-bugs] [JIRA] (ASTERISK-28323) pjsip: sip.conf to pjsip.conf conversion script fails

Guido Weckwerth (JIRA) noreply at issues.asterisk.org
Mon Mar 4 13:07:47 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246443#comment-246443 ] 

Guido Weckwerth commented on ASTERISK-28323:
--------------------------------------------

The files are read completely by asterisk as they are. So I had no clue that the script is actually interpreting the rest of my file as a comment.


> pjsip: sip.conf to pjsip.conf conversion script fails
> -----------------------------------------------------
>
>                 Key: ASTERISK-28323
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28323
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Contrib/General
>    Affects Versions: 15.6.0
>         Environment: Linux Ubuntu
>            Reporter: Guido Weckwerth
>            Assignee: Guido Weckwerth
>            Severity: Minor
>              Labels: pjsip
>         Attachments: sip_callcentric_post.conf, sip.conf, sip_DTAG_post.conf, sip_NetVoip_post.conf, sip_SipGate_post.conf, sip_woopla_post.conf
>
>
> When I run the conversion script for converting SIP.CONF to PJSIP.CONF the script only produces a few lines and stops without any error. The major part of the config file (with six include files) is just ignored.
> This is the complete output (network addresses obscured):
> ;--
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Non mapped elements start
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> [general]
> bindport = 5060
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Non mapped elements end
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> --;
> [transport-udp]
> type = transport
> protocol = udp
> bind = 192.168.5.111:5060
> external_media_address = xx.xxx.245.203
> external_signaling_address = xx.xxx.245.203
> local_net = 192.168.5.0/255.255.255.0
> local_net = 192.168.50.0/255.255.255.0
> local_net = 192.168.146.0/255.255.255.0
> [transport-tcp]
> type = transport
> protocol = tcp
> bind = 192.168.5.111:5060
> external_media_address = xx.xxx.245.203
> external_signaling_address = xx.xxx.245.203
> local_net = 192.168.5.0/255.255.255.0
> local_net = 192.168.50.0/255.255.255.0
> local_net = 192.168.146.0/255.255.255.0



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



More information about the asterisk-bugs mailing list