[Serusers] Questions about address SIP numeric ans gateway sip-PSTN???

Hassan CHOUMAR Hassan.Choumar at int-evry.fr
Thu Aug 28 13:10:32 CEST 2003



 Hello all, 
 I installed serweb, it works well, but I have a problem at the level of the 
 application:
 Another question, if I want to try to make communications between a softphone
 SIP and an analogical telephone through a cisco router, it is enough to go
 the commands this below into the cisco router, and the others into the server
 SER:

 In the router:

Dial-peer voice 999 voip 
Destination-pattern 555999. ** Associate the number arranges 555-9990 to 9999 
with our SIP server
Session protocol sipv2 ** Set this dial-peer to uses(wears out) SIP instead of 
Cisco protocols
Session target sip-server ** Send the call to our SIP server. See SIP-UA below
Codec g711ulaw ** Set the default codec to 711-Ulaw (common codec between 
customers)
!
Sip-ua
Sip-server ipv4:192.168.0.1 

 
 
 In the file ser.cfg :
if (uri=~"^sip:9[0-9]*@mydomain.com") { ## This assumes that the caller is 
log("Forwarding to PSTN\n"); ## registered in our realm
t_relay_to( "192.168.0.2", "5060"); ## Our Cisco router
break;
};
 
thanks you for advance
hassan
 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the sr-users mailing list