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 - marian

Pages: 1 [2] 3 4 ... 34
16
Yate users hangout place / Re: Custom API - NamedList
« on: December 10, 2018, 12:40:20 AM »
You may take a look at modules/cdrbuild.cpp
It tracks call legs and update parameters associated with them.

17
Other Yate server issues / Re: send keepalives only during SIP calls
« on: December 04, 2018, 04:18:24 AM »
There is no keep alive for calls using UDP transport.
For UDP keep alive is only used by registered lines.

If you want to implement a feature to send keep alive for active calls you may
1. Add variable to hold keep alive time
2. Re-implement  'virtual void checkTimers(Message& msg, const Time& tmr)' in YateSIPConnection
    Send keep alive: see YateSIPLine::keepalive() for sending keep alive packet
    Don't forget to call Channel::checkTimers() !!!


18
Yate users hangout place / Re: Custom API - NamedList
« on: November 29, 2018, 05:34:17 AM »
Currently there is no mechanism to set arbitrary parameters to messages sent by Channel.

This is a custom application.
What I understand is you want something cdrbuild module is already doing: store configured parameters and put them in call.cdr messages.

You must write your own application (module) who must:
1. track call legs from creation to destruction
2. store associated parameters
3. intercept channel messages with message handlers at high priority and fill them with stored parameters

19
Yate users hangout place / Re: Custom API - NamedList
« on: November 29, 2018, 02:21:16 AM »
You can use a NamedList to manage your own parameters but you won't be able to access them from other modules like regexroute.

Adding:
NamedList* nl = new NamedList("");
// ... fill 'nl' params
// Add it to a Message
msg.setParam(new NamedPointer("customdataList",nl));

Retrieve from Message:

NamedList* nl = YOBJECT(NamedList,msg.getParam("customdataList"));
if (nl) {
    // Handle it
}
else {
   // Parameter not present or not a NamedList object
}

20
Yate users hangout place / Re: Custom API - NamedList
« on: November 29, 2018, 01:38:02 AM »
Please describe more accurate what do you want to do and its purpose.

If you want to add a NamedList parameter to a Message keep in mind that only your module will handle it.

21
YateBTS / Re: yateBTS run errors
« on: November 22, 2018, 06:41:43 AM »
How did you installed yate?

22
YateBTS / Re: yateBTS run errors
« on: November 22, 2018, 04:55:17 AM »
The first entry indicates Nuand vendor (2cf0).
The bladerf module don't support de the product with id 5250.

You should ask why there is another yate instance started.
Check services list.

23
YateBTS / Re: yateBTS run errors
« on: November 22, 2018, 02:28:51 AM »
You have another yate instance running.
See the 'Unable to bind ,,,' messages.

For non found device please see:
https://forum.yate.ro/index.php?topic=2031

24
YateBTS / Re: Yate Failed to open usb Device
« on: November 22, 2018, 02:23:57 AM »
With the board plugged in, please type the following command in a console:
lsusb
Post the output here.

25
Other Yate server issues / Re: Where is the sdp data ?
« on: November 12, 2018, 01:51:01 AM »
When you are forwarding the SDP each phone will send RTP to other phone's IP.

IP packets route depends on IP network architecture.

26
YateBTS / Re: flash sms in yatebts?
« on: November 12, 2018, 01:45:23 AM »
When you are sending an already encoded SMS ('rpdu') ybts module don't look at it.
It forwards the rpdu to UE.

27
YateBTS / Re: flash sms in yatebts?
« on: November 09, 2018, 12:33:42 AM »
Sorry, just figure out that what I said is not correct.
Do you want to send an emergency message?
This is not implemented.

28
YateBTS / Re: flash sms in yatebts?
« on: November 07, 2018, 12:35:07 AM »
Hex string

29
Yes, Yate just relay SDP between devices.

You can't see negotiated (used) codec: RTP is not handled by Yate.
You may take a look at SIP signaling and assume the first codec in response (1xx with media and/or 200 OK) will be the used codec.

30
YateBTS / Re: flash sms in yatebts?
« on: November 05, 2018, 12:44:40 AM »
You need to send a RP-DATA PDU containing your SMS.

External:
Send RP-DATA in SIP signalling

Internal:
You need to build a msg.execute message with the following parameters:
callto: Target. Format: ybts/IMSInnnnnnn. Example: ybts/IMSI001010000000000
rpdu: Hexified string with RP-DATA

Pages: 1 [2] 3 4 ... 34