|
Hi...
Since I upgraded the asterisk version from 0.93 to
1.0.3 I have had a lot of problems to complete calls thru Vocal Sip Proxy
1.4.
When I just register Asterisk to receive calls from
vocal it works fine. Ex.
register =>
2127701002:[EMAIL PROTECTED]/2098
And
When I just regiter asterisk to send call thru
Vocal it also works fine. Ex.
[sip-proxy-out]
type=peer ; we only want to call out, not be called secret=pasword username=2127701005 ; Authentication user for outbound proxies fromuser=2127701005 ; Many SIP providers require this! fromdomain=domain.com host=mysipproxy.domain.com nat=yes insecure=yes The problem is when I try to use either incoming or
outgoing calls at the same time. For Any reason the incoming calls don�t work
and the sip messages that I got are:
Sip read:
ACK sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 210.80.130.84:5060;rport=5060;received=210.80.132.86;branch=z9hG4bK61f8896885a9fa343f3bc812cb933e99.4 To: <sip:[EMAIL PROTECTED];user=phone;phone-context=national>;tag=as0e7e00eb From: "2127100139"<sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 101 ACK Max-Forwards: 70 Content-Length: 0 8 headers, 0 lines Apr 5 07:55:18 NOTICE[10601]: chan_sip.c:4007 sip_reregister: -- Re-registration for [EMAIL PROTECTED] 12 headers, 0 lines Reliably Transmitting: REGISTER sip:mysipproxy.domain.com SIP/2.0 Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK4b215889 From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b To: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 104 REGISTER User-Agent: Asterisk PBX Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1112588169", response="73f1564125d54c9982ec70a9eeee0286", opaque="" Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 (no NAT) to 210.80.130.84:5060
lab-ing*CLI> Sip read:
SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK4b215889 To: <sip:[EMAIL PROTECTED]>;tag=df08f10c From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b Call-ID: [EMAIL PROTECTED] CSeq: 104 REGISTER Proxy-Authenticate: Digest algorithm=MD5,domain=210.80.130.84,nonce=1113026437,realm=210.80.130.84 Content-Length: 0 8 headers, 0 lines Responding to challenge, registration to domain/host name mysipproxy.domain.com 12 headers, 0 lines Reliably Transmitting: REGISTER sip:mysipproxy.domain.com SIP/2.0 Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088 From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b To: <sip:[EMAIL PROTECTED]>;tag=df08f10c Call-ID: [EMAIL PROTECTED] CSeq: 105 REGISTER User-Agent: Asterisk PBX Proxy-Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1113026437", response="a173d7c8a6874f697c8dafb2d48eed13", opaque="" Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 (no NAT) to 210.80.130.84:5060
Retransmitting #1 (no NAT): REGISTER sip:mysipproxy.domain.com SIP/2.0 Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088 From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b To: <sip:[EMAIL PROTECTED]>;tag=df08f10c Call-ID: [EMAIL PROTECTED] CSeq: 105 REGISTER User-Agent: Asterisk PBX Proxy-Authorization: Digest username="2127701002", realm="210.80.130.84", algorithm=MD5, uri="210.80.130.84", nonce="1113026437", response="a173d7c8a6874f697c8dafb2d48eed13", opaque="" Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 to 210.80.130.84:5060 lab-ing*CLI> Sip read:
SIP/2.0 100 Trying Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088 To: <sip:[EMAIL PROTECTED]>;tag=df08f10c From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b Call-ID: [EMAIL PROTECTED] CSeq: 105 REGISTER Content-Length: 0 7 headers, 0 lines lab-ing*CLI> Sip read:
SIP/2.0 200 OK Via: SIP/2.0/UDP 210.80.132.86:5060;branch=z9hG4bK6cac2088 To: <sip:[EMAIL PROTECTED]>;tag=df08f10c From: <sip:[EMAIL PROTECTED]>;tag=as6c056f3b Call-ID: [EMAIL PROTECTED] CSeq: 105 REGISTER Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Content-Length: 0 9 headers, 0 lines Apr 5 07:55:19 NOTICE[10601]: chan_sip.c:6797 handle_response: Outbound Registration: Expiry for mysipproxy.domain.com is 120 sec (Scheduling reregistration in 105000 ms) Thanks in advance for any support to solve
it.
Best Regards,
Danil Mizrachi
Globalsip |
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
