Está en la página 1de 4

190.96.70.

222
[Normal]
exten => _9101,1,Dial(SIP/caudales/${EXTEN:1},60)
exten = _101,1,Dial(SIP/${EXTEN}@190.96.70.222:1212,30,Ttm)

exten= _101,1,Dial(SIP/190.96.70.222/${EXTEN},30,Ttm)
[caudales]
type=friend
dtmfmode=rfc2833
context=from-dids
host=190.96.70.222
disallow=all
allow=ulaw
allow=alaw
allow=g729
username=1212
fromuser=1212
secret=1212
qualify=1000
canreinvite=no
register => 1212:1212@190.96.70.222

[TRONCAL] ; Nombre
type=friend
context=fono-sip ; el mismo contexto de los SIP creados anteriormente.
disallow=all ; se deshabilitan todos los codecs
allow=alaw ; se habilita cdec G.711
dtmfmode=rfc2833 ; DTMF (multifrecuencia de doble tono) es un tipo de
sealizacin utilizado principalmente en los sistemas de telefonia de voz.
host=192.168.0.17 ; IP de la otra central a la cual nos conectaremos.
username=2001 ; extensin de la otra central con la cual haremos el troncal
secret=12345fm ; contrasea del sip
canreinvite=no ; Al estar activo, asterisk se desentiende de la llamada y no
queda como intermediario entre los SIP. En este caso es lo contrario.
fromuser=2001 ; extensin de la otra central con la cual haremos el troncal
fromhost=192.168.0.17 ; IP de la otra central a la cual nos conectaremos.

2 16:05:15] WARNING[20376]: chan_sip.c:5667 create_addr: Purely numeric


hostname (1212), and not a peer--rejecting!
[Nov 2 16:05:15] WARNING[20376]: app_dial.c:2345 dial_exec_full: Unable to
create channel of type 'SIP' (cause 20 - Subscriber absent)

(SIP.CONF)
[troncal_ctr]
type=friend

dtmfmode=rfc2833
context=ctr_entrante
host=190.208.22.248
disallow=all
allow=ulaw
allow=alaw
allow=g729
user=lineasctr
qualify=1000
canreinvite=no
(EXTENSION.CONF)
[ctr_entrante]
exten=> 452922235,1,Dial(SIP/1010)

14.198995404 162.254.150.21 -> 190.96.70.222 SIP 590 Request: OPTIONS


sip:190.96.70.222 |
14.330464117 190.96.70.222 -> 162.254.150.21 SIP 447 Status: 200 OK |
29.467261215 162.254.150.21 -> 190.96.70.222 SIP 632 Request: REGISTER
sip:190.96.70.222 (fetch bindings) |

29.598392326 190.96.70.222 -> 162.254.150.21 SIP 393 Status: 200 OK


bindings) |

(0

También podría gustarte