[Serusers] Ser + Asterisk

Ahmed Boreau ahmed.boreau at esmt.sn
Thu Nov 18 15:23:19 CET 2004


Thanks for you help.

below are what I did in * extensions.conf
[globals]
SERADDRESS=@IP ser server:5060

[serserver]
exten => _3XXX,1,Dial(SIP/${EXTEN}@${SERADDRESS},20,r)
exten => _3XXX,2,WaitMusicOnHold,15
exten => _3XXX,3,VoicemailMain(u${EXTEN:2})

In sip.conf, I just add
[general]
autocreatepeer=yes

Phones are ringing but I could not get voicemail.

Thanks in advance

At 13:36 18/11/2004, Yair Hakak wrote:
>hello,
>  set autocreatepeer=yes in sip.conf and you should be fine.
>  obviously you need to make sure that things are set up properly in
>extensions.conf to connect calls properly.
>
>
>On Thu, 18 Nov 2004 13:32:26 +0000, Ahmed Boreau <ahmed.boreau at esmt.sn> wrote:
> > Hi,
> >
> > I need help. I'm actually trying to set up ser+asterisk which are actually
> > working separately.
> > By now, I want to let asterisk receiving ser calls.
> >
> > I add these commands into ser.cfg
> >
> >         if(method=="INVITE"){
> >                 if (uri=~"^sip:1[0-9]{10}@*") {
> >                         log(1,"Forwarding to Asterisk\n");
> >                         rewritehostport("10.0.0.13: 5061");
> >                         t_relay();
> >                         break;
> >                 }
> >         }
> >
> > What could I need to do into sip.conf at * side.
> >
> > Thanks in advance
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >





More information about the sr-users mailing list