[Serusers] minimal setup

Jan Janak jan at iptel.org
Sun Apr 18 18:30:16 CEST 2004


On 15-04 20:03, santosh wrote:
> Hello,
> 
> I am new to SER and managed to install SER 0.8.12 after some effort. I
> am trying to use the XTEN client so that all calls are forwarded to
> SHOUT gateway ( which is a softswitch).
> 
> I have just changed the ser.cfg so that all the REGISTER messages are
> confirmed with a ok message and if the user location is not found then
> the message must be sent the gateway.
> 
> My first problem is that the XTEN client is not able to register with
> the SER. This is what I see in SER when i use ngrep:
> 
> U 63.96.9.41:5060 -> 63.96.9.45:5060
>   REGISTER sip:63.96.9.45 SIP/2.0..Via: SIP/2.0/UDP 63.96.9.41:50
>   60;rport;branch=z9hG4bKCD1D5EC1C8944CD4865BEA41E01EFB1E..From:
>   Santosh <sip:9723807000 at 63.96.9.45>..To: Santosh <sip:972380700
>   0 at 63.96.9.45>..Contact: "Santosh" <sip:9723807000 at 63.96.9.41:50
>   60>..Call-ID: 0CDB1593588D4866B6CC7E43C6F0281F at 63.96.9.45..CSeq
>   : 54567 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent:
>   X-Lite build 1101..Content-Length: 0....
> #
> U 63.96.9.45:5060 -> 63.96.9.41:5060
>   SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP 63.96.9.41:5060;rpo
>   rt=5060;branch=z9hG4bKCD1D5EC1C8944CD4865BEA41E01EFB1E..From: S
>   antosh <sip:9723807000 at 63.96.9.45>..To: Santosh <sip:9723807000
>   @63.96.9.45>;tag=b27e1a1d33761e85846fc98f5f3a7e58.7933..Call-ID
>   : 0CDB1593588D4866B6CC7E43C6F0281F at 63.96.9.45..CSeq: 54567 REGI
>   STER..Server: Sip EXpress router (0.8.12 (i386/linux))..Content
>   -Length: 0..Warning: 392 63.96.9.45:5060 "Noisy feedback tells:
>     pid=1377 req_src_ip=63.96.9.45 req_src_port=5060 in_uri=sip:6
>   3.96.9.45 out_uri=sip:63.96.9.45 via_cnt==71"....

  Your ser is misconfigured, add listen=63.96.9.45 to your configuration
  file.

> 
> My second question is what changes do i need to make to the config file
> so that all calls are forwarded to the gateway. Do i use
> 
> forward(gatewayip, port) ?

  t_relay_to_udp is better (it forwards tastefully).

    Jan.




More information about the sr-users mailing list