Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
YateBTS / Proxy Authentication Required? when trying to outbound call
« Last post by Ramzu on April 26, 2021, 04:59:17 AM »
Hi everyone,
I input my sip credentials (Zadarma) in the outbound connection part of the nipc web interface, but still can't make calls outside of the network. Instead I read in the terminal output, after it stated at the start that the sip logon was successful, that proxy authentication is required. Can anyone tell me what I am doing wrong and advise the correct way forward? Thanks.

P.S. part of the terminal out put is this:
<CC>
  <TID TIFlag="true">0</TID>
  <Message type="Release">
    <Cause coding="GSM-PLMN" location="LPN">Proxy Authentication Required</Cause>
  </Message>
</CC>
-----
2021-04-26_06:47:46.372019 <ybts/2:CALL> Hangup reason='Proxy Authentication Required' [0x7f5fb000aa10]
2021-04-26_06:47:46.372043 <ybts/2:CALL> Destroyed [0x7f5fb000aa10]
2021-04-26_06:47:46.507520 <ybts-signalling:INFO> Received [0x55728a814900]
72
Features requests / Re: Telegram voice integration
« Last post by articc on April 20, 2021, 09:23:58 AM »
However, no one wants to add Opus support to the vanilla branch. But, judging by the video, there are assembled modules for private versions.
73
Other Yate server issues / How to stop processing an INVITE without SDP
« Last post by cc08 on April 05, 2021, 06:43:21 AM »
Subj ?
74
Yate users hangout place / YATE SIP Trunk without registration
« Last post by ganapathi on March 19, 2021, 11:49:30 PM »
Hi

I am trying to create a SIP trunk on yate without a registration method. But however the same configuration is working fine accfile.conf but
it's not working with the register module.

accfile.conf

Code: [Select]
[test_sip]
enabled=yes
protocol=sip
username=me
outbound=192.168.3.102:5060


accfile trunk log:

Code: [Select]
Sniffed 'user.login' time=1616218494.937736^M
  thread=0x149d430 'Engine Worker'^M
  data=(nil)^M
  retval='(null)'^M
  param['enabled'] = 'yes'^M
  param['protocol'] = 'sip'^M
  param['username'] = 'me'^M
  param['outbound'] = '192.168.3.102:5060'^M
  param['account'] = 'test_sip'^M
  param['operation'] = 'login'
2021-03-20_05:34:54.948098 <sip:INFO> YateSIPLine::YateSIPLine('test_sip') [0x7fb2e8003d70]
2021-03-20_05:34:54.948117 <sip:INFO> YateSIPLine::update() 'test_sip' [0x7fb2e8003d70]
2021-03-20_05:34:54.948147 <sip:INFO> YateSIPLine(test_sip) setValid(0,(null)) current=0 [0x7fb2e8003d70]
2021-03-20_05:34:54.948171 <sip:INFO> YateSIPLine(test_sip) setValid(0,(null)) current=0 [0x7fb2e8003d70]
2021-03-20_05:34:54.948180 <sip:INFO> YateSIPLine(test_sip) setValid(0,(null)) current=0 [0x7fb2e8003d70]
2021-03-20_05:34:54.948190 <sip:ALL> YateSIPPartyHolder::buildParty(UDP,(null),0,192.168.3.102,5060) force=1 [0x7fb2e8003ea0]
2021-03-20_05:34:54.948304 <sip:ALL> YateUDPParty local '192.168.2.52:45060' party '192.168.3.102:5060' transport=0x1490130 [0x7fb2e8001080]
2021-03-20_05:34:54.948329 <sip:ALL> YateSIPPartyHolder set party (0x7fb2e8001080) local=192.168.2.52:45060 remote=192.168.3.102:5060 trans=(0x1490130) [0x7fb2e8003ea0]
2021-03-20_05:34:54.948342 <sip:ALL> Set party trans_name=(null) proto=UDP local=:0 remote=192.168.3.102:5060 [0x7fb2f6e0bf10]
2021-03-20_05:34:54.948352 <sip:INFO> YateSIPLine(test_sip) setValid(0,(null)) current=0 [0x7fb2e8003d70]
2021-03-20_05:34:54.948361 <sip:INFO> YateSIPLine(test_sip) setValid(1,(null)) current=0 [0x7fb2e8003d70]
Returned true 'user.login' delay=0.010637^M
  thread=0x149d430 'Engine Worker'^M
  data=(nil)^M
  retval='(null)'^M
  param['enabled'] = 'yes'^M
  param['protocol'] = 'sip'^M
  param['username'] = 'me'^M
  param['outbound'] = '192.168.3.102:5060'^M
  param['account'] = 'test_sip'^M
  param['operation'] = 'login'^M
  param['handlers'] = 'sip:150'


register.conf

Code: [Select]

initquery=SELECT 'yes' as enabled,'sip' as protocol,username,username as description,outbound,account,(CASE WHEN _state IS FALSE THEN 'logout' ELSE 'login' END) AS operation FROM conf_trunk WHERE _state IS TRUE


register SIP trunk log:

Code: [Select]
Sniffed 'user.login' time=1616218496.011641^M
  thread=0x149d430 'Engine Worker'^M
  data=(nil)^M
  retval='(null)'^M
  param['enabled'] = 'yes'^M
  param['protocol'] = 'sip'^M
  param['username'] = 'TRUNK5'^M
  param['description'] = 'TRUNK5'^M
  param['outbound'] = '192.168.3.202:5060'^M
  param['account'] = 'TRUNK5'^M
  param['operation'] = 'login'
2021-03-20_05:34:56.013702 <sip:INFO> YateSIPLine::YateSIPLine('TRUNK5') [0x7fb2e8009170]
2021-03-20_05:34:56.013712 <sip:INFO> YateSIPLine::update() 'TRUNK5' [0x7fb2e8009170]
2021-03-20_05:34:56.013734 <sip:INFO> YateSIPLine(TRUNK5) setValid(0,(null)) current=0 [0x7fb2e8009170]
2021-03-20_05:34:56.013747 <sip:INFO> YateSIPLine(TRUNK5) setValid(0,(null)) current=0 [0x7fb2e8009170]
2021-03-20_05:34:56.013753 <sip:INFO> YateSIPLine(TRUNK5) setValid(0,(null)) current=0 [0x7fb2e8009170]
2021-03-20_05:34:56.013906 <sip:INFO> YateSIPLine(TRUNK5) setValid(0,(null)) current=0 [0x7fb2e8009170]
2021-03-20_05:34:56.013915 <sip:INFO> YateSIPLine(TRUNK5) setValid(1,(null)) current=0 [0x7fb2e8009170]
Returned true 'user.login' delay=0.002283^M
  thread=0x149d430 'Engine Worker'^M
  data=(nil)^M
  retval='(null)'^M
  param['enabled'] = 'yes'^M
  param['protocol'] = 'sip'^M
  param['username'] = 'TRUNK5'^M
  param['description'] = 'TRUNK5'^M
  param['outbound'] = '192.168.3.202:5060'^M
  param['account'] = 'TRUNK5'^M
  param['operation'] = 'login'^M
  param['handlers'] = 'sip:150'


75
Yate users hangout place / Re: How to route SMS to external PHP/Python module ?
« Last post by cc08 on December 28, 2020, 12:25:51 PM »
An external module, if we are talking about the same thing, should track the cal.route message and filter by route_type == "msg".
In general, this is all described here: https://docs.yate.ro/wiki/Using_SIP_MESSAGE_or_how_to_enable_chat_messages_in_SIP
76
Yate users hangout place / cdr_combined for MySql
« Last post by snax68 on December 12, 2020, 06:05:13 AM »
Hi,
 which is the correct SQL instruction for cdr_combined if used with MySql database?

Thanks a lot,
 John
77
Yate users hangout place / How to route SMS to external PHP/Python module ?
« Last post by rhsy on November 16, 2020, 02:58:35 AM »
Hello

I want to route SMS to external module. but I don't find any information how to do.
Does anyone point me that ?

my expect use case is

1) User send SMS.
2) Yate received it.
3) Yate send it to external module
4) external module will be processed.
5) external module will be send SMS through Yate.
6) User received it.

for Step 5, there is example custom_sms.js / custom_sms.php.
but don't find any example / reference for step 3)

external module which I want to use is PHP or Python.
78
Yate based projects / YateBTS + BladeRf x40, controlling signal level
« Last post by vpaskov on August 30, 2020, 01:06:18 PM »
Hi all,
I'm an Android developer developing an app called GSM Signal Monitor (https://play.google.com/store/apps/details?id=paskov.biz.noservice), in it's core is an app that monitors your GSM signal strength and notifies you of events such as 'signal lost' or 'signal low'.

To ease the app development and testing process (it's tedious job to test and debug various Android devices (20 currently) simulating different network conditions using a metal bucket and metal cans reinforced with aluminum foil) I assembled simple test environment using BladeRF x40, Ubuntu 18.04 and YateBTS.

Everything is working almost great, the phones can connect to YateBTS, they can call each other, when I stop the BTS the signal is lost, the GPRS data is working. I'm successfully using libyate.php to monitor some events that I'm interested in etc...

One thing I'm not able to achieve for now is how to properly control the recieved / transmitted signal levels so the phone reception can be altered. Ex: The signal is great currently, how can I simulate for example low signal condition.

I tried playing with rmanager adjusting the BTS power with mbts power, but the results are not exactly stable. The phone either lose signal or gains great signal, nothing in between.

Any help will be appreciated.



--
Regards,
Vladimir Paskov
79
YateBTS / Re: Multioperators in YateBTS is possible? (severals MNC)
« Last post by chankatc on August 15, 2020, 01:51:43 PM »
I'm also interested.
80
Yate users hangout place / Re: Check SIP Status
« Last post by cc08 on August 10, 2020, 01:04:42 PM »
I think that the client will request re-registration only after the timeout expired.
Or restarting the client.
There are no other ways.
Pages: 1 ... 6 7 [8] 9 10