|
Hi,
Thank you for your quick reply.
My Setting is as belows:
In Proxy Server (i.e, 192.168.0.20)
Proxy Type: Stateful
Forkmode: Parallel
Hostname: <blank as="" your="" help="">
Port: 5060
Create Users:
User Password Address of Record
--------------------------------------
User user user@192.168.0.20
User2 user2 user2@192.168.0.20
In Client Softphone ( X-Lite V3.0 build 41150, 192.168.0.30)
Display Name: User
User Name: User
Password: user
Authorization User name: user
Domain: 192.168.0.20
I've tested as above, but still get the same reply, '407'
Where is wrong point?
For your suggestion "domain = @part_of_address or record of user",
Is it right to use "192.168.0.20" at above phrase?
Best regards.
-- modified at 8:15 Friday 14th September, 2007
|
|
|
|
|
If you add user, Address of Record must be user@domain or user@IP.
As i can see from log, you don't have so.
|
|
|
|
|
Hi,
I've got still same problem through follow your advice.
Okay, I'll attach my "SIP-Proxy-Settings.xml"
--------------------------------------
<?xml version="1.0" standalone="yes"?>
<dsSettings>
<SIP_Settings>
<ProxyType>Statefull</ProxyType>
<ForkMode>Parallel</ForkMode>
<HostName />
<Port>5060</Port>
</SIP_Settings>
<Users>
<UserName>user</UserName>
<Password>user</Password>
<AddressOfRecord>user@192.168.0.20</AddressOfRecord>
</Users>
<Users>
<UserName>user2</UserName>
<Password>user2</Password>
<AddressOfRecord>user2@192.168.0.20</AddressOfRecord>
</Users>
</dsSettings>
-------------
Am I correct to add user state?
Best regards.
|
|
|
|
|
|
Thank you for your help!
OK, Attached the Log...
---
Received (536 bytes): 192.168.0.20:5060 <- 192.168.0.30:53610
REGISTER sip:192.168.0.20 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.30:53610;branch=z9hG4bK-d87543-be745a46a73d585a-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:user@192.168.0.30:53610;rinstance=287a63342bc41fa1>
To: "user"<sip:user@192.168.0.20>
From: "user"<sip:user@192.168.0.20>;tag=c6654706
Call-ID: NTUyYmM2NDVkMjZmZTk1NjRlM2ZkYWM4YTFjNDQ4ZTM.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
Transaction(id='z9hG4bK-d87543-be745a46a73d585a-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-be745a46a73d585a-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-be745a46a73d585a-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (487 bytes): 192.168.0.20:5060 -> 192.168.0.30:53610
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.30:53610;branch=z9hG4bK-d87543-be745a46a73d585a-1--d87543-;rport=53610
From: "user" <sip:user@192.168.0.20>;tag=c6654706
To: "user" <sip:user@192.168.0.20>
Call-ID: NTUyYmM2NDVkMjZmZTk1NjRlM2ZkYWM4YTFjNDQ4ZTM.
CSeq: 1 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="e3788128dd234572ac3b503800013711",opaque="f46fb53c1b9f4a20b5208e20a48f0d36"
Content-Length: 0
<end>
---
|
|
|
|
|
Is it a full log ? As you see X-lite dont try to authenticate.
What you filled in X Acciunt settings ?
|
|
|
|
|
the full log is:
--------
Received (536 bytes): 192.168.0.20:5060 <- 192.168.0.30:32302
REGISTER sip:192.168.0.20 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-382ab12e48250d20-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:user@192.168.0.30:32302;rinstance=6496fc6c177b0798>
To: "user"<sip:user@192.168.0.20>
From: "user"<sip:user@192.168.0.20>;tag=a0327d3b
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
Transaction(id='z9hG4bK-d87543-382ab12e48250d20-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-382ab12e48250d20-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-382ab12e48250d20-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (487 bytes): 192.168.0.20:5060 -> 192.168.0.30:32302
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-382ab12e48250d20-1--d87543-;rport=32302
From: "user" <sip:user@192.168.0.20>;tag=a0327d3b
To: "user" <sip:user@192.168.0.20>
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 1 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="859c31810e47414c8c7fed0daac9d49c",opaque="54fb6cfc1317492fb7bd997a92718e37"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-382ab12e48250d20-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (767 bytes): 192.168.0.20:5060 <- 192.168.0.30:32302
REGISTER sip:192.168.0.20 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-74633b764a069e7d-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:user@192.168.0.30:32302;rinstance=6496fc6c177b0798>
To: "user"<sip:user@192.168.0.20>
From: "user"<sip:user@192.168.0.20>;tag=a0327d3b
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 2 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="user@192.168.0.20",realm="",nonce="859c31810e47414c8c7fed0daac9d49c",uri="sip:192.168.0.20",response="cc4a0f6e036aa0b60b16deda85b2186e",algorithm=MD5,opaque="54fb6cfc1317492fb7bd997a92718e37"
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
Transaction(id='z9hG4bK-d87543-74633b764a069e7d-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-74633b764a069e7d-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-74633b764a069e7d-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (487 bytes): 192.168.0.20:5060 -> 192.168.0.30:32302
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-74633b764a069e7d-1--d87543-;rport=32302
From: "user" <sip:user@192.168.0.20>;tag=a0327d3b
To: "user" <sip:user@192.168.0.20>
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="332331f2067f4ae4b33d52fe11a7ac85",opaque="54fb6cfc1317492fb7bd997a92718e37"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-74633b764a069e7d-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (767 bytes): 192.168.0.20:5060 <- 192.168.0.30:32302
REGISTER sip:192.168.0.20 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-3e525e748b54252e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:user@192.168.0.30:32302;rinstance=6496fc6c177b0798>
To: "user"<sip:user@192.168.0.20>
From: "user"<sip:user@192.168.0.20>;tag=a0327d3b
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 3 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="user@192.168.0.20",realm="",nonce="332331f2067f4ae4b33d52fe11a7ac85",uri="sip:192.168.0.20",response="0f9e9adf2578fa52b8eb02e8453fe95f",algorithm=MD5,opaque="54fb6cfc1317492fb7bd997a92718e37"
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0
Transaction(id='z9hG4bK-d87543-3e525e748b54252e-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-3e525e748b54252e-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-3e525e748b54252e-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (487 bytes): 192.168.0.20:5060 -> 192.168.0.30:32302
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-3e525e748b54252e-1--d87543-;rport=32302
From: "user" <sip:user@192.168.0.20>;tag=a0327d3b
To: "user" <sip:user@192.168.0.20>
Call-ID: MTFkNDk2YWFhZDJmYjZmMjk3NTNjMTZhNjVkYzA5MDk.
CSeq: 3 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="739c8d42ec44429eb5df359dbef6603d",opaque="54fb6cfc1317492fb7bd997a92718e37"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-3e525e748b54252e-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (570 bytes): 192.168.0.20:5060 <- 192.168.0.30:32302
SUBSCRIBE sip:user@192.168.0.20 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-c47b5c733330301c-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:user@192.168.0.30:32302>
To: <sip:user@192.168.0.20>
From: "user"<sip:user@192.168.0.20>;tag=c537fc05
Call-ID: YjY3N2ZiNjY4OTQwNjA2MGE2OWU3YmI5MzhhMjRmMzQ.
CSeq: 1 SUBSCRIBE
Expires: 3600
Accept: application/watcherinfo+xml
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1011s stamp 41150
Event: presence.winfo
Content-Length: 0
Transaction(id='z9hG4bK-d87543-c47b5c733330301c-1--d87543-' method=SUBSCRIBE server=true) created.
Transaction(id='z9hG4bK-d87543-c47b5c733330301c-1--d87543-' method=SUBSCRIBE server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-c47b5c733330301c-1--d87543-' method=SUBSCRIBE server=true) got response response='480'.
Sending (355 bytes): 192.168.0.20:5060 -> 192.168.0.30:32302
<begin>
SIP/2.0 480 Temporarily Unavailable
Via: SIP/2.0/UDP 192.168.0.30:32302;branch=z9hG4bK-d87543-c47b5c733330301c-1--d87543-;rport=32302
From: "user" <sip:user@192.168.0.20>;tag=c537fc05
To: <sip:user@192.168.0.20>
Call-ID: YjY3N2ZiNjY4OTQwNjA2MGE2OWU3YmI5MzhhMjRmMzQ.
CSeq: 1 SUBSCRIBE
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-c47b5c733330301c-1--d87543-' method=SUBSCRIBE server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
------
And the X-Lite's SIP Settings Are:
----
1. Account Tab Setting
1.1 User Details
Display Name -> user
User name -> user
Password -> user
Authorization user name -> user@192.168.0.20
Domain -> 192.168.0.20
1.2 Domain Proxy
Register with domain and receive incoming calls -> Checked the Check box.
Send outbound via:
O domain
O proxy Address -> 192.168.0.20 <-- checked the radio button
O target domain
2. Topology Tab Setting
2.1 Firewall Traversal
IP address:
O Discover global address
O Use local IP address <-- checked the radio button
Actually, try to checked the first and the second one.
STUN server
O Discover server <-- checked the radio button
O Use specified server: stun.counter.net
Enable ICE <-- checked the check box
2.2 Port used on local conputer
Manually specified range <-- unchecked the check box
2.3 XTunnels
Use CTunnels --> Never
3. Presence Tab Setting
Mode --> Presence Agent
Poll time --> 300
Refresh interval --> 3600
4. Advanced Tab Setting
4.1 Register Setting <-- use this as default
4.2 Advanced Options
Send SIP keep-alives <-- checked the check box
Use rport <-- checked the check box
------------------------------------------
Again, I've to say sorry for bothering you.
Thank you.
|
|
|
|
|
are you sure that passwods will match, in the log i see server rejects your password.
>="user@192.168.0.20"
probably you specify wrong user name, you put address of record as user name, you need to use username you specifeid for user, not AOR.
|
|
|
|
|
Hi,
You right the point of password.
In the code dubugging, every request to REGISTER I can not find the password which sended by client at the m_pAuth.
means, I entered exactly in X-Lite Client like (username=user, password="password", aor="user@192.168.0.20") but I cannot see the value "password" in Password of m_pAuth object.
I'm trying to find out the reason.
Beside on my way, if you know the reason, teach me plese.
Best regards.
|
|
|
|
|
In X:
user = user (no @domain);
password = password;
auth name = user (no @domain);
domain = @domain og AOR
register checkbox checked
use proxy checked, proxy = serverIP
Thats what you need to fill.
|
|
|
|
|
Hi, I got the same problem, how did you solve it?
Thanks
|
|
|
|
|
Hi,
B2BUA Register
How make SIPproxy register in other SIPproxy ?
Thanks,
|
|
|
|
|
Hi,
I dont see any "point" about that ... ?
Do you mean server user(s) will register to another servers, so all calls come to 1 server ?
|
|
|
|
|
Hi,
I need send call to other sipproxy.
For exemple:
[user1]----register--->[SipProxyLumi]-----register----->[SipProxyProvider]---->[SendCalltoPSTN]
It's is B2BUA correct ?
Send-me what is the class and code for register in other sipproxy.
Thanks,
|
|
|
|
|
Nope, b2bua is just transperant proxy, it hides acutal end point to which it's connected.
Like:
userA -> b2bua -> prox1 - proxy2 -> user2
then userA just sees thats its connected "b2bua", it doesnt know path after it.
|
|
|
|
|
Hi,
How read and modify URI ?
How create route external for GWs ?
Example rote to:
User Registred in proxy, send Call to GW: 200.200.200.1
Example modify URI:
uri received in SipProxy= sip: 100@200.200.200.200
uri modify for= sip: 300@200.200.200.200
(I need use Translator, Prefix...)
Thanks.
-- modified at 12:08 Friday 7th September, 2007
|
|
|
|
|
Hi,
It's not currently supported but it will be.
It will be regex URI match and optional replace.
|
|
|
|
|
Hi,
The licence is free ?
Can I sell (SIPProxy or source code) ?
Thanks,
|
|
|
|
|
Hi,
Nope, probably this will be almost only limitation.
General idea is:
*) you can use binary without restrictions
*) you can links source code parts to your product(when product isnt same as i provide) when not changing namespaces and class names.
*) all possible, then special agreement
|
|
|
|
|
Hi,
Good work!
I need your help.
Your have exemple PBX in .NET ?
or RTP in any codec ?
Thanks,
Luciano - From Brasil
Luciano - From Brasil
|
|
|
|
|
Hi,
I have no PBX example and RTP is under construction at moment (will be available near future).
|
|
|
|
|
-Display-Name doesn't support spaces
-Nat Support, Alway insert Via recieved & rport, would be better if it's optional.
|
|
|
|
|
Hi,
>Display-Name doesn't support spaces
Parsing or composing ?
>-Nat Support, Alway insert Via recieved & rport, would be better if it's optional.
Must check if that wont conflict with something.
|
|
|
|
|
hi ivar :
i am a student name karthieyan form india
i am into the stage of developing a sip client like x-lite .,
i need some basic things to do .,
i dont know where to start
please help me
thanks
Karthikeyan
India
|
|
|
|
|
What about reading rfc 3550.
|
|
|
|
|