I have a SIP trunking and I got a weird problem.
I configured a SIP trunking and this is the CARRIER
- Code: Select all
[altice]
host=x.x.x.x
username=USER
secret=PASS
fromuser=8556667777
insecure=port,invite
disallow=all
allow=ulaw
allow=alaw
type=friend
canredirect=no
canreinvite=no
progressinband=never
dtmfmode=rfc2833
qualify=no
context=trunkinbound
trunk=yes
--DialPLan
exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,2,Dial(${ALTICETRUNK}/${EXTEN:1},${CAMPDTO},To)
exten => _9.,3,Hangup
I have a DID to address to IN_GROUP the DID is 8556667777. The call in to asterisk but never arrives to IN_GROUP.
This is the output in console
- Code: Select all
[Jul 16 11:30:15] VERBOSE[14665][C-000010d0] pbx.c: Executing [3131480258556667777@trunkinbound:1] AGI("SIP/altice-000003a2", "agi-DID_route.agi") in new stack
[Jul 16 11:30:15] VERBOSE[14665][C-000010d0] res_agi.c: Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jul 16 11:30:15] VERBOSE[14665][C-000010d0] res_agi.c: AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20240716113015_3131480258092950000_8098498087)
[Jul 16 11:30:15] VERBOSE[14665][C-000010d0] res_agi.c: <SIP/altice-000003a2>AGI Script agi-DID_route.agi completed, returning 0
[Jul 16 11:30:15] VERBOSE[14665][C-000010d0] pbx.c: Executing [99909*5***DID@default:1] Answer("SIP/altice-000003a2", "") in new stack
[Jul 16 11:30:16] VERBOSE[14665][C-000010d0] pbx.c: Executing [99909*5***DID@default:2] AGI("SIP/altice-000003a2", "agi-VDAD_ALL_inbound.agi") in new stack
[Jul 16 11:30:16] VERBOSE[14665][C-000010d0] res_agi.c: Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Jul 16 11:30:17] VERBOSE[14665][C-000010d0] res_agi.c: <SIP/altice-000003a2> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Jul 16 11:30:17] VERBOSE[14665][C-000010d0] res_agi.c: <SIP/altice-000003a2> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
I dont know why asterisk plays the sip-silence but in the phone everythink is quit takes a few second and hangup after 5 o 6 seconds.
It seems how the call doesnt find the route to IN_GROUP. I tested the trunk in other asterisk server and works fine
I chnage the IP because I had other SIP trunk from other provider but how the calls in to asterisk I supose that was correct
Any cluees or any ideas ?
Thks In Advance