[Serusers] SER receving call from PSTN and forwardind to alias

Fábio Silvestri fabio at informatec.com.br
Wed Mar 3 20:53:38 CET 2004


Hi.

I want to forward to a subscriber a incoming call from Cisco VoIP Gateway/ IOS 
12.x/ SIP enabled.

I get this on ngrep:


U 200.1.1.102:50022 -> 200.1.1.121:5060
   INVITE sip:551112344321 at 200.1.1.121;user=phone;phone-context=unknown SIP
   /2.0..Via: SIP/2.0/UDP  200.1.1.102:5060..From: "899961430" <sip:8999614
   30 at 200.1.1.102>..To: <sip:551112344321 at 200.1.1.121;user=phone;phone-c
   ontext=unknown>..Date: Wed, 03 Mar 2004 16:45:10 rio..Call-ID: 1D998259-6C8
   211D8-9B358622-2F08A8D5 at 200.1.1.102..Cisco-Guid: 496559665-1820463576-26
   03845154-789096661..User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled..
   CSeq: 101 INVITE..Max-Forwards: 5..Timestamp: 1078343110..Contact: <sip:899
   961430 at 200.1.1.102:5060;user=phone>..Expires: 180..Content-Type: applica
   tion/sdp..Content-Length: 167....v=0..o=CiscoSystemsSIP-GW-UserAgent 8136 7
   228 IN IP4 200.1.1.102..s=SIP Call..c=IN IP4 200.1.1.102..t=0 0..m=au
   dio 20136 RTP/AVP 65535 65535 65535 4 18 65535 8..
#
U 200.1.1.121:5060 -> 200.1.1.102:5060
   SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP  200.1
   96.28.102:5060..From: "899961430" <sip:899961430 at 200.1.1.102>..To: <sip:
   551112344321 at 200.1.1.121;user=phone;phone-context=unknown>..Call-ID: 1D9
   98259-6C8211D8-9B358622-2F08A8D5 at 200.1.1.102..CSeq: 101 INVITE..Server:
   Sip EXpress router (0.8.12-tcp_nonb (i386/linux))..Content-Length: 0....
#
U 200.1.1.121:5060 -> 200.1.1.102:5060
   SIP/2.0 500 I'm terribly sorry, server error occured (2/TM)..Via: SIP/2.0/U
   DP  200.1.1.102:5060..From: "899961430" <sip:899961430 at 200.1.1.102>..
   To: <sip:551112344321 at 200.1.1.121;user=phone;phone-context=unknown>;tag=
   edce4e4a3d91650ad93d450210a72a7e-fb20..Call-ID: 1D998259-6C8211D8-9B358622-
   2F08A8D5 at 200.1.1.102..CSeq: 101 INVITE..Server: Sip EXpress router (0.8.
   12-tcp_nonb (i386/linux))..Content-Length: 0....
#

I want to do when a SER receive a call from Cisco, then this call be forwarded 
to a subscriber, using alias table.

Does this can be done?

Regards.

-- 
|o
|o Experiência é o nome que nós damos aos nossos próprios erros.
|o
|o Fabio Silvestri
|o fabio at informatec.com.br
|o ICQ: 1667351
|o




More information about the sr-users mailing list