Greetings, I am attempting to configure an AS5300 to provide a SIP based gateway to the PSTN from Asterisk. I have been unable to identify through the docs how specifically this should be configured in Asterisk and have not been able to get things working through trial and error. I am sure I am missing something fairly obvious here but any guidance (or example cfgs) would be much appreciated. Rgds, Adam ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person
Marsico, Gustavo - (Arg)
2003-Jul-17 04:39 UTC
[Asterisk-Users] Asterisk -> AS5300 SIP Interoperability
Adam:
The * configuration should be something like this:
extensions.conf:
[globals]
GW5300=xxx.xxx.xxx.xxx [5300 IP]
[carriers]
exten => _100.,1,Dial,SIP/${EXTEN}@{GW5300}
In the 5300 (enable mode):
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
sip-server ipv4:xxx.xxx.xxx.xxx [Asterisk IP]
!
dial-peer voice 8 voip
application session
destination-pattern 555693..
translate-outgoing called 1001
voice-class codec 1
session protocol sipv2
session target ipv4:xxx.xxx.xxx.xxx [Asterisk IP]
!
Hope this help,
Regards,
Gustavo
-> Greetings,
->
-> I am attempting to configure an AS5300 to provide a SIP based gateway to
the PSTN from Asterisk. I have been unable to identify through the docs how
specifically this -> should be configured in Asterisk and have not been able
to get things working through trial and error.
->
-> I am sure I am missing something fairly obvious here but any guidance (or
example cfgs) would be much appreciated.
->
-> Rgds,
->
-> Adam
Este mensaje es confidencial. El mismo contiene informaci?n reservada
y que no puede ser difundida. Si usted ha recibido este e-mail
por error, por favor av?senos inmediatamente v?a e-mail y tenga la
amabilidad de eliminarlo de su sistema; no deber? copiar el mensaje
ni divulgar su contenido a ninguna persona. Muchas gracias.
This message is confidential. It contains information that is privileged and
legally exempt from disclosure. If you have received this e-mail by mistake,
please let us know immediately by e-mail and delete it from your system;
you should also not copy the message nor disclose its contents to anyone.
Thank You.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030717/dff43901/attachment.htm
Daniel Concepcion
2003-Jul-17 04:39 UTC
[Asterisk-Users] Asterisk -> AS5300 SIP Interoperability
Hi Adam,
I have an AS5300 working well with Asterisk. I have the following cfg:
Asterisk Server: 10.11.0.3
AS5300: 10.11.0.2
in sip.conf
[sa1-voip]
context=sa1-voip
type=friend
host=10.11.0.2
dtmf=rfc2833
in extensions.conf
[sa1-voip]
;
; Llamadas Externas
exten => _0.,1,SetCallerID(XXXX)
exten => _0.,2,SetCIDName(XXXXX)
exten => _0.,3,Dial(SIP/${EXTEN}@sa1-voip)
In the AS5300:
dial-peer voice 1000 voip
application session
destination-pattern .T
voice-class codec 10
session protocol sipv2
session target ipv4:10.11.0.3
session transport udp
dtmf-relay rtp-nte
!
dial-peer voice 100 pots
application session
max-conn 30
destination-pattern 0.........
translate-outgoing called 1
no digit-strip
direct-inward-dial
port 0:D
forward-digits all
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
sip-server ipv4:10.11.0.3
regards,
Daniel
On Thursday 17 July 2003 11:33, Low, Adam wrote:> Greetings,
>
> I am attempting to configure an AS5300 to provide a SIP based gateway to
> the PSTN from Asterisk. I have been unable to identify through the docs how
> specifically this should be configured in Asterisk and have not been able
> to get things working through trial and error.
>
> I am sure I am missing something fairly obvious here but any guidance (or
> example cfgs) would be much appreciated.
>
> Rgds,
> Adam
>
>
> ********* DISCLAIMER *********
>
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure and may include proprietary
> information. If you are not the intended recipient, please telephone or
> email the sender and delete this message and any attachment from your
> system. If you are not the intended recipient you must not copy this
> message or attachment or disclose the contents to any other person
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks Daniel & Gustavo, I had the AS5300 configured ok and could make calls PSTN > AS5300 > ASTERISK > 7940 no problem but outbound from Asterisk to the AS5300 wasn't working ... until now (wasn't sure about the sip.conf) ... thanks again gents !> -----Original Message----- > From: Daniel Concepcion [mailto:dani@danielcp.net] > Sent: 17 July 2003 13:40 > To: asterisk-users@lists.digium.com; Low, Adam > Subject: Re: [Asterisk-Users] Asterisk -> AS5300 SIP Interoperability********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person