Answer the question
In order to leave comments, you need to log in
Setting up Addpac and Asterisk. Where is the mistake?
Good afternoon.
There is a GSM gateway AddPac AP-GS1002 and Asterisk+FreePBX. AddPac set up according to this instruction .
Tested. Outgoing and incoming calls work. But on Addpac, when you enter the show sip command, it shows that AddPac is not registered on Asterisk (not registered). What could be the problem?
Answer the question
In order to leave comments, you need to log in
there is no error, just according to the instructions registration is not provided
about MOH - yes. Everything is correct. By the way, I sincerely recommend this resource as a source of information! I started with it and return to it from time to time. But for some reason I think that you will need Voice Tree - IVR. From the perspective of FreePbx, it seems they had the same description - look in the article section.
As for advertising in IVR (MOH), one lawyer foaming at the mouth argued for me the need to obtain a license for the provision of advertising services ...
All my projects so far are purely personal (for myself) and corporate, but there it’s useless ... Although it’s just MOH I certainly use.
AddPac configuration listing
!
! APOS(tm) configuration saved from vty
! 2015/06/27 11:11:39
!
version 8.51.010
!
hostname GS1002
!
username root password router administrator
username guest password guest user
!
!
script ntpdate default
server ip time.nist.gov
server ip time.windows.com
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 192.168.11.231 255.255.0.0
speed auto
no qos-control
!
interface FastEthernet0/1
no ip address
shutdown
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 10
!
!
!
!
http server
!
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
protocol sip
dtmf-relay rfc-2833
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
connection plar 89289783894
dial-tone-generate
caller-id enable
!
!
! GSM
voice-port 0/1
dial-tone-generate
no caller-id enable
shutdown
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1000 pots
destination-pattern T
port 0/0
call-waiting
user-name addpac
user-password sip-secret
!
!
!
! Voip peer configuration.
!
dial-peer voice 2000 voip
destination-pattern 89289783894
session target ip 192.168.11.221 5060
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
description asterisk
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.11.231
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
sip-username addpac
sip-password sip-secret
sip-server 192.168.11.221
!
!
! Tones
!
!
! SMS delivery configuration
!
sms-delivery
!
!
!
!
voip-interface ip FastEthernet0/0
!
line console
!
line vty
!
mobile dev-restart-by-unreg 300
mobile dev-restart-by-unknown-error
mobile cell-monitor 30
!
mobile 0/0
gsm sms-language utf8
!
mobile 0/1
gsm sms-language utf8
!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question