Asterisk GSM Gateway

Does anyone know how to configure Portech MV-370/MV-372 GSM Gateway with asterisk. So far i have:


[103] type=friend username=103 fromuser=103 regexten=103 secret=mypassword context=gateway dtmfmode=inband call-limit=1 callerid=GSM Gateway <103> host=dynamic nat=no canreinvite=no insecure=very qualify=yes disallow=all allow=ulaw allow=alaw


[code] [gateway]
exten => 103,1,Answer()
exten => 103,2,Set(TIMEOUT(digit)=3)
exten => 103,3,Set(TIMEOUT(response)=5)
exten => 103,4,DISA(no-password,outgoing)

exten => 888,1,SetCallerID("SIMNUMBER")
exten => 888,2,Dial(SIP/${EXTEN}@103,60,r)
exten => 888,3,Hangup()[/code]

However, I get a busy message when I dial the SIMNUMBER.
Any thoughts?

On the gateway set up * route in “Mobile to LAN” and “LAN to Mobile” part of the gateway.

On Asterisk just set up a SIP peer with no authentication. Don’t complicate things with registrations.

Hello all I have one error but i don’t understand why.
The gateway GSM return with Busy.

I see my CLI
== Using SIP RTP CoS mark 5
– Executing [96xxxxx@default:1] Set(“SIP/10004-00000000”, “10004=96xxxxxx”) in new stack
– Executing [96xxxxxx@default:2] Dial(“SIP/10004-00000000”, “SIP/10001/96xxxxxx,300,tTg”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/10001/961366207
– SIP/10001-00000001 is ringing
– Got SIP response 486 “Busy Here” back from
– SIP/10001-00000001 is busy
== Everyone is busy/congested at this time (1:1/0/0)
– Executing [9xxxxx@default:3] Hangup(“SIP/10004-00000000”, “”) in new stack
== Spawn extension (default, 96xxxxxx, 3) exited non-zero on ‘SIP/10004-00000000’

SIP set Debug on

<— SIP read from UDP: —>
SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP;branch=z9hG4bK6611bfec
From: “10004” sip:10004@;tag=as61221aa4
To: sip:96xxxxxx@;tag=548e4cbb
Call-ID: 2a34c5c864f3a2430a75faac3df85ff0@
CSeq: 102 INVITE
Content-Length: 0

— (7 headers 0 lines) —
– Got SIP response 486 “Busy Here” back from
set_destination: Parsing sip:10001@ for address/port to send to
set_destination: set destination to
Transmitting (no NAT) to
ACK sip:10001@ SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK6611bfec
Max-Forwards: 70
From: “10004” sip:10004@;tag=as61221aa4
To: sip:96xxxx@;tag=548e4cbb
Contact: sip:10004@
Call-ID: 2a34c5c864f3a2430a75faac3df85ff0@
CSeq: 102 ACK
User-Agent: Agora VOIP
Content-Length: 0

-- SIP/10001-00000003 is busy

== Everyone is busy/congested at this time (1:1/0/0)
– Executing [96xxxx@default:3] Hangup(“SIP/10004-00000002”, “”) in new stack
== Spawn extension (default, 96xxxx, 3) exited non-zero on 'SIP/10004-00000002’
Scheduling destruction of SIP dialog ‘WT-rjZfgDLZz5VDZYIrO2A…’ in 32000 ms (Method: INVITE)