-
Notifications
You must be signed in to change notification settings - Fork 103
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
Custom SIP header #653
Comments
For this, you would have to create a Custom Context & use it! |
Ok, I have done some research on how to forward a context to a different context, but really don't know how to make that work. I found this issue #375 that looks like a similair question as mine, but in the end it wasn't solved. I've tried using include and goto in extensions_magnus.conf but can't get it to work. How do I pass the custom SIPheader to the outbound call? |
make a custom context in extensions.conf this is what i understand you need |
thank you @uzair329 I got it working with below context, I had to use SIPAddHeader on line 2.
|
@uzair329 please provide your number or email. need to get in touch with you. |
Is it possible to add a custom header on all outbound calls?
I've tried to add in extensions.conf and also in mbilling.php but it doesn't seem to work.
The custom header is needed for our supplier to set the call as a private number.
The custom SIP header should look like below.
Privacy: Id
And I believe the command should look like below in Asterisk config?
The text was updated successfully, but these errors were encountered: