inline...

2007/5/31, flavio <flavio.patria@gmail.com>:
Hi,
I've asterisk and ser runnig onver same machine.Is it wrong?

As long as you don't use the same port for both of them, it's OK. You have to change one of the two aplications to run on a free port. If you take a look at the debug you sent, the messages source and address are exactly the same so extrange things will happen.

When you do so, you'll have to accordingly update the configuration of the terminals, asterisk, and ser to properly route the traffic.

hope it helps,
samuel.

I'm trying to register asterisk on ser as UAC, but I've the follow log
error message:

ERROR: forward_reply: no 2nd via found in reply

sip log with ngrep are soon reported:

U 2007/05/31 11:52: 48.261775 10.28.19.202:5060 -> 10.28.19.202:5060
REGISTER sip:10.28.19.202 SIP/2.0.
Via: SIP/2.0/UDP 10.28.19.202:5060;branch=z9hG4bK7bd3439f.
From: <sip:0192091221@10.28.19.202>;tag=as7b047b0b.
To: <sip:0192091221@10.28.19.202>.
Call-ID: 41a53c8a015e385f4b6d951f6a0e07a5@127.0.0.1.
CSeq: 102 REGISTER.
User-Agent: Asterisk PBX.
Max-Forwards: 70.
Expires: 300.
Contact: <sip:2000@10.28.19.202>.
Event: registration.
Content-Length: 0.
.

#
U 2007/05/31 11:52: 48.262493 10.28.19.202:5060 -> 10.28.19.202:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.28.19.202:5060 ;branch=z9hG4bK7bd3439f.
From: <sip:0192091221@10.28.19.202>;tag=as7b047b0b.
To: <sip:0192091221@10.28.19.202 >.
Call-ID: 41a53c8a015e385f4b6d951f6a0e07a5@127.0.0.1.
CSeq: 102 REGISTER.
Server: Sip EXpress router (0.9.6 (i386/linux)).
Content-Length: 0.
Warning: 392 10.28.19.202:5060 "Noisy feedback tells:  pid=7153
req_src_ip=10.28.19.202 req_src_port=5060 in_uri=sip: 10.28.19.202
out_uri=sip:10.28.19.202 via_cnt==1".
.

#
U 2007/05/31 11:52:48.263017 10.28.19.202:5060 -> 10.28.19.202:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 10.28.19.202:5060;branch=z9hG4bK7bd3439f.
From: <sip:0192091221@10.28.19.202 >;tag=as7b047b0b.
To: <sip:0192091221@10.28.19.202>;tag=979d95a734c13f6db8b9e3a72b9f44a0.020d.
Call-ID: 41a53c8a015e385f4b6d951f6a0e07a5@127.0.0.1.
CSeq: 102 REGISTER.
WWW-Authenticate: Digest realm="10.28.19.202",
nonce="465eb83c86f495e14144d970e6bbabb7952b6579".
Server: Sip EXpress router (0.9.6 (i386/linux)).
Content-Length: 0.
Warning: 392 10.28.19.202:5060 "Noisy feedback tells:  pid=7153
req_src_ip= 10.28.19.202 req_src_port=5060 in_uri=sip:10.28.19.202
out_uri=sip:10.28.19.202 via_cnt==1".


Have you any suggestions?

Thanks,
F.

--
********************************
* (o<     ing. Patria Flavio
* //\      phone 0823451358
* V_/_  mobile 3407873357
*
********************************
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers