hi all
i can make outbound rule but impossible to make inbound
[Apr 17 09:20:18] VERBOSE[2698] logger.c: [Apr 17 09:20:18] --- (14 headers 17 lines) ---
[Apr 17 09:20:18] VERBOSE[2698] logger.c: [Apr 17 09:20:18] Sending to 192.168.1.42 : 5060 (NAT)
[Apr 17 09:20:18] VERBOSE[2698] logger.c: [Apr 17 09:20:18] Using INVITE request as basis request - YjYwNGE4NWQ3NzhmZWNhMTc4ZTA4NTU2MDZhNDE3ZDY.
[Apr 17 09:20:18] VERBOSE[2698] logger.c: [Apr 17 09:20:18] Found peer 'gs102'
[Apr 17 09:20:18] WARNING[2698] chan_sip.c: username mismatch, have <gs102>, digest has <>
[Apr 17 09:20:18] NOTICE[2698] chan_sip.c: Failed to authenticate user "Informatique"<sip:131@192.168.1.42:5060>;tag=786a8433
[Apr 17 09:20:18] VERBOSE[2698] logger.c: [Apr 17 09:20:18]
<--- Reliably Transmitting (NAT) to 192.168.1.42:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.42:5060;branch=z9hG4bK-d8754z-2119345f2705cc21-1---d8754z-;received=192.168.1.42;rport=5060
From: "Informatique"<sip:131@192.168.1.42:5060>;tag=786a8433
To: <sip:500@192.168.1.42>;tag=as31cf0697
Call-ID: YjYwNGE4NWQ3NzhmZWNhMTc4ZTA4NTU2MDZhNDE3ZDY.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
my carrer config is
[3cx500]
disallow=all
allow=ulaw
type=friend
context=trunkinbound
username=500
secret=d2b93r9
host=192.168.1.42
dtmfmode=rfc2833
fromdomain=192.168.1.42
fromuser=500
insecure = invite
asterisk 1.4.44 vicidial 4.0.3
tks advance