[SR-Users] add fromuser to sip request

Alex Balashov abalashov at evaristesys.com
Tue Oct 5 22:02:31 CEST 2010


JR,

On 10/05/2010 04:00 PM, JR Richardson wrote:

> Hi Alex.  I use a general context in asterisk to route calls already
> and wanted to get away from pattern matches.  I'm using asterisk
> realtime and want to decrease the load.  I'll play around with the
> 'uac_replace_from()' and 'append_hf' to see what works best for me.

Well, you don't have to use pattern matches.  :-)  You can always 
direct to fixed extensions, a la:

    exten => moh,1,Answer
    exten => moh,n,MusicOnHold
    exten => moh,n,Hangup

Those should be pretty snappy, even in realtime.

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list