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

INVITE Packet #9

Open
asadcr opened this issue Dec 13, 2022 · 7 comments
Open

INVITE Packet #9

asadcr opened this issue Dec 13, 2022 · 7 comments

Comments

@asadcr
Copy link

asadcr commented Dec 13, 2022

What about invite packet ?
We will send push but will Asterisk send the iNVITE Packet again ? Do the script cover that phase as well ?

@sneha2310
Copy link

What about invite packet ? We will send push but will Asterisk send the iNVITE Packet again ? Do the script cover that phase as well ?

Can you please tell me what are these variables??
n,GoSubIf($["${pushneed}" = "${CALL_DESTINATION}"]?push,s,1(${CURRENT_DEVICE}))

@asadcr
Copy link
Author

asadcr commented Dec 16, 2022

@sneha2310 i am not using it directly. I am using ARI Stasis Application to fetch the values and ported code from here to my Stasis Application

@balusreekanth
Copy link
Owner

balusreekanth commented Dec 17, 2022

@sneha2310 CALL_DESTINATION and CURRENT_DEVICE are asterisk standard channel variables. I recommend you go through asterisk guide. You can find information about standard variables here

@balusreekanth
Copy link
Owner

@asadcr check MAX_TRIES and TRY in asterisk dial plan. Also, check the iOS VoIP push notifications with call kit feature. When user interact with call notifications app should re register in order to receive an INVITE from asterisk.

@asadcr
Copy link
Author

asadcr commented Dec 18, 2022

@balusreekanth I am using LinPhone, i can send the push to it via Custom Stasis App, the only problem is, i am unable to re-send the invite packet. So wanted to know if this library supports that. If we can re-send the invite, the phone will join the call. Otherwise it just rings via PUSH, phone re-registers to asterisk but never receives the invite packet.

@sneha2310
Copy link

sneha2310 commented Dec 19, 2022 via email

@asadcr
Copy link
Author

asadcr commented Dec 19, 2022

@sneha2310 you need to setup your users in Asterisk sip.conf and users.conf. Also you need to set extensions in extensions.conf as well. Then provide those credentials in LinPhone and Linphone will connect to Asterisk

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

No branches or pull requests

3 participants