# Incoming calls on voip gateway

**URL:** <https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678>\
**Category:** Asterisk Support\
**Created:** [May 17, 2018, 2:55pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678 "2018-05-17T14:55:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![asteriskpath](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@asteriskpath](https://community.asterisk.org/u/asteriskpath)\
**Post date:** [May 17, 2018, 2:55pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/1 "2018-05-17T14:55:26Z")

</div>

on PRI i can easly take incoming calls on any DID under [from-pstn] context…  
how can i receive inbound calls on voip gsm gateway where customer will call on diffrent diffrent sims

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 17, 2018, 4:02pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/2 "2018-05-17T16:02:04Z")

</div>

Could you explain where you see a difficulty? How does the gateway signal which SIM was used? Are you talking about chan\_dongle, or a SIP to GSM gateway?

If chan\_dongle, note that it is community supported code, and there may be little expertise here.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [May 17, 2018, 4:48pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/3 "2018-05-17T16:48:38Z")

</div>

Ultimately it’s up to the gateway to provide the necessary information for Asterisk to be able to route things, or separate configuration (and contexts) are used for each.

---

<div class="post-metadata">

**Author:** ![asteriskpath](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@asteriskpath](https://community.asterisk.org/u/asteriskpath)\
**Post date:** [May 17, 2018, 5:26pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/4 "2018-05-17T17:26:29Z")

</div>

I am using a IP based GSM gateway to make ob calls now if somebody call back on my sim then I want to handle that call in particular queue??

do i need to create sip account to accept call from there

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 17, 2018, 5:33pm UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/5 "2018-05-17T17:33:57Z")

</div>

What happens when you try and make an inbound call.

At the moment this feels like a question for the gateway supplier, not one about Asterisk.

---

<div class="post-metadata">

**Author:** ![asteriskpath](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@asteriskpath](https://community.asterisk.org/u/asteriskpath)\
**Post date:** [May 27, 2018, 8:05am UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/6 "2018-05-27T08:05:37Z")

</div>

nothing David, I have created a sip configuration where specidied context name like below  
[9999]  
username=9999  
secret=9999  
allow=all  
accountcode=9999  
context=inbound  
type=friend  
host=dynamic  
fromdomain=192.168.1.19

in extensions.conf  
[inbound]  
exten =\>9999,1,Answer()  
exten =\>9999,n,Hangup()

and there is one more section in gsm gateway sip server through which i registered 9999 on gsm gateway as external sip server and showing registered…then one option call handling in gsm gateway on paritcular port where i put desniation number 9999/9811431807

when i put 9811431807 and then i call on gsm sim which is plugged on that gsm port calls comes directoly on 9811431807 but it does not come on astersik in any way 9999/9811431807

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 27, 2018, 9:32am UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/7 "2018-05-27T09:32:43Z")

</div>

If nothing happens on Asterisk, you need to trace back through the network to where something happens. You should, at least get the incoming INVITE logged, when you enable sip debugging.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [May 27, 2018, 9:42am UTC](https://community.asterisk.org/t/incoming-calls-on-voip-gateway/74678/8 "2018-05-27T09:42:16Z")

</div>

What happens on the gateway when you follow section 3.6.1 in [http://www.eurotech-communication.com/images/Sectionsm/pages/files/0\_1383119705.pdf](http://www.eurotech-communication.com/images/Sectionsm/pages/files/0_1383119705.pdf) and what options did you set there?
