I have a big problem with a gateway (cisco) and ser. Phone to phone with sip it's ok and when i do phone to pstn the packets arrive to gateway but the line is busy and the message (when i made a capture with ethereal ) is -BAD REQUEST Invalid IP.
I don't know what i have to configure. I think the ser.cfg is well because the packets arrive to the gateway a it reposes.
My quenstions: - I have to register the gateway - What i have to do
Thanks - - Miquel
It is unclear from your messages exactly how much work has been put into the Cisco config at this time. Without knowing anything more about your config I'd suggest you check to see if the sip-ua and the appropriate dial-peer statements are defined. You'll want something similar too...
sip-ua retry invite 3 retry response 3 retry bye 3 retry cancel 3 timers expires 300000 sip-server dns:<your sip proxy srv name or IP address>
dial-peer voice 10 voip description Only peer for inbound to SIP Proxy huntstop preference 2 destination-pattern 78[1-9] progress_ind setup enable 3 session protocol sipv2 session target sip-server dtmf-relay rtp-nte no vad !
dial-peer voice 11 pots description Only peer for outbound 5-digit calls preference 3 destination-pattern 4.... direct-inward-dial port 1/0:23 prefix 23
If all else fails debug ccsip messages will give you some feedback as to what is happening with the call.
good luck - steve
Miquel wrote:
I have a big problem with a gateway (cisco) and ser. Phone to phone with sip it's ok and when i do phone to pstn the packets arrive to gateway but the line is busy and the message (when i made a capture with ethereal ) is -BAD REQUEST Invalid IP.
I don't know what i have to configure. I think the ser.cfg is well because the packets arrive to the gateway a it reposes.
My quenstions:
- I have to register the gateway
- What i have to do
Thanks
Miquel
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
steve,
do you know it is is possible to somehow configure cisco ios gw to use symmtric signaling, i.e., that it would use 5060 port also as source port when it sends out a request?
-- juha
Juha:
I've never looked into that but by default it does not. I thought I would need "symmtric signaling" in order to define a peer in my Asterisk sip.conf file but that turned out not to be necessary.
-Steve
Juha Heinanen wrote:
steve,
do you know it is is possible to somehow configure cisco ios gw to use symmtric signaling, i.e., that it would use 5060 port also as source port when it sends out a request?
-- juha
Steve Blair writes:
I've never looked into that but by default it does not. I thought I would need "symmtric signaling" in order to define a peer in my Asterisk sip.conf file but that turned out not to be necessary.
i was asking because of nat detection. it turned out that nathelper nat_uac_test("3") does not check port number whereas mediaproxy client_nat_test("3") requires that both ip address and port in via match source ip address and port. so if call comes from cisco gw, ...
i surfed on cisco's web pages, but could not find any command that would make gw's signaling symmetric.
-- juha
Hi all,
I'm quite sure that it does not exist any command on the Cisco gws to enable symmetric SIP signalling (neither with bind control/media command)....if you issue 'show ip sockets', you will see that local tx sip port is a random port != 5060...
Regards,
Verbal ----- Original Message ----- From: "Juha Heinanen" jh@tutpro.com To: "Steve Blair" blairs@isc.upenn.edu Cc: "Miquel" miquelcapde@gmail.com; serusers@lists.iptel.org Sent: Monday, April 11, 2005 3:25 PM Subject: Re: [Serusers] phone + pstn with ser and cisco gateway
Steve Blair writes:
I've never looked into that but by default it does not. I thought I would need "symmtric signaling" in order to define a peer in my Asterisk sip.conf file but that turned out not to be necessary.
i was asking because of nat detection. it turned out that nathelper nat_uac_test("3") does not check port number whereas mediaproxy client_nat_test("3") requires that both ip address and port in via match source ip address and port. so if call comes from cisco gw, ...
i surfed on cisco's web pages, but could not find any command that would make gw's signaling symmetric.
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Ok. I'll ask around.
-Steve
Juha Heinanen wrote:
Steve Blair writes:
I've never looked into that but by default it does not. I thought I would need "symmtric signaling" in order to define a peer in my Asterisk sip.conf file but that turned out not to be necessary.
i was asking because of nat detection. it turned out that nathelper nat_uac_test("3") does not check port number whereas mediaproxy client_nat_test("3") requires that both ip address and port in via match source ip address and port. so if call comes from cisco gw, ...
i surfed on cisco's web pages, but could not find any command that would make gw's signaling symmetric.
-- juha
Would nat_uac_test("16") help?
From nathelper.c:
2004-09-30 added received port != via port test (andrei)
/* test if the source port is different from the port in Via */ if ((tests & NAT_UAC_TEST_RPORT) && (msg->rcv.src_port!=(msg->via1->port?msg->via1->port:SIP_PORT)) ){ return 1; }
This test only checks if the ports are different. If they are, the other tests are not run. AFAIK, nat_uac_test("2) together with nat_uac_test("16") will give you client_nat_test("3") (However, I'm not familiar with the mediaproxy code) g-)
Juha Heinanen wrote:
Steve Blair writes:
I've never looked into that but by default it does not. I thought I would need "symmtric signaling" in order to define a peer in my Asterisk sip.conf file but that turned out not to be necessary.
i was asking because of nat detection. it turned out that nathelper nat_uac_test("3") does not check port number whereas mediaproxy client_nat_test("3") requires that both ip address and port in via match source ip address and port. so if call comes from cisco gw, ...
i surfed on cisco's web pages, but could not find any command that would make gw's signaling symmetric.
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Try:
sip-ua nat symmetric role passive nat symmetric check-media-src
Cheers,
Micah
Juha Heinanen wrote:
steve,
do you know it is is possible to somehow configure cisco ios gw to use symmtric signaling, i.e., that it would use 5060 port also as source port when it sends out a request?
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers