andre second | 22 Jul 18:19 2015
Picon

isup handling

Hi,

Is it possibe to strip ISUP content of a SIP-I packet storing somewhere and then append this packet to another INVITE? I am trying to use an external php script for it in my routing, but cannpt work out how to encapsulate ISUP data back using php.
I can do it only directly in the routing with "isup." parameters.

Thanks,
Andrei
Daniela Rendec | 22 Jul 16:59 2015
Picon

Re: My Phone number on YateBTS

Hi,


If you have installed the WebGUI you can find it in "Online Subscribers" tab.
Or you can connect from console to telnet and give this command: "nib list registered". Here is described how: http://wiki.yatebts.com/index.php/Javascript_NIB#List_registered_users.

Dana

On 07/22/2015 05:31 PM, Edwin Reed-Sanchez wrote:
Daniela, 

I know but I erased that text message, and have not changed the sim card. I want to know is there another way to get the number.  Ideally through a short code on handset, or through database.  

Thanks,

Edwin

On Wed, Jul 22, 2015 at 5:57 AM, Daniela Rendec <dana-CFEm1FW0mws@public.gmane.org> wrote:
Hi,

If you installed YateBTS, you should receive a SMS with your allocated phone number.

For more information please see our wiki page:
http://wiki.yatebts.com/index.php/Network_in_a_Box

Regards,
Dana



On 07/21/2015 05:45 PM, Edwin Reed-Sanchez wrote:
I would like to know how I can find out my phone number from a handset.  Is there a short code I can use on the handset?

Thanks,

--
Edwin Reed-Sanchez
__________________




--

Daniela Rendec | 22 Jul 16:22 2015
Picon

Re:[yate] My Phone number on YateBTS

Hi,

If you installed YateBTS, you should receive a SMS with your allocated 
phone number.

For more information please see our wiki page:
http://wiki.yatebts.com/index.php/Network_in_a_Box

Regards,
Dana

On 07/21/2015 05:45 PM, Edwin Reed-Sanchez wrote:
> I would like to know how I can find out my phone number from a 
> handset.  Is there a short code I can use on the handset?
>
> Thanks,
>
> -- 
> Edwin Reed-Sanchez
> __________________

Edwin Reed-Sanchez | 21 Jul 16:45 2015
Picon

My Phone number on YateBTS

I would like to know how I can find out my phone number from a handset.  Is there a short code I can use on the handset?

Thanks, 

--
Edwin Reed-Sanchez
__________________
Francisco Olarte | 21 Jul 13:55 2015

Re: Share available call duration among calls

Hi Paul:

On Tue, Jul 21, 2015 at 12:19 PM, Paul Chitescu <paulc-devel@...> wrote:
> The new timeout value starts when the chan.control message is dispatched.

Yep. tested it with RMANAGER worked fine, my only problem was the response text:

inx-irl: control h323/11 timeout=3000
Could not control h323/11 timeout=3000

which I traced in the sources and found is due to Engine.dispatch
returning false, I assume because modules intentionally do not mark ir
to let the message propagate further. I've even used it as a kind of
keepalive ( sending a 5s tiemout every 3s from the control script )
and it works extremely fine. I'll put it to good work in the next
iteration of my control scripts.

Francisco Olarte.

Francisco Olarte | 21 Jul 11:36 2015

Re: Share available call duration among calls

Hi Paul:

On Tue, Jul 21, 2015 at 10:44 AM, Paul Chitescu <paulc@...> wrote:
> To change the timeout you can use a chan.control message:
>   targetid=id_of_channel_to_change
>   timeout=new_timeout_value_in_ms
>
> A timeout value of zero disables the timeout. You can reenable it by setting a
> new non-zero value.
>
> This message can also change the maxcall and maxpdd (only if the call wasn't
> already answered).

That's great, I'll change my code to set timeout to a split second
after my internal code drops the call, so I have a safety net. Just
one question, to avoid having to dig into the code. The new timeout (
when not zero ) is from the begining of the call or from the
chan.control message?

Currently, if I have, say, 1000sec allowed time when I make a call I
send timeout=(1000+30+5)*1000  and maxcall=30*1000,  to allow for a 30
second ring and a 5 second margin for my script to to the real
dropping, and set my timers to drop it at 35s before answering and
1005s after receiving the answer. If, 200 seconds after first call is
answered, another call comes I send the second one with
timeout=(800+30+5)*1000, maxcall=30 ( 1st call already got 200, but I
do not split 800 between the two calls as I do not know if one of them
is going to end right away, and my timers take this into account ).

With what you've told me, assuming the calls are answered immediately
for diacussion, I could send the first call with 1000, then at the 200
point update it's timeout with chan.control  to 400 or 200+400 and
send the second one with a 400 timeout, and if the 1st calls ends
after 100 more seconds ( 300 ) , chan.control update the second one to
600 or 100+600, this is why I need to know where the updated timeout
is referenced from ( although from a quick look I'll assume is
relative to start of call and can test it ).

Thanks for the info.
    Francisco Olarte.

Raj Roy Ghandhi | 21 Jul 03:39 2015
Picon

Share available call duration among calls

Hi,
Just want to know how to manage the available call duration for simultaneous calls.
Managing a call duration per call is OK.

But need to know how it can be done when there are many calls and those calls should use/share the available 100 minutes call duration.

And how to deduct the call duration real time during the calls?

Please advice.

Regards,
Roy.
Rodrigo Ricardo Passos | 14 Jul 22:14 2015
Picon

Bug in ISUP

Hi Yate,
I saw problems in ISUP, when Yate need to control SUS message.
In my case, we need to receive RES message, but, Yate can't control the 
time to receive this message.
All calls that receive SUS are disconnected from Yate with normal 
clearing. If this time is important to be controlled, it does not seem 
like a bug to Yate one time of a public network has connected with a 
fixed line in another telco?

Regards,

Rodrigo R Passos

Rodrigo Ricardo Passos | 23 Apr 14:36 2014
Picon

Get number in SAM

Hi Yate,

How can i get the digit in SAM message after receive an IAM using 
Javascript?

Regards,

Rodrigo

Dana cafe | 2 May 14:50 2014

queue.conf operators configuration

good afternoon,

I am trying to put calls in a queue and redistribute to operators 
(without using a database) but I don't know how to define these operators.

For testing i defined two users in regfile.conf:

[1000]
password=1234

[2000]
password=1234

Then in regexroute.conf I defined:

^100$=queue/test1

Finally test1 is defined  in the queue.conf file :

[channels]
incoming=external/nodata/queue_in.php
outgoing=external/nodata/queue_out.php

[queue test1]
mintime = 100
length= 100
maxout=10
;greeting=
onhold=wave/play/ test.wav
maxcall=10000
;prompt=
;notify
detail=true
single=true
;definition of the operator
${queue} = test1
${required} = 1
${current} = 1
;  ${waiting}
location=127.0.0.1
username=2000
  maxcall = 3000
;  prompt: string: Resource to play to the operator when it answers
enabled=true

using yate client logged as 1000 I call to 100 and the music on hold 
start but the call is not distributed to the user 2000 which is logged 
in another yate client. For sure the configuration of the operator is 
wrong, unfortunatelly I didn't find a useful example in the website and 
in internet.

thank you very much for your valuable help,

Jose

Moritz Orbach | 18 Mar 19:47 2014
Picon

Authentication-check in javascript

Hello all,

is there a javascript equivalent to regexroute's
${username}^$=-;error=noauth

Or more precisely: how can I (on call.route, in javascript)
1) verify that a client is registered in regfile.conf (allowed to make a
   certain call)
2) retrieve the true extension of the client (not based on any headers
   the client can set itself, but based on the registration)

I tried "msg.username", msg.params['username'] and similar properties of
the Message object in the call.route handler, but none of them seemed to
exist.

Best regards
Moritz


Gmane