[Vtigercrm-developers] Vtiger Astersik Connector

Vladimir Karažija vladimir at kosacrta.hr
Mon Oct 19 17:02:19 GMT 2015


Hi,

so asterisk & vtiger are on same host (server)?

You should check in manager.conf if you allowed IP address of vtiger to
access asterisk manager.

Sorry I did not read all the emails so maybe you mentioned that.

I would double-check Outbound Trunk name, it should not have spaces.

Could you attach screenshot of DAHDI Channel like I did for SIP trunk?

This would clear all things.

The name in DAHDI channel configuration that I circled red.

regards, Vladimir




Vladimir Karažija
Kosa crta d.o.o.
Jagnedje 1
10090 Zagreb
OIB: 57724075047

t. +385 1 777 33 85
m. +385 91 122 0511
www.kosacrta.hr

On Mon, Oct 19, 2015 at 5:09 PM, Alex Martin <alex at theclearsource.com>
wrote:

> You need to use the exact name of your outgoing trunk, who are you using
> as a provider? Make a test call from one of the phones and look at the same
> info in the Asterisk CLI, it will show you your outgoing trunk name to use.
>
>
>
> -----Original Message-----
> From: vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:
> vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of mahoutchian
> Sent: Sunday, October 18, 2015 1:21 PM
> To: vtigercrm-developers at lists.vtigercrm.com
> Subject: Re: [Vtigercrm-developers] Vtiger Astersik Connector
>
> Hi Dear Vladimir Karažija,
> Tanx Tanx Tanx Tanx Tanx
> My System is :
> PBX : Elastix x86 32bit ( yum update : asterisk 11.17 and freepbx 2.11 )
> Vtiger : Centos 7 x 64 , Vtiger 6.4 Asterisk Connector : 1.4 incoming call
> in vtiger : ok outgoing click to call for local extentions : ok
>
> now i changed systen to this :
> VTiger :
>
> PBXManager
>
> Asterisk Server Details
> *Vtiger Asterisk App URL        http://192.168.33.10:8380
> *Outbound Context       vtiger-outbound
> *Outbound Trunk DAHDI Channel g0
> *Vtiger Secret Key      2463765574556bc57b74661
>
> My Extentions_custom.conf ( part o extentions.conf ) is :
>
> ; This file contains the contexts the agents login for the module call
> center.
> ; and contains the context conferences for module conferences of elastix
> 1.0.
>
> [from-internal-custom]
> include => agentlogin
> include => conferences
> include => calendar-event
> include => weather-wakeup
>
> ;include => vtiger-outbound ; ????????? i don't know ? need to with o
> without comment !!!!
>
> exten => h,1,Hangup()
>
>
> [vtiger-outbound]
> exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
>
>
> [from-pstn-custom]
> exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
>
> but when clik on a number in vtiger , my phone is ringing with caller id ,
> after pickup, phone say busy tone !!!!
>
> My Asterisk LOG After Click to dial
>
>        > Channel SIP/2186-00000000 was answered
>     -- Executing [2186 at vtiger-outbound:1] AGI("SIP/2186-00000000",
> "agi://0.0.0.0/incoming.agi") in new stack
>        > 0x9d2ecc8 -- Probation passed - setting RTP source address to
> 192.168.39.1:8000
>     -- AGI Script Executing Application: (Dial) Options:
> (SIP/09123081938 at DAHDI Channel g0, 60)
>   == Using SIP RTP TOS bits 184
>   == Using SIP RTP CoS mark 5
> [2015-10-18 20:53:35] ERROR[4951][C-00000000]: netsock2.c:271
> ast_sockaddr_resolve: getaddrinfo("DAHDI Channel g0", "(null)", ...): Name
> or service not known
> [2015-10-18 20:53:35] WARNING[4951][C-00000000]: chan_sip.c:6058
> create_addr: No such host: DAHDI Channel g0
> [2015-10-18 20:53:35] WARNING[4951][C-00000000]: app_dial.c:2437
> dial_exec_full: Unable to create channel of type 'SIP' (cause 20 -
> Subscriber absent)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- <SIP/2186-00000000>AGI Script agi://0.0.0.0/incoming.agi
> completed, returning 0
>     -- Auto fallthrough, channel 'SIP/2186-00000000' status is
> 'CHANUNAVAIL'
>        > Saved useragent "Rainbow2 V1.5.0" for peer 2114 BranchVoip*CLI>
>
> i think problem is :
>
> AGI Script Executing Application: (Dial) Options: (SIP/09123081938 at DAHDI
> Channel g0, 60)
>
>  ERROR[4951][C-00000000]: netsock2.c:271 ast_sockaddr_resolve:
> getaddrinfo("DAHDI Channel g0", "(null)", ...): Name or service not known
>
>
>
>
>
> --
> View this message in context:
> http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Vtiger-Astersik-Connector-tp17624p17750.html
> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
>
> _______________________________________________
> http://www.vtiger.com/
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20151019/959a73fc/attachment.html>


More information about the vtigercrm-developers mailing list