[asterisk-bugs] [JIRA] (SS7-61) Need support for setting Generic Address and Location Number in IAM

Kaloyan Kovachev (JIRA) noreply at issues.asterisk.org
Mon Nov 27 05:18:07 CST 2017


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

Kaloyan Kovachev commented on SS7-61:
-------------------------------------

The libss7 patch should be OK, but not sure if the sig_ss7 patch was ever provided. As a quick and dirty patch you may add the following code just after the SS7_GENERIC_ADDRESS in sig_ss7_call():

	const char *location_num;
	location_num = pbx_builtin_getvar_helper(ast, "SS7_LOCATION_NUMBER");
	if (location_num)
		isup_set_location_num(p->ss7call, location_num, p->gen_add_nai, SS7_PRESENTATION_ALLOWED, SS7_SCREENING_NETWORK_PROVIDED);


> Need support for setting Generic Address and Location Number in IAM
> -------------------------------------------------------------------
>
>                 Key: SS7-61
>                 URL: https://issues.asterisk.org/jira/browse/SS7-61
>             Project: LibSS7
>          Issue Type: Improvement
>      Security Level: None
>            Reporter: Lakshmanan G
>            Assignee: Matthew Fredrickson
>            Severity: Minor
>         Attachments: libss7-2.0.0.patch
>
>
> Need some way to set the GENERIC_ADDRESS and the LOCATION_NUMBER fields in the IAM.
> When making a ss7 call from asterisk, if some channel variables like (SS7_GENERIC_ADDRESS and SS7_LOCATION_NUMBER) are set from dialplan, libss7 has to take those values and set the values in the packets accordingly. 
> Already the code for setting SS7_GENERIC_ADDRESS is preset, but it was not added to the iam_parms[] enum.



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



More information about the asterisk-bugs mailing list