[Serusers] ser+asterisk example

julien bos julientoseruser at gmail.com
Sat Nov 5 22:50:07 CET 2005


Hi,
 I have one question.
I intend to use asterisk and ser in the same server.
 I use Ser like a SIP server, while Asterisk is only a voicemail.
After SIPphone register with SER, if the callee don't reply
after few seconds. I forward the call to Asterisk voicemail.
 I use some function in avpops.so to make the forward, example:
 +avp_db_load: to look in table preference the user who i set
 "fwdonbusy" or "fwdnoanswer"
+avp_check
+avp_pushto: to push AVP into SIP message, i can
foward the message to Asterisk.
 The problem is that if i can't change the port of message to
the Asterisk. So if i use SER+Asterisk in the same server.
Both will use port 5060, then it can't run at all.
 Do you have some solutions for this problem? Thank you so
much.
  P/s: if i use "forward", i will miss the problem with NAT or
 after that Asterisk can't talk directly to SIPphone.


 On 11/1/05, Juha Heinanen <jh at tutpro.com> wrote:
>
> Daryl Sanders writes:
>
> > Have a look at the call forwarding example ser.cfg from onsip.org<http://onsip.org>.
> I
> > just added the IP address of my Asterisk box to the user_preferences
> > table and it worked without problems.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051105/2c68443d/attachment.htm>


More information about the sr-users mailing list