# Multiple GSM Dongles

**URL:** <https://community.asterisk.org/t/multiple-gsm-dongles/44499>\
**Category:** Asterisk Support\
**Created:** [November 18, 2013, 3:10pm UTC](https://community.asterisk.org/t/multiple-gsm-dongles/44499 "2013-11-18T15:10:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [November 18, 2013, 3:10pm UTC](https://community.asterisk.org/t/multiple-gsm-dongles/44499/1 "2013-11-18T15:10:15Z")

</div>

Hi,

I just installed a second GSM dongle in my Asterisk box.  
In the dongle.conf I had the following line to help routing incoming calls from that GSM number to an internal extension.

exten=+351961XXXXXX (X where obfuscated by real numbers)  
I had an inbound route to route this number to an internal extension.

NOW, I have another dongle, and another GSM number.  
I can not route the 2nd number to another internal extension.

So,  
GSM number +351961XXXXXX --\> extension 122  
GSM number +351965XXXXXX --\> extension 123

How can I configure the dongle.conf ?  
I think there is nothing more to do in the “inbound routes”.

---

<div class="post-metadata">

**Author:** ![tomdemoor](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tomdemoor](https://community.asterisk.org/u/tomdemoor)\
**Post date:** [November 20, 2013, 8:03am UTC](https://community.asterisk.org/t/multiple-gsm-dongles/44499/2 "2013-11-20T08:03:54Z")

</div>

Hi,  
The documentation on [wiki.e1550.mobi/doku.php?id=usage#incoming\_calls](http://wiki.e1550.mobi/doku.php?id=usage#incoming_calls) says chan\_dongle will use by default that the subscriber number stored on the sim. Only when the subscriber number is not available it will use the exten variable in chan\_dongle.conf.

So you have to create extensions with the phonenumber from the simcard.

> [@](#):
>
> Incoming calls
> 
> On incoming call, chan\_dongle tries to find matching exten in defined context (see dongle.conf). There is 3 different exten to search, in the following order:
> 
> ```
> Subscriber Number stored in SIM.
> Number defined in variable exten in dongle.conf
> s exten
> 
> ```
