[Serusers] ser+asterisk again
Steve Blair
blairs at isc.upenn.edu
Sat Nov 6 13:15:23 CET 2004
Then define a context within your extensions.conf and sip.conf file
with logic defining what to do with the incoming (from SER) call. I
did not register my endpoints in sip.conf. Instead I let the
context statement in sip.conf determine how extensions.conf
handles the call. In my case Asterisk is only used as a voicemail
server so this works.
-Steve
Marian Dumitru wrote:
> Hi Graziano
>
> if you want to divert the calls with "00" from ser to a asterisk, you
> just need to add the following lines in your ser.cfg (probably
> somewhere inside "uri==myself" if consition, just before
> lookup("location") - if you are using standard script) :
>
> if (uri=~"sip:00") {
> t_relay_to_udp("asterisk_IP","asterisk_port");
> break;
> }
>
> Best regards,
> Marian Dumitru
>
>
> Graziano Poretti wrote:
>
>> hi
>>
>> we have 1 ser + 1 asterisk on different computers
>> we want to forward incoming calls from the server with fixed prefix
>> (eg 00) to asterisk.
>>
>> i tried different solutions but how is the connection logic between
>> ser and asterisk? should i have a registered user in asterisk which
>> collects all the traffic coming from ser or not? how can i setup the
>> ser and asterisk to have then "talking"?
>>
>>
>> thnx in advance for help
>> Graziano
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
More information about the sr-users
mailing list