[OpenSIPS-Users] Blind Transfer to Asterisk
duane.larson at gmail.com
duane.larson at gmail.com
Tue May 15 18:44:59 CEST 2012
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 <rosenberg11219 at gmail.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120515/510789b4/attachment.htm>
More information about the Users
mailing list