I assume you have the Asterisk "GOTO_ON_TRANSFER" parameter set? Mark
On Wed, May 16, 2012 at 2:44 AM, <[email protected]> wrote: > You need something in your default context that will figure out the correct > context to send it too. I'm not sure what to do with REFER messages but my > contexts are named after my customers Domains. So in the default context you > could have something like > > exten => _NXXXXXXXXX,1,Set(dm=${SIP_HEADER(TO):15}) > exten => _NXXXXXXXXX,n,Set(dm=${CUT(dm,>,1)}) > exten => _NXXXXXXXXX,n,GotoIf(${dm} != ${CONTEXT}?${dm},${EXTEN},1) > > > Once again this totally depends on your OpenSIPS and Asterisk setup. We > would need more information. > > > On , Schneur Rosenberg <[email protected]> wrote: >> I use opensips to send calls via Asterisk, I share the sip usernames >> >> and passwords from opensips with Asterisk, and thats how Asterisk >> >> knows what context, caller id etc to use. >> >> >> >> everything works fine, the only issue is when doing a Blind Transfer >> >> OpenSIPS sends a REFER to asterisk, but for some reason when that >> >> happens, asterisk does not realize which user sent the REFER and it >> >> tries to call the number from the default context. >> >> >> >> Is there anyway I can create a new INVITE request and drop the REFER >> >> request, whenever a REFER comes in? >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> [email protected] >> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
