[Serusers] A user with sip contact and pstn contact

Jan Janak jan at iptel.org
Mon Dec 8 19:26:24 CET 2003


Perhaps you could use something like this:

if (!lookup("location")) {
	lookup("aliases");
};

That means if there is no contact in location table (SIP phone is not
registered, then the server will try to lookup in aliases table. The
aliases table should rewrite the Request-URI to the PSTN gateway.

  Jan.

On 08-12 07:54, Chen Youcheng wrote:
> hello,
> 
> i try to give two contacts for a callee. 
> One is sip contact and one is pstn contact.
> When the callee is off line,the call should 
> be lead to pstn contact. 
> I have done:
> serctl ul add yongcheng sip:017923435 at gateway.de.
> sip contact is yongcheng at mydomain.de.
> I cannot finish the mapping from yongcheng at mydomain.de to 
> 017923435 at gateway.de.
> how can I do?
> 
> best regards 
> 
> Yongcheng Chen    
> 
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list