Hi,
I read a lot of post speaking about smartnode and I'm sorry but I can't make it work for the moment.
In fact, I can pass call from a SIP phone to external through Asterisk + SmartNode but when I try to receive a call, it never pass SmartNode.
I tried to debug SmartNode but I can understand what is my mistake so I come here to ask for help
My SmartNode configuration is:
When a call is incoming, I get this log
and finally my asterisk configuration is a trunk named SmartNode:
Can somebody help me, please?
Laurent
I read a lot of post speaking about smartnode and I'm sorry but I can't make it work for the moment.
In fact, I can pass call from a SIP phone to external through Asterisk + SmartNode but when I try to receive a call, it never pass SmartNode.
I tried to debug SmartNode but I can understand what is my mistake so I come here to ask for help
My SmartNode configuration is:
Code:
#----------------------------------------------------------------#
# #
# SN4638/5BIS/UI #
# R3.21 2007-09-17 H323 SIP BRI #
# 1970-01-01T03:25:32 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress 192.168.8.4 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
national-prefix 0
international-prefix 00
routing-table called-e164 ISDN2SIP
route default dest-interface IF_SIP
routing-table calling-e164 SIP2ISDN
route default dest-service isdn
interface isdn IF_SO_00
route call dest-table ISDN2SIP
dtmf-dialing
interface isdn IF_SO_01
route call dest-table ISDN2SIP
dtmf-dialing
interface sip IF_SIP
bind gateway asterisk
service default
route call dest-table SIP2ISDN
early-connect
early-disconnect
service hunt-group isdn
drop-cause normal-unspecified
drop-cause no-circuit-channel-available
drop-cause network-out-of-order
drop-cause temporary-failure
drop-cause switching-equipment-congestion
drop-cause access-info-discarded
drop-cause circuit-channel-not-available
drop-cause resources-unavailable
route call 1 dest-interface IF_SO_00
route call 2 dest-interface IF_SO_01
context cs switch
no shutdown
gateway sip asterisk
bind interface LAN router
service default
domain smart-trade.net
defaultserver manual smart-trade.net 5060 loose-router
registration manual 192.168.8.18 5060
user SmartNode authenticate password ocjtuiwssdl+Z0AT7GF89g== encrypted default register display-name SmartNode
session-timer 30
gateway sip asterisk
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
encapsulation cc-isdn
bind interface IF_SO_00 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
encapsulation cc-isdn
bind interface IF_SO_01 switch
port bri 0 1
no shutdown
port bri 0 2
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
port bri 0 2
shutdown
port bri 0 3
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
port bri 0 3
shutdown
port bri 0 4
clock auto
encapsulation q921
q921
protocol pmp
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
port bri 0 4
shutdown
When a call is incoming, I get this log
Code:
03:31:29 ICC > [IF_SO_00] << Message: primitive=64
03:31:29 ICC > [IF_SO_00] Added endpoint IF_SO_00-007bac80
03:31:29 ICC > [IF_SO_00] NEW CALL. Allocated Endpoint IF_SO_00-007bac80
03:31:29 ICC > [EP IF_SO_00-007bac80] << [080005]
SETUP (DSS1 User)
[A1]
Sending complete
[04038090A3]
Bearer capability : speech - CCITT
circuit mode - 64kBit/s - G.711 A-law
[180189]
Channel id : 1 - exclusive
basic rate interface - is not d-channel - CCITT - b-channel units
[6C0B2183363139333832393630]
Calling party number : 619382960
national number - E.164 numbering plan
presentation allowed - network provided
[700AA1343432393030313231]
Called party number : 442900121
national number - E.164 numbering plan
03:31:29 ICC > [EP IF_SO_00-007bac80] State: NULL, Event: TERMINAL SETUP IND
03:31:29 ICC > [EP IF_SO_00-007bac80] Set state to CALL PRESENT
03:31:29 ICC > [EP IF_SO_00-007bac80] Set state to INCOMING PROCEEDING
03:31:30 ICC > [EP IF_SO_00-007bac80] >> [080002]
CALL PROCEEDING (DSS1 User)
[1E028582]
Progress indicator : destination address is non-ISDN
private network serving remote user - CCITT
03:31:30 ICC > [EP IF_SO_00-007bac80] State: INCOMING PROCEEDING, Event: PEER TRYING
03:31:30 ICC > [EP IF_SO_00-007bac80] Hold State: IDLE, Hold Event: PEER TRYING
03:31:30 ICC > [EP IF_SO_00-007bac80] Hold State: IDLE, Hold Event: PEER RELEASED
03:31:30 ICC > [EP IF_SO_00-007bac80] State: INCOMING PROCEEDING, Event: PEER RELEASED
03:31:30 ICC > [EP IF_SO_00-007bac80] Set state to DISCONNECT REQUEST
03:31:30 ICC > [EP IF_SO_00-007bac80] AOC-S User << Call Clearing
03:31:30 ICC > [EP IF_SO_00-007bac80] AOC-D User << Call Clearing
03:31:30 ICC > [EP IF_SO_00-007bac80] AOC-E User << Call Clearing
03:31:30 ICC > [EP IF_SO_00-007bac80] >> [080045]
DISCONNECT (DSS1 User)
[080285E6]
Cause : recovery on timer expiry
private network serving remote user - CCITT - Q.931
03:31:30 ICC > [IF_SO_00] << Message: primitive=50
03:31:30 ICC > [EP IF_SO_00-007bac80] << [08004D]
RELEASE (DSS1 User)
03:31:30 ICC > [EP IF_SO_00-007bac80] State: DISCONNECT REQUEST, Event: TERMI
NAL RELEASE IND
03:31:30 ICC > [EP IF_SO_00-007bac80] Set state to NULL
03:31:30 ICC > [IF_SO_00] CLEARING CALL IF_SO_00-007bac80
03:31:30 ICC > [IF_SO_00] Removed endpoint IF_SO_00-007bac80
03:31:30 ICC > [IF_SO_00] Destroying finished calls.
03:31:30 ICC > [IF_SO_00] Destroyed endpoint IF_SO_00-007bac80
and finally my asterisk configuration is a trunk named SmartNode:
Code:
allow=alaw
context=from-trunk
disallow=all
dtmfmode=rfc2833
host=dynamic
insecure=very
qualify=1200
secret=secret
type=friend
username=SmartNode
Can somebody help me, please?
Laurent
Zuletzt bearbeitet: