[OpenSIPS-Users] Call-API / 404 Dialog not found

2021-10-20 Thread vladan
Hi, i am using trunking scenario with Topology hiding  + RTPEngine and  
it is working fine.


Additionally i am trying to setup Call-API to work for outbound dialer app.

For now i am using only internal module "cmd/call-api-client/main.go  
.." to originate call .The call is send to first ddi (call leg  
"caller") , when answered the transfer to "callee" is not happening   
because, as it is shown in logs ,dialog is not found . And next i got  
BYE from Opensips.


Oct 20 10:12:03 Debian10opensips3 /usr/sbin/opensips[10910]:  
DBG:dialog:get_dlg_by_callid: input  
ci=(36)


Oct 20 10:12:03 Debian10opensips3 /usr/sbin/opensips[10910]:  
DBG:mi_datagram:mi_datagram_callback: the response:  
{"jsonrpc":"2.0","error":{"code":404,"message":"Dialog not  
found"},"id":2} has been sent in 74 octets


I tried to play with dialog module parameter ,local_route etc but for  
now  no success 


Call-Api is supposed to work for any 2 ddi number ,right?

If you have any idea how to setup properly Call-Api please advice.

Thanks

Regards

Vladan
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] call api

2021-01-11 Thread Johan De Clercq
Thanks Razvan, that's exactly the info that  I was looking for.
call api is very interesting to create an ACD like opensips instance.

Op ma 11 jan. 2021 om 11:08 schreef Răzvan Crainea :

> Hi, Johan!
>
> Check out this repo[1].
>
> [1]
>
> https://github.com/razvancrainea/opensips-summit-distributed-2020/blob/call-api/opensips.cfg
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 1/8/21 5:08 PM, johan wrote:
> > Hello Razvan,
> >
> >
> > is there already an opensips.cfg example config available for using call
> > api ?
> >
> >
> > wkr,
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] call api

2021-01-11 Thread Răzvan Crainea

Hi, Johan!

Check out this repo[1].

[1] 
https://github.com/razvancrainea/opensips-summit-distributed-2020/blob/call-api/opensips.cfg


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 1/8/21 5:08 PM, johan wrote:

Hello Razvan,


is there already an opensips.cfg example config available for using call
api ?


wkr,


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] call api

2021-01-08 Thread johan
Hello Razvan,


is there already an opensips.cfg example config available for using call
api ?


wkr,



0xD7D896F7DDA70EC3.asc
Description: application/pgp-keys
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users