[EMAIL PROTECTED] wrote: > 8 feb 2008 kl. 13.24 skrev Bjoern Haje: > >> Hi, >> >> I use outgoing URI-dialing for my sip-phones as suggested in >> http://www.voip-info.org/wiki/view/Asterisk+tips+SIP+URI+Dial >> >> The relevant extensions look like this: >> >> [dial-uri] >> exten => _[a-z].,1,Macro(uridial,[EMAIL PROTECTED]) >> exten => _[A-Z].,1,Macro(uridial,[EMAIL PROTECTED]) >> exten => _X.,1,Macro(uridial,[EMAIL PROTECTED]) >> >> [macro-uridial] >> exten => s,1,Set(dialuri=${CUT(ARG1,\;,1)}) >> exten => s,n,Set(CALLERID(number)=${CALLERID(number)[EMAIL PROTECTED]) >> >> exten => s,n,Dial(SIP/${dialuri},120,tr) >> exten => s,n,Congestion() >> >> I end up with an outgoing SIP-Invite with contact and from-headers >> like [EMAIL PROTECTED]@<IP-address> >> >> That obviously is not what I want. I can set the fromdomain value in >> the general-part of my sip.conf and leave away the setting of the >> callerid which fixes the problem. But as I want to use different >> domains for the outgoing calls depending on the user, that is not a >> solution for me. Can I influence the generation of the outgoing >> domainname somehow? > > No, but that would be a good addition to Asterisk. I started > experimenting with that in my caller ID utf8 branch at some point, > but never got time or funding to complete that work.
Thanks for your help again. Would be nice really, but I'll try to find a workaround to avoid that problem (or ignore it). Bjoern _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
