El 19/11/2010 10:18 a.m., Stefan Sayer escribió:
Hi,
Victor Gonzalez Chamorro wrote:
Hello,
Im new to sems, i was trying the ivr pin_collect example with refer.
All is working fine, except the refer message. I get a [onSipReply,
AmB2BSession.cpp:199] DEBUG: onSipReply: REFER -> 400 Bad Request
(Refer-to missing) (fwd=false) error.
I want to know if i have to explicitly put the Refer-to in before i call
self.redirect, if so what function should i call to do this
the REFER normally sent out is a custom call-flow REFER, where the
server that takes the call just takes over the whole call with a
Re-Invite (see Readme.pin_collect.txt).
Here you try to explain how a refer works or are you telling me how the
example works?
I've added (git master) another option as "REFER", where a standard
REFER is sent in the dialog, there the Refer-To contains the user and
the pin.
In the example from the last stable version to download, when i try the
application, the refer message was sent out but without the Refer-to
header. That's why i get a 400 error from the server i sent the message.
I made some modifications to the IVR code and change the transfer
function, to the refer function. In the original example code, the
python wrapper call the tranfer function and not the refer. I didnt
understand why was that.
btw, it looks like you are routing the REFER back to the SEMS instance
- I don't know if this is what you are actually trying to do.
Im routing the refer thru a Kamailio in the same machine, and then goes
to a softphone in another machine
Stefan
I have another last question, could i make a transfer of a call without
using the refer? just in case you know how
Thanks
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems