Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yate can't connect to SIP provider #10

Open
styleex opened this issue Aug 18, 2015 · 2 comments
Open

Yate can't connect to SIP provider #10

styleex opened this issue Aug 18, 2015 · 2 comments

Comments

@styleex
Copy link

styleex commented Aug 18, 2015

REGISTER sip:permngn.usi.ru:5060 SIP/2.0
Contact: <sip:xxx@192.168.10.97:5160>
Expires: 600
To: <sip:xxx@permngn.usi.ru:5060>
Via: SIP/2.0/UDP 192.168.10.97:5160;rport;branch=z9hG4bK814382474
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
Call-ID: 218332824@permngn.usi.ru:5060
CSeq: 127 REGISTER
User-Agent: YATE/4.1.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0

SIP/2.0 100 Trying
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
To: <sip:xxx@permngn.usi.ru:5060>
Call-ID: 218332824@permngn.usi.ru:5060
CSeq: 127 REGISTER
Via: SIP/2.0/UDP 192.168.10.97:5160;rport=5160;branch=z9hG4bK814382474
Content-Length: 0

SIP/2.0 407 Proxy Authentication Required
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
To: <sip:xxx@permngn.usi.ru:5060>;tag=1824228324
Call-ID: 218332824@permngn.usi.ru:5060
CSeq: 127 REGISTER
Via: SIP/2.0/UDP 192.168.10.97:5160;rport=5160;branch=z9hG4bK814382474
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
proxy-authenticate: Digest realm="Realm",nonce="MTQzOTg4MTk5Mjk2MGZkYTBiMzRmM2E1M2JhZmU0YjhhYWY3MjAwZDhmM2Fh",stale=false,algorithm=MD5,qop="auth,auth-int"
Content-Length: 0

REGISTER sip:permngn.usi.ru:5060 SIP/2.0
Contact: <sip:xxx@192.168.10.97:5160>
Expires: 600
To: <sip:xxx@permngn.usi.ru:5060>
Via: SIP/2.0/UDP 192.168.10.97:5160;rport;branch=z9hG4bK1260412158
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
Call-ID: 218332824@permngn.usi.ru:5060
User-Agent: YATE/4.1.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
CSeq: 128 REGISTER
Content-Length: 0

SIP/2.0 100 Trying
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
To: <sip:xxx@permngn.usi.ru:5060>
Call-ID: 218332824@permngn.usi.ru:5060
CSeq: 128 REGISTER
Via: SIP/2.0/UDP 192.168.10.97:5160;rport=5160;branch=z9hG4bK1260412158
Content-Length: 0

SIP/2.0 407 Proxy Authentication Required
From: <sip:xxx@permngn.usi.ru:5060>;tag=533209016
To: <sip:xxx@permngn.usi.ru:5060>;tag=368007154
Call-ID: 218332824@permngn.usi.ru:5060
CSeq: 128 REGISTER
Via: SIP/2.0/UDP 192.168.10.97:5160;rport=5160;branch=z9hG4bK1260412158
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
proxy-authenticate: Digest realm="Realm",nonce="MTQzOTg4MTk5Mjk2MGZkYTBiMzRmM2E1M2JhZmU0YjhhYWY3MjAwZDhmM2Fh",stale=false,algorithm=MD5,qop="auth,auth-int"
Content-Length: 0

\

@styleex styleex changed the title Yate can't connect to provider Yate can't connect to SIP provider Aug 18, 2015
@vir
Copy link
Owner

vir commented Aug 19, 2015

Yate only supports qop="auth" currently.

Кстати, если запускать yate с -vvv, она честно в этом сознается: https://github.com/vir/yate/blob/master/libs/ysip/engine.cpp#L493

На самом деле qop вообще не поддерживался, но я в своё время уговорил его добавить.
Рекомендую попинать на эту тему авторов, конкретно Пола.
В принципе, я мог бы добавить поддержку этого qop="auth,auth-int" в соём форке, но сейчас категорически некогда, да и правильнее это делать в upstream.

@styleex
Copy link
Author

styleex commented Aug 19, 2015

О! Спасибо большое! Сейчас хоть знаю куда копать. Чтож, буду тоже писать разработчикам

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants