tel2sip function

View: New views
2 Messages — Rating Filter:   Alert me  

tel2sip function

by Yazid Hadj Said :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I read the source code of tel2sip function and i noticed that you use the host of from URI as domain of RURI
Are you sure that it's correct?

Regards
Yazid

_______________________________________________
Devel mailing list
Devel@...
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Re: tel2sip function

by Klaus Darilion-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Yazid Hadj Said schrieb:
> Hi,
> I read the source code of tel2sip function and i noticed that you use
> the host of from URI as domain of RURI
> Are you sure that it's correct?

Yes. Usually telephone numbers are encoded into SIP URIs using
sip:number@homedomain. Thus, as the From domain usually contains the
users homedomain this is appropriate. Of course you can do the
conversion manually using any other domain.

regards
klaus

_______________________________________________
Devel mailing list
Devel@...
http://lists.openser.org/cgi-bin/mailman/listinfo/devel