11-20-2009 11:17 AM - modifié 03-21-2019 09:21 AM
I am trying to configure SAP8800 under Asterisk environment. Doing exactly per document "Configuring the Cisco SPA8800 Telephony Gateway in an Asterisk Environment.
I am able to dial in from an outside phone to both SPA8800 analog phones as well as soft phone extension configured in Asterisk. However, I am unable to dial out from either SPA8800 analog phones or soft phone extensions in Asterisk.
SPA8800 settings are exactly as shown in the document. The document shows a dial plan (Voice->Line 2) for Incoming Call in Line 2 to route it to extension 101. However, there is no visible setting to route the Outgoing Calls, from Asterisk SIP phones or SPA8800 analog lines, to any PSTN line.
What am I missing? Below are my configuration settings in Asterisk. (I am using FreePBX, so got to use the *custom* conf files)
****** in sip_general_additional.conf *******
;define SPA8800 pstn2 user
[pstn2]
type=friend
host=10.10.10.10
port=5161
PA8800 pstn2 user
[pstn2]
type=friend
host=10.10.10.10
port=5161
dtmfmode=rfc2833
context=pstn2
insecure=very
;
;define SPA8800 pstn3 user
[pstn3]
type=friend
host=10.10.10.10
port=5261
dtmfmode=rfc2833
context=pstn3
insecure=very
**** in extensions_custom.conf *******
; SPA8800 configurations
;outbound dialing
[fxsgroup]
;
;
; dial 7 to explicitly use FXO3
exten => _7.,1,Dial(SIP/${EXTEN:1}@pstn3,60,r)
;
; dial 8 as a steering digit:
; if FXO2 is not available, FXO3 will be used
; if FXO3 is not available, the user hears congestion
exten => _8.,1,Dial(SIP/${EXTEN:1}@pstn1,60,r)
exten => _8.,1,Dial(SIP/${EXTEN:1}@pstn2,60,r)
exten => _8.,2,Dial(SIP/${EXTEN:1}@pstn3,60,r)
;
; dial 9 to explicitly use ITSP
exten => _9.,1,Dial(SIP/${EXTEN:1}@itsp1,30,r)
;
; r causes ringing for calling party but audio is
; not passed until called party answers call
; T allows caller to transfer with #
exten => 101,1,Dial(SIP/101,60,rT)
exten => 102,1,Dial(SIP/102,60,rT)
exten => 103,1,Dial(SIP/103,60,rT)
exten => 104,1,Dial(SIP/104,60,rT)
exten => 200,1,Dial(SIP/200,60,rT)
exten => 201,1,Dial(SIP/201,60,rT)
;exten => 1001,1,Dial(SIP/1001,60,rT)
;exten => XXXX,1,Dial(SIP/${EXTEN},60,rT)
;
le 12-01-2009 01:43 PM
Hi smartswami,
Take a look at this thread, perhaps it will help answer your question. If not, let me know and I'll try to be more specific.
https://www.myciscocommunity.com/message/18728#18728
Regards,
Patrick
-----------
Découvrez et enregistrez vos notes préférées. Revenez pour trouver les réponses d'experts, des guides étape par étape, des sujets récents et bien plus encore.
Êtes-vous nouveau ici? Commencez par ces conseils. Comment utiliser la communauté Guide pour les nouveaux membres