I had a similar question recently but on incoming registration, I don’t know if this will be a violation.
I need to register on the GoIP8 GSM gateway to make outgoing calls to mobile phones. I took an example from the asterisk help system and tried to apply it.
Asterisk server IP 192.168.0.10
GoIP8 IP 192.168.0.20
He’s added it because he believes he needs to register with the gateway to make outbound calls.
No response isn’t what you should get if you try register when you shouldn’t. It is what you get when the request is sent to the wrong address, or lost, or the the response is sent to the wrong address, or lost.
I suppose it could also happen if Asterisk is configured for NAT and the local networks don’t cover 192.168.0.20
I use this manualA SIP trunk to your service provider, including outbound registration
According to information from the Internet, in order to use the gateway for incoming and outgoing calls, I need to create two trunks
The trunk that comes from GoIP and transfers incoming calls to the asterisk and its type endpoint
The trunk that goes from the asterisk to the GoIP is used for outgoing calls and its type registration
You helped set up the first trunk for incoming calls, it works, but I don’t understand how to implement outgoing calls via GoIP to mobile numbers. According to your comment, is it enough for me to have just one trunk for incoming and outgoing calls?
It is more strange for me that I cannot find just a ready-made example of a configuration file for a GoIP gsm gateway in pjsip format. This gateway is for 8 sim cards and I set it up in the Config By Line mode. I currently have only one SIM card in the gateway for the test, but maybe in the future I will add SIM cards.
At this stage, it does not matter to me how to configure the gateway and asterisk, in what mode they will work. All the information that I find on this topic is either about sip or for the web interface of free pbx, the asterisk wikipedia is also quite confusing and there are no working examples. Are there really thousands of different models of gateways in the world? Why can’t people add 2-3 very simple but working examples, if they were, then I would not ask such stupid questions here.
I don’t know how best to proceed, because the topics are still different, in the first one the incoming connection is configured, in this outgoing one. From my experience, even if the topics are similar but different, there will be confusion later on.
Isn´t the type of question, is based on the information inside the question, were other people can understand and give the right information.
Just for your reference in example on GoIP8 GSM gateway one the configuration mode it contemplate with no registration mode.
So how can expect other people can assume in your post how is configured your GSM gateway? and have the best answer.
I think you are making some kind of magic out of an asterisk. This gsm GoIP gateway is many years old and it seems that I am the first person to configure it in pjsip mode? It doesn’t matter to me how to connect to it, in what mode, but I still can’t find a really working pjsip asterisk configuration file for it.