[Asterisk-Users] Some asterisk ser problems

Alistair Cunningham acunningham at integrics.com
Tue Mar 1 08:49:13 MST 2005


Alex,

If you are forwarding calls in SER based on URI patterns rather than the 
location database, you don't need to register Asterisk with SER. Instead 
of the register line, you should have a peer for SER; something like this:

[ser]
type = friend
host = <IP address or hostname of SER>
context = <context for incoming calls>

There are lots more options for the peer, but this should get you started.

If you'd like more detailed support, my company, Integrics Ltd, does 
support for both Asterisk and SER. We can also write the IVRs for you.

Alistair Cunningham,
Integrics Ltd,
Telephony, Database, Unix consulting worldwide
+44 (0)7870 699 479
http://integrics.com/


Alex wrote:
> I have some simple questions and i need your help guys.
>  
> I have ser server which working fine, between users.
> I am trying to add some more features to the ser. Most important is the IVR.
>  
> I installed Asterisk and i am trying to register user in asterisk with 
> no success.
> Part of ser.cfg file where i am trying to redirect the call to the asterisk.
> ---------------------------------------------------------------------------------------------------------
> if (method == "INVITE") {
>     if (uri =~ "sip:1[0-9]{4}@*"){
>         log(1, "Forwarding to Asterisk\n");
>         rewritehostport("xx.xx.xx.xx:xxxx");
>         t_relay();
>         break;
>     }
>  }
> -----------------------------------------------------------------------------------------------------------
>  
>  
> inside sip.conf i have
> -----------------------------------------------------------------------------------------------------
> register => sipphonenumber:password at siphostname/3333
>  
>  
> error
> ---------------------------------------------------------------------------------------------------------
> chan_sip.c:6819 handle_response: Failed to authenticate on REGISTER to 
> '<sip:sipphonenumber at siphostname>;tag=as12200854'
>  
> I need some help with configuring asterisk to work with ser.
> Let's say i am calling from sip phone to number 12345 , i would like to 
> enter into IVR system where i can configure which number to press, what 
> kind of music to play etc.....
>  
> The main goal is to create IVR system for identical phone number for SIP 
> users.
>  
> Thanks for any help.
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Take Yahoo! Mail with you! 
> <http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo.com/maildemo> 
> Get it on your mobile phone.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list