Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - arts111199

Pages: 1 [2]
16
Other Yate server issues / Re: Limit number of calls per trunk
« on: July 11, 2014, 06:25:03 AM »
Dear Marian,

I will check and inform you ASAP.

Thank You

17
Other Yate server issues / Re: Limit number of calls per trunk
« on: July 10, 2014, 09:07:27 AM »
Dear Marian,

i have done the configuration as you mentioned,but the call  is routed via regex,not with javascript,maybe there must be done some priority changes?

Thank You

18
Other Yate server issues / Re: Limit number of calls per trunk
« on: July 10, 2014, 08:28:33 AM »
Dear Marian,
Please see the log below

20140710141613.461201 <sip/2:ALL> YateSIPConnection::YateSIPConnection(0x7fbb1c00cd50,0x7fbb2801fa10) [0x7fbb1c001db0]
20140710141613.461360 <sip/2:ALL> NAT address is '(null)' [0x7fbb1c001db0]
20140710141613.461656 <sip/2:ALL> Set media: audio=alaw,mulaw,g729 [0x7fbb1c001db0]
20140710141613.461897 <INFO> Could not classify call from '185236654321', wasted 3 usec
20140710141613.461980 <cdrbuild:INFO> Got message 'call.route' for untracked id 'sip/2'
20140710141613.462113 <RegexRoute:ALL> Jumping to context 'from_internal' by rule #1 '${module}sip'
20140710141613.462366 <INFO> Routing call to '456789' in context 'default' via 'external/nodata/route.js' in 345 usec
20140710141613.462403 <sip/2:ALL> NAT address is '(null)' [0x7fbb1c001db0]
20140710141613.462599 <ALL> ExtModChan::ExtModChan(1) [0x7fbb1000b490]
20140710141613.462632 <ALL> ExtModReceiver::ExtModReceiver("route.js","(null)") [0x7fbb100081f0]
20140710141613.463146 <INFO> Launched External Script '/usr/src/yate/share/scripts/route.js' ''
20140710141613.463913 <ExtModule:INFO> Read EOF on 0x7fbb14000900 [0x7fbb100081f0]
20140710141613.463973 <INFO> ExtModReceiver releasing 1 pending messages [0x7fbb100081f0]




20140710141613.468567 <WARN> ExtMod 'route.js' did not handle call message
20140710141613.468609 >>> ExtModChan::~ExtModChan() [0x7fbb1000b490]
20140710141613.468621   <ALL> ExtModReceiver::die() pid=774 dead=no [0x7fbb100081f0]
20140710141613.468637   <ALL> ExtModReceiver::die() waiting for pid=774 to die [0x7fbb100081f0]
20140710141613.469090   <ExtModule:WARN> Never got anything valid from terminated 'route.js' ''
20140710141613.469228   <ALL> ExtModReceiver::~ExtModReceiver() pid=0 [0x7fbb100081f0]
20140710141613.469261   <ALL> ExtModReceiver::die() pid=0 dead=yes [0x7fbb100081f0]
20140710141613.469271 <<< ExtModChan::~ExtModChan()
20140710141613.469335 <sip/2:MILD> Call rejected error='noconn' reason='Could not connect to target' [0x7fbb1c001db0]
20140710141613.469419 <sip/2:ALL> YateSIPConnection::hangup() state=0 trans=0x7fbb2801fa10 error='noconn' code=503 reason='Could not connect to target' [0x7fbb1c001db0]
20140710141613.469467 <sip/2:ALL> YateSIPConnection::~YateSIPConnection() [0x7fbb1c001db0]

my server configuration
in regex
${module}sip=goto from_internal
${address}^1\.1\.1\.1:=external/nodata/route.js

also i have modified the route.js


19
Other Yate server issues / Re: Limit number of calls per trunk
« on: July 10, 2014, 01:18:03 AM »
Hi Marian,

Thank You for your prompt reply,
i want to limit number of calls per one sip trunk not for all,
e.g.

Is there any variable in regexroute or something elsewhere to use for limiting for some provider
;^+7\(.*\)$=sip/99013307\1;line=someprovider;caller=${caller};domain=${domain};forward_sdp=yes;callername=${caller};formats=alaw,mulaw,g729; (limitiing)



20
Other Yate server issues / Limit number of calls per trunk
« on: July 09, 2014, 01:46:40 AM »
Hi,

How can i limit number of simultaneous calls per trunk in regexroute.conf  or from another config file?

Thank You in Advance

21
Other Yate server issues / Re: CID
« on: June 10, 2014, 01:57:23 AM »
Thank You Marian
It is working

22
Other Yate server issues / CID
« on: June 09, 2014, 06:34:44 AM »
Dear All

Please could you help me to change caller in random way in regexroute
For example
caller=? what should be here to generate random caller -id ?
Thank You in Advance

23
Other Yate server issues / Re: Routing call based on SIP message
« on: April 01, 2014, 05:08:51 AM »
Hi,
thank You Marian,i will have a try.

24
Other Yate server issues / Routing call based on SIP message
« on: March 28, 2014, 05:21:46 AM »
Hi

Could you please provide an example for routing a call based on SIP message in regexroute.conf

Ex.

If Yate receives an INVITE then sending INVITE according to routing table and Yate server gets 480 Temporarily unavailable SIP message then play announcement or route call to another trunk.

25
Other Yate server issues / How to limit number of simultaneous calls?
« on: January 30, 2014, 03:21:45 AM »
Hi
Please could you help me to limit the  number of incoming and outgoing  calls per line in regexroute.

26
Other Yate server issues / Re: SIP User=Phone
« on: January 14, 2014, 01:34:12 AM »
Thank you

27
Other Yate server issues / Re: SIP User=Phone
« on: January 13, 2014, 01:00:21 AM »
With the help of

osip_To=<sip:${called}@${domain};user=phone> system understands ";" as the end of the line.

28
Other Yate server issues / SIP User=Phone
« on: January 11, 2014, 01:01:11 PM »
Hi

Can you help me how to add user=phone in SIP invite in regexroute.conf

Pages: 1 [2]