Hello,
Excuse me for my English, I translate with Deepl.
I have a problem with my Patton Smartnode 4120 gateway and the number display on incoming calls.
To check, I had the variable CallerId(all) displayed with a NoOp.
It displays: “”
That is, the number is empty.
The Patton in Telnet displays the number well.
Here are my configurations:
Patton:
#----------------------------------------------------------------#
# #
# SN4120/2BIS4V #
# R6.11 2019-07-02 H323 SIP #
# 1970-01-23T23:32:02 #
# SN/00A0BA107E7B #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress 192.168.40.21 255.255.255.0
context ip router
route 0.0.0.0 0.0.0.0 192.168.40.1 0
context cs switch
routing-table called-e164 RT_ISDN_TO_SIP
route .T dest-interface IF_SIP
interface isdn IF_ISDN_00
route call dest-table RT_ISDN_TO_SIP
call-reroute emit
diversion emit
interface isdn IF_ISDN_01
route call dest-table RT_ISDN_TO_SIP
call-reroute emit
diversion emit
interface sip IF_SIP
bind context sip-gateway GW_SIP
route call dest-service SRV_HG
remote 192.168.40.10
address-translation outgoing-call from-header user-part fix patton host-part call
trust remote
service hunt-group SRV_HG
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_ISDN_00
route call 2 dest-interface IF_ISDN_01
context cs switch
no shutdown
authentication-service AUTH_SRV
realm 1 patton
username patton password abcd= encrypted
location-service SER_LOC
domain 1 192.168.40.10
match-any-domain
identity patton
authentication outbound
authenticate 1 authentication-service AUTH_SRV username patton
registration outbound
registrar 192.168.40.10
register auto
context sip-gateway GW_SIP
interface IF_GWSIP
bind interface WAN context router port 5060
context sip-gateway GW_SIP
bind location-service SER_LOC
no shutdown
port ethernet 0 0
medium auto
bind interface WAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
permanent-layer2
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_00 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
permanent-layer2
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_01 switch
port bri 0 1
no shutdown
Patton debug
01:36:35 ICC > [EP IF_ISDN_00-00b75f78] State: OVERLAP SENDING, Event: TERMINAL PROCEEDING IND
01:36:35 ICC > [EP IF_ISDN_00-00b75f78] Set state to OUTGOING PROCEEDING
01:36:37 ICC > [IF_ISDN_00] << Message: primitive=64
01:36:37 ICC > [IF_ISDN_00] Added endpoint IF_ISDN_00-00b765f8
01:36:37 ICC > [IF_ISDN_00] NEW CALL. Allocated Endpoint IF_ISDN_00-00b765f8
01:36:37 ICC > [EP IF_ISDN_00-00b765f8] << [080005]
SETUP (DSS1 User)
[A1]
Sending complete
[04039090A3]
Bearer capability : 3.1kHz Audio - CCITT
circuit mode - 64kBit/s - G.711 A-law
[18018A]
Channel id : 2 - exclusive
basic rate interface - is not d-channel - CCITT - b-channel units
[1E028481]
Progress indicator : call is not end-to-end isdn, inband info may be present
public network serving remote user - CCITT
[6C0B2180333837303635333930]
Calling party number : 3xxxx5390
national number - E.164 numbering plan
presentation allowed - user provided not screened
[6C0B2083333837303635333930]
Calling party number : 3xxxx5390
national number - unknown numbering plan
presentation allowed - network provided
[70058135333930]
Called party number : 5390
unknown number - E.164 numbering plan
Sip.conf:
[general]
language=fr
qualify=yes
nat=force_rport,comedia
directmedia=update,nonat
localnet=192.168.0.0/255.255.0.0
externrefresh=15
directmediapermit=192.168.0.0/255.255.0.0
port=5060
disallow=all
allow=gsm
allow=alaw
allow=ulaw
dtmfmode=auto
textsupport=yes
accept_outofcall_message = yes
outofcall_message_context = messages
;mailbox=12@defaut ; pour contrôler la led de messagerie MWI
;subscribemwi=no
allowsubscribe=yes
subscribecontext=hints
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifycid=yes
callcounter=yes
[passerelle]
type=friend
context=entrant
username=patton
description=passerelle_BRI
secret=abc
host=192.168.40.21
insecure=port,invite
canreinvite=no
Thank you for your help.