Vicidial with zoiper results in the number is not is service

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicidial with zoiper results in the number is not is service

Postby erthiph » Sun Jul 01, 2018 8:53 am

when i dial from the zoiper manually it results in this voice message to be played and not dial the actual number which is in service. i am trying to do an outbound call from the sip. the server has two NIC, one eth0 for internal network and internet access, second one is connected to a ethernet cable given by the carreer. the sip details are as follows provided by the carrier
    20 x concurrent channels
    50 x did numbers
    did block: 3027350 - 3027399
    username: 3028000 (not actual username)
    password: pass3244 ( not actual pass)
    sip server: pbx.testserver.com.mv ( not actual server)
    sip port: 5060
    pbx ip: 172.18.1.246
    subnet mask: 255.255.255.252
    gw ip: 172.18.1.245
    dns: 172.31.253.253
    vlan: 931.2126

my vicidial asterisk version is 11.23.1-vici, on a linux computer in my internal network. i am trying to connect to the server from a slave pc and calling from zoiper dialer. my carrier is as follows
    Carrier Name: Dhiraagu SIP
    Registration String: register=> 3028000:pass3244@172.18.1.246
    template id: none
    account entry:
    [dhiraagu]
    disallow=all
    allow=ulaw
    allow=alaw
    allow=gsm
    dtmfmode=rfc2833
    host=172.18.1.246
    type=peer
    nat=yes
    protocol:sip
    global string:DHIRAAGUSIPTRUNK = SIP/dhiraagu
    dialplan entry:exten => _91XXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
    exten => _91XXXXXXX,2,Dial(${DHIRAAGUSIPTRUNK}/${EXTEN:2},,to)
    exten => _91XXXXXXX,3,Hangup

    exten => _960NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
    exten => _960NXXXXXX,2,Dial(${DHIRAAGUSIPTRUNK}/${EXTEN:2},,tTor)
    exten => _960NXXXXXX,3,Hangup
    server ip: 0.0.0.0

the client entry shows this log when i dial.
Code: Select all
[Jul  1 13:51:39]   == Using SIP RTP CoS mark 5
[Jul  1 13:51:39]     -- Executing [9607777777@default:1] AGI("SIP/gs102-00000005", "agi://127.0.0.1:4577/call_log") in new stack
[Jul  1 13:51:39]     -- <SIP/gs102-00000005>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul  1 13:51:39]     -- Executing [9607777777@default:2] Dial("SIP/gs102-00000005", "SIP/dhiraagu/077777777,,tTor") in new stack
[Jul  1 13:51:39]   == Using SIP RTP CoS mark 5
[Jul  1 13:51:39]     -- Called SIP/dhiraagu/07777777
[Jul  1 13:51:39]   == Using SIP RTP CoS mark 5
[Jul  1 13:51:39]     -- Executing [07777777@trunkinbound:1] AGI("SIP/dhiraagu-00000007", "agi-DID_route.agi") in new stack
[Jul  1 13:51:39]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jul  1 13:51:39]     -- <SIP/dhiraagu-00000007>AGI Script agi-DID_route.agi completed, returning 0
[Jul  1 13:51:39]     -- Executing [9998811112@default:1] Wait("SIP/dhiraagu-00000007", "2") in new stack
[Jul  1 13:51:41]     -- Executing [9998811112@default:2] Answer("SIP/dhiraagu-00000007", "") in new stack
[Jul  1 13:51:41]     -- SIP/dhiraagu-00000006 answered SIP/gs102-00000005
[Jul  1 13:51:41]        > 0x7fbed80277e0 -- Probation passed - setting RTP source address to 192.168.3.43:8004
[Jul  1 13:51:41] NOTICE[8597][C-00000004]: res_rtp_asterisk.c:4476 ast_rtp_read: Unknown RTP codec 95 received from '192.168.3.43:8004'
[Jul  1 13:51:41]        > 0x7fbed803eef0 -- Probation passed - setting RTP source address to 172.18.1.246:10242
[Jul  1 13:51:41]     -- Executing [9998811112@default:3] Playback("SIP/dhiraagu-00000007", "ss-noservice") in new stack
[Jul  1 13:51:41]     -- <SIP/dhiraagu-00000007> Playing 'ss-noservice.gsm' (language 'en')
[Jul  1 13:51:41]        > 0x7fbe740158e0 -- Probation passed - setting RTP source address to 172.18.1.246:18026
[Jul  1 13:51:46]     -- Executing [9998811112@default:4] Playback("SIP/dhiraagu-00000007", "vm-goodbye") in new stack
[Jul  1 13:51:46]     -- <SIP/dhiraagu-00000007> Playing 'vm-goodbye.gsm' (language 'en')
[Jul  1 13:51:47]     -- Executing [9998811112@default:5] Hangup("SIP/dhiraagu-00000007", "") in new stack
[Jul  1 13:51:47]   == Spawn extension (default, 9998811112, 5) exited non-zero on 'SIP/dhiraagu-00000007'
[Jul  1 13:51:47]     -- Executing [h@default:1] AGI("SIP/dhiraagu-00000007", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Jul  1 13:51:47]     -- <SIP/dhiraagu-00000007>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Jul  1 13:51:47]     -- Executing [h@default:1] AGI("SIP/gs102-00000005", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----6") in new stack
[Jul  1 13:51:47]     -- <SIP/gs102-00000005>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----6 completed, returning 0
[Jul  1 13:51:47]   == Spawn extension (default, 9607777777, 2) exited non-zero on 'SIP/gs102-00000005'


i am trying to dial to maldives, within a maldives carrier. country code 960, and the number i am trying to dial is example, 7777777. on the dialer i am typing, 9607777777.
what am i doing wrong here?
erthiph
 
Posts: 1
Joined: Sat Jun 30, 2018 1:16 pm

Re: Vicidial with zoiper results in the number is not is ser

Postby kumar2arbind » Thu Jul 05, 2018 12:50 am

hi

please recheck your trunk detail, did your trunk name is right in your dialplan (Dial(${DHIRAAGUSIPTRUNK}/${EXTEN:2},,to)) because as your cli logs shows, when you are trying to dial external number it somehow come to your inbound context "Executing [07777777@trunkinbound:1]", due to which you are getting number not in service.
kumar2arbind
 
Posts: 27
Joined: Mon Aug 29, 2016 2:01 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 92 guests