Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'force_send_address' to support 'pseudo-variables' #586

Closed
wants to merge 1 commit into from

Conversation

wasphin
Copy link
Contributor

@wasphin wasphin commented Aug 3, 2015

add force_send_address' to supportpseudo-variables'

@wasphin wasphin changed the title 1.11 add 'force_send_address' to support 'pseudo-variables' Aug 3, 2015
@bogdan-iancu
Copy link
Member

Hi @was4444 , is this force_send_address() function intended to be the same as force_send_socket() but with variables as param ?

@wasphin
Copy link
Contributor Author

wasphin commented Aug 4, 2015

Yes, @bogdan-iancu, that's all I want.
But I don't know whether this function will reduce the performance of OpenSIPS, so I write another one to not effect the original too much.
I have two interfaces, when use mhomed parameter in configure file, I find OpenSIPS could not select the right interface, at least for me, when relay ACK requests(I use record_route to make all in-dialog messages sent to OpenSIPS).

@bogdan-iancu
Copy link
Member

Have you looked at $fs variable ? it does exactly what you need :
http://www.opensips.org/Documentation/Script-CoreVar-2-1#toc44

@wasphin
Copy link
Contributor Author

wasphin commented Aug 4, 2015

Oh, yes, that's what I need.
I should upgrade to 2.1 some time.

@bogdan-iancu
Copy link
Member

@was4444 , $fs is available in older versions too, so no need to upgrade.
I will close this PR for now, as it brings no new addition as functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants